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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10088d00
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf0
push esi
push edi
mov eax, dword [0x1009f040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x50], ecx
mov edi, dword [0x100a3d98]
mov dword [ebp - 0x3c], edi
mov eax, dword [edi + 0x1b9c]
mov byte [eax + 0x8c], 1
mov esi, dword [edi + 0x1b9c]
mov dword [ebp - 0x2c], esi
cmp byte [esi + 0x8f], 0
jne 0x1005b7bd
mov eax, dword [ebx + 0xc]
movss xmm1, dword [esi + 0x248]
and eax, 0x3000000
cmp dword [esi + 0x198], 0
movss xmm2, dword [esi + 0x24c]
mov dword [ebp - 0x24], eax
jne 0x1005b6cd
cmp dword [edi + 0x1ed4], 0
je 0x1005b6d5
movss xmm1, dword [esi + 0x218]
movss xmm0, dword [0x1009c60c]
subss xmm1, dword [esi + 0xd0]
subss xmm2, dword [esi + 0xd4]
test eax, eax
je 0x1005b6f7
maxss xmm2, xmm0
jmp 0x1005b6fa
xorps xmm2, xmm2
mov eax, dword [ebx + 0x10]
maxss xmm1, xmm0
lea ecx, [ebp - 0x34]
push dword [eax + 4]
push dword [eax]
call fcn.10010b00
movss xmm2, dword [esi + 0xd0]
add esp, 8
cmp dword [ebp - 0x24], 0
movss xmm3, dword [esi + 0xd4]
movss xmm1, dword [ebp - 0x34]
movss xmm0, dword [ebp - 0x30]
addss xmm1, xmm2
addss xmm0, xmm3
movss dword [ebp - 0x6c], xmm2
movss dword [ebp - 0x44], xmm3
movss dword [ebp - 0x80], xmm2
movss dword [ebp - 0x7c], xmm3
movss dword [ebp - 0x68], xmm1
movss dword [ebp - 0x60], xmm0
movss dword [ebp - 0x78], xmm1
movss dword [ebp - 0x74], xmm0
je 0x1005b7d3
comiss xmm0, dword [esi + 0x234]
jbe 0x1005b792
movss xmm0, dword [esi + 0x23c]
comiss xmm0, xmm3
jbe 0x1005b78d
comiss xmm1, dword [esi + 0x230]
jbe 0x1005b78d
movss xmm0, dword [esi + 0x238]
comiss xmm0, xmm2
ja 0x1005b7d3
movss xmm0, dword [ebp - 0x60]
cmp byte [edi + 0x2ee4], 0
jne 0x1005b7d3
subss xmm1, xmm2
subss xmm0, xmm3
lea ecx, [ebp - 0x54]
movss dword [ebp - 0x54], xmm1
movss xmm1, dword [0x1009c7d4]
movss dword [ebp - 0x50], xmm0
call fcn.10010420
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea ecx, [edi + 0x1ee8]
push ecx
push dword [ebp - 0x20]
call fcn.10004a20
mov edx, eax
mov ecx, dword [edx]
cmp ecx, 0xffffffff
je 0x1005b7fc
imul esi, ecx, 0x1b0
add esi, dword [edi + 0x1ee4]
mov dword [ebp - 0x40], esi
jmp 0x1005b814
mov eax, dword [edi + 0x1ef4]
lea ecx, [edi + 0x1edc]
mov dword [edx], eax
call fcn.10063ff0
mov esi, eax
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x50]
lea ecx, [esi + 0x60]
mov dword [ebp - 0x4c], ecx
cmp eax, dword [edi + 0x1b38]
je 0x1005b829
xor eax, eax
jmp 0x1005b830
movsx eax, word [ecx]
inc eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x64], eax
mov ecx, esi
add eax, dword [ebp - 0x20]
sub ecx, dword [edi + 0x1ee4]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x30], eax
mov eax, 0x4bda12f7
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 0x1ed8]
inc eax
mov dword [edi + 0x1ed8], eax
inc eax
mov dword [ebp - 0x18], eax
cmp eax, dword [edi + 0x1ef8]
jle 0x1005b9eb
push 0x80
lea eax, [ebp - 0x100]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xfc], 0xbf800000
mov ecx, dword [edi + 0x1efc]
cmp dword [ebp - 0x18], ecx
jle 0x1005b93e
test ecx, ecx
je 0x1005b8b6
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1005b8bb
mov eax, 8
mov edx, dword [ebp - 0x18]
cmp eax, edx
cmovg edx, eax
mov dword [ebp - 0x14], edx
cmp edx, ecx
jle 0x1005b93e
mov eax, dword [0x100a3d98]
test eax, eax
je 0x1005b8d9
inc dword [eax + 0x370]
mov eax, edx
shl eax, 7
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edx, dword [edi + 0x1f00]
add esp, 4
mov dword [ebp - 0x1c], eax
test edx, edx
je 0x1005b92f
mov ecx, dword [edi + 0x1ef8]
shl ecx, 7
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi + 0x1f00]
add esp, 0xc
test ecx, ecx
je 0x1005b922
mov eax, dword [0x100a3d98]
test eax, eax
je 0x1005b922
dec dword [eax + 0x370]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [ebp - 0x1c]
add esp, 4
mov dword [edi + 0x1f00], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x1efc], eax
mov eax, dword [edi + 0x1ef8]
mov ecx, dword [ebp - 0x18]
cmp ecx, eax
jle 0x1005b986
mov edx, ecx
shl eax, 7
sub edx, dword [edi + 0x1ef8]
nop word [eax + eax]
mov edi, dword [edi + 0x1f00]
lea esi, [ebp - 0x100]
add edi, eax
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x3c]
sub eax, 0xffffff80
sub edx, 1
jne 0x1005b960
mov esi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x18]
mov dword [edi + 0x1ef8], ecx
mov ecx, dword [ebp - 0xc8]
test ecx, ecx
je 0x1005b9af
mov eax, dword [0x100a3d98]
test eax, eax
je 0x1005b9a5
dec dword [eax + 0x370]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
lea ecx, [ebp - 0xf0]
mov dword [ebp - 4], 2
call fcn.10054790
mov ecx, dword [ebp - 0xe0]
test ecx, ecx
je 0x1005b9e4
mov eax, dword [0x100a3d98]
test eax, eax
je 0x1005b9da
dec dword [eax + 0x370]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [edi + 0x1ed8]
mov eax, dword [edi + 0x1f00]
mov edx, dword [ebx + 0xc]
shl ecx, 7
add eax, ecx
mov ecx, dword [ebp - 0x48]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x14], eax
mov dword [eax], ecx
mov ecx, edx
mov eax, dword [esi + 0xc]
add eax, 0x10
test edx, 0xe000
mov dword [esi + 0x178], eax
mov dword [eax], 0
mov dword [eax + 4], 1
sete al
mov byte [esi + 0x1ad], al
test ecx, 0xe000
jne 0x1005ba59
test edx, 0x1000000
jne 0x1005ba52
mov eax, dword [ebp - 0x2c]
test byte [eax + 8], 0x40
mov eax, 0x8000
je 0x1005ba57
mov eax, 0x2000
or edx, eax
mov eax, edx
movss xmm2, dword [ebx + 0x14]
and eax, 0xe000
movss xmm4, dword [0x1009c7a8]
mov ecx, edx
or ecx, 0x40000
cmp eax, 0x4000
cmovne ecx, edx
mov edx, ecx
or edx, 0x200
test cl, 1
cmove edx, ecx
mov ecx, edx
and ecx, 0xfffcffff
test edx, 0x3000000
cmove ecx, edx
mov edx, ecx
and edx, 0xfffff7ff
test ecx, 0x1000
cmove edx, ecx
mov ecx, edx
or ecx, 0x10
test dl, 0xf
cmovne ecx, edx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], ecx
or dword [ebp - 0x1c], 0x10
mov eax, dword [edx + 0x31c]
test dword [eax + 8], 0x100
mov eax, dword [ebp - 0x1c]
cmove eax, ecx
cmp dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x20]
mov dword [esi], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [esi + 4], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x64]
mov word [ecx], ax
mov eax, dword [edi + 0x1b38]
mov ecx, dword [ebx + 0x10]
mov dword [esi + 0x168], edx
mov dword [esi + 0x164], edx
mov edx, dword [ebp - 0x14]
mov dword [esi + 0x50], eax
mov eax, dword [ebx + 8]
mov dword [esi + 0x54], eax
mov byte [esi + 0x1a1], 0
movss dword [esi + 0xbc], xmm2
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
je 0x1005bc79
mov edx, dword [ebp - 0x1c]
movaps xmm1, xmm4
mov eax, edx
movaps xmm0, xmm4
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x1005bb4d
movss xmm0, dword [0x1009c548]
mov ecx, dword [0x100a3d98]
test edx, 0x1000000
je 0x1005bb7d
xorps xmm3, xmm3
comiss xmm2, xmm3
jbe 0x1005bb7d
ucomiss xmm2, xmm4
movaps xmm1, xmm2
lahf
test ah, 0x44
jnp 0x1005bb7d
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jp 0x1005bb86
xorps xmm0, xmm0
jmp 0x1005bb86
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jnp 0x1005bbbf
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x1005bb92
xorps xmm1, xmm1
cvttss2si eax, xmm1
or dword [ecx + 0x1c20], 4
movd xmm1, eax
cvttss2si eax, xmm0
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x1c48], xmm1
movss dword [ecx + 0x1c4c], xmm0
test dword [ebp - 0x30], 0x3000000
jne 0x1005bbe6
or dword [ecx + 0x1c20], 0x80
mov dword [ecx + 0x1c50], 0
mov dword [ecx + 0x1c54], 0
movss xmm0, dword [ebp - 0x68]
mov eax, edx
subss xmm0, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x50]
shr eax, 0xd
and eax, 0x800
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [ebp - 0x60]
subss xmm0, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x70]
push 0
push eax
movss dword [ebp - 0x6c], xmm0
call fcn.1000a980
mov eax, dword [edi + 0x1b9c]
add esp, 0xc
mov dword [esi + 0x168], eax
movups xmm0, xmmword [eax + 0x210]
movups xmmword [esi + 0xf4], xmm0
movss xmm0, dword [eax + 0x10]
movss xmm1, dword [eax + 0xc]
movss dword [ebp - 0x58], xmm0
addss xmm0, dword [eax + 0x18]
movss dword [ebp - 0x5c], xmm1
addss xmm1, dword [eax + 0x14]
movss dword [ebp - 0x50], xmm0
movss dword [ebp - 0x54], xmm1
movups xmm0, xmmword [ebp - 0x5c]
movups xmmword [esi + 0xd4], xmm0
movups xmm0, xmmword [eax + 0x1f0]
jmp 0x1005bc8b
movups xmm0, xmmword [ebp - 0x80]
movups xmmword [esi + 0xd4], xmm0
movups xmmword [esi + 0xf4], xmm0
mov eax, dword [0x100a3d98]
movups xmmword [esi + 0xe4], xmm0
mov edx, dword [eax + 0x1b9c]
add edx, 0xc4
mov dword [ebp - 0x24], edx
mov ecx, dword [edx + 4]
cmp dword [edx], ecx
jne 0x1005bcd7
test ecx, ecx
je 0x1005bcbf
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x24]
sar eax, 1
add eax, ecx
jmp 0x1005bcc4
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.1001c1a0
mov edx, dword [ebp - 0x24]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov edi, dword [ebp - 0x28]
mov dword [eax + ecx*4], edi
inc dword [edx]
mov ecx, dword [esi + 0x168]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], ecx
mov eax, dword [ecx + 0x110]
mov dword [esi + 0x98], eax
lea eax, [ecx + 0x230]
movups xmm0, xmmword [eax]
mov dword [ebp - 0x24], eax
movups xmmword [esi + 0x144], xmm0
mov al, byte [ecx + 0x8f]
mov byte [esi + 0x1af], al
movups xmm0, xmmword [ecx + 0x210]
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x14]
movups xmmword [eax + 0x3c], xmm0
movups xmm0, xmmword [ecx + 0x220]
movups xmmword [eax + 0x4c], xmm0
mov eax, dword [edx + 0x114]
mov dword [esi + 0x74], eax
mov eax, dword [ecx + 0x100]
mov ecx, dword [ecx + 0x104]
mov dword [esi + 0x5c], eax
mov eax, esi
mov dword [eax + 0x60], ecx
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0xf8]
mov ecx, dword [ecx + 0xfc]
mov dword [esi + 0x64], eax
mov eax, esi
mov dword [eax + 0x68], ecx
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0xe8]
mov ecx, dword [ecx + 0xec]
mov dword [esi + 0x6c], eax
mov eax, esi
mov dword [eax + 0x70], ecx
mov ecx, esi
mov eax, dword [edx + 0x1b0]
mov dword [ecx + 0x78], eax
mov eax, dword [edx + 0x1b8]
mov dword [ecx + 0x7c], eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 0xf8], 0
mov dword [eax + 0xfc], 0
mov dword [eax + 0x100], 0
mov dword [eax + 0x104], 0
mov eax, dword [ebp - 0x1c]
test eax, 0x400000
je 0x1005bdd1
mov byte [ebp - 0x20], 0
jmp 0x1005bdec
test eax, 0x200000
je 0x1005bdde
mov byte [ebp - 0x20], 1
jmp 0x1005bdec
shr eax, 0xa
and eax, 0xffffff01
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
movss xmm7, dword [0x1009c60c]
mov ecx, eax
shr ecx, 0x17
not cl
and cl, 1
and eax, 0x200
mov dword [ebp - 0x50], eax
je 0x1005be0d
movaps xmm3, xmm7
jmp 0x1005be10
xorps xmm3, xmm3
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x3c]
test cl, cl
je 0x1005be6d
test eax, eax
jne 0x1005be6d
movss xmm1, dword [edi + 0x1570]
lea eax, [edi + 0x1570]
mov dword [ebp - 0x28], eax
xorps xmm2, xmm2
mov ecx, dword [ebp - 0x1c]
movaps xmm0, xmm1
movss dword [esi + 0xb0], xmm1
addss xmm0, xmm3
movss dword [esi + 0xa4], xmm2
movss dword [esi + 0xac], xmm0
mov eax, dword [edi + 0x1574]
mov dword [esi + 0xa8], eax
test ecx, 0x400
je 0x1005be8e
movaps xmm1, xmm7
jmp 0x1005be91
lea eax, [edi + 0x1570]
xorps xmm1, xmm1
mov dword [ebp - 0x28], eax
movss dword [ebp - 0x44], xmm1
test cl, cl
je 0x1005be2f
cmp dword [ebp - 0x50], 0
je 0x1005be2f
movss xmm2, dword [eax]
jmp 0x1005be32
xorps xmm1, xmm1
cmp byte [ebp - 0x20], 0
je 0x1005bea0
mov eax, dword [ebp - 0x28]
movss xmm0, dword [eax]
jmp 0x1005bea3
xorps xmm0, xmm0
addss xmm0, xmm1
mov dword [esi + 0x5c], 0xffffffff
xor eax, eax
mov dword [esi + 0x58], 0xffffffff
mov word [esi + 0x7a], ax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x7c], 0
subss xmm0, xmm2
movss dword [esi + 0xa0], xmm0
cmp eax, edx
jne 0x1005bee3
lea edi, [esi + 0xf4]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
jmp 0x1005beef
lea edx, [esi + 0xf4]
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x24]
movups xmm0, xmmword [edi]
mov edi, dword [ebp - 0x28]
movups xmmword [esi + 0x104], xmm0
movss xmm3, dword [esi + 0x104]
movss xmm4, dword [esi + 0x108]
maxss xmm4, dword [edi + 4]
maxss xmm3, dword [edi]
movss dword [esi + 0x108], xmm4
movss dword [esi + 0x104], xmm3
movss xmm1, dword [esi + 0x10c]
movss xmm0, dword [esi + 0x110]
minss xmm1, dword [edi + 8]
minss xmm0, dword [edi + 0xc]
movss dword [esi + 0x10c], xmm1
movss dword [esi + 0x110], xmm0
movss xmm2, dword [esi + 0x148]
comiss xmm2, xmm4
movss xmm1, dword [esi + 0x14c]
ja 0x1005bf73
movss xmm2, dword [esi + 0x150]
minss xmm2, xmm4
movss xmm0, dword [esi + 0x144]
comiss xmm0, xmm3
jbe 0x1005bf85
movaps xmm1, xmm0
jmp 0x1005bf89
minss xmm1, xmm3
movss dword [esi + 0x104], xmm1
movss dword [esi + 0x108], xmm2
movss xmm2, dword [esi + 0x110]
movss xmm1, dword [esi + 0x148]
comiss xmm1, xmm2
ja 0x1005bfba
movss xmm1, dword [esi + 0x150]
minss xmm1, xmm2
movss xmm2, dword [esi + 0x10c]
comiss xmm0, xmm2
ja 0x1005bfd3
movss xmm0, dword [esi + 0x14c]
minss xmm0, xmm2
movss dword [esi + 0x10c], xmm0
movss dword [esi + 0x110], xmm1
test ecx, 0x20000
je 0x1005bff8
movaps xmm0, xmm1
minss xmm0, dword [eax + 0x21c]
jmp 0x1005c000
movss xmm0, dword [eax + 0x23c]
movss dword [esi + 0x110], xmm0
movaps xmm1, xmm7
movss xmm0, dword [esi + 0xf8]
mov ecx, 0x2b
movss dword [esi + 0x68], xmm0
movss dword [esi + 0x64], xmm0
mov dword [esi + 0x70], 0
mov dword [esi + 0x199], 0
mov byte [esi + 0x1ac], 1
mov byte [esi + 0x18b], 0
call fcn.10005330
movaps xmm1, xmm7
mov dword [esi + 0x88], eax
mov ecx, 0x2c
call fcn.10005330
mov edi, dword [ebp - 0x3c]
mov dword [esi + 0x8c], eax
mov eax, dword [ebp - 0x48]
mov dword [edi + 0x1ed4], esi
mov dword [edx + 0x19c], eax
mov eax, dword [ebp - 0x18]
cmp eax, edx
mov edx, dword [ebp - 0x48]
je 0x1005c081
mov dword [eax + 0x19c], edx
test byte [ebp - 0x30], 2
je 0x1005c094
test byte [ebp - 0x1c], 2
jne 0x1005c094
mov byte [esi + 0x1ab], 1
cmp edx, dword [edi + 0x1f04]
lea ecx, [edi + 0x1f04]
jl 0x1005c110
mov eax, dword [ecx + 4]
inc edx
mov dword [ebp - 0x50], 0xbf800000
mov dword [ebp - 0x2c], edx
cmp edx, eax
jle 0x1005c0e4
test eax, eax
je 0x1005c0c8
cdq
sub eax, edx
mov edx, dword [ebp - 0x2c]
sar eax, 1
add eax, dword [ecx + 4]
mov dword [ebp - 0x20], eax
jmp 0x1005c0cf
mov dword [ebp - 0x20], 8
cmp dword [ebp - 0x20], edx
mov eax, edx
cmovg eax, dword [ebp - 0x20]
push eax
call fcn.1001c1a0
lea ecx, [edi + 0x1f04]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x2c]
cmp eax, edx
jle 0x1005c10b
mov eax, dword [ebp - 0x50]
mov ecx, dword [edi + 0x1f0c]
mov dword [ecx + edx*4], eax
inc edx
cmp edx, dword [ebp - 0x2c]
jl 0x1005c0f0
mov esi, dword [ebp - 0x40]
lea ecx, [edi + 0x1f04]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x48]
mov dword [ecx], eax
movsd xmm0, qword [edi + 0x1b30]
xor ecx, ecx
mov eax, dword [edi + 0x1f0c]
cvtpd2ps xmm0, xmm0
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x4c], ecx
movss dword [eax + edx*4], xmm0
movsd xmm0, qword [edi + 0x1b30]
mov eax, dword [ebp - 0x14]
cvtpd2ps xmm0, xmm0
movss dword [eax + 4], xmm0
mov eax, 0x4ec4ec4f
mov byte [esi + 0x1ae], 0
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
imul ecx
mov eax, dword [ebx + 8]
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 0x64], ecx
je 0x1005c180
cmp ecx, eax
je 0x1005c180
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x28], ecx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x4c], ecx
mov dword [esi + 8], 0
cmp dword [esi + 8], 0
jne 0x1005c213
imul ecx, eax, 0x68
mov dword [ebp - 0x50], ecx
add ecx, 3
and ecx, 0xfffffffc
mov dword [ebp - 0x44], ecx
add ecx, eax
mov dword [ebp - 0x6c], ecx
add ecx, 3
and ecx, 0xfffffffc
mov dword [ebp - 0x68], ecx
lea ecx, [ecx + eax*8]
mov eax, dword [0x100a3d98]
mov dword [ebp - 0x30], ecx
test eax, eax
je 0x1005c1bc
inc dword [eax + 0x370]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [esi + 8], eax
push dword [ebp - 0x30]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esi + 8]
add esp, 0xc
mov eax, dword [ebp - 0x50]
add eax, ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x44]
add eax, ecx
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x6c]
add eax, ecx
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x68]
add eax, ecx
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x30]
add eax, ecx
mov dword [esi + 0x24], eax
mov byte [esi + 0x1a7], 1
mov byte [esi + 0x1a3], 1
cmp byte [esi + 0x1aa], 0
je 0x1005c23a
mov word [esi + 0x1a7], 0x100
mov byte [esi + 0x1a3], 1
mov byte [esi + 0x1aa], 0
mov dword [esi + 0x48], 0
cmp byte [esi + 0x1a3], 0
je 0x1005c344
or eax, 0xffffffff
mov dword [esi + 0x4c], 0xffffffff
xor ecx, ecx
mov byte [esi + 0x1a4], 1
mov word [esi + 0x62], ax
mov byte [esi + 0x198], al
mov dword [esi + 0x18d], eax
mov byte [esi + 0x192], al
mov byte [esi + 0x18c], al
mov dword [ebp - 0x30], ecx
cmp dword [ebx + 8], ecx
jle 0x1005c344
xor eax, eax
mov dword [ebp - 0x24], eax
mov edx, dword [esi + 0x10]
mov esi, dword [ebp - 0x28]
add edx, eax
mov dword [ebp - 0x50], edx
test esi, esi
je 0x1005c2a8
cmp ecx, dword [ebp - 0x64]
jge 0x1005c2a8
add esi, eax
mov ecx, 0x1a
mov edi, edx
rep movsd dword es:[edi], dword [esi]
jmp 0x1005c31c
movss xmm0, dword [edx + 0x14]
lea eax, [ebp - 0xe8]
push 0x68
push 0
push eax
movss dword [ebp - 0x44], xmm0
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0x50]
lea esi, [ebp - 0xe8]
movss xmm0, dword [ebp - 0x44]
or eax, 0xffffffff
add esp, 0xc
mov dword [ebp - 0xd8], 0xbf800000
and byte [ebp - 0x84], 0xfc
mov ecx, 0x1a
mov edi, edx
mov dword [ebp - 0xd0], 0xbf800000
mov word [ebp - 0x98], ax
mov dword [ebp - 0x96], eax
mov dword [ebp - 0x92], eax
rep movsd dword es:[edi], dword [esi]
movss dword [edx + 0x14], xmm0
mov byte [edx + 0x60], 1
mov word [edx + 0x5a], 0x101
mov esi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
mov eax, dword [esi + 0x18]
mov byte [ecx + eax], cl
mov eax, dword [ebp - 0x24]
mov byte [edx + 0x52], cl
add eax, 0x68
inc ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], ecx
cmp ecx, dword [ebx + 8]
jl 0x1005c287
mov edi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x1005c364
mov eax, dword [0x100a3d98]
test eax, eax
je 0x1005c35a
dec dword [eax + 0x370]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp byte [esi + 0x1a7], 0
je 0x1005c374
mov ecx, esi
call fcn.10061550
movss xmm0, dword [esi + 0xd0]
xorps xmm3, xmm3
movss xmm2, dword [edi + 0x1930]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x1005c45b
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1005c45b
mov edi, dword [ebx + 8]
movaps xmm1, xmm2
xor eax, eax
divss xmm1, xmm0
cmp edi, 4
jl 0x1005c438
lea edx, [edi - 4]
xor ecx, ecx
shr edx, 2
inc edx
lea eax, [edx*4]
mov dword [ebp - 0x50], eax
nop dword [eax]
mov eax, dword [esi + 0x10]
movaps xmm0, xmm1
lea ecx, [ecx + 0x1a0]
mulss xmm0, dword [eax + ecx - 0x190]
movss dword [eax + ecx - 0x190], xmm0
movaps xmm0, xmm1
mov eax, dword [esi + 0x10]
mulss xmm0, dword [eax + ecx - 0x128]
movss dword [eax + ecx - 0x128], xmm0
movaps xmm0, xmm1
mov eax, dword [esi + 0x10]
mulss xmm0, dword [eax + ecx - 0xc0]
movss dword [eax + ecx - 0xc0], xmm0
movaps xmm0, xmm1
mov eax, dword [esi + 0x10]
mulss xmm0, dword [eax + ecx - 0x58]
movss dword [eax + ecx - 0x58], xmm0
sub edx, 1
jne 0x1005c3d0
mov eax, dword [ebp - 0x50]
cmp eax, edi
jge 0x1005c45b
imul ecx, eax, 0x68
sub edi, eax
mov eax, dword [esi + 0x10]
movaps xmm0, xmm1
lea ecx, [ecx + 0x68]
mulss xmm0, dword [eax + ecx - 0x58]
movss dword [eax + ecx - 0x58], xmm0
sub edi, 1
jne 0x1005c441
mov ecx, dword [ebp - 0x18]
movss dword [esi + 0xd0], xmm2
mov byte [ecx + 0x8f], 1
cmp dword [esi + 0x16c], 0
jle 0x1005c4a6
mov ecx, dword [esi + 0x170]
test ecx, ecx
jns 0x1005c49c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [esi + 0x16c]
call fcn.1001c520
mov dword [esi + 0x16c], 0
cmp word [esi + 0x60], 0
jne 0x1005c605
mov al, byte [esi + 0x18f]
cmp al, 0xff
je 0x1005c4d8
movss xmm1, dword [esi + 0xc8]
ucomiss xmm1, dword [0x1009c7a8]
lahf
test ah, 0x44
jnp 0x1005c4d8
movsx ecx, al
call fcn.1005ed50
mov al, byte [esi + 0x18f]
mov byte [esi + 0x190], al
mov al, byte [esi + 0x18e]
mov dword [esi + 0xc8], 0x7f7fffff
mov byte [esi + 0x18f], 0xff
cmp al, 0xff
je 0x1005c51a
movsx ecx, al
mov eax, dword [esi + 0x10]
imul edx, ecx, 0x68
movss xmm1, dword [edx + eax + 0x14]
call fcn.1005ed50
mov byte [esi + 0x18e], 0xff
cmp word [esi + 0x60], 0
jne 0x1005c605
cmp byte [esi + 0x191], 0xff
jne 0x1005c53e
cmp byte [esi + 0x192], 0xff
je 0x1005c53e
mov byte [esi + 0x192], 0xff
mov cl, byte [esi + 0x192]
mov byte [esi + 0x191], 0xff
cmp cl, 0xff
je 0x1005c605
mov al, byte [esi + 0x193]
mov byte [ebp - 0x35], al
test al, al
je 0x1005c605
movsx edi, al
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x30], eax
movsx eax, cl
imul edx, eax, 0x68
add edx, dword [ebp - 0x30]
cmp edi, 0xffffffff
jne 0x1005c581
mov al, byte [edx + 0x54]
jmp 0x1005c584
mov al, byte [edx + 0x55]
mov esi, dword [ebp - 0x30]
movsx ecx, byte [edx + 0x52]
movsx eax, al
imul eax, eax, 0x68
mov al, byte [eax + esi + 0x52]
mov esi, dword [ebp - 0x40]
mov byte [edx + 0x52], al
lea edx, [ecx + edi]
movsx eax, al
add eax, edi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x50], eax
cmp edx, eax
je 0x1005c5d1
nop dword [eax]
mov eax, dword [esi + 0x18]
movsx eax, byte [edx + eax]
mov dl, byte [ebp - 0x35]
imul ecx, eax, 0x68
mov eax, dword [esi + 0x10]
sub byte [ecx + eax + 0x52], dl
mov edx, dword [ebp - 0x30]
add edx, edi
mov dword [ebp - 0x30], edx
cmp edx, dword [ebp - 0x50]
jne 0x1005c5b0
xor edx, edx
cmp dword [esi + 0x54], edx
jle 0x1005c5f7
xor edi, edi
nop word [eax + eax]
mov eax, dword [esi + 0x10]
lea edi, [edi + 0x68]
movsx ecx, byte [eax + edi - 0x16]
mov eax, dword [esi + 0x18]
mov byte [ecx + eax], dl
inc edx
cmp edx, dword [esi + 0x54]
jl 0x1005c5e0
mov byte [esi + 0x193], 0
mov byte [esi + 0x1a8], 1
cmp byte [esi + 0x1ab], 0
je 0x1005c644
xor ecx, ecx
cmp dword [esi + 0x54], ecx
jle 0x1005c636
xor edx, edx
nop word [eax + eax]
mov eax, dword [esi + 0x10]
lea edx, [edx + 0x68]
mov byte [eax + edx - 0x16], cl
mov eax, dword [esi + 0x18]
mov byte [ecx + eax], cl
inc ecx
cmp ecx, dword [esi + 0x54]
jl 0x1005c620
mov byte [esi + 0x1ab], 0
mov byte [esi + 0x1a8], 1
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret