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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a8
push esi
mov esi, ecx
push edi
mov edi, dword [0x1005d2e0]
mov dword [esp + 0x14], esi
cmp dword [esi + 0x4c], 0
mov dword [esp + 0x48], edi
jg 0x590c40
push 0xdac
push 0x100881a0
push 0x10088838
call edi
add esp, 0xc
cmp dword [esi + 0x58], 0
jge 0x590ca2
mov ecx, esi
mov dword [esp + 0x6c], 0xffffffff
lea eax, [esp + 0x64]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
test byte [ecx + 4], 2
lea ecx, [esi + 0x40]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x64], 0x80000000
push eax
mov dword [esp + 0x6c], 0x1b00d9
je 0x590c96
mov dword [esp + 0x6c], 0x20002
call fcn.00594d88
mov eax, dword [esi + 0x40]
dec eax
mov dword [esi + 0x58], eax
mov ecx, esi
mov dword [esi + 8], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.00590358
mov ecx, dword [esi + 0x4c]
mov edx, dword [0x1005d280]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x58], edx
test ecx, ecx
jle 0x590d37
cmp ecx, 8
mov eax, ecx
mov ecx, 8
cmovl eax, ecx
test eax, eax
jle 0x590d37
lfence
mov ecx, dword [0x10091850]
test ecx, ecx
je 0x590d23
inc dword [ecx + 0x374]
imul eax, eax, 0xc4
push eax
call edx
mov edx, dword [esp + 0x5c]
add esp, 4
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x590d75
cmp eax, 8
mov ecx, eax
mov eax, 8
cmovl ecx, eax
test ecx, ecx
jle 0x590d75
lfence
mov eax, dword [0x10091850]
test eax, eax
je 0x590d65
inc dword [eax + 0x374]
lea eax, [ecx + ecx*2]
shl eax, 3
push eax
call edx
add esp, 4
mov dword [esp + 0x38], eax
imul ecx, dword [esp + 0x1c], 0xc4
push ecx
push 0
push dword [esp + 0x54]
call fcn.005c3483
mov eax, dword [esp + 0x38]
add esp, 0xc
lea eax, [eax + eax*2]
shl eax, 3
push eax
push 0
push dword [esp + 0x40]
call fcn.005c3483
mov ecx, dword [0x1005d27c]
xor eax, eax
add esp, 0xc
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], ecx
cmp dword [esi + 0x4c], eax
jle 0x590fda
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x14]
add esi, 0xa4
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], esi
nop dword [eax]
cmp eax, dword [esp + 0x1c]
jl 0x590dfa
push 0x58c
push 0x1005d4a0
push 0x10060bc0
call edi
mov eax, dword [esp + 0x34]
add esp, 0xc
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 0x4c]
jl 0x590e17
push 0x58c
push 0x1005d4a0
push 0x10060bc0
call edi
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [ecx + 0x54]
add eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [eax + 0x74]
test eax, eax
je 0x590e34
mov eax, dword [eax + 0x38]
test eax, eax
je 0x590e4c
cmp eax, ecx
je 0x590e4c
push 0xdc4
push 0x100881a0
push 0x10088870
call edi
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov dword [esi - 4], 0xffffffff
or eax, 0xffffffff
mov ecx, dword [ecx + 0x34]
xor esi, esi
test ecx, ecx
jle 0x590eb2
or edx, eax
nop dword [eax]
mov eax, edx
cmp edx, 0xffffffff
jne 0x590eb2
cmp esi, ecx
jl 0x590e87
push 0x58c
push 0x1005d4a0
push 0x10060bc0
call edi
add esp, 0xc
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [edx + 0x3c]
mov eax, dword [eax + 0x74]
cmp eax, dword [ecx + esi*4]
mov eax, dword [esp + 0x24]
jne 0x590ea5
mov dword [eax - 4], esi
mov eax, esi
jmp 0x590ea8
mov eax, dword [eax - 4]
mov ecx, dword [edx + 0x34]
inc esi
mov edx, eax
cmp esi, ecx
jl 0x590e68
cmp eax, 0xffffffff
jne 0x590edf
push 0xdcb
push 0x100881a0
push 0x10088914
call edi
mov esi, dword [esp + 0x30]
add esp, 0xc
cmp dword [esi - 4], 0xffffffff
jne 0x590ee3
mov byte [esp + 0x37], 0
jmp 0x592192
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax]
call fcn.00581ec8
mov dword [esp + 0xc], eax
test eax, eax
jns 0x590f11
push 0xdd1
push 0x100881a0
push 0x10088948
call edi
mov eax, dword [esp + 0x18]
add esp, 0xc
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esi - 0xa4]
mov edx, dword [eax]
call fcn.00582158
add esp, 4
test eax, eax
je 0x590ed5
mov eax, dword [esi - 4]
mov dword [esp + 0xc], eax
cmp eax, dword [esp + 0x2c]
jl 0x590f4f
push 0x58c
push 0x1005d4a0
push 0x10060bc0
call edi
mov eax, dword [esp + 0x18]
add esp, 0xc
lea ecx, [eax + eax*2]
mov edx, 0x10087a44
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 0x30]
test eax, eax
cmovne edx, eax
mov dword [esi - 8], edx
cmp word [edx], 0
je 0x590f97
nop dword [eax + eax]
movzx eax, word [edx + 2]
test ax, ax
je 0x590f93
mov ecx, eax
cmp dword [esi], ecx
cmovge ecx, dword [esi]
add edx, 4
mov dword [esi], ecx
cmp word [edx], 0
jne 0x590f78
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
inc dword [eax + ecx*8]
mov eax, dword [eax + edx*8 + 4]
mov ecx, dword [esi]
cmp eax, ecx
cmovge ecx, eax
mov eax, dword [esp + 0x38]
add dword [esp + 0x40], 0x78
add esi, 0xc4
mov dword [esp + 0x24], esi
mov dword [eax + edx*8 + 4], ecx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [ecx + 0x4c]
jl 0x590dd8
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x60], 0
mov dword [esp + 0x18], 0
test eax, eax
jle 0x591277
mov edx, dword [esp + 0x4c]
add edx, 0xb0
mov dword [esp + 0x10], edx
nop dword [eax]
mov esi, dword [edx - 0x10]
cmp esi, dword [esp + 0x2c]
jl 0x591029
push 0x58c
push 0x1005d4a0
push 0x10060bc0
call edi
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [edx - 0xc]
lea esi, [esi + esi*2]
add ecx, 0x20
mov dword [esp + 0x24], esi
sar ecx, 5
mov dword [esp + 0x30], ecx
cmp ecx, dword [edx]
jle 0x591085
lfence
mov eax, dword [edx]
mov dword [esp + 0xc], eax
test eax, eax
je 0x591061
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
add eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
jmp 0x591069
mov dword [esp + 0x28], 8
cmp dword [esp + 0x28], ecx
mov eax, ecx
lea ecx, [edx - 4]
cmovg eax, dword [esp + 0x28]
push eax
call fcn.0057f958
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
lea eax, [ecx*4]
mov dword [edx - 4], ecx
push eax
push 0
push dword [edx + 4]
call fcn.005c3483
mov ecx, dword [esp + 0x44]
add esp, 0xc
cmp dword [ecx + esi*8 + 0xc], 0
lea esi, [ecx + esi*8]
jne 0x591109
mov eax, dword [esp + 0x24]
mov ecx, dword [ecx + eax*8 + 4]
add ecx, 0x20
sar ecx, 5
mov dword [esp + 0xc], ecx
cmp ecx, dword [esi + 0x10]
jle 0x5910f1
lfence
mov eax, dword [esi + 0x10]
test eax, eax
je 0x5910d8
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [esi + 0x10]
jmp 0x5910dd
mov edx, 8
cmp edx, ecx
mov eax, ecx
lea ecx, [esi + 0xc]
cmovg eax, edx
push eax
call fcn.0057f958
mov ecx, dword [esp + 0xc]
lea eax, [ecx*4]
mov dword [esi + 0xc], ecx
push eax
push 0
push dword [esi + 0x14]
call fcn.005c3483
add esp, 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 0x14]
mov dword [esp + 0x40], eax
movzx ecx, word [eax]
test cx, cx
je 0x591256
nop dword [eax + eax]
movzx eax, word [eax + 2]
test ax, ax
je 0x591252
movzx edi, cx
cmp edi, eax
ja 0x59123b
nop dword [eax + eax]
mov ecx, edi
mov eax, 1
and ecx, 0x1f
mov esi, edi
shl eax, cl
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
sar esi, 5
cmp esi, dword [ecx + eax*8 + 0xc]
jl 0x59118d
push 0x58d
push 0x1005d4a0
push 0x10060bc0
call dword [esp + 0x54]
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + eax*8 + 0x14]
mov ecx, dword [esp + 0x28]
test dword [eax + esi*4], ecx
jne 0x591226
lea ecx, [edx - 0xb0]
mov edx, edi
call fcn.00582678
test eax, eax
je 0x591226
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
inc dword [eax - 8]
inc dword [edx + ecx*8 + 8]
cmp esi, dword [eax - 4]
jl 0x5911e5
push 0x58c
push 0x1005d4a0
push 0x10060bc0
call dword [esp + 0x54]
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov edx, dword [esp + 0x38]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x28]
or dword [eax + esi*4], ecx
mov eax, dword [esp + 0x24]
cmp esi, dword [edx + eax*8 + 0xc]
jl 0x59121b
push 0x58c
push 0x1005d4a0
push 0x10060bc0
call dword [esp + 0x54]
mov ecx, dword [esp + 0x34]
add esp, 0xc
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov eax, dword [edx + eax*8 + 0x14]
or dword [eax + esi*4], ecx
inc dword [esp + 0x60]
mov eax, dword [esp + 0x40]
inc edi
mov edx, dword [esp + 0x10]
movzx eax, word [eax + 2]
cmp edi, eax
jbe 0x591148
mov eax, dword [esp + 0x40]
add eax, 4
mov dword [esp + 0x40], eax
movzx ecx, word [eax]
test cx, cx
jne 0x591128
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
add edx, 0xc4
inc eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x1c]
jl 0x591008
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x44], 0
test eax, eax
jle 0x591421
mov esi, dword [esp + 0x4c]
add esi, 0xb8
nop dword [eax]
mov edi, dword [esi - 0x10]
cmp edi, dword [esi + 4]
jle 0x591304
lfence
mov eax, dword [0x10091850]
test eax, eax
je 0x5912b2
inc dword [eax + 0x374]
lea eax, [edi*4]
push eax
call dword [esp + 0x5c]
mov edx, dword [esi + 8]
add esp, 4
mov dword [esp + 0xc], eax
test edx, edx
je 0x5912fe
mov ecx, dword [esi]
shl ecx, 2
push ecx
push edx
push eax
call fcn.005c3d7b
mov ecx, dword [esi + 8]
add esp, 0xc
test ecx, ecx
je 0x5912f2
mov eax, dword [0x10091850]
test eax, eax
je 0x5912f2
dec dword [eax + 0x374]
push ecx
call dword [esp + 0x40]
mov eax, dword [esp + 0x10]
add esp, 4
mov dword [esi + 8], eax
mov dword [esi + 4], edi
mov edx, dword [esi - 4]
mov eax, dword [esi - 0xc]
mov dword [esp + 0x30], edx
lea eax, [edx + eax*4]
mov dword [esp + 0x40], eax
cmp edx, eax
jae 0x5913b6
xor ecx, ecx
mov dword [esp + 0x20], ecx
nop dword [eax + eax]
mov eax, dword [edx]
mov dword [esp + 0x28], eax
test eax, eax
je 0x59139e
xor edx, edx
mov edi, 1
mov dword [esp + 0x18], edx
test edi, eax
je 0x59138e
mov eax, dword [esi + 4]
and ecx, 0xffffffe0
add ecx, edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esi]
cmp ecx, eax
jne 0x591376
inc ecx
test eax, eax
je 0x591362
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 4]
jmp 0x591367
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.0057f958
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4], edx
inc dword [esi]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
inc edx
rol edi, 1
mov dword [esp + 0x18], edx
cmp edx, 0x20
jl 0x59133d
mov edx, dword [esp + 0x30]
add edx, 4
add ecx, 0x20
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], ecx
cmp edx, dword [esp + 0x40]
jb 0x591328
mov ecx, dword [esi - 4]
test ecx, ecx
je 0x5913e9
mov eax, dword [0x10091850]
mov dword [esi - 8], 0
mov dword [esi - 0xc], 0
test eax, eax
je 0x5913da
dec dword [eax + 0x374]
push ecx
call dword [esp + 0x40]
add esp, 4
mov dword [esi - 4], 0
mov eax, dword [esi]
mov edi, dword [esp + 0x48]
cmp eax, dword [esi - 0x10]
je 0x591408
push 0xe00
push 0x100881a0
push 0x100889d8
call edi
add esp, 0xc
mov eax, dword [esp + 0x44]
add esi, 0xc4
inc eax
mov dword [esp + 0x44], eax
cmp eax, dword [esp + 0x1c]
jl 0x591298
xor eax, eax
mov dword [esp + 0x18], eax
cmp dword [esp + 0x2c], eax
jle 0x59147d
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x2c]
add esi, 0x14
mov ecx, dword [esi]
test ecx, ecx
je 0x59146d
mov eax, dword [0x10091850]
mov dword [esi - 4], 0
mov dword [esi - 8], 0
test eax, eax
je 0x59145b
dec dword [eax + 0x374]
push ecx
call dword [esp + 0x40]
mov eax, dword [esp + 0x1c]
add esp, 4
mov dword [esi], 0
inc eax
add esi, 0x18
mov dword [esp + 0x18], eax
cmp eax, edi
jl 0x591438
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x5914a4
mov eax, dword [0x10091850]
test eax, eax
je 0x591494
dec dword [eax + 0x374]
push ecx
call dword [esp + 0x40]
add esp, 4
mov dword [esp + 0x38], 0
mov esi, dword [esp + 0x60]
lea ecx, [esp + 0x90]
push esi
mov dword [esp + 0x98], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x44], 0
call fcn.00594c18
test esi, esi
jle 0x59151d
cmp esi, 8
mov ecx, esi
mov eax, 8
cmovl ecx, eax
test ecx, ecx
jle 0x59151d
lfence
mov eax, dword [0x10091850]
test eax, eax
je 0x591505
inc dword [eax + 0x374]
lea eax, [ecx*8]
sub eax, ecx
shl eax, 2
push eax
call dword [esp + 0x5c]
add esp, 4
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x98]
shl ecx, 4
push ecx
push 0
push eax
mov dword [esp + 0x34], eax
call fcn.005c3483
add esp, 0xc
lea eax, [esi*8]
sub eax, esi
shl eax, 2
push eax
push 0
push dword [esp + 0x48]
call fcn.005c3483
xor eax, eax
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x24], edx
add esp, 0xc
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
cmp dword [esp + 0x1c], eax
jle 0x5918a2
mov esi, dword [esp + 0x4c]
add esi, 0x98
mov dword [esp + 0x50], edx
mov dword [esp + 0x10], esi
jmp 0x59159c
mov edi, dword [esp + 0x48]
cmp dword [esi + 0x10], 0
je 0x59187a
cmp eax, dword [esp + 0x90]
jl 0x5915cb
push 0x58c
push 0x1005d4a0
push 0x10060bc0
call edi
mov ecx, dword [esp + 0x38]
add esp, 0xc
mov eax, dword [esp + 0x24]
shl eax, 4
add eax, dword [esp + 0x28]
mov dword [esi - 4], eax
cmp ecx, dword [esp + 0x60]
jl 0x5915f3
push 0x58c
push 0x1005d4a0
push 0x10060bc0
call edi
mov ecx, dword [esp + 0x38]
add esp, 0xc
mov edx, dword [esp + 0x40]
lea eax, [ecx*8]
sub eax, ecx
lea edx, [edx + eax*4]
mov eax, dword [esi + 0x10]
add dword [esp + 0x24], eax
add ecx, eax
mov eax, dword [esp + 0x30]
mov dword [esi], edx
mov esi, dword [esp + 0x14]
mov dword [esp + 0x2c], ecx
cmp eax, dword [esi + 0x4c]
jl 0x59163b
push 0x58c
push 0x1005d4a0
push 0x10060bc0
call edi
mov edi, dword [esp + 0x1c]
add esp, 0xc
mov edx, dword [edi]
jmp 0x59163f
mov edi, dword [esp + 0x10]
mov ecx, dword [esi + 0x54]
add ecx, dword [esp + 0x50]
mov esi, dword [edi + 0x20]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x20], esi
mov eax, dword [ecx + 0x10]
mov dword [edi - 0x1c], eax
mov eax, dword [edi + 0x28]
mov dword [edi - 0x18], 0
mov dword [edi - 0x14], eax
mov dword [edi - 0x10], esi
mov dword [edi - 0xc], edx
mov al, byte [ecx + 0x14]
mov byte [edi - 8], al
mov al, byte [ecx + 0x18]
mov byte [edi - 7], al
movss xmm1, dword [ecx + 0x10]
comiss xmm1, dword [0x1008b130]
jbe 0x5916e3
mov esi, dword [esp + 0x10]
mov eax, 0x100
mov edi, dword [edi - 0x7c]
cwde
mov esi, dword [esi - 0x94]
movzx ecx, byte [edi + esi + 6]
movzx edx, byte [edi + esi + 7]
movsx ecx, cx
imul ecx, eax
mov eax, 0x100
cwde
add dx, cx
movzx ecx, byte [edi + esi + 4]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edi + esi + 5]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
movsx edx, dx
add cx, ax
movsx eax, cx
sub eax, edx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
jmp 0x591710
mov edx, dword [edi - 0x84]
mov eax, dword [edi - 0x94]
movzx ecx, byte [edx + eax + 0x13]
movzx eax, byte [edx + eax + 0x12]
shl eax, 8
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
xorps xmm1, xmmword [0x1008ce20]
mov ecx, dword [esp + 0x14]
movss dword [esp + 0xc], xmm1
mov eax, dword [ecx + 0x10]
mov dword [esp + 0xa4], eax
xor eax, eax
mov dword [esp + 0x44], eax
test esi, esi
jle 0x59186a
mov dword [esp + 0x20], eax
cmp eax, esi
mov esi, dword [esp + 0x48]
jl 0x591756
push 0x58c
push 0x1005d4a0
push 0x10060bc0
call esi
mov eax, dword [esp + 0x50]
add esp, 0xc
mov edx, dword [edi + 0x28]
lea ecx, [edi - 0x98]
mov edx, dword [edx + eax*4]
call fcn.00582678
mov dword [esp + 0x9c], eax
test eax, eax
jne 0x59178d
push 0xe2f
push 0x100881a0
push 0x10088a38
call esi
mov eax, dword [esp + 0xa8]
add esp, 0xc
mov esi, dword [esp + 0xa0]
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0xb0]
mov edx, eax
push ecx
movd xmm3, dword [esi + 0x18]
lea ecx, [esp + 0x64]
movd xmm2, dword [esi + 0x14]
push ecx
cvtdq2ps xmm3, xmm3
lea ecx, [esp + 0xb4]
push ecx
sub esp, 8
lea ecx, [edi - 0x98]
cvtdq2ps xmm2, xmm2
mov dword [esp + 4], 0
mov dword [esp], 0
mulss xmm3, dword [esp + 0x24]
mulss xmm2, dword [esp + 0x24]
call fcn.00584c88
mov eax, dword [esp + 0xbc]
add esp, 0x18
movzx edx, ax
mov eax, dword [edi - 4]
mov ecx, edx
sub ecx, dword [esp + 0xa8]
dec dx
add ecx, dword [esp + 0xac]
mov edi, dword [esp + 0x20]
dec cx
add cx, word [esi + 0x14]
mov word [eax + edi + 4], cx
mov cx, word [esi + 0x18]
sub cx, word [esp + 0x5c]
mov edi, dword [esp + 0x10]
add cx, dx
mov edx, dword [esp + 0x20]
add cx, word [esp + 0x54]
mov eax, dword [edi - 4]
mov word [eax + edx + 6], cx
mov eax, dword [edi - 4]
mov esi, dword [edi + 0x20]
movzx ecx, word [eax + edx + 6]
movzx eax, word [eax + edx + 4]
add edx, 0x10
imul ecx, eax
mov eax, dword [esp + 0x44]
inc eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x44], eax
add dword [esp + 0x18], ecx
cmp eax, esi
jl 0x591738
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
add esi, 0xc4
inc edi
mov dword [esp + 0x10], esi
add edx, 0x78
mov dword [esp + 0x30], edi
mov dword [esp + 0x50], edx
cmp edi, dword [esp + 0x1c]
jl 0x591598
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0xc]
mov dword [esi + 0x20], 0
test eax, eax
jg 0x591907
movd xmm0, edx
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
call fcn.005c3dab
cvtsd2ss xmm0, xmm0
cvttss2si eax, xmm0
inc eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x1008b374]
jb 0x5918e3
mov eax, 0x1000
jmp 0x591907
comiss xmm0, dword [0x1008b370]
jb 0x5918f3
mov eax, 0x800
jmp 0x591907
comiss xmm0, dword [0x1008b364]
mov eax, 0x200
mov ecx, 0x400
cmovae eax, ecx
push 0x2c
mov dword [esi + 0x1c], eax
lea eax, [esp + 0x68]
push 0
push eax
call fcn.005c3483
mov eax, dword [esi + 0x10]
add esp, 0xc
mov esi, dword [esi + 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [0x10091850]
mov dword [esp + 0x54], esi
test eax, eax
je 0x591938
inc dword [eax + 0x374]
push 0x30
call dword [esp + 0x5c]
sub esi, dword [esp + 0x10]
mov edi, eax
mov eax, dword [0x10091850]
add esp, 4
mov dword [esp + 0x2c], edi
test eax, eax
je 0x59195a
inc dword [eax + 0x374]
lea eax, [esi*8]
push eax
call dword [esp + 0x5c]
add esp, 4
test edi, edi
je 0x5919de
test eax, eax
je 0x5919cc
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x54]
push esi
push eax
mov dword [esp + 0x94], eax
mov eax, 0x8000
sub eax, ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x80], ecx
mov ecx, edi
mov dword [esp + 0x7c], edx
mov edx, esi
push eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x8c], 1
mov dword [esp + 0x90], 1
mov dword [esp + 0x88], 0
call fcn.00580f98
add esp, 0xc
jmp 0x591a02
mov eax, dword [0x10091850]
test eax, eax
je 0x5919db
dec dword [eax + 0x374]
push edi
jmp 0x5919f3
test eax, eax
je 0x5919fa
mov ecx, dword [0x10091850]
test ecx, ecx
je 0x5919f2
dec dword [ecx + 0x374]
push eax
call dword [esp + 0x40]
add esp, 4
mov edi, dword [esp + 0x68]
mov dword [esp + 0x2c], edi
mov esi, dword [esp + 0x14]
mov edx, edi
mov ecx, esi
call fcn.005921e8
cmp dword [esp + 0x1c], 0
mov dword [esp + 0xc], 0
jle 0x591a98
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x1c]
add esi, 0xa8
mov eax, dword [esi]
test eax, eax
je 0x591a81
mov edx, dword [esi - 0x14]
mov ecx, edi
push eax
call fcn.00581578
xor edi, edi
add esp, 4
cmp dword [esi], edi
jle 0x591a79
xor edx, edx
mov eax, dword [esi - 0x14]
cmp dword [eax + edx + 0xc], 0
je 0x591a71
movzx ecx, word [eax + edx + 0xa]
movzx eax, word [eax + edx + 6]
add ecx, eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x20]
cmp eax, ecx
cmovge ecx, eax
mov eax, dword [esp + 0x14]
mov dword [eax + 0x20], ecx
inc edi
add edx, 0x10
cmp edi, dword [esi]
jl 0x591a48
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0xc]
add esi, 0xc4
inc eax
mov dword [esp + 0xc], eax
cmp eax, ecx
jl 0x591a2c
mov esi, dword [esp + 0x14]
test byte [esi + 4], 1
mov eax, dword [esi + 0x20]
jne 0x591ac6
lea ecx, [eax - 1]
mov eax, ecx
sar eax, 1
or ecx, eax
mov eax, ecx
sar eax, 2
or ecx, eax
mov eax, ecx
sar eax, 4
or ecx, eax
mov eax, ecx
sar eax, 8
or ecx, eax
mov eax, ecx
sar eax, 0x10
or eax, ecx
mov ecx, dword [esi + 0x1c]
inc eax
movss xmm1, dword [0x1008b278]
movaps xmm2, xmm1
mov dword [esi + 0x20], eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
imul ecx, eax
divss xmm2, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [0x10091850]
movss dword [esi + 0x24], xmm2
divss xmm1, xmm0
movss dword [esi + 0x28], xmm1
test eax, eax
je 0x591b0a
inc dword [eax + 0x374]
push ecx
call dword [esp + 0x5c]
mov ecx, dword [esi + 0x20]
add esp, 4
imul ecx, dword [esi + 0x1c]
mov dword [esi + 0x14], eax
push ecx
push 0
push eax
call fcn.005c3483
mov eax, dword [esi + 0x14]
add esp, 0xc
mov dword [esp + 0x88], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x70], eax
xor eax, eax
mov dword [esp + 0x30], eax
cmp dword [esp + 0x1c], eax
jle 0x591ce0
mov edi, dword [esp + 0x4c]
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x44], edi
jmp 0x591b5d
mov esi, dword [esp + 0x14]
cmp eax, dword [esi + 0x4c]
jl 0x591b80
push 0x58c
push 0x1005d4a0
push 0x10060bc0
call dword [esp + 0x54]
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov ecx, dword [esp + 0x20]
mov esi, dword [esi + 0x54]
add esi, ecx
cmp dword [edi + 0xa8], 0
je 0x591cb8
push dword [edi + 0x94]
lea eax, [edi + 0x7c]
mov edx, edi
push ecx
push eax
lea ecx, [esp + 0x70]
call fcn.005872d8
movss xmm1, dword [esi + 0x44]
add esp, 0xc
ucomiss xmm1, dword [0x1008b278]
movss dword [esp + 0x54], xmm1
lahf
test ah, 0x44
jnp 0x591ca6
xor esi, esi
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1008cdc0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.005c3708
movss xmm1, dword [esp + 0x54]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [esp + esi + 0xb0], dl
inc esi
cmp esi, 0x100
jb 0x591bc9
mov ecx, dword [edi + 0x94]
xor eax, eax
mov dword [esp + 0x18], eax
cmp dword [edi + 0xa8], eax
jle 0x591ca6
add ecx, 4
mov dword [esp + 0x50], ecx
cmp dword [ecx + 8], 0
je 0x591c92
mov edi, dword [esp + 0x14]
movzx edx, word [ecx + 6]
movzx esi, word [ecx]
mov eax, dword [edi + 0x1c]
imul edx, eax
mov dword [esp + 0xc], eax
movzx eax, word [ecx + 4]
add edx, eax
add edx, dword [edi + 0x14]
movzx edi, word [ecx + 2]
test edi, edi
je 0x591c8a
mov eax, dword [esp + 0xc]
xor ecx, ecx
test esi, esi
je 0x591c7f
nop dword [eax]
movzx eax, byte [ecx + edx]
mov al, byte [esp + eax + 0xb0]
mov byte [ecx + edx], al
inc ecx
cmp ecx, esi
jl 0x591c68
mov eax, dword [esp + 0xc]
dec edi
add edx, eax
test edi, edi
jg 0x591c5e
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x18]
inc eax
add ecx, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x50], ecx
cmp eax, dword [edi + 0xa8]
jl 0x591c2e
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov dword [edi + 0x94], 0
mov esi, dword [esp + 0x1c]
inc eax
add ecx, 0x78
mov dword [esp + 0x30], eax
add edi, 0xc4
mov dword [esp + 0x20], ecx
mov dword [esp + 0x44], edi
cmp eax, esi
jl 0x591b59
mov edi, dword [esp + 0x68]
jmp 0x591ce4
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x8c], 0
je 0x591cfd
mov eax, dword [0x10091850]
test eax, eax
je 0x591cfd
dec dword [eax + 0x374]
push dword [esp + 0x8c]
call dword [esp + 0x40]
add esp, 4
test edi, edi
je 0x591d1e
mov eax, dword [0x10091850]
test eax, eax
je 0x591d1e
dec dword [eax + 0x374]
push edi
mov edi, dword [esp + 0x40]
call edi
mov ecx, dword [esp + 0x2c]
add esp, 4
test ecx, ecx
je 0x591d4d
mov eax, dword [0x10091850]
test eax, eax
je 0x591d3f
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov dword [esp + 0x28], 0
xor eax, eax
mov dword [esp + 0x44], eax
test esi, esi
jle 0x5920e3
mov esi, dword [esp + 0x4c]
xor edi, edi
movss xmm3, dword [0x1008b208]
add esi, 4
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x50], edi
mov dword [esp + 0x20], esi
cmp dword [esi + 0xa4], 0
je 0x5920c1
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 0x4c]
jl 0x591dac
push 0x58c
push 0x1005d4a0
push 0x10060bc0
call dword [esp + 0x54]
movss xmm3, dword [0x1008b208]
add esp, 0xc
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x54]
add eax, edi
mov edi, dword [esi + 0x18]
mov esi, dword [esi]
mov dword [esp + 0x54], eax
mov eax, dword [eax + 0x74]
movzx ecx, byte [edi + esi + 4]
movzx edx, byte [edi + esi + 5]
mov dword [esp + 0x18], eax
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
add dx, cx
movzx ecx, byte [edi + esi + 6]
movsx eax, dx
movzx edx, byte [edi + esi + 7]
mov edi, dword [esp + 0x54]
mov dword [esp + 0xc], eax
mov eax, 0x100
cwde
movsx ecx, cx
movss xmm1, dword [edi + 0x10]
imul ecx, eax
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x18]
add dx, cx
movsx ecx, dx
sub eax, ecx
mov dword [esp + 0x5c], ecx
cmp byte [edi + 0x3c], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [esp + 0x54], xmm1
jne 0x591ec9
mov ecx, esi
call fcn.00592ad8
mov eax, dword [edi + 0x10]
xorps xmm4, xmm4
movd xmm1, dword [esp + 0xc]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x14]
cvtdq2ps xmm1, xmm1
mov dword [esi + 0x38], eax
xor eax, eax
mov dword [esi + 0x3c], edi
movss xmm3, dword [0x1008b208]
comiss xmm1, xmm4
mulss xmm1, dword [esp + 0x54]
seta al
lea eax, [eax*2 - 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movd xmm1, dword [esp + 0x5c]
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm2, eax
xor eax, eax
comiss xmm1, xmm4
mulss xmm1, dword [esp + 0x54]
seta al
cvtdq2ps xmm2, xmm2
lea eax, [eax*2 - 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x4c], xmm2
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x50], xmm0
jmp 0x591ece
movss xmm2, dword [esi + 0x4c]
inc word [esi + 0x40]
addss xmm2, xmm3
mov esi, dword [esp + 0x20]
movss xmm1, dword [edi + 0x28]
movss dword [esp + 0xc], xmm1
cvttss2si eax, xmm2
movd xmm0, eax
xor eax, eax
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x30], eax
addss xmm0, dword [edi + 0x2c]
movss dword [esp + 0x54], xmm0
cmp dword [esi + 0xa4], eax
jle 0x5920b5
xor edx, edx
mov dword [esp + 0x20], edx
nop dword [eax + eax]
cmp eax, dword [esi + 0xb4]
jl 0x591f48
push 0x58c
push 0x1005d4a0
push 0x10060bc0
call dword [esp + 0x54]
movss xmm1, dword [esp + 0x18]
add esp, 0xc
movss xmm3, dword [0x1008b208]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov eax, dword [esi + 0xbc]
movss xmm7, dword [edi + 0x34]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esi + 0x94]
mov dword [esp + 0x5c], eax
movss xmm0, dword [edx + ecx + 0x10]
comiss xmm7, xmm0
ja 0x591f78
movss xmm7, dword [edi + 0x38]
minss xmm7, xmm0
ucomiss xmm0, xmm7
movaps xmm6, xmm1
lahf
test ah, 0x44
jnp 0x591fa4
cmp byte [edi + 0x1c], 0
movaps xmm6, xmm7
subss xmm6, xmm0
mulss xmm6, xmm3
je 0x591fa0
cvttss2si eax, xmm6
movd xmm6, eax
cvtdq2ps xmm6, xmm6
addss xmm6, xmm1
mov eax, dword [esp + 0x14]
sub esp, 0x1c
movss xmm3, dword [0x1008b278]
movss xmm2, dword [0x1008b278]
movd xmm0, dword [eax + 0x1c]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x18], xmm7
divss xmm3, xmm0
movd xmm0, dword [eax + 0x20]
movzx eax, word [edx + ecx]
cvtdq2ps xmm0, xmm0
movd xmm5, eax
movzx eax, word [edx + ecx + 2]
divss xmm2, xmm0
movd xmm4, eax
movzx eax, word [edx + ecx + 4]
cvtdq2ps xmm4, xmm4
movd xmm1, eax
movzx eax, word [edx + ecx + 6]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm4, xmm2
mulss xmm0, xmm2
movss xmm2, dword [edx + ecx + 8]
mulss xmm1, xmm3
movss dword [esp + 0x14], xmm0
movss xmm0, dword [edx + ecx + 0x18]
movss dword [esp + 0x10], xmm1
movss dword [esp + 0xc], xmm4
xorps xmm4, xmm4
addss xmm0, xmm4
cvtdq2ps xmm5, xmm5
addss xmm0, dword [esp + 0x70]
mulss xmm5, xmm3
addss xmm2, xmm4
movss xmm3, dword [edx + ecx + 0xc]
addss xmm3, xmm4
movss dword [esp + 8], xmm5
movss dword [esp + 4], xmm0
addss xmm2, xmm6
movss xmm0, dword [edx + ecx + 0x14]
mov ecx, dword [esp + 0x34]
addss xmm0, xmm4
addss xmm3, dword [esp + 0x70]
addss xmm0, xmm6
movss dword [esp], xmm0
push dword [esp + 0x78]
call fcn.005930e8
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
inc eax
movss xmm1, dword [esp + 0xc]
add edx, 0x1c
movss xmm3, dword [0x1008b208]
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], edx
cmp eax, dword [esi + 0xa4]
jl 0x591f18
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x50]
mov eax, dword [esp + 0x44]
inc eax
add esi, 0xc4
add edi, 0x78
mov dword [esp + 0x44], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x50], edi
cmp eax, ecx
jl 0x591d78
mov esi, dword [esp + 0x1c]
xor edi, edi
test esi, esi
jle 0x592140
mov esi, dword [esp + 0x4c]
add esi, 0xb4
nop dword [eax + eax]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x592116
mov eax, dword [0x10091850]
test eax, eax
je 0x59210e
dec dword [eax + 0x374]
push ecx
call dword [esp + 0x40]
add esp, 4
mov ecx, dword [esi]
test ecx, ecx
je 0x592133
mov eax, dword [0x10091850]
test eax, eax
je 0x59212b
dec dword [eax + 0x374]
push ecx
call dword [esp + 0x40]
add esp, 4
inc edi
add esi, 0xc4
cmp edi, dword [esp + 0x1c]
jl 0x5920f8
mov ecx, dword [esp + 0x14]
call fcn.00592798
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x37], 1
test ecx, ecx
je 0x592171
mov eax, dword [0x10091850]
test eax, eax
je 0x592165
dec dword [eax + 0x374]
mov esi, dword [esp + 0x3c]
push ecx
call esi
add esp, 4
jmp 0x592175
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x592192
mov eax, dword [0x10091850]
test eax, eax
je 0x59218c
dec dword [eax + 0x374]
push ecx
call esi
add esp, 4
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x5921b5
mov eax, dword [0x10091850]
test eax, eax
je 0x5921a9
dec dword [eax + 0x374]
mov esi, dword [esp + 0x3c]
push ecx
call esi
add esp, 4
jmp 0x5921b9
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x5921d7
mov ecx, dword [0x10091850]
test ecx, ecx
je 0x5921d1
dec dword [ecx + 0x374]
push eax
call esi
add esp, 4
mov al, byte [esp + 0x37]
pop edi
pop esi
mov esp, ebp
pop ebp
ret