Function at 0x668670
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 0x6689fc
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 0x6689f1
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x7c]
xor eax, eax
jmp 0x6686bd
inc eax
cmp eax, ecx
jge 0x6689d2
jae 0x6689ec
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 0x6687aa
mov edi, dword [edx + 0x38]
test edi, edi
je 0x6686bc
mov dword [esp + 0x24], 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.004e37b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x6688cb
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 + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
nop
nop
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
test edx, edx
je 0x668797
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 0x6686bc
lea edx, [ebp + esi*8 + 0x14]
mov ecx, dword [edx]
add ecx, edi
mov eax, dword [esp + 0x78]
cmp eax, ecx
jb 0x668999
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.004e37b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test ecx, ecx
jne 0x668932
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 + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 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 + 0x54], ebp
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x58]
mov ecx, edx
mov edx, dword [esp + 0x4c]
cmp edx, edi
jg 0x668888
mov edi, edx
cmp esi, ebp
je 0x6688ac
mov dword [esp + 0x1c], eax
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
call fcn.00457450
mov eax, dword [esp + 0x1c]
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 0x6686bc
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
test ecx, ecx
je 0x6688e2
mov ecx, dword [ecx + 4]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
lea eax, [0x772330]
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.004a4ab0
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 0x668949
mov edx, dword [edx + 4]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebx
lea eax, [0x774300]
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.004a4ab0
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, [0x73cfa0]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x76d690]
mov dword [eax], ecx
lea ecx, [0x7caa44]
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.00668670