Function at 0x4fde00
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x4fe41b
sub esp, 0x90
mov eax, dword [esp + 0x94]
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
movzx edx, byte [eax + 6]
test dl, dl
jne 0x4fde72
mov dword [esp + 0x6c], ecx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.004091e0
mov eax, dword [esp + 0xc]
lea ecx, [0x56a2b4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004852d0
mov eax, dword [esp + 0x94]
xor ecx, ecx
jmp 0x4fde9d
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
add esp, 0x90
ret
mov edx, dword [esp + 0x3c]
lea ecx, [edx + 1]
mov eax, dword [esp + 0x94]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x20]
cmp ecx, edx
jge 0x4fdee1
jae 0x4fe411
mov dword [esp + 0x3c], ecx
mov eax, dword [ebx + ecx*4]
mov dword [esp], eax
call fcn.004fde00
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
je 0x4fde8f
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
add esp, 0x90
ret
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
lea edi, [eax + 0x20]
mov dword [esp + 0x7c], edi
mov ecx, dword [0x64f2f0]
test ecx, ecx
jne 0x4fdf09
mov dword [eax + 0x20], 0
jmp 0x4fdf14
mov ecx, eax
xor eax, eax
call fcn.00460a90
mov eax, ecx
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 4]
mov edx, dword [edx + 0xd0]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004fd980
mov eax, dword [esp + 8]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x34], ecx
xor edx, edx
jmp 0x4fdf75
mov eax, dword [esp + 0x6c]
lea ecx, [eax + 0x70]
mov dword [esp], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 1
call fcn.00464f50
mov eax, dword [esp + 0x48]
lea edx, [eax + 1]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x70]
mov eax, ecx
mov ecx, dword [esp + 0x34]
cmp edx, ecx
jge 0x4fe1a4
mov dword [esp + 0x48], edx
mov ebx, dword [eax + edx*4]
mov dword [esp + 0x74], ebx
mov ebp, dword [ebx + 0x18]
test ebp, ebp
xchg esi, ebx
seta bl
xchg esi, ebx
xchg edi, ebx
sete bl
xchg edi, ebx
mov edx, dword [ebx + 0x14]
mov dword [esp + 0x44], edx
test edx, edx
seta dl
and edi, edx
or edi, esi
xchg edi, eax
test al, al
xchg edi, eax
je 0x4fe00d
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 8], ebp
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
call fcn.00501c10
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ecx, dword [ecx + 0xe8]
mov ebx, dword [edx + 0x30]
mov edx, dword [edx + 0x34]
mov dword [esp], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
call fcn.004f9870
mov eax, dword [esp + 0x74]
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x74]
xor edx, edx
mov ebp, 0x10
jmp 0x4fe257
mov edx, dword [esp + 0x6c]
mov esi, dword [edx + 4]
mov esi, dword [esi + 0xd0]
lea ebp, [ebp + esi - 1]
test esi, esi
je 0x4fe403
mov dword [esp], edx
mov eax, ebp
cmp esi, 0xffffffff
je 0x4fe041
cdq
idiv esi
jmp 0x4fe043
neg eax
mov dword [esp + 4], eax
call fcn.00501460
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
test edx, edx
jne 0x4fe26c
mov eax, dword [esp + 0x6c]
mov edx, dword [eax + 8]
mov ebx, dword [ecx + 4]
mov ebp, dword [edx + 0x2c]
cmp ebx, ebp
xchg esi, ebx
sete bl
xchg esi, ebx
mov edi, dword [ecx]
cmp dword [edx + 0x28], edi
setbe dl
cmp ebx, ebp
xchg ebp, ebx
seta bl
xchg ebp, ebx
and edx, esi
or edx, ebp
test dl, dl
jne 0x4fe322
mov eax, dword [esp + 0x74]
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004fd410
mov eax, dword [esp + 0x74]
mov byte [eax + 6], 1
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x4fdf41
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov ebp, dword [eax + 0x10]
test edx, edx
je 0x4fe0d1
mov esi, edx
jmp 0x4fe0e8
mov edx, dword [eax + 0x2c]
mov ebx, dword [eax + 0x30]
test ebx, ebx
jbe 0x4fe319
mov esi, dword [edx + 0xc]
mov ebx, dword [edx + 0x10]
mov ebp, dword [edx + 0x14]
mov edx, dword [eax + 0x2c]
mov edi, dword [eax + 0x30]
test edi, edi
jbe 0x4fe310
mov edi, dword [edx + 0xc]
mov dword [esp + 0x78], edi
mov edi, dword [edx + 0x10]
mov edx, dword [edx + 0x14]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], 0
call fcn.004fc810
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x30]
test edx, edx
jbe 0x4fe307
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x14]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov ecx, dword [0x64f2f0]
test ecx, ecx
jne 0x4fe18d
mov dword [eax + 8], ebx
jmp 0x4fe197
lea edi, [eax + 8]
mov eax, ebx
call fcn.00460a90
test edx, edx
jne 0x4fdf41
jmp 0x4fe281
mov ecx, dword [esp + 0x94]
mov edx, dword [ecx + 0x1c]
test edx, edx
je 0x4fe21c
mov ebx, dword [edx + 0x14]
test ebx, ebx
sete bl
mov edx, dword [edx + 0x18]
test edx, edx
sete dl
and edx, ebx
test dl, dl
je 0x4fe21c
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov edx, dword [0x64f2f0]
test edx, edx
jne 0x4fe1e9
mov dword [ecx + 0x20], 0
jmp 0x4fe1f4
mov edi, dword [esp + 0x7c]
xor eax, eax
call fcn.00460a90
mov eax, dword [ecx + 0x1c]
mov dword [esp], eax
call fcn.004fde00
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
add esp, 0x90
ret
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
add esp, 0x90
ret
lea edi, [edx + 1]
mov dword [esp + 0x38], edi
lea edi, [edx + edx*8]
mov edx, esi
mov esi, dword [esi + edi*4 + 0x10]
add esi, dword [edx + edi*4 + 0x1c]
lea ebp, [ebp + esi + 0x10]
mov esi, dword [esp + 0x38]
mov edx, esi
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x30]
cmp edx, edi
jge 0x4fe019
jb 0x4fe239
jmp 0x4fe408
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebp
add esp, 0x90
ret
lea eax, [esp + 0x4c]
mov dword [esp], eax
lea eax, [0x53305c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x12
lea eax, [0x536d92]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x1b
call fcn.0044c480
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004aeba0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409160
mov eax, dword [esp + 8]
lea ecx, [0x517d40]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435600
xor eax, eax
mov ecx, eax
call fcn.00460b10
xor eax, eax
mov ecx, eax
call fcn.00460b10
xor eax, eax
mov ecx, eax
call fcn.00460b10
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.004090b0
mov eax, dword [esp + 8]
lea ecx, [0x5175c0]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.004090b0
mov eax, dword [esp + 8]
lea ecx, [0x5175c0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
lea eax, [0x539b38]
mov dword [esp], eax
mov dword [esp + 4], 0x24
lea eax, [esp + 0x80]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004aeba0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409160
mov eax, dword [esp + 8]
lea ecx, [0x517d40]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435600
call fcn.00434580
mov eax, edx
mov ecx, edi
call fcn.00460b10
mov eax, ecx
mov ecx, edx
call fcn.00460b10
nop
call fcn.0045f680
jmp fcn.004fde00