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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x65704d
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6a9fa4]
xor eax, esp
push eax
lea eax, [esp + 0x1b8]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x3c], ebp
mov eax, dword [ebp + 0x14]
cmp byte [eax + 0x6c], 0
je 0x594024
lea edi, [ebp + 0x30]
call fcn.005a21b0
xor eax, eax
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x14]
add eax, 0x88
mov dword [esp + 0x58], eax
mov eax, dword [eax + 4]
mov ebx, dword [eax]
mov byte [esp + 0x33], 1
mov eax, dword [ebp + 0x14]
mov edi, dword [esp + 0x58]
mov esi, dword [eax + 0x8c]
add eax, 0x88
cmp edi, eax
mov dword [esp + 0x48], ebx
je 0x5935e1
call fcn.0062472f
cmp ebx, esi
je 0x594024
cmp ebx, dword [edi + 4]
jne 0x5935f3
call fcn.0062472f
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebx + 0xb8]
jl 0x59400f
mov ecx, dword [ebx + 0xbc]
cmp eax, ecx
jle 0x593615
cmp ecx, 0xffffffff
jne 0x59400f
xor esi, esi
mov byte [esp + 0x1b], 1
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], esi
mov eax, dword [ebx + 0x38]
test eax, eax
lea edi, [ebx + 8]
je 0x593748
mov ecx, dword [edi + 0x34]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x593748
mov eax, dword [ebp + 0x24]
add ebp, 0x1c
cmp dword [ebp + 4], eax
mov dword [esp + 0x1c], eax
jbe 0x593666
call fcn.0062472f
mov eax, dword [edi + 0x30]
test eax, eax
je 0x593689
mov ecx, dword [edi + 0x34]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x59368e
call fcn.0062472f
mov ebx, dword [edi + 0x30]
mov esi, dword [ebp + 8]
add ebx, dword [esp + 0x28]
cmp dword [ebp + 4], esi
mov dword [esp + 0x2c], esi
jbe 0x5936a6
call fcn.0062472f
mov edi, dword [ebp + 4]
cmp edi, dword [ebp + 8]
jbe 0x5936b3
call fcn.0062472f
cmp edi, esi
je 0x593712
mov ebp, dword [ebx + 0x14]
lea ebx, [ebx]
cmp dword [ebx + 0x18], 0x10
jb 0x5936cb
mov edx, dword [ebx + 4]
jmp 0x5936ce
lea edx, [ebx + 4]
mov esi, dword [edi + 0x14]
mov eax, esi
cmp eax, esi
jae 0x5936d7
cmp esi, ebp
mov ecx, esi
jb 0x5936df
mov ecx, ebp
cmp dword [edi + 0x18], 0x10
jb 0x5936ea
mov eax, dword [edi + 4]
jmp 0x5936ed
lea eax, [edi + 4]
push ecx
push edx
push eax
call fcn.00459930
add esp, 0xc
test eax, eax
jne 0x593709
cmp esi, ebp
jb 0x593709
cmp esi, ebp
setne al
test eax, eax
je 0x593712
add edi, 0x1c
cmp edi, dword [esp + 0x2c]
jne 0x5936c0
mov eax, dword [esp + 0x3c]
add eax, 0x1c
cmp eax, eax
je 0x593722
call fcn.0062472f
cmp edi, dword [esp + 0x1c]
jne 0x59372d
mov byte [esp + 0x1b], 0
add dword [esp + 0x20], 1
add dword [esp + 0x28], 0x1c
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x20]
jmp 0x593624
xor edi, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], edi
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x593875
mov ecx, dword [ebp + 0x24]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x593875
lea esi, [ebx + 8]
mov eax, dword [esi + 0x44]
add esi, 0x3c
cmp dword [esi + 4], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
jbe 0x593798
call fcn.0062472f
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x5937bb
mov ecx, dword [ebp + 0x24]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x5937c0
call fcn.0062472f
mov ecx, dword [esp + 0x3c]
mov ebx, dword [ecx + 0x20]
mov ebp, dword [esi + 8]
add ebx, dword [esp + 0x28]
cmp dword [esi + 4], ebp
mov dword [esp + 0x2c], ebp
jbe 0x5937dc
call fcn.0062472f
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jbe 0x5937e9
call fcn.0062472f
cmp edi, ebp
je 0x593842
mov ebp, dword [ebx + 0x14]
cmp dword [ebx + 0x18], 0x10
jb 0x5937fb
mov edx, dword [ebx + 4]
jmp 0x5937fe
lea edx, [ebx + 4]
mov esi, dword [edi + 0x14]
mov eax, esi
cmp eax, esi
jae 0x593807
cmp esi, ebp
mov ecx, esi
jb 0x59380f
mov ecx, ebp
cmp dword [edi + 0x18], 0x10
jb 0x59381a
mov eax, dword [edi + 4]
jmp 0x59381d
lea eax, [edi + 4]
push ecx
push edx
push eax
call fcn.00459930
add esp, 0xc
test eax, eax
jne 0x593839
cmp esi, ebp
jb 0x593839
cmp esi, ebp
setne al
test eax, eax
je 0x593842
add edi, 0x1c
cmp edi, dword [esp + 0x2c]
jne 0x5937f0
mov eax, dword [esp + 0x1c]
cmp eax, eax
je 0x59384f
call fcn.0062472f
cmp edi, dword [esp + 0x24]
je 0x59385a
mov byte [esp + 0x1b], 0
add dword [esp + 0x20], 1
add dword [esp + 0x28], 0x1c
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x48]
jmp 0x593752
mov al, byte [esp + 0x1b]
or al, byte [ebp + 0x2c]
je 0x59400f
lea esi, [esp + 0x78]
call fcn.00592fe0
mov dword [esp + 0x1c0], 0
mov edi, dword [ebp + 0x34]
mov edx, dword [edi + 4]
lea esi, [ebp + 0x30]
push eax
push edx
push edi
call fcn.005a4de0
mov ecx, esi
mov ebx, eax
call fcn.005a4e80
mov dword [edi + 4], ebx
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x78]
mov dword [eax], ebx
mov dword [esp + 0x1c0], 0xffffffff
call fcn.005930e0
mov eax, dword [esi + 4]
mov ebx, dword [eax + 4]
cmp ebx, eax
mov dword [esp + 0x60], ebx
jne 0x5938df
call fcn.0062472f
cmp ebx, dword [esi + 4]
jne 0x5938e9
call fcn.0062472f
mov edi, dword [esp + 0x48]
add edi, 8
mov dword [ebx + 0xc], edi
fld qword [0x668940]
fst qword [esp + 0x6c]
fld qword [ebp + 0x40]
fstp qword [esp + 0x4c]
fcomp qword [ebp + 0x40]
fnstsw ax
test ah, 0x44
jp 0x5939e2
mov eax, dword [edi + 0xb8]
test eax, eax
je 0x593925
cmp dword [ebp + 0x18], eax
jne 0x5939e2
lea ecx, [edi + 0x78]
call fcn.005a0b00
mov ecx, dword [esp + 0x60]
lea ebp, [edi + 0x4c]
mov dword [ecx + 0x10], eax
mov byte [ecx + 0x14], 0
mov eax, dword [ebp + 4]
mov esi, dword [eax]
mov edi, ebp
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], edi
lea ebx, [ebx]
test edi, edi
mov ebx, dword [ebp + 4]
je 0x59395b
cmp edi, ebp
je 0x593960
call fcn.0062472f
cmp esi, ebx
je 0x593f21
test edi, edi
jne 0x593971
call fcn.0062472f
cmp esi, dword [edi + 4]
jne 0x593985
call fcn.0062472f
cmp esi, dword [edi + 4]
jne 0x593985
call fcn.0062472f
mov cx, word [esi + 0xc]
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
mov ebx, dword [esp + 0x60]
mov word [esp + 0x78], cx
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x7c], edx
mov edx, dword [esi + 0x1c]
push eax
lea ecx, [esp + 0xac]
push ecx
add ebx, 0x18
mov dword [esp + 0x90], edx
call fcn.005188a0
lea esi, [esp + 0x64]
call fcn.005a4f20
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
jmp 0x593950
mov eax, dword [edi + 0xb8]
test eax, eax
mov dword [esp + 0x24], eax
je 0x593a02
fild dword [esp + 0x24]
fstp qword [esp + 0x6c]
fild dword [ebp + 0x18]
fmul qword [ebp + 0x40]
fstp qword [esp + 0x4c]
push 0x6c
call fcn.00624227
add esp, 4
mov dword [esp + 0x40], eax
test eax, eax
mov dword [esp + 0x1c0], 1
je 0x593a32
mov edx, dword [ebp + 0x14]
mov ecx, dword [edx + 0x74]
push ecx
push eax
call fcn.005962c0
mov dword [esp + 0x28], eax
jmp 0x593a3a
mov dword [esp + 0x28], 0
xor eax, eax
mov dword [esp + 0x1c0], 0xffffffff
add edi, 0x4c
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 4]
mov ebx, dword [eax]
mov esi, edi
mov byte [esp + 0x1b], 1
mov dword [esp + 0x40], edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], esi
mov edi, edi
test esi, esi
mov ebp, dword [edi + 4]
je 0x593a7b
cmp esi, edi
je 0x593a80
call fcn.0062472f
cmp ebx, ebp
je 0x593aee
test esi, esi
jne 0x593a8d
call fcn.0062472f
cmp ebx, dword [esi + 4]
jne 0x593a97
call fcn.0062472f
mov ecx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x1c]
add eax, ecx
cmp ecx, edx
jge 0x593aad
mov edx, ecx
mov dword [esp + 0x1c], edx
mov esi, dword [esp + 0x2c]
cmp eax, esi
jle 0x593abb
mov esi, eax
mov dword [esp + 0x2c], esi
cmp edx, ecx
jne 0x593ac3
cmp esi, eax
je 0x593ac8
mov byte [esp + 0x1b], 0
mov ebx, dword [ebx + 0x18]
test ebx, ebx
je 0x593adb
mov edx, dword [esp + 0x20]
lea eax, [edx + ebx + 2]
mov dword [esp + 0x20], eax
lea esi, [esp + 0x34]
call fcn.005a4f20
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
jmp 0x593a70
cmp byte [esp + 0x1b], 0
jne 0x593c6f
push 0x6c
call fcn.00624227
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x1c0], 2
je 0x593b2b
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 0x14]
mov ecx, dword [edx + 0x74]
push ecx
push eax
call fcn.005962c0
mov ebx, eax
jmp 0x593b2d
xor ebx, ebx
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x1c0], 0xffffffff
mov edx, dword [ebx]
mov edx, dword [edx + 0x78]
push eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
push eax
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x80]
push 1
push 1
mov ecx, ebx
call edx
lea eax, [esp + 0xb4]
push eax
mov ecx, ebx
call fcn.0058ca00
mov dword [esp + 0x1c0], 3
mov eax, dword [edi + 4]
mov eax, dword [eax]
mov esi, edi
xor ebp, ebp
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], eax
mov edi, edi
test esi, esi
mov ecx, dword [edi + 4]
mov dword [esp + 0x98], ecx
je 0x593ba2
cmp esi, edi
je 0x593ba7
call fcn.0062472f
mov edx, dword [esp + 0x38]
cmp edx, dword [esp + 0x98]
je 0x593c41
test esi, esi
jne 0x593bc1
call fcn.0062472f
mov eax, dword [esp + 0x38]
cmp eax, dword [esi + 4]
jne 0x593bcf
call fcn.0062472f
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x38]
add eax, 8
lea ecx, [eax + 0x78]
add esi, 0x10
call fcn.005a0b00
test eax, eax
je 0x593c06
mov edx, dword [esi + 0x14]
sub edx, dword [esp + 0x1c]
push edx
push ebp
call fcn.005a0b00
push eax
mov eax, esi
lea ecx, [esp + 0xc0]
call fcn.0058d240
mov eax, dword [esp + 0x1c]
add dword [esi + 0x10], 0xffffffff
mov dword [esi + 0x14], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x593c2c
xor ecx, ecx
mov dword [esi], ebp
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x24]
add eax, 2
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
add ebp, dword [esi + 8]
lea esi, [esp + 0x34]
call fcn.005a4f20
mov esi, dword [esp + 0x34]
jmp 0x593b90
mov esi, dword [esp + 0x48]
add esi, 8
push ebx
lea eax, [esi + 0x78]
call fcn.005a0ae0
lea ecx, [esp + 0xb4]
mov byte [esi + 0x80], 1
mov dword [esp + 0x1c0], 0xffffffff
call fcn.0058cae0
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 4]
mov eax, dword [eax]
mov ebx, edi
mov esi, eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], esi
lea ebx, [ebx]
test ebx, ebx
mov ebp, dword [edi + 4]
je 0x593c9b
cmp ebx, edi
je 0x593ca0
call fcn.0062472f
cmp esi, ebp
je 0x593df3
test ebx, ebx
jne 0x593cb1
call fcn.0062472f
cmp esi, dword [ebx + 4]
jne 0x593cbb
call fcn.0062472f
mov edi, dword [esi + 0x20]
fld qword [esp + 0x6c]
fstp dword [esp + 0x1c]
mov dword [esp + 0x24], edi
fild dword [esp + 0x24]
sub esp, 8
fmul qword [esp + 0x54]
fdiv dword [esp + 0x24]
fstp qword [esp]
call fcn.00644360
call fcn.00643d70
mov edx, dword [esi + 0x18]
add edx, edi
mov dword [esp + 0x2c], edx
fild dword [esp + 0x2c]
mov ebx, eax
fmul qword [esp + 0x54]
fdiv dword [esp + 0x24]
fstp qword [esp]
call fcn.00627510
call fcn.00643d70
mov edi, dword [esi + 0x24]
mov dword [esp + 0x2c], edi
fild dword [esp + 0x2c]
sub eax, ebx
add eax, 0xffffffff
fmul qword [esp + 0x54]
xor ecx, ecx
test eax, eax
setl cl
fdiv dword [esp + 0x24]
sub ecx, 1
and ecx, eax
mov ebp, ecx
fstp qword [esp]
call fcn.00644360
call fcn.00643d70
mov edx, dword [esi + 0x1c]
add edx, edi
mov dword [esp + 0x2c], edx
fild dword [esp + 0x2c]
mov ebx, eax
fmul qword [esp + 0x54]
fdiv dword [esp + 0x24]
fstp qword [esp]
call fcn.00627510
add esp, 8
call fcn.00643d70
sub eax, ebx
add eax, 0xffffffff
xor ecx, ecx
test eax, eax
setl cl
sub ecx, 1
and ecx, eax
mov edi, ecx
cmp edi, dword [esp + 0x2c]
jle 0x593d81
mov dword [esp + 0x2c], edi
mov edx, dword [esp + 0x34]
cmp esi, dword [edx + 4]
jne 0x593d8f
call fcn.0062472f
mov ax, word [esi + 0xc]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x60]
lea edx, [esp + 0x78]
mov word [esp + 0x78], ax
push edx
lea eax, [esp + 0xa0]
push eax
add ebx, 0x18
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], edi
call fcn.005188a0
add dword [esp + 0x20], ebp
lea esi, [esp + 0x34]
call fcn.005a4f20
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x34]
jmp 0x593c90
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x10], esi
mov byte [eax + 0x14], 1
mov eax, dword [esp + 0x2c]
mov edx, dword [esi]
mov edx, dword [edx + 0x78]
push eax
push ecx
mov ecx, esi
call edx
lea eax, [esp + 0x11c]
push eax
mov ecx, esi
call fcn.0058ca00
mov dword [esp + 0x1c0], 4
mov eax, dword [edi + 4]
mov eax, dword [eax]
mov ebx, edi
mov esi, eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], esi
test ebx, ebx
mov ebp, dword [edi + 4]
je 0x593e4b
cmp ebx, edi
je 0x593e50
call fcn.0062472f
cmp esi, ebp
je 0x593ecc
test ebx, ebx
jne 0x593e5d
call fcn.0062472f
cmp esi, dword [ebx + 4]
jne 0x593e67
call fcn.0062472f
mov ebp, dword [esp + 0x48]
add ebp, 0x80
mov ecx, ebp
call fcn.005a0b00
test eax, eax
je 0x593eb6
cmp esi, dword [ebx + 4]
jne 0x593e86
call fcn.0062472f
lea eax, [esi + 0x10]
push eax
mov eax, dword [esp + 0x64]
push ecx
add esi, 0xc
push esi
add eax, 0x18
call fcn.00517ba0
add esp, 4
mov ecx, ebp
mov edx, eax
call fcn.005a0b00
push eax
mov eax, edx
lea ecx, [esp + 0x124]
call fcn.0058d680
lea esi, [esp + 0x34]
call fcn.005a4f20
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
jmp 0x593e40
mov eax, dword [esp + 0x3c]
cmp byte [eax + 0x48], 0
mov edi, dword [esp + 0x28]
je 0x593efe
mov edx, dword [edi]
mov esi, dword [edi + 0x28]
mov eax, dword [edx + 0x7c]
imul esi, dword [edi + 0x24]
mov ecx, edi
call eax
test esi, esi
jle 0x593efe
mov edi, edi
or dword [eax], 0xffffff
add eax, 4
sub esi, 1
jne 0x593ef0
mov edx, dword [edi]
mov eax, dword [edx + 0x88]
mov ecx, edi
call eax
lea ecx, [esp + 0x11c]
mov dword [esp + 0x1c0], 0xffffffff
call fcn.0058cae0
mov edi, dword [esp + 0x48]
fld qword [esp + 0x6c]
fstp dword [esp + 0x1c]
add edi, 8
fild dword [edi + 0xbc]
fld qword [esp + 0x4c]
fmul st(1), st(0)
fld dword [esp + 0x1c]
fld st(0)
fdivp st(3)
fldz
fcom st(3)
fnstsw ax
fld qword [0x688af8]
test ah, 0x41
jp 0x593f59
fadd st(4), st(0)
jmp 0x593f5b
fsub st(4), st(0)
fxch st(4)
call fcn.00643d70
mov esi, dword [esp + 0x3c]
cmp eax, dword [esi + 4]
jle 0x593f6e
mov dword [esi + 4], eax
mov eax, dword [edi + 0xc4]
test eax, eax
mov dword [esp + 0x40], eax
je 0x593f91
fild dword [esp + 0x40]
fmul st(3)
fdiv st(2)
fcom st(1)
fnstsw ax
test ah, 1
jne 0x593f99
fadd st(4)
jmp 0x593f9b
fild dword [edi + 0xc8]
jmp 0x593f80
fsub st(4)
call fcn.00643d70
cmp eax, dword [esi + 0xc]
jle 0x593fa8
mov dword [esi + 0xc], eax
fild dword [edi + 0xc0]
fmul st(3)
fdiv st(2)
fcom st(1)
fnstsw ax
test ah, 1
jne 0x593fbf
fadd st(4)
jmp 0x593fc1
fsub st(4)
call fcn.00643d70
mov bl, byte [esp + 0x33]
test bl, bl
jne 0x593fd3
cmp eax, dword [esi + 8]
jge 0x593fd6
mov dword [esi + 8], eax
fild dword [edi + 0xcc]
fmulp st(3)
fxch st(2)
fdivrp st(1)
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x593ff1
faddp st(1)
jmp 0x593ff3
fsubrp st(1)
call fcn.00643d70
test bl, bl
jne 0x594001
cmp eax, dword [esi + 0x10]
jle 0x594004
mov dword [esi + 0x10], eax
mov ebx, dword [esp + 0x48]
mov byte [esp + 0x33], 0
mov ebp, esi
mov ecx, dword [esp + 0x58]
cmp ebx, dword [ecx + 4]
jne 0x59401d
call fcn.0062472f
mov ebx, dword [ebx]
jmp 0x5935c2
mov ecx, dword [esp + 0x1b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret