Function at 0x4fe156
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x5527f0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x1fc], edx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x200], eax
mov dword [ebp - 0x204], ecx
test edi, edi
jne 0x4fe1b8
mov dword [ebp - 0x14], 0x33f
mov dword [ebp - 0x10], 0x439000
mov esi, 0xc000000d
mov dword [ebp - 0x18], 0x439028
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x438f2c
jmp 0x4fe4a3
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [ecx], edx
mov dword [ecx + 4], edx
mov eax, dword [edi]
mov dword [ebp - 0xc], edx
mov esi, dword [eax + 8]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xec]
mov ecx, esi
push eax
push 0x40
push edx
push edx
call dword [0x5552f8]
mov ecx, edi
call esi
test eax, eax
js 0x4fe4ab
cmp dword [ebp - 0xc], 0x40
je 0x4fe20a
mov dword [ebp - 0x14], 0x357
mov dword [ebp - 0x10], 0x439048
mov esi, 0xc0000102
jmp 0x4fe1a2
mov eax, 0x5a4d
cmp word [ebp - 0xec], ax
je 0x4fe228
mov dword [ebp - 0x14], 0x358
mov dword [ebp - 0x10], 0x439070
jmp 0x4fe203
mov ecx, dword [edi]
mov eax, dword [ebp - 0xb0]
and dword [ebp - 0x28], 0
cdq
mov esi, dword [ecx + 8]
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x28]
push ecx
push 4
push edx
push eax
mov ecx, esi
call dword [0x5552f8]
mov ecx, edi
call esi
test eax, eax
js 0x4fe4ab
cmp dword [ebp - 0xc], 4
je 0x4fe26e
mov dword [ebp - 0x14], 0x35e
mov dword [ebp - 0x10], 0x4390b0
jmp 0x4fe203
cmp dword [ebp - 0x28], 0x4550
je 0x4fe28a
mov dword [ebp - 0x14], 0x35f
mov dword [ebp - 0x10], 0x439094
jmp 0x4fe203
mov eax, dword [edi]
mov ecx, dword [ebp - 0xb0]
add ecx, 4
mov esi, dword [eax + 8]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x74]
push eax
push 0x14
push 0
push ecx
mov ecx, esi
call dword [0x5552f8]
mov ecx, edi
call esi
test eax, eax
js 0x4fe4ab
cmp dword [ebp - 0xc], 0x14
je 0x4fe2d2
mov dword [ebp - 0x14], 0x364
mov dword [ebp - 0x10], 0x4390cc
jmp 0x4fe203
mov ecx, dword [edi]
mov eax, dword [ebp - 0xb0]
add eax, 0x18
cdq
mov esi, dword [ecx + 8]
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x1dc]
push ecx
push 0xe0
push edx
push eax
mov ecx, esi
call dword [0x5552f8]
mov ecx, edi
call esi
test eax, eax
js 0x4fe4ab
cmp dword [ebp - 0xc], 0xe0
je 0x4fe323
mov dword [ebp - 0x14], 0x370
mov dword [ebp - 0x10], 0x4390f4
jmp 0x4fe203
mov eax, 0x20b
cmp word [ebp - 0x1dc], ax
sete byte [ebp - 0x1e1]
jne 0x4fe38d
mov ecx, dword [edi]
mov eax, dword [ebp - 0xb0]
and dword [ebp - 0x20], 0
add eax, 0x18
cdq
mov esi, dword [ecx + 8]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x1dc]
push ecx
push 0xf0
push edx
push eax
mov ecx, esi
call dword [0x5552f8]
mov ecx, edi
call esi
test eax, eax
js 0x4fe4ab
cmp dword [ebp - 0x20], 0xf0
je 0x4fe38d
mov dword [ebp - 0x14], 0x378
mov dword [ebp - 0x10], 0x439124
jmp 0x4fe203
cmp byte [ebp - 0x1e1], 0
mov esi, dword [ebp - 0xb0]
lea eax, [esi + 0x58]
cdq
mov dword [ebx], eax
mov dword [ebx + 4], edx
je 0x4fe3b9
mov ecx, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x1f8], ecx
jmp 0x4fe3cb
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x168]
test eax, eax
jne 0x4fe3f3
mov dword [ebp - 0x1c], 0x438f2c
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x439028
mov dword [ebp - 0x14], 0x393
mov dword [ebp - 0x10], 0x439154
jmp 0x4fe49e
movzx eax, word [ebp - 0x64]
xor ebx, ebx
add eax, 0x18
add eax, esi
cdq
mov ecx, eax
mov dword [ebp - 0x1e0], eax
xor eax, eax
cmp ax, word [ebp - 0x72]
jmp 0x4fe46b
mov eax, dword [edi]
and dword [ebp - 0x20], 0
mov esi, dword [eax + 8]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xac]
push eax
push 0x28
push edx
push ecx
mov ecx, esi
call dword [0x5552f8]
mov ecx, edi
call esi
test eax, eax
js 0x4fe4ab
cmp dword [ebp - 0x20], 0x28
jne 0x4fe828
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0x1f8]
je 0x4fe4bc
mov ecx, dword [ebp - 0x1e0]
mov edx, dword [ebp - 0x24]
add ecx, 0x28
movzx eax, word [ebp - 0x72]
adc edx, 0
mov dword [ebp - 0x1e0], ecx
inc ebx
cmp ebx, eax
mov dword [ebp - 0x24], edx
jb 0x4fe40f
mov dword [ebp - 0x1f4], 0x438f2c
lea ecx, [ebp - 0x1f4]
mov dword [ebp - 0x1f0], 0x439028
mov dword [ebp - 0x1ec], 0x3af
mov dword [ebp - 0x1e8], 0x43916c
mov esi, 0xc0000089
push esi
call fcn.004f7c89
mov eax, esi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052b1d0
leave
ret 0xc
sub eax, dword [ebp - 0x98]
xor ecx, ecx
and dword [ebp - 0xc], ecx
mov ebx, dword [ebp - 0x98]
mov dword [ebp - 0x1f8], eax
mov eax, dword [edi]
mov dword [ebp - 0x20], ecx
mov esi, dword [eax + 8]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x40]
push eax
push 0x10
push ecx
push ebx
mov ecx, esi
call dword [0x5552f8]
mov ecx, edi
call esi
test eax, eax
js 0x4fe4ab
cmp dword [ebp - 0xc], 0x10
je 0x4fe510
mov dword [ebp - 0x14], 0x3b7
mov dword [ebp - 0x10], 0x4391b0
jmp 0x4fe203
movzx eax, word [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
lea eax, [eax*8 + 0x10]
add ebx, eax
adc ecx, ecx
and dword [ebp - 0x1e0], 0
xor eax, eax
cmp ax, word [ebp - 0x32]
jmp 0x4fe587
mov eax, dword [edi]
and dword [ebp - 0x24], 0
mov esi, dword [eax + 8]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
push 8
push ecx
push ebx
mov ecx, esi
call dword [0x5552f8]
mov ecx, edi
call esi
test eax, eax
js 0x4fe4ab
cmp dword [ebp - 0x24], 8
jne 0x4fe81c
cmp word [ebp - 0x14], 0x18
je 0x4fe5aa
mov ecx, dword [ebp - 0x20]
add ebx, 8
mov edx, dword [ebp - 0x1e0]
movzx eax, word [ebp - 0x32]
adc ecx, 0
inc edx
mov dword [ebp - 0x1e0], edx
cmp edx, eax
mov dword [ebp - 0x20], ecx
jb 0x4fe531
mov dword [ebp - 0x1ec], 0x3d0
mov esi, 0xc000008a
mov dword [ebp - 0x1e8], 0x439214
jmp 0x4fe7fd
mov eax, dword [edi]
xor ecx, ecx
mov ebx, dword [ebp - 0x10]
and ebx, 0x7fffffff
mov dword [ebp - 0x20], ecx
add ebx, dword [ebp - 0x98]
mov esi, dword [eax + 8]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x50]
push eax
push 0x10
push ecx
push ebx
mov ecx, esi
call dword [0x5552f8]
mov ecx, edi
call esi
test eax, eax
js 0x4fe4ab
cmp dword [ebp - 0xc], 0x10
je 0x4fe5f5
mov dword [ebp - 0x14], 0x3d7
jmp 0x4fe504
movzx eax, word [ebp - 0x44]
mov ecx, dword [ebp - 0x20]
lea eax, [eax*8 + 0x10]
add ebx, eax
adc ecx, ecx
and dword [ebp - 0x1e0], 0
xor eax, eax
cmp ax, word [ebp - 0x42]
jmp 0x4fe671
mov eax, dword [edi]
and dword [ebp - 0x24], 0
mov esi, dword [eax + 8]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
push 8
push ecx
push ebx
mov ecx, esi
call dword [0x5552f8]
mov ecx, edi
call esi
test eax, eax
js 0x4fe4ab
cmp dword [ebp - 0x24], 8
jne 0x4fe7e4
movzx eax, word [ebp - 0x14]
cmp eax, dword [ebp - 0x1fc]
je 0x4fe694
mov ecx, dword [ebp - 0x20]
add ebx, 8
mov edx, dword [ebp - 0x1e0]
movzx eax, word [ebp - 0x42]
adc ecx, 0
inc edx
mov dword [ebp - 0x1e0], edx
cmp edx, eax
mov dword [ebp - 0x20], ecx
jb 0x4fe616
mov dword [ebp - 0x1ec], 0x3f0
mov esi, 0xc000008b
mov dword [ebp - 0x1e8], 0x439230
jmp 0x4fe7fd
mov eax, dword [edi]
mov ebx, dword [ebp - 0x10]
and dword [ebp - 0xc], 0
and ebx, 0x7fffffff
add ebx, dword [ebp - 0x98]
mov esi, dword [eax + 8]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x60]
mov ecx, esi
push eax
push 0x10
push 0
push ebx
call dword [0x5552f8]
mov ecx, edi
call esi
test eax, eax
js 0x4fe4ab
cmp dword [ebp - 0xc], 0x10
je 0x4fe6df
mov dword [ebp - 0x14], 0x3f8
jmp 0x4fe504
movzx eax, word [ebp - 0x54]
push 0
pop ecx
lea eax, [eax*8 + 0x10]
add ebx, eax
adc ecx, ecx
cmp word [ebp - 0x52], 0
ja 0x4fe710
mov dword [ebp - 0x14], 0x3fe
mov esi, 0xc0000204
mov dword [ebp - 0x10], 0x439280
jmp 0x4fe1a2
cmp word [ebp - 0x52], 1
je 0x4fe72a
mov dword [ebp - 0x14], 0x404
mov dword [ebp - 0x10], 0x439250
jmp 0x4fe19d
mov eax, dword [edi]
and dword [ebp - 0xc], 0
mov esi, dword [eax + 8]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x30]
push eax
push 8
push ecx
push ebx
mov ecx, esi
call dword [0x5552f8]
mov ecx, edi
call esi
test eax, eax
js 0x4fe4ab
cmp dword [ebp - 0xc], 8
je 0x4fe76c
mov dword [ebp - 0x14], 0x409
mov dword [ebp - 0x10], 0x4391e0
jmp 0x4fe203
mov eax, dword [edi]
xor ebx, ebx
mov edx, dword [ebp - 0x2c]
add edx, dword [ebp - 0x98]
mov esi, dword [eax + 8]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
push 0x10
push ebx
push edx
call dword [0x5552f8]
mov ecx, edi
call esi
test eax, eax
js 0x4fe4ab
cmp dword [ebp - 0xc], 0x10
je 0x4fe7b8
mov dword [ebp - 0x14], 0x410
mov dword [ebp - 0x10], 0x4392bc
jmp 0x4fe203
mov ecx, dword [ebp - 0x200]
mov eax, dword [ebp - 0x84]
sub eax, dword [ebp - 0x1f8]
mov dword [ecx], eax
mov eax, dword [ebp - 0x80]
mov dword [ecx + 4], ebx
mov ecx, dword [ebp - 0x204]
mov dword [ecx], eax
xor eax, eax
mov dword [ecx + 4], ebx
jmp 0x4fe4ab
mov dword [ebp - 0x1ec], 0x3e4
mov dword [ebp - 0x1e8], 0x4391e0
mov esi, 0xc0000102
mov dword [ebp - 0x1f4], 0x438f2c
lea ecx, [ebp - 0x1f4]
mov dword [ebp - 0x1f0], 0x439028
jmp 0x4fe4a3
mov dword [ebp - 0x1ec], 0x3c4
jmp 0x4fe7ee
mov dword [ebp - 0x1ec], 0x3a2
mov dword [ebp - 0x1e8], 0x439184
jmp 0x4fe7f8