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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x5d6c61
sub esp, 0xa0
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
cmp ebx, 5
jne 0x5d6bf7
cmp dword [edx], 0x70747468
jne 0x5d6bf7
cmp byte [edx + 4], 0x73
jne 0x5d6bf7
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.005d6470
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0xa8]
xor ebx, ebx
jmp 0x5d67c8
lea ebx, [edx + 1]
mov edx, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xa8], edx
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
call fcn.005d5d70
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0xc], ebx
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x5d6b24
mov dword [esp + 0x4c], ecx
test byte [ecx], al
lea eax, [ecx + 0x10]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 1
call fcn.0045fa30
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0xa8]
mov dword [esp], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
xor eax, 1
mov byte [esp + 8], al
call fcn.005e0890
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
call fcn.005d9490
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 8]
mov dword [esp + 0x44], edx
test eax, eax
je 0x5d6b1b
mov ebx, dword [esp + 0x1c]
cmp ebx, 6
jg 0x5d6b1b
mov edx, dword [esp + 0xa8]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.005d6cd0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test ecx, ecx
jne 0x5d6a58
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x5d67c3
mov dword [esp + 0x48], eax
lea ecx, [edx - 1]
cmp ecx, 0x20
sbb eax, eax
mov ebx, 1
shl ebx, cl
and ebx, eax
mov dword [esp], ebx
call fcn.0045ac90
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
call fcn.004c3700
movsd xmm0, qword [esp]
movsd xmm1, qword [0x6c3e88]
mulsd xmm0, xmm1
movsd xmm2, qword [esp + 0x28]
mulsd xmm0, xmm2
addsd xmm2, xmm0
movsd qword [esp], xmm2
call fcn.00452410
mov eax, dword [esp + 8]
mov ecx, eax
mov eax, 0x3b9aca00
mul ecx
mov ebx, dword [esp + 0xc]
mov dword [esp], eax
imul eax, ebx, 0x3b9aca00
add eax, edx
mov dword [esp + 4], eax
call fcn.0049b5e0
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x48]
mov ebx, dword [edx + 0x78]
mov ebp, dword [edx + 0x7c]
test ebx, ebx
je 0x5d6a46
mov eax, dword [ebx + 0x14]
mov dword [esp], ebp
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
lea edi, [esp + 0x70]
xor eax, eax
call fcn.0045af84
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov word [esp + 0x78], 1
mov eax, dword [esp + 0x40]
mov dword [esp + 0x70], eax
mov word [esp + 0x90], 1
mov eax, dword [esp + 0x54]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x70]
mov dword [esp], eax
lea eax, [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call fcn.0043f740
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x5d69f0
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x1c]
jmp 0x5d67c3
cmp eax, 1
jne 0x5d6c60
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
test ecx, ecx
je 0x5d6a37
mov ecx, dword [ecx + 0x18]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
add esp, 0xa0
ret
nop
mov eax, dword [0x81a7fc]
lea ecx, [0x6cab60]
jmp 0x5d6a07
nop
mov ebp, dword [0x81a7fc]
lea ebx, [0x6cab60]
jmp 0x5d6970
test ecx, ecx
je 0x5d6af3
je 0x5d6aec
mov eax, dword [ecx + 4]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edx
movzx eax, byte [0x832386]
test al, al
jne 0x5d6aac
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], edx
add esp, 0xa0
ret
mov dword [esp + 0x3c], edx
mov dword [esp + 0x20], ecx
lea eax, [0x675777]
mov dword [esp], eax
mov dword [esp + 4], 0x15
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.005a9380
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
jmp 0x5d6a8c
mov eax, ecx
jmp 0x5d6a69
mov eax, dword [esp + 0x44]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
add esp, 0xa0
ret
mov edx, ecx
mov ecx, eax
jmp 0x5d6a58
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00408c10
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x5d6bf0
mov edx, dword [ecx + 4]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea ebx, [0x633ac0]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x6c], eax
movzx edx, byte [0x832386]
test dl, dl
jne 0x5d6bb8
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], eax
add esp, 0xa0
ret
lea eax, [0x680f14]
mov dword [esp], eax
mov dword [esp + 4], 0x35
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.005a9380
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
jmp 0x5d6b98
mov edx, ecx
jmp 0x5d6b53
cmp ebx, 4
jne 0x5d6c19
cmp dword [edx], 0x70747468
jne 0x5d6c19
mov ebp, dword [esp + 0xa4]
movzx esi, byte [ebp + 0x11]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5d678e
lea eax, [0x63eca0]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x19
lea ecx, [0x67793d]
mov dword [eax], ecx
mov dword [esp + 0xb0], 0
lea ecx, [0x6c8150]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], eax
add esp, 0xa0
ret
nop
call fcn.00459790
jmp fcn.005d6740