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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x668a1c
sub esp, 0x6c
mov ebx, dword [esp + 0x70]
mov ebp, dword [ebx]
mov esi, ebp
movzx edi, word [esi + 0x14]
lea ebp, [edi + ebp + 0x18]
test byte [ebp], al
movzx ecx, word [esi + 6]
cmp ecx, 0xffff
ja 0x668a11
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x7c]
xor eax, eax
jmp 0x6686dd
inc eax
cmp eax, ecx
jge 0x6689f2
jae 0x668a0c
mov dword [esp + 0x20], eax
lea esi, [eax + eax*4]
mov dword [esp + 0x28], esi
lea edi, [ebp + esi*8 + 0x10]
mov dword [esp + 0x38], edi
mov edi, dword [edi]
test edi, edi
jne 0x6687ca
mov edi, dword [edx + 0x38]
test edi, edi
je 0x6686dc
mov dword [esp + 0x1c], edi
lea eax, [ebp + esi*8 + 0xc]
mov dword [esp + 0x38], eax
mov ecx, dword [eax]
add ecx, dword [ebx + 4]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], 0x1000
mov dword [esp + 0xc], 4
call fcn.004e37f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x6688eb
mov edx, dword [esp + 0x38]
mov edx, dword [edx]
mov ebx, dword [esp + 0x70]
add edx, dword [ebx + 4]
nop
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x3c]
lea ebp, [esi + ebp*8 + 8]
mov dword [ebp], edx
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
nop
nop
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x58]
mov ebp, dword [esp + 0x54]
test edx, edx
je 0x6687b7
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.00457280
mov ebx, dword [esp + 0x70]
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x7c]
mov ebp, esi
jmp 0x6686dc
lea edx, [ebp + esi*8 + 0x14]
mov ecx, dword [edx]
add ecx, edi
mov eax, dword [esp + 0x78]
cmp eax, ecx
jb 0x6689b9
mov dword [esp + 0x34], edx
lea eax, [ebp + esi*8 + 0xc]
mov dword [esp + 0x30], eax
mov ecx, dword [eax]
add ecx, dword [ebx + 4]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], 0x1000
mov dword [esp + 0xc], 4
call fcn.004e37f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test ecx, ecx
jne 0x668952
nop
mov edx, dword [esp + 0x30]
mov edx, dword [edx]
mov ebx, dword [esp + 0x70]
add edx, dword [ebx + 4]
mov ebp, dword [esp + 0x34]
mov ebp, dword [ebp]
mov esi, dword [esp + 0x38]
mov esi, dword [esi]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
nop
nop
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov edx, dword [esp + 0x74]
add ebp, edx
nop
nop
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x64]
mov ecx, edx
mov edx, dword [esp + 0x4c]
cmp edx, edi
jg 0x6688a8
mov edi, edx
cmp esi, ebp
je 0x6688cc
mov dword [esp + 0x24], eax
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
call fcn.00457450
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0x70]
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x3c]
lea edx, [ebp + edx*8 + 8]
mov dword [edx], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x7c]
jmp 0x6686dc
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
test ecx, ecx
je 0x668902
mov ecx, dword [ecx + 4]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
lea eax, [0x772090]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a4ad0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x6c
ret
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
test edx, edx
je 0x668969
mov edx, dword [edx + 4]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebx
lea eax, [0x774060]
mov dword [esp], eax
mov dword [esp + 4], 0x21
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a4ad0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x6c
ret
lea eax, [0x73caa0]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x76d3f0]
mov dword [eax], ecx
lea ecx, [0x7ca6cc]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x6c
ret
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x6c
ret
call fcn.00456b40
mov edx, 0xffff
call fcn.00456b60
nop
call fcn.00455690
jmp fcn.00668690