Function at 0x4f41c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x550397
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3a8
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0xe4]
call fcn.004f3b90
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x40]
mov eax, dword [ecx]
or eax, dword [edx + 4]
jne 0x4f423d
push 0xc00000ef
mov ecx, dword [ebp + 8]
call fcn.004f3870
mov ecx, dword [ebp - 0x10]
or ecx, 1
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.004d7b30
mov eax, dword [ebp + 8]
jmp 0x4f4bf7
mov dword [ebp - 0x90], fcn.00530c83
lea edx, [ebp - 0x90]
push edx
push 0
lea ecx, [ebp - 0x30]
call fcn.004f2550
mov byte [ebp - 4], 1
push 0x40
push 0
lea eax, [ebp - 0x1ac]
push eax
call fcn.00522010
add esp, 0xc
push 0x108
push 0
lea ecx, [ebp - 0x2b4]
push ecx
call fcn.00522010
add esp, 0xc
lea edx, [ebp - 0x2b4]
mov dword [ebp - 0x34], edx
lea eax, [ebp - 0x2b4]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x94], edx
push 0
lea eax, [ebp - 0x1ac]
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ecx]
push eax
mov ecx, dword [ebp - 0x94]
call fcn.004f20c0
movzx ecx, word [ebp - 0x1ac]
cmp ecx, 0x5a4d
je 0x4f431c
push 0xc000012f
mov ecx, dword [ebp + 8]
call fcn.004f3870
mov edx, dword [ebp - 0x10]
or edx, 1
mov dword [ebp - 0x10], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004f3ce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.004d7b30
mov eax, dword [ebp + 8]
jmp 0x4f4bf7
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x60], ecx
push 0
lea edx, [ebp - 0x2b4]
push edx
push 0x108
mov eax, dword [ebp - 0x170]
cdq
mov ecx, dword [ebp + 0xc]
add eax, dword [ecx]
adc edx, dword [ecx + 4]
push edx
push eax
mov ecx, dword [ebp - 0x60]
call fcn.004f20c0
mov edx, dword [ebp - 0x34]
cmp dword [edx], 0x4550
je 0x4f4393
push 0xc000007b
mov ecx, dword [ebp + 8]
call fcn.004f3870
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004f3ce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.004d7b30
mov eax, dword [ebp + 8]
jmp 0x4f4bf7
mov ecx, dword [ebp - 0x34]
movzx edx, word [ecx + 0x18]
cmp edx, 0x10b
jne 0x4f43b6
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + ecx + 0x78]
mov dword [ebp - 0x18], eax
jmp 0x4f43cb
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + edx + 0x88]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x4f4bc0
mov edx, dword [ebp - 0x34]
movzx eax, word [edx + 0x18]
cmp eax, 0x10b
jne 0x4f43f7
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + edx + 0x7c]
mov dword [ebp - 0x20], ecx
jmp 0x4f440c
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + eax + 0x8c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.00525fe1
add esp, 4
push eax
lea ecx, [ebp - 0x30]
call fcn.004f6ac0
lea ecx, [ebp - 0x30]
call fcn.004e0330
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x64], edx
push 0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x18]
xor eax, eax
mov ecx, dword [ebp + 0xc]
add edx, dword [ecx]
adc eax, dword [ecx + 4]
push eax
push edx
mov ecx, dword [ebp - 0x64]
call fcn.004f20c0
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jge 0x4f449a
mov edx, dword [ebp - 0x48]
push edx
mov ecx, dword [ebp + 8]
call fcn.004f3870
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004f3ce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.004d7b30
mov eax, dword [ebp + 8]
jmp 0x4f4bf7
cmp dword [ebp - 0x20], 0x28
ja 0x4f4569
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x14]
cmp eax, dword [edx + 0x18]
jbe 0x4f44bd
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x4c], edx
jmp 0x4f44c6
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x24]
sub eax, dword [ebp - 0x18]
imul ecx, dword [ebp - 0x4c], 0xff
add eax, ecx
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
push edx
call fcn.00525fe1
add esp, 4
push eax
lea ecx, [ebp - 0x30]
call fcn.004f6ac0
lea ecx, [ebp - 0x30]
call fcn.004e0330
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x68], ecx
push 0
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp + 0xc]
add ecx, dword [eax]
adc edx, dword [eax + 4]
push edx
push ecx
mov ecx, dword [ebp - 0x68]
call fcn.004f20c0
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jge 0x4f4569
mov ecx, dword [ebp - 0x50]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004f3870
mov edx, dword [ebp - 0x10]
or edx, 1
mov dword [ebp - 0x10], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004f3ce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.004d7b30
mov eax, dword [ebp + 8]
jmp 0x4f4bf7
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x24]
add ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x18]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x20]
add eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x1c]
add edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x18]
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x28], 0
jmp 0x4f45a8
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp edx, dword [ecx + 0x14]
jae 0x4f4bc0
mov eax, 0xffff
mov word [ebp - 0x1c], ax
mov dword [ebp - 0x54], 0
cmp dword [ebp + 0x10], 0xffff
ja 0x4f45da
mov cx, word [ebp - 0x28]
mov word [ebp - 0x1c], cx
jmp 0x4f464c
cmp dword [ebp + 0x10], 0xffff
jbe 0x4f4610
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
cmp eax, dword [edx + 0x18]
jae 0x4f4610
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + ecx*4]
add eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x70]
mov ax, word [edx + ecx*2]
mov word [ebp - 0x1c], ax
jmp 0x4f464c
push 0xc0000225
mov ecx, dword [ebp + 8]
call fcn.004f3870
mov ecx, dword [ebp - 0x10]
or ecx, 1
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004f3ce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.004d7b30
mov eax, dword [ebp + 8]
jmp 0x4f4bf7
cmp dword [ebp + 0x10], 0xffff
ja 0x4f4667
movzx edx, word [ebp + 0x10]
movzx eax, word [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
add eax, dword [ecx + 0x10]
cmp edx, eax
je 0x4f468c
cmp dword [ebp + 0x10], 0xffff
jbe 0x4f4bbb
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x54]
push eax
call fcn.0053ea00
add esp, 8
test eax, eax
jne 0x4f4bbb
movzx ecx, word [ebp - 0x1c]
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + ecx*4]
xor ecx, ecx
mov edx, dword [ebp + 0xc]
add eax, dword [edx]
adc ecx, dword [edx + 4]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], ecx
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov edx, dword [ebp + 0xc]
add eax, dword [edx]
adc ecx, dword [edx + 4]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], ecx
mov eax, dword [ebp - 0xe0]
cmp eax, dword [ebp - 0x98]
jb 0x4f4b68
ja 0x4f46eb
mov ecx, dword [ebp - 0xe4]
cmp ecx, dword [ebp - 0x9c]
jb 0x4f4b68
mov edx, dword [ebp - 0x18]
xor eax, eax
mov ecx, dword [ebp + 0xc]
add edx, dword [ecx]
adc eax, dword [ecx + 4]
xor ecx, ecx
add edx, dword [ebp - 0x20]
adc eax, ecx
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xe0]
cmp edx, dword [ebp - 0xa0]
ja 0x4f4b68
jb 0x4f4731
mov eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 0xa4]
ja 0x4f4b68
push 0xff
push 0
lea ecx, [ebp - 0x3b4]
push ecx
call fcn.00522010
add esp, 0xc
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
mov dword [ebp - 0x78], eax
push 0
lea ecx, [ebp - 0x3b4]
push ecx
push 0xff
mov edx, dword [ebp - 0xe0]
push edx
mov eax, dword [ebp - 0xe4]
push eax
mov ecx, dword [ebp - 0x78]
call fcn.004f20c0
lea ecx, [ebp - 0x3b4]
push ecx
lea ecx, [ebp - 0x12c]
call fcn.00401590
mov byte [ebp - 4], 2
push str..dll
push 0
push 0x5660e0
lea ecx, [ebp - 0x12c]
call fcn.0041e200
push eax
push 0
lea edx, [ebp - 0x16c]
push edx
lea ecx, [ebp - 0x12c]
call fcn.00447c00
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x80]
push ecx
lea edx, [ebp - 0x154]
push edx
call fcn.00425eb0
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x16c]
call fcn.00401d70
push 0xffffffffffffffff
push 0
push 0x5660e4
lea ecx, [ebp - 0x12c]
call fcn.0041e200
add eax, 1
push eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00447c00
mov byte [ebp - 4], 6
push 0
lea ecx, [ebp - 0x154]
push ecx
lea edx, [ebp - 0xfc]
push edx
call fcn.004e2bc0
add esp, 0xc
mov byte [ebp - 4], 7
mov byte [ebp - 0xaa], 1
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0xdc]
call fcn.004d7b80
push 0
push 0x5660e8
lea ecx, [ebp - 0x114]
call fcn.0041e200
test eax, eax
jne 0x4f4867
mov dword [ebp - 0x58], 1
jmp 0x4f486e
mov dword [ebp - 0x58], 0
mov cl, byte [ebp - 0x58]
mov byte [ebp - 0xa9], cl
movzx edx, byte [ebp - 0xa9]
test edx, edx
je 0x4f48a2
lea ecx, [ebp - 0x114]
call fcn.0041a400
add eax, 1
push eax
call fcn.00530cdd
add esp, 4
mov word [ebp - 0xac], ax
jmp 0x4f48b4
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0xc4]
call fcn.0041e340
mov ecx, dword [ebp - 0x34]
movzx edx, word [ecx + 0x18]
cmp edx, 0x10b
jne 0x4f48cc
mov dword [ebp - 0x5c], 0
jmp 0x4f48d3
mov dword [ebp - 0x5c], 1
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x84]
push edx
push 0
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.004f4d90
mov byte [ebp - 4], 8
push 0
lea edx, [ebp - 0x3c]
push edx
call fcn.004f2920
add esp, 8
movzx eax, al
test eax, eax
je 0x4f49ba
push 0x107
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x130], esp
lea edx, [ebp - 0xe4]
push edx
call fcn.004f3ae0
mov ecx, dword [ebp + 8]
call fcn.004f38b0
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3c]
call fcn.00420320
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xfc]
call fcn.0041dfb0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x114]
call fcn.00401d70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x154]
call fcn.00401d70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x12c]
call fcn.00401d70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004f3ce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.004d7b30
mov eax, dword [ebp + 8]
jmp 0x4f4bf7
movzx ecx, byte [ebp - 0xa9]
test ecx, ecx
je 0x4f4a69
lea ecx, [ebp - 0xfc]
call fcn.0041df40
push eax
movzx edx, word [ebp - 0xac]
push edx
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.004f4c10
mov edx, dword [ebp - 0x10]
or edx, 1
mov dword [ebp - 0x10], edx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3c]
call fcn.00420320
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xfc]
call fcn.0041dfb0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x114]
call fcn.00401d70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x154]
call fcn.00401d70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x12c]
call fcn.00401d70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004f3ce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.004d7b30
mov eax, dword [ebp + 8]
jmp 0x4f4bf7
lea ecx, [ebp - 0xfc]
call fcn.0041df40
mov dword [ebp - 0x88], eax
lea ecx, [ebp - 0x114]
call fcn.0041a400
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x24]
call fcn.004f4c10
mov ecx, dword [ebp - 0x10]
or ecx, 1
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3c]
call fcn.00420320
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xfc]
call fcn.0041dfb0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x114]
call fcn.00401d70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x154]
call fcn.00401d70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x12c]
call fcn.00401d70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004f3ce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.004d7b30
mov eax, dword [ebp + 8]
jmp 0x4f4bf7
push 0
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x138], esp
lea edx, [ebp - 0xe4]
push edx
call fcn.004d7260
mov ecx, dword [ebp + 8]
call fcn.004f38b0
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004f3ce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.004d7b30
mov eax, dword [ebp + 8]
jmp 0x4f4bf7
jmp 0x4f459f
push 0xc0000225
mov ecx, dword [ebp + 8]
call fcn.004f3870
mov ecx, dword [ebp - 0x10]
or ecx, 1
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004f3ce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.004d7b30
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10