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

Disassembly:
sub esp, 0x68
push esi
mov esi, dword [esp + 0x70]
cmp dword [esi + 0x40], 0
push edi
mov edi, ecx
jne 0x6604fb
pop edi
xor eax, eax
pop esi
add esp, 0x68
ret 0x14
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x6604f1
mov ecx, dword [edi + 0x18]
cmp dword [ecx + 0x68], 0
push ebx
mov ebx, 2
je 0x660542
mov edx, dword [edi]
mov edx, dword [edx + 0xc4]
push eax
lea eax, [esp + 0x38]
push eax
mov ecx, edi
call edx
lea ecx, [esp + 0x34]
cmp dword [esp + 0x6c], ebx
jne 0x66053d
call fcn.005a7d34
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x68
ret 0x14
call fcn.005a7d34
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
push eax
push ecx
push edx
mov ecx, edi
call 0x657c00
test eax, eax
jne 0x66082a
mov eax, dword [esi + 0x34]
mov dword [esp + 0x78], ebx
test eax, eax
je 0x660574
push eax
lea ecx, [esp + 0x7c]
call 0x602480
jmp 0x6605c6
push ebp
mov ebp, dword [esi + 0x20]
push edi
push 0
push ebp
call 0x649340
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jl 0x6605a5
fild dword [esp + 0x10]
push edi
sub esp, 8
lea ecx, [esp + 0x88]
fstp qword [esp]
call 0x601ea0
jmp 0x6605c5
test byte [esp + 0x80], 0x40
je 0x6605c5
mov ecx, edi
call fcn.0064b130
push eax
push ebp
push edi
lea ecx, [esp + 0x88]
call fcn.00601e20
pop ebp
mov eax, dword [esi + 0x1c]
push 0x1030c250
push eax
call fcn.005af58c
add esp, 8
test eax, eax
je 0x660611
mov eax, dword [esi + 0x40]
push 0
push eax
mov ecx, edi
call 0x64eb60
test al, al
je 0x660611
movzx eax, byte [esi + 0x49]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
push eax
mov eax, dword [edi]
push ecx
push edx
mov edx, dword [eax + 0x3c]
mov ecx, edi
call edx
mov ecx, eax
call fcn.006ae3a6
test al, al
jne 0x66082a
mov eax, dword [esi + 0x1c]
push 0x1030c250
push eax
call fcn.005af58c
add esp, 8
test eax, eax
jne 0x66082a
mov ecx, dword [esi + 0x1c]
mov eax, dword [edi + 0x18]
push ecx
mov ecx, dword [eax + 0x10]
call 0x64a2f0
test al, al
je 0x660652
mov eax, dword [esi + 0x40]
push 0
push eax
mov ecx, edi
call 0x64eb60
test al, al
je 0x66082a
mov ecx, dword [esp + 0x78]
mov eax, ecx
and eax, 7
cmp eax, 7
jne 0x66066b
and ecx, 0xfffffff8
mov ecx, dword [ecx + 0xc]
mov eax, ecx
and eax, 7
cmp eax, ebx
jne 0x66069e
and ecx, 0x1f
cmp ecx, ebx
jne 0x66069e
mov eax, dword [edi + 0x18]
mov edx, dword [esi + 0x20]
mov ecx, dword [eax + 0x10]
push edx
call 0x647bb0
test al, al
je 0x66069e
mov eax, dword [esi + 0x40]
push 1
push eax
mov ecx, edi
call 0x64eb60
test al, al
je 0x66082a
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x6606aa
mov eax, 0x10305084
push eax
lea ecx, [esp + 0x20]
call fcn.005afeba
mov eax, dword [esi + 0x20]
test eax, eax
je 0x66074c
cmp byte [eax], 0
je 0x66074c
mov ecx, dword [esp + 0x78]
mov eax, ecx
and eax, 7
cmp eax, 7
jne 0x6606e1
and ecx, 0xfffffff8
mov ecx, dword [ecx + 0xc]
mov eax, ecx
and eax, 7
cmp eax, ebx
jne 0x66074c
and ecx, 0x1f
cmp ecx, ebx
jne 0x66074c
test byte [esp + 0x7c], 0x20
jne 0x66074c
mov ecx, dword [esi + 0x40]
call fcn.00611ed4
cmp eax, 1
jne 0x66074c
mov ecx, dword [esi + 0x20]
mov eax, dword [edi + 0x18]
push ecx
mov ecx, dword [eax + 0x10]
call 0x647bb0
test al, al
jne 0x66074c
mov edx, dword [esi + 0x20]
push 0x103064cc
push edx
call fcn.005b002a
add esp, 8
test al, al
jne 0x66074c
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call 0x64aca0
push eax
lea ecx, [esp + 0x20]
call fcn.005afef4
lea ecx, [esp + 0x28]
call fcn.00590b29
mov edx, dword [esi + 0x1c]
push edx
lea ecx, [esp + 0x14]
call fcn.005afeba
mov ecx, dword [esi + 0x40]
call fcn.00611ed4
cmp eax, 1
jne 0x660777
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
push eax
push ecx
call fcn.00688101
add esp, 8
mov ecx, dword [esp + 0x78]
mov eax, ecx
and eax, 7
cmp eax, 7
jne 0x660790
and ecx, 0xfffffff8
mov ecx, dword [ecx + 0xc]
mov eax, ecx
and eax, 7
cmp eax, ebx
jne 0x660835
and ecx, 0x1f
cmp ecx, ebx
jne 0x660835
test byte [esp + 0x7c], 0x20
jne 0x660835
mov eax, dword [esp + 0x10]
mov edx, dword [edi]
mov edx, dword [edx + 0xc0]
push eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, edi
call edx
mov eax, dword [esp + 0x34]
cmp byte [eax], 0
mov ebx, eax
je 0x66080f
mov ecx, edi
call 0x64b2a0
test eax, eax
je 0x6607f0
mov ecx, dword [esi + 0x40]
call 0x6111de
test eax, eax
jne 0x6607f0
mov ecx, dword [esi + 0x40]
call fcn.00610fc8
jmp 0x66080f
mov eax, dword [esi + 0x1c]
push eax
call fcn.00864d2b
push ebx
call fcn.005afd3b
mov dword [esi + 0x1c], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x4c]
add esp, 8
push esi
mov ecx, edi
call eax
lea ecx, [esp + 0x34]
call fcn.005a7d34
lea ecx, [esp + 0x10]
call fcn.00590b29
lea ecx, [esp + 0x1c]
call fcn.00590b29
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x68
ret 0x14
mov ecx, dword [esp + 0x88]
mov edx, dword [esi + 0x44]
mov eax, dword [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [esi + 0x3c]
push eax
mov eax, dword [esi + 0x2c]
push ecx
mov ecx, dword [esp + 0x8c]
push edx
mov edx, dword [esi + 0x28]
push eax
mov eax, dword [esi + 0x24]
push ecx
push edx
mov edx, dword [esi + 0x1c]
push eax
mov eax, dword [edi]
lea ecx, [esp + 0x9c]
push ecx
push edx
mov edx, dword [eax + 0x3c]
mov ecx, edi
call edx
mov ecx, eax
call fcn.00660180
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.00590b29
lea ecx, [esp + 0x1c]
call fcn.00590b29
pop ebx
pop edi
mov eax, esi
pop esi
add esp, 0x68
ret 0x14