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

Disassembly:
push 0xffffffffffffffff
push 0x778dea
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
lea edi, [esi + 8]
lea eax, [edi + 0xc]
xor ebx, ebx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esp + 0x24], ebx
mov dword [edi + 0x14], ebx
mov dword [edi], 0x7a2428
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov dword [esi], 0x7a25e0
mov dword [edi], 0x7a25d4
mov dword [esi + 0x68], ebx
mov dword [esi + 0x54], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x5c], eax
lea edx, [esi + 0xc]
add eax, 0x40
push 0x7a276c
push edx
mov byte [esp + 0x2c], 1
mov dword [esi + 4], ecx
mov dword [esi + 0x58], eax
mov dword [esi + 0x6c], 0x3f800000
mov byte [esi + 0x84], bl
call fcn.0043dc40
mov eax, dword [0x86b2e0]
push eax
call fcn.00440ea0
add esp, 0xc
mov dword [esp + 0x2c], eax
cmp eax, ebx
mov byte [esp + 0x24], 2
je 0x5b5a94
mov ecx, dword [esi + 0x54]
add ecx, 0x110
push ecx
mov ecx, eax
call fcn.005a7be0
jmp 0x5b5a96
xor eax, eax
cmp eax, ebx
mov byte [esp + 0x24], 1
mov dword [esi + 0x20], eax
je 0x5b5aa7
lea edx, [eax + 4]
jmp 0x5b5aa9
xor edx, edx
mov ecx, dword [edi + 0x10]
lea ebp, [edi + 0xc]
mov dword [ecx], edx
mov dword [ebp + 4], edx
mov dword [edx + 4], ecx
mov dword [edx], ebp
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
add dword [edi + 0x14], eax
mov eax, dword [esi + 0x54]
fld dword [eax + 0x290]
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0x30]
fstp dword [eax + 0x204]
movsx eax, byte [ecx + 0xd8]
mov ecx, dword [esi + 0x20]
mov dword [ecx + 0x15c], eax
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x20]
mov edx, dword [eax + 8]
fld dword [eax]
mov dword [esp + 0x2c], edx
fld dword [eax + 4]
mov eax, edx
fxch st(1)
mov dword [ecx + 0x1f8], eax
fstp dword [ecx + 0x1f0]
fstp dword [ecx + 0x1f4]
mov ecx, dword [0x86b2e4]
push ecx
call fcn.00440ea0
add esp, 4
cmp eax, ebx
je 0x5b5b38
mov ecx, dword [esi + 0x54]
lea edx, [eax + 0x10]
mov dword [eax + 4], ecx
mov dword [eax], 0x7a2084
mov dword [eax + 8], edx
jmp 0x5b5b3a
xor eax, eax
mov dword [esi + 0x24], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x10], ebx
lea ebp, [esi + 0x38]
jmp 0x5b5b50
mov eax, dword [0x86b2e8]
push eax
call fcn.00440ea0
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
mov byte [esp + 0x24], 3
je 0x5b5b9d
mov ecx, dword [esi + 0x54]
mov edx, dword [esi + 0x58]
push edx
lea eax, [ecx + 0x270]
push eax
mov eax, dword [esp + 0x34]
cdq
sub eax, edx
sar eax, 1
shl eax, 5
lea edx, [eax + ecx + 0xd0]
lea eax, [ecx + ebx + 0x10]
mov ecx, dword [esp + 0x3c]
push edx
push eax
call fcn.005a7e10
jmp 0x5b5b9f
xor eax, eax
mov dword [ebp], eax
mov ecx, dword [0x86b2f8]
push ecx
mov byte [esp + 0x28], 1
call fcn.00440ea0
mov ecx, eax
add esp, 4
mov dword [esp + 0x18], ecx
xor eax, eax
cmp ecx, eax
mov byte [esp + 0x24], 4
je 0x5b5c05
cmp ebx, 0x60
jge 0x5b5bd5
mov edx, dword [esi + 0x24]
mov dword [esp + 0x34], edx
jmp 0x5b5bd9
mov dword [esp + 0x34], eax
mov ebx, dword [esp + 0x2c]
mov eax, ebx
cdq
sub eax, edx
mov edx, dword [esi + 0x54]
sar eax, 1
shl eax, 5
lea eax, [eax + edx + 0x170]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [ebp]
push edx
mov edx, dword [esi + 0x20]
push eax
push edx
push ebx
call fcn.005a8370
mov ecx, dword [ebp]
test ecx, ecx
mov byte [esp + 0x24], 1
mov dword [ebp - 0x10], eax
je 0x5b5c19
lea eax, [ecx + 4]
jmp 0x5b5c1b
xor eax, eax
mov ebx, dword [edi + 0x10]
lea edx, [edi + 0xc]
mov dword [ebx], eax
mov dword [edx + 4], eax
mov dword [eax + 4], ebx
mov dword [eax], edx
mov eax, dword [ecx]
call dword [eax + 4]
add dword [edi + 0x14], eax
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x5b5c3f
lea eax, [ecx + 4]
jmp 0x5b5c41
xor eax, eax
mov ebx, dword [edi + 0x10]
lea edx, [edi + 0xc]
mov dword [ebx], eax
mov dword [edx + 4], eax
mov dword [eax + 4], ebx
mov dword [eax], edx
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [edi + 0x14]
mov ebx, dword [esp + 0x2c]
add ecx, eax
inc ebx
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x10]
mov dword [edi + 0x14], ecx
add ebx, 0x30
mov dword [ebp + 0x3c], 0
add ebp, 4
cmp ebx, 0xc0
mov dword [esp + 0x10], ebx
jl 0x5b5b50
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x30]
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov dword [ecx + 0x18], eax
mov eax, dword [0x86b2ec]
push eax
call fcn.00440ea0
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov byte [esp + 0x24], 5
je 0x5b5cde
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x54]
push ecx
add edx, 0x1f0
push edx
mov ecx, eax
call fcn.005aa280
jmp 0x5b5ce0
xor eax, eax
test eax, eax
mov byte [esp + 0x24], 1
mov dword [esi + 0x48], eax
je 0x5b5cf1
lea edx, [eax + 4]
jmp 0x5b5cf3
xor edx, edx
mov ecx, dword [edi + 0x10]
lea ebp, [edi + 0xc]
mov dword [ecx], edx
mov dword [ebp + 4], edx
mov dword [edx + 4], ecx
mov dword [edx], ebp
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
mov ebx, dword [edi + 0x14]
add ebx, eax
mov eax, dword [esp + 0x30]
mov dword [edi + 0x14], ebx
movsx eax, byte [eax + 0xd8]
mov ecx, dword [esi + 0x48]
mov dword [ecx + 0x74], eax
mov ecx, dword [0x86b2f0]
push ecx
call fcn.00440ea0
mov ecx, eax
add esp, 4
mov dword [esp + 0x30], ecx
test ecx, ecx
mov byte [esp + 0x24], 6
je 0x5b5da6
mov ebp, dword [esi + 0x54]
fld dword [ebp + 0x1c0]
fcomp dword [0x784554]
fnstsw ax
test ah, 5
jp 0x5b5d5e
mov eax, 1
jmp 0x5b5d60
xor eax, eax
fld dword [ebp + 0x1c0]
xor edx, edx
fcomp dword [0x7850ec]
test eax, eax
sete dl
fnstsw ax
test ah, 0x41
jne 0x5b5d7f
mov edx, 2
mov eax, dword [esi + 0x58]
imul edx, edx, 0x144
push eax
lea eax, [esi + 0x38]
push eax
mov eax, dword [esi + 0x48]
push eax
add edx, 0x7fc2a8
push edx
add ebp, 0x1b0
push ebp
call fcn.005af6d0
jmp 0x5b5da8
xor eax, eax
test eax, eax
mov byte [esp + 0x24], 1
mov dword [esi + 0x4c], eax
je 0x5b5db9
lea edx, [eax + 4]
jmp 0x5b5dbb
xor edx, edx
mov ebp, dword [edi + 0x10]
lea ecx, [edi + 0xc]
mov dword [ebp], edx
mov dword [ecx + 4], edx
mov dword [edx], ecx
mov dword [edx + 4], ebp
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
mov edx, dword [edi + 0x14]
mov ebx, dword [esp + 0x38]
add edx, eax
mov dword [edi + 0x14], edx
mov ebp, dword [ebx + 0x10]
mov al, byte [ebp + 0x14]
add ebp, 0x10
cmp al, 0xff
jne 0x5b5e59
cmp dword [ebp], 0xffffffff
je 0x5b5e59
mov cl, byte [0x89e7d8]
mov edx, dword [0x890108]
xor eax, eax
test cl, cl
jne 0x5b5e27
test edx, edx
jne 0x5b5e27
cmp dword [0x890114], edx
jne 0x5b5e20
cmp byte [0x89e7d9], dl
jne 0x5b5e20
cmp dword [0x890104], edx
je 0x5b5e27
mov eax, 3
jmp 0x5b5e4d
cmp byte [0x89e7e3], 0
jne 0x5b5e39
cmp dword [0x89010c], 0
je 0x5b5e40
mov eax, 0xa
jmp 0x5b5e4d
test cl, cl
jne 0x5b5e48
test edx, edx
je 0x5b5e4d
mov eax, 2
push 1
push 1
push eax
mov ecx, ebp
call fcn.005b4ae0
movsx eax, byte [ebp + 4]
mov ecx, dword [esi + 0x4c]
mov dword [ecx + 0xf0], eax
mov edx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
mov dword [edx + 0x20], eax
mov edx, dword [ebx + 0x14]
mov eax, dword [edx + 4]
mov ecx, 1
xor ebp, ebp
cmp eax, ecx
jne 0x5b5eae
mov al, byte [0x89e7d8]
test al, al
jne 0x5b5e91
cmp dword [0x890108], ebp
je 0x5b5eae
cmp dword [0x850078], ecx
je 0x5b5eae
mov eax, dword [0x89e7f4]
fld dword [eax*4 + 0x7a19e8]
mov edx, dword [esi + 0x4c]
fstp dword [edx + 0xe4]
mov eax, dword [ebx + 0x14]
cmp dword [eax + 4], 2
jne 0x5b5f80
mov al, byte [0x89e7d8]
test al, al
jne 0x5b5ed0
cmp dword [0x890108], ebp
je 0x5b5f80
mov eax, dword [ebx + 0x24]
cmp eax, 3
je 0x5b5ee6
cmp eax, 2
je 0x5b5ee6
cmp eax, 4
jne 0x5b5f80
cmp dword [0x850078], ecx
je 0x5b5f04
mov ecx, dword [0x89e7f4]
fld dword [ecx*4 + 0x7a19f4]
mov edx, dword [esi + 0x4c]
fstp dword [edx + 0xe8]
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ecx]
call dword [eax + 0x78]
cmp eax, ebp
jle 0x5b5fba
cmp eax, 9
mov ecx, eax
jle 0x5b5f20
mov ecx, 9
cmp eax, ecx
jne 0x5b5f80
mov ecx, dword [0x81cb60]
imul eax, eax, 0x68
fld dword [eax + ecx + 0x564]
fld dword [eax + ecx + 0x560]
fld dword [eax + ecx + 0x55c]
fld dword [eax + ecx + 0x558]
lea eax, [eax + ecx + 0x524]
mov ecx, dword [esi + 0x4c]
fstp dword [ecx + 0xcc]
fstp dword [ecx + 0xd0]
fstp dword [ecx + 0xdc]
fstp dword [ecx + 0xe0]
mov ecx, dword [esi + 0x4c]
fld dword [eax + 0x30]
fld dword [eax + 0x2c]
fstp dword [ecx + 0xd4]
fstp dword [ecx + 0xd8]
mov edx, dword [0x86b2f4]
push edx
call fcn.00440ea0
add esp, 4
cmp eax, ebp
je 0x5b5fc1
mov ecx, dword [esi + 0x54]
mov edx, dword [esi + 0x20]
add ecx, 0x260
mov dword [eax], ecx
mov ecx, 0x3f800000
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebp
mov dword [eax + 0x14], ebp
mov dword [eax + 0x30], ecx
jmp 0x5b5fc8
xor ecx, ecx
jmp 0x5b5f20
xor eax, eax
mov ecx, 0x3f800000
mov dword [esi + 0x50], eax
mov dword [0x7fc800], 0
mov dword [esi + 0x70], ecx
mov ecx, esi
mov dword [esi + 0x60], ebp
mov byte [esi + 0x64], 0
call fcn.005ab670
mov ecx, esi
call fcn.005a4550
mov ecx, edi
call fcn.005b01f0
mov ecx, dword [esp + 0x1c]
pop edi
mov dword [esi + 0x124], ebp
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0x10