Function at 0x670590
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x34]
cmp eax, dword [ecx + 8]
jbe 0x6709ce
sub esp, 0xb4
lea eax, [0xacc2e0]
mov dword [esp], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xc0]
mov dword [esp + 8], ecx
call fcn.004097a0
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test al, al
je 0x670985
mov dword [esp + 0x48], edx
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 4], eax
call fcn.00670210
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 8]
test eax, eax
jle 0x670901
mov dword [esp + 0x28], eax
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x6708ba
mov eax, dword [esp + 0x38]
lea ebp, [eax + 1]
lea eax, [0xb8e16e]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x4c]
lea ebx, [0xb8e25c]
cmp ebp, 4
jge 0x6706cd
mov dword [esp + 0x38], ebp
lea eax, [esp + ebp*8 + 0x94]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x20]
mov ebx, dword [edx + 0x10]
mov esi, dword [esp + 0x48]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x670634
mov dword [esp + 0x58], ecx
mov dword [esp + 0x34], eax
lea eax, [0x10da600]
mov dword [esp], eax
lea eax, [0xb02500]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
call fcn.0046b510
mov eax, dword [esp + 0x34]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xd0], eax
add esp, 0xb4
ret
mov ebp, dword [esp + 0xc8]
test ebp, ebp
je 0x670879
mov ebx, dword [ebp + 0x30]
test ebx, ebx
je 0x670879
mov ebx, dword [esp + 0x2c]
mov esi, ebp
lea ebp, [ebx + 1]
mov edi, ecx
mov ecx, dword [esp + 0x30]
cmp ebp, ecx
ja 0x670824
mov dword [esp + 0x38], ebp
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x54]
lea ebp, [ecx + ebx*8 + 4]
mov dword [ebp], edi
mov ebp, dword [0x10fd360]
lea edi, [ecx + ebx*8]
test ebp, ebp
jne 0x670812
mov dword [edi], edx
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x3c]
lea edi, [ebp + 1]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x28]
mov ebp, edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x44]
cmp edi, eax
jge 0x67088c
mov dword [esp + 0x3c], edi
mov dword [esp + 0x2c], ebp
lea eax, [ecx + edi*8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov ebx, dword [0x10e3760]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004b0160
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00611110
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x94]
mov edx, eax
xor eax, eax
call fcn.00460de8
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
lea eax, [0xb8e16e]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 2
mov dword [esp + 0xa4], edx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xa8], ecx
lea ebx, [0xb8e25c]
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], 2
xor ebp, ebp
jmp 0x67064f
mov eax, edx
call fcn.00460b40
lea eax, [0xb8e16e]
jmp 0x670724
lea eax, [0xaa9660]
mov dword [esp], eax
mov edx, dword [esp + 0x54]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call fcn.00447080
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebp, [ecx + 1]
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0xc8]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x54], eax
mov ecx, edx
lea eax, [0xb8e16e]
mov edx, dword [esp + 0x4c]
jmp 0x6706fe
mov esi, ebp
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x54]
jmp 0x67072c
mov eax, dword [esp + 0xc8]
test eax, eax
je 0x6708a2
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x67093e
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x54]
inc ebx
cmp esi, ebx
jle 0x670901
add edx, 0x14
mov eax, esi
mov esi, ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x60], edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x54], edi
mov dword [esp + 0x30], esi
lea edi, [esp + 0x80]
mov esi, edx
call fcn.004612ce
lea edi, [esp + 0x6c]
lea esi, [esp + 0x80]
call fcn.004612ce
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x5c], ecx
mov esi, eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x40], eax
xor edi, edi
jmp 0x670751
lea eax, [0x10da600]
mov dword [esp], eax
lea eax, [0xb02500]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
call fcn.0046b510
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
add esp, 0xb4
ret
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [ecx]
mov edx, ecx
call eax
mov eax, dword [esp + 0xc8]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x28]
xor ecx, ecx
xor ebp, ebp
xor edi, edi
jmp 0x6708aa
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x68], eax
lea eax, [0xc844e0]
mov dword [esp], eax
lea eax, [esp + 0x64]
mov dword [esp + 4], eax
call fcn.004095f0
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
jmp 0x6705e9
call fcn.0045f5f0
jmp fcn.00670590