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

Disassembly:
push 0xffffffffffffffff
push 0x687b33
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x16c
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x40]
call fcn.0064dc20
lea ecx, [esp + 0x28]
call fcn.0064dc20
lea ecx, [esp + 0x10]
call fcn.005f7e00
mov esi, 0x6a079c
push 0xa
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x18c], 0
mov dword [esp + 0x18], esi
call fcn.0048b670
mov eax, dword [edi + 0x34]
mov ebp, dword [esp + 0x18c]
mov dword [esp + 0x184], 1
mov ecx, dword [eax + 0x298]
push ecx
push ebp
call fcn.005f0180
mov eax, dword [edi + 0x48]
add esp, 8
test eax, eax
jne 0x610658
mov ecx, dword [edi + 0x80]
test ecx, ecx
jne 0x610620
lea ecx, [esp + 0x10]
mov dword [esp + 0x184], 0xffffffff
mov dword [esp + 0x10], esi
call fcn.00579d00
jmp 0x61092d
call fcn.004da3a0
mov esi, eax
lea eax, [esp + 0x74]
push eax
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x7c]
push eax
lea ecx, [esp + 0x44]
call fcn.004bd820
mov edx, dword [esi]
lea eax, [esp + 0x74]
push eax
mov ecx, esi
call dword [edx + 0x84]
push eax
lea ecx, [esp + 0x2c]
call fcn.004bd820
jmp 0x61067a
mov ecx, dword [edi + 0x68]
test ecx, ecx
je 0x610603
call fcn.004da3a0
test eax, eax
je 0x610603
lea ecx, [esp + 0x28]
lea edx, [esp + 0x40]
push ecx
push edx
lea ecx, [eax + 0x78]
call fcn.004d7110
fld qword [esp + 0x28]
fsub qword [esp + 0x40]
sub esp, 0x18
lea eax, [esp + 0x74]
mov dword [esp + 0x3c], esp
mov ecx, esp
push eax
mov dword [esp + 0x88], 0
fstp qword [esp + 0x78]
fld qword [esp + 0x4c]
fsub qword [esp + 0x64]
mov dword [esp + 0x8c], 0
fstp qword [esp + 0x80]
call fcn.00657020
call fcn.006570d0
add esp, 0x18
lea ecx, [esp + 0x104]
fstp st(0)
call fcn.00654ac0
mov eax, dword [esp + 0x190]
mov byte [esp + 0x184], 2
test eax, eax
mov eax, dword [edi + 0x84]
jne 0x610785
test eax, eax
push 0
jne 0x61073e
lea ecx, [edi + 0x50]
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x48]
push edx
lea ecx, [esp + 0x98]
push eax
push ecx
call fcn.00656240
add esp, 0x14
push eax
lea ecx, [esp + 0x108]
mov byte [esp + 0x188], 3
call fcn.00654de0
mov byte [esp + 0x184], 2
lea ecx, [esp + 0x8c]
jmp 0x610811
lea edx, [edi + 0x50]
lea eax, [esp + 0x44]
push edx
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x98]
push ecx
push edx
call fcn.00656240
add esp, 0x14
push eax
lea ecx, [esp + 0x108]
mov byte [esp + 0x188], 4
call fcn.00654de0
mov byte [esp + 0x184], 2
lea ecx, [esp + 0x8c]
jmp 0x610811
test eax, eax
push 0
jne 0x6107cf
lea eax, [edi + 0x50]
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x48]
push ecx
lea eax, [esp + 0x98]
push edx
push eax
call fcn.006563c0
add esp, 0x14
push eax
lea ecx, [esp + 0x108]
mov byte [esp + 0x188], 5
call fcn.00654de0
mov byte [esp + 0x184], 2
lea ecx, [esp + 0x8c]
jmp 0x610811
lea ecx, [edi + 0x50]
lea edx, [esp + 0x44]
push ecx
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x98]
push eax
push ecx
call fcn.006563c0
add esp, 0x14
push eax
lea ecx, [esp + 0x108]
mov byte [esp + 0x188], 6
call fcn.00654de0
mov byte [esp + 0x184], 2
lea ecx, [esp + 0x8c]
call fcn.00456760
mov ebx, dword [ebp + 8]
xor esi, esi
test ebx, ebx
mov dword [esp + 0x24], ebx
jle 0x6108d1
jmp 0x610830
mov ebp, dword [esp + 0x18c]
mov edx, dword [ebp + 4]
mov ecx, dword [edi + 0x34]
mov eax, dword [edx + esi*4]
mov edx, dword [ecx + 0x298]
push eax
push edx
call fcn.0046f130
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x610889
mov ecx, dword [esp + 0x18]
xor eax, eax
test ecx, ecx
jle 0x61086f
mov edx, dword [esp + 0x14]
cmp ebp, dword [edx]
je 0x61086b
inc eax
add edx, 4
cmp eax, ecx
jl 0x61085d
jmp 0x61086f
test eax, eax
jge 0x610889
mov ebx, ecx
inc ecx
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x18]
call fcn.0048b670
mov eax, dword [esp + 0x14]
mov dword [eax + ebx*4], ebp
mov ebx, dword [esp + 0x24]
sub esp, 0x78
lea edx, [esp + 0x17c]
mov ecx, esp
mov dword [esp + 0xd0], esp
push edx
call fcn.00654cc0
mov ecx, dword [esp + 0x204]
push esi
mov byte [esp + 0x200], 7
call fcn.004ea1e0
mov eax, dword [eax]
mov byte [esp + 0x1fc], 2
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x2c]
inc esi
cmp esi, ebx
jl 0x610829
mov ecx, dword [esp + 0x18]
mov eax, 1
cmp ecx, eax
jle 0x6108e3
mov dword [edi + 0x44], eax
jmp 0x6108ea
mov dword [edi + 0x44], 0
mov edi, dword [edi + 0x34]
push eax
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0x64]
lea ecx, [esp + 0x104]
mov byte [esp + 0x184], 1
call fcn.00456760
mov dword [esp + 0x10], 0x6a0788
mov eax, dword [esp + 0x14]
mov dword [esp + 0x184], 8
test eax, eax
je 0x61092d
push eax
call fcn.0065e732
add esp, 4
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x178
ret 8