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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x61c7c3
sub esp, 0x6c
mov edx, dword [esp + 0x80]
mov ebx, dword [edx]
mov edx, dword [edx + 4]
test ebx, ebx
jne 0x61c5b2
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x84]
xor eax, eax
jmp 0x61c5e5
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], edx
add esp, 0x6c
ret
mov edx, dword [esp + 0x8c]
mov esi, dword [esp + 0x84]
mov ecx, ebp
mov ebx, esi
mov eax, dword [esp + 0x38]
mov dword [esp + 0x38], eax
mov ebp, dword [esp + 0x7c]
test ebp, ebp
xchg ebp, ebx
setne bl
xchg ebp, ebx
mov esi, dword [esp + 0x78]
test esi, esi
xchg esi, ebx
setne bl
xchg esi, ebx
or ebp, esi
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x61c688
call fcn.004b9310
lea edi, [esp + 0x58]
lea esi, [esp]
call fcn.0046490e
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x34], ecx
lea edi, [esp]
lea esi, [esp + 0x58]
call fcn.0046490e
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
call fcn.004b87b0
lea edi, [esp + 0x44]
lea esi, [esp + 0x1c]
call fcn.0046490e
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov eax, dword [eax + 0x28]
mov dword [esp], ecx
lea edi, [esp + 4]
lea esi, [esp + 0x44]
call fcn.0046490e
call eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x84]
cmp ecx, eax
jb 0x61c7bd
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov ebp, dword [ebp + 0x2c]
mov dword [esp], esi
sub edx, eax
mov edi, edx
neg edx
sar edx, 0x1f
and edx, eax
add edx, ebx
mov dword [esp + 4], edx
sub ecx, eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
call ebp
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x38]
add ebx, eax
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x88]
cmp ebp, ebx
jle 0x61c726
test eax, eax
jg 0x61c6ec
xor eax, eax
jmp 0x61c728
mov eax, dword [0x8c12f0]
mov ebx, dword [0x8c12f4]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.00469d10
movzx eax, byte [esp + 0x10]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x88]
jmp 0x61c728
xor eax, eax
test al, al
jne 0x61c5cf
mov ebp, dword [esp + 0x78]
test ebp, ebp
xchg ebp, ebx
setne bl
xchg ebp, ebx
mov esi, dword [esp + 0x7c]
test esi, esi
xchg esi, ebx
setne bl
xchg esi, ebx
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
je 0x61c781
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov ecx, dword [ecx + 0x28]
mov dword [esp + 0x30], ecx
mov dword [esp], edx
lea edi, [esp + 4]
xor eax, eax
call fcn.0046442b
mov ecx, dword [esp + 0x30]
call ecx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x80]
mov dword [ebp], ecx
mov esi, dword [0x8e7a50]
test esi, esi
jne 0x61c79a
mov dword [ebp + 4], edx
jmp 0x61c7a4
lea edi, [ebp + 4]
mov eax, edx
call fcn.00464190
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
add esp, 0x6c
ret
call fcn.00464270
nop
call fcn.00462d80
jmp fcn.0061c570