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

Disassembly:
sub esp, 0x8c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x1f4]
test eax, eax
je 0x60a025
mov eax, dword [eax + 0x40]
cmp eax, 1
jne 0x609ff9
mov edi, dword [esi + 0x1d0]
xor ebp, ebp
dec edi
jmp 0x60a033
cmp eax, 2
jne 0x60a025
mov eax, dword [esi + 0x1cc]
mov edi, dword [esp + 0xac]
mov ebp, dword [esp + 0xa4]
xor ecx, ecx
dec eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa8], eax
jmp 0x60a041
mov edi, dword [esp + 0xac]
mov ebp, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0xa8]
cmp ecx, eax
jle 0x60a05c
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xa0], eax
mov ecx, eax
mov eax, dword [esp + 0xa8]
cmp ebp, edi
jle 0x60a066
mov edx, ebp
mov ebp, edi
mov edi, edx
mov edx, dword [0x8e12e8]
mov ebx, dword [esi + 0x1dc]
cmp ebx, edx
mov ebx, dword [0x8e12ec]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edi
jne 0x60a098
cmp dword [esi + 0x1e0], ebx
je 0x60a2f6
cmp dword [esi + 0x1e4], edx
jne 0x60a0ac
cmp dword [esi + 0x1e8], ebx
je 0x60a2f6
cmp dword [esi + 0x1dc], ecx
jne 0x60a0d0
cmp dword [esi + 0x1e0], ebp
jne 0x60a0d0
cmp dword [esi + 0x1e4], eax
jne 0x60a0d0
cmp dword [esi + 0x1e8], edi
je 0x60a360
lea eax, [esp + 0x54]
mov ecx, 4
xor edx, edx
mov dword [eax - 8], edx
mov dword [eax - 4], edx
mov dword [eax], edx
mov dword [eax + 4], edx
add eax, 0x10
dec ecx
jne 0x60a0d9
mov eax, dword [esi + 0x1e8]
mov ecx, dword [esi + 0x1e0]
mov ebx, dword [esi + 0x1dc]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x1e4]
cmp ecx, ebp
mov byte [esp + 0x13], dl
mov byte [esp + 0x12], dl
mov byte [esp + 0x11], dl
mov byte [esp + 0x10], dl
mov dword [esp + 0x24], eax
jle 0x60a126
mov edx, ecx
mov ecx, ebp
mov ebp, edx
cmp ebx, dword [esp + 0xa0]
jle 0x60a13f
mov edx, ebx
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x28]
cmp edx, edi
jge 0x60a14d
mov dword [esp + 0x28], edi
mov edi, edx
mov edx, dword [esp + 0xa8]
cmp eax, edx
jge 0x60a165
mov dword [esp + 0xa8], eax
mov dword [esp + 0x24], edx
mov eax, edx
cmp ecx, ebp
jge 0x60a1b6
mov dword [esp + 0x1c], eax
lea eax, [ebp - 1]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], eax
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x30]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x1c], 1
mov dword [esp + 0x20], ebx
call fcn.00610650
mov ecx, dword [eax]
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x50], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x54], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x58], edx
mov ecx, dword [esp + 0xa0]
cmp ebx, ecx
jge 0x60a20c
dec ecx
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x30]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x1d], 1
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
call fcn.00610650
mov ecx, dword [eax]
mov dword [esp + 0x5c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x60], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x64], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x68], edx
mov ecx, dword [esp + 0x28]
cmp ecx, edi
jle 0x60a261
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
lea eax, [edi + 1]
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], eax
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x30]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x1e], 1
mov dword [esp + 0x28], ebx
call fcn.00610650
mov ecx, dword [eax]
mov dword [esp + 0x6c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x70], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x74], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x78], edx
mov ecx, dword [esp + 0xa8]
cmp eax, ecx
jle 0x60a2bc
inc ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x30]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x1f], 1
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], ebp
call fcn.00610650
mov ecx, dword [eax]
mov dword [esp + 0x7c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x80], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x84], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x88], edx
xor ebx, ebx
lea edi, [esp + 0x4c]
mov al, byte [esp + ebx + 0x10]
test al, al
je 0x60a2eb
push 0x8e1200
mov ecx, edi
call fcn.004f1670
test al, al
jne 0x60a2eb
mov ecx, dword [esi + 0x1b4]
push edi
push 0
mov eax, dword [ecx]
call dword [eax + 0x118]
inc ebx
add edi, 0x10
cmp ebx, 4
jl 0x60a2c2
jmp 0x60a360
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x90]
xor ebx, ebx
push edx
push eax
mov ecx, esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], ebp
call fcn.00610650
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x30], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x1b4]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x38], edx
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
push ebx
call dword [eax + 0x118]
lea ecx, [esp + 0x44]
lea eax, [esi + 0x1dc]
cmp ecx, eax
je 0x60a37b
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [eax], edx
mov dword [eax + 4], ecx
add esi, 0x1e4
lea edx, [esp + 0x3c]
cmp edx, esi
je 0x60a396
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esi], eax
mov dword [esi + 4], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 0x10