Function at 0x100531f0
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 0x100c50a0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x150
mov eax, dword [0x10110040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x15c], ecx
mov edi, dword [0x1011138c]
mov esi, edi
mov eax, dword [ebx + 8]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xe8], esi
mov eax, dword [esi + 0x1b9c]
mov byte [eax + 0x8c], 1
mov eax, dword [esi + 0x1b9c]
mov dword [ebp - 0x120], eax
cmp byte [eax + 0x8f], 0
jne 0x1005357a
mov ecx, dword [ebx + 0x14]
mov edx, ecx
mov dword [ebp - 0xe4], ecx
shr dword [ebp - 0xe4], 0xe
and byte [ebp - 0xe4], 1
mov dword [ebp - 0x150], ecx
shr dword [ebp - 0x150], 0xf
and byte [ebp - 0x150], 1
shr ecx, 0x10
not cl
shr edx, 0x1a
and ecx, 0xffffff01
and edx, 0xffffff01
mov dword [ebp - 0xd0], ecx
mov ecx, dword [ebx + 0x14]
shr ecx, 0x12
and ecx, 0xffffff01
mov dword [ebp - 0xe0], edx
mov dword [ebp - 0x118], ecx
test dl, dl
je 0x100532ee
call fcn.1003aa80
mov edi, dword [0x1011138c]
mov eax, dword [ebp - 0x120]
mov ecx, dword [eax + 0xc4]
xor edx, edx
mov eax, dword [eax + 0xcc]
push dword [eax + ecx*4 - 4]
mov ecx, dword [ebp - 0x15c]
call fcn.1002eba0
add esp, 4
mov dword [ebp - 0xd8], eax
cmp dword [edi + 0x1bd0], eax
jne 0x10053322
mov dword [edi + 0x1bd4], eax
cmp dword [edi + 0x1c0c], eax
jne 0x10053331
mov byte [edi + 0x1c10], 1
mov eax, dword [ebp - 0x15c]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x10053356
nop
mov dl, byte [ecx]
test dl, dl
je 0x10053356
cmp dl, 0x23
jne 0x10053350
cmp byte [ecx + 1], dl
je 0x10053356
inc ecx
cmp ecx, 0xffffffff
jb 0x10053340
movss xmm1, dword [0x10109c90]
movss xmm0, dword [edi + 0x1930]
movss dword [ebp - 0x158], xmm1
cmp eax, ecx
jne 0x1005337f
xorps xmm3, xmm3
movss dword [ebp - 0x160], xmm3
jmp 0x100533d0
push ecx
push ecx
push eax
push ecx
mov ecx, dword [edi + 0x192c]
lea eax, [ebp - 0x110]
mov dword [esp], 0xbf800000
movaps xmm3, xmm1
push eax
movaps xmm2, xmm0
call fcn.10047160
movss xmm0, dword [ebp - 0x110]
xorps xmm3, xmm3
addss xmm0, dword [0x10109bac]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x160], xmm0
movss xmm0, dword [ebp - 0x10c]
cmp byte [ebp - 0xe0], 0
je 0x100533e9
movss xmm0, dword [esi + 0x1930]
mulss xmm0, dword [0x10109c30]
test byte [edi + 0x1c24], 1
movss xmm1, dword [esi + 0x1554]
mov eax, dword [edi + 0x1b9c]
movaps xmm2, xmm1
addss xmm2, xmm1
addss xmm2, xmm0
je 0x10053415
movss xmm0, dword [edi + 0x1c28]
jmp 0x1005341d
movss xmm0, dword [eax + 0x180]
comiss xmm3, xmm0
jbe 0x1005345c
cmp dword [eax + 0x168], 0
movss xmm1, dword [eax + 0x218]
jne 0x1005343c
cmp dword [edi + 0x1f04], 0
je 0x10053444
movss xmm1, dword [eax + 0x1e8]
subss xmm1, dword [eax + 0xd0]
addss xmm1, xmm0
movss xmm0, dword [0x10109bb4]
maxss xmm0, xmm1
cvttss2si eax, xmm0
lea ecx, [ebp - 0x110]
movd xmm1, eax
mov eax, dword [ebx + 0x10]
cvtdq2ps xmm1, xmm1
push dword [eax + 4]
push dword [eax]
call fcn.1003a9a0
movss xmm1, dword [ebp - 0x160]
xorps xmm0, xmm0
add esp, 8
comiss xmm1, xmm0
jbe 0x1005349a
movaps xmm2, xmm1
addss xmm2, dword [esi + 0x1568]
jmp 0x1005349d
xorps xmm2, xmm2
cmp byte [ebp - 0xe0], 0
mov eax, dword [ebp - 0x120]
movss xmm5, dword [ebp - 0x110]
addss xmm2, xmm5
movss dword [ebp - 0x154], xmm5
mov dword [ebp - 0x124], eax
movss xmm4, dword [eax + 0xd4]
movss xmm3, dword [eax + 0xd0]
movaps xmm0, xmm4
addss xmm0, dword [ebp - 0x10c]
movaps xmm1, xmm3
movss dword [ebp - 0x54], xmm3
addss xmm1, xmm5
movss dword [ebp - 0x50], xmm4
addss xmm2, xmm3
movss dword [ebp - 0x24], xmm3
movss dword [ebp - 0x20], xmm4
movss dword [ebp - 0x48], xmm0
movaps xmm0, xmm4
addss xmm0, dword [ebp - 0x10c]
movss dword [ebp - 0x4c], xmm1
movss dword [ebp - 0x1c], xmm2
movss dword [ebp - 0x18], xmm0
je 0x1005377c
mov edx, dword [ebp - 0xd8]
lea eax, [ebp - 0x54]
push 1
push eax
lea ecx, [ebp - 0x24]
call fcn.1003a590
add esp, 8
test al, al
jne 0x1005359a
movss xmm0, dword [ebp - 0x1c]
lea ecx, [ebp - 0x110]
subss xmm0, dword [ebp - 0x24]
movss xmm1, dword [esi + 0x1554]
movss dword [ebp - 0x110], xmm0
movss xmm0, dword [ebp - 0x18]
subss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0x10c], xmm0
call fcn.1003a460
call fcn.1003abb0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100c100d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov esi, dword [0x1011138c]
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], 3
movups xmm0, xmmword [esi + 0x160c]
lea ecx, [esi + 0x1cc4]
movups xmmword [ebp - 0x3c], xmm0
call fcn.10040aa0
mov edi, dword [ebp - 0xe8]
lea eax, [ebp - 0x138]
push eax
mov dword [ebp - 0x138], 6
movups xmm0, xmmword [edi + 0x164c]
movups xmmword [esi + 0x160c], xmm0
mov esi, dword [0x1011138c]
movss xmm0, dword [edi + 0x1558]
movss dword [ebp - 0xc4], xmm0
movss xmm0, dword [esi + 0x1540]
lea ecx, [esi + 0x1cd0]
movss dword [ebp - 0x134], xmm0
call fcn.100409e0
movss xmm0, dword [ebp - 0xc4]
lea eax, [ebp - 0x138]
movss dword [esi + 0x1540], xmm0
mov esi, dword [0x1011138c]
movss xmm0, dword [edi + 0x155c]
movss dword [ebp - 0xc4], xmm0
push eax
movss xmm0, dword [esi + 0x1544]
lea ecx, [esi + 0x1cd0]
mov dword [ebp - 0x138], 7
movss dword [ebp - 0x134], xmm0
call fcn.100409e0
movss xmm0, dword [ebp - 0xc4]
lea eax, [ebp - 0x134]
movss xmm1, dword [ebp - 0x4c]
subss xmm1, dword [ebp - 0x54]
mov edx, dword [ebp - 0xd8]
movss dword [esi + 0x1544], xmm0
movss xmm0, dword [ebp - 0x48]
subss xmm0, dword [ebp - 0x50]
push 4
push ecx
mov ecx, dword [ebp - 0x15c]
push eax
movss dword [ebp - 0x134], xmm1
movss dword [ebp - 0x130], xmm0
call fcn.100348f0
add esp, 0xc
mov byte [ebp - 0xfb], al
mov ecx, 2
call fcn.1002f5f0
mov esi, dword [0x1011138c]
mov ecx, dword [esi + 0x1cc4]
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 0x1ccc]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
shl eax, 4
movups xmmword [eax + esi + 0x15dc], xmm0
dec dword [esi + 0x1cc4]
cmp byte [ebp - 0xfb], 0
jne 0x1005370d
call fcn.10034ae0
jmp 0x10053575
mov esi, edi
mov edi, dword [esi + 0x1b9c]
mov dword [ebp - 0x124], edi
movsx ecx, word [edi + 0x122]
mov eax, dword [edi + 0x11c]
bts ecx, eax
movss xmm0, dword [edi + 0xd0]
mov word [edi + 0x122], cx
addss xmm0, dword [esi + 0x1550]
movss dword [edi + 0xd0], xmm0
movss xmm0, dword [esi + 0x1554]
addss xmm0, dword [edi + 0xd4]
movss dword [edi + 0xd4], xmm0
movss xmm0, dword [ebp - 0x110]
subss xmm0, dword [edi + 0x80]
movss dword [ebp - 0x154], xmm0
jmp 0x100537cf
movss xmm1, dword [esi + 0x1554]
subss xmm2, xmm3
subss xmm0, xmm4
lea ecx, [ebp - 0x134]
movss dword [ebp - 0x134], xmm2
movss dword [ebp - 0x130], xmm0
call fcn.1003a460
test dword [ebx + 0x14], 0x10000000
jne 0x100537cf
mov edx, dword [ebp - 0xd8]
lea eax, [ebp - 0x54]
push 1
push eax
lea ecx, [ebp - 0x24]
call fcn.1003a590
add esp, 8
test al, al
je 0x1005357a
mov edx, dword [ebp - 0xd8]
lea ecx, [ebp - 0x54]
call fcn.10030a50
mov dl, al
mov byte [ebp - 0xf9], dl
test dl, dl
je 0x100537f3
mov dword [esi + 0x1e70], 1
mov edi, dword [0x1011138c]
xor ecx, ecx
mov eax, dword [ebp - 0xd8]
add edi, 0x1f94
cmp dword [edi], eax
mov eax, dword [esi + 0x1c40]
cmovne edi, ecx
mov ecx, eax
shr ecx, 8
shr eax, 9
and ecx, 0xffffff01
and eax, 0xffffff01
mov dword [ebp - 0x108], edi
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x104], eax
test dl, dl
je 0x1005384b
cmp byte [esi + 0x3d8], 0
mov byte [ebp - 0xb7], 1
jne 0x10053852
mov byte [ebp - 0xb7], 0
mov ecx, dword [esi + 0x1bd0]
mov eax, dword [ebp - 0xd8]
cmp ecx, eax
je 0x10053884
cmp dword [esi + 0x1d48], eax
je 0x1005387b
cmp dword [esi + 0x1d3c], eax
jne 0x10053884
cmp dword [esi + 0x1d60], 2
jne 0x10053884
mov byte [ebp - 0xb6], 1
jmp 0x1005388b
mov byte [ebp - 0xb6], 0
mov eax, dword [ebp - 0xe0]
test al, al
je 0x100538df
test edi, edi
je 0x100538df
test ecx, ecx
jne 0x100538df
mov eax, dword [ebp - 0x124]
xor edx, edx
mov ecx, dword [eax + 0xc4]
mov eax, dword [eax + 0xcc]
push dword [eax + ecx*4 - 4]
mov ecx, str.SCROLLY
call fcn.1002eba0
add esp, 4
cmp dword [esi + 0x1c0c], eax
jne 0x100538d3
mov byte [ebp - 0xb8], 1
jmp 0x100538f5
mov ecx, dword [esi + 0x1bd0]
mov eax, dword [ebp - 0xe0]
mov byte [ebp - 0xb8], 0
test al, al
je 0x10053928
mov byte [ebp - 0xb8], 0
test edi, edi
je 0x10053928
mov eax, dword [ebp - 0x124]
xor edx, edx
mov ecx, dword [eax + 0xc4]
mov eax, dword [eax + 0xcc]
push dword [eax + ecx*4 - 4]
mov ecx, str.SCROLLY
call fcn.1002eba0
mov ecx, dword [esi + 0x1bd0]
add esp, 4
cmp ecx, eax
jne 0x10053928
mov dl, 1
jmp 0x1005392a
xor dl, dl
mov ah, byte [ebp - 0xb6]
mov byte [ebp - 0xbf], dl
mov byte [ebp - 0xed], 0
cmp ecx, dword [ebp - 0xd8]
je 0x10053961
test byte [ebx + 0x14], 0x10
jne 0x1005394f
test ah, ah
je 0x10053961
cmp byte [ebp - 0xe0], 0
jne 0x10053961
mov byte [ebp - 0x140], 1
jmp 0x1005398a
cmp byte [ebp - 0xe0], 0
mov byte [ebp - 0x140], 0
je 0x1005398a
mov esi, dword [ebp - 0x124]
movss xmm0, dword [esi + 0x5c]
mov esi, dword [ebp - 0xe8]
movss dword [ebp - 0x158], xmm0
test edi, edi
je 0x1005399f
mov al, byte [ebp - 0xe0]
xor al, 1
cmp byte [edi + 0x53], al
je 0x1005399f
mov al, 1
jmp 0x100539a1
xor al, al
cmp byte [ebp - 0xb7], 0
mov byte [ebp - 0xd9], al
mov dword [ebp - 0xf8], 1
jne 0x100539e9
cmp byte [ebp - 0xb8], 0
jne 0x100539e9
test ah, ah
jne 0x100539e9
cmp byte [ebp - 0x14c], ah
jne 0x100539e9
cmp byte [ebp - 0x104], ah
jne 0x100539e9
mov byte [ebp - 0xb8], ah
test dl, dl
jne 0x100539f0
mov byte [ebp - 0xbd], dl
jmp 0x10053a01
mov byte [ebp - 0xb8], 1
mov edx, dword [ebp - 0xd8]
mov byte [ebp - 0xbd], 1
cmp ecx, edx
jne 0x10053a09
test al, al
je 0x10053c7a
mov ecx, dword [ebp - 0xc8]
lea edi, [esi + 0x1f94]
mov dword [ebp - 0x108], edi
mov dword [edi + 0xe68], 0xbe99999a
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10053a28
mov eax, dword [edi + 0x28]
sub ecx, edx
lea edx, [ecx + 1]
mov dword [ebp - 0xec], edx
cmp edx, eax
jle 0x10053a72
test eax, eax
je 0x10053a57
cdq
sub eax, edx
mov edx, dword [ebp - 0xec]
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 0x28]
jmp 0x10053a5c
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [edi + 0x24]
push eax
call fcn.10040e30
mov edx, dword [ebp - 0xec]
push edx
push dword [ebp - 0xc8]
mov dword [edi + 0x24], edx
push dword [edi + 0x2c]
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebx + 0xc]
add esp, 0xc
mov eax, dword [edi + 0x10]
inc edx
mov dword [ebp - 0xec], edx
cmp edx, eax
jle 0x10053ac9
test eax, eax
je 0x10053aae
cdq
sub eax, edx
mov edx, dword [ebp - 0xec]
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 0x10]
jmp 0x10053ab3
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [edi + 0xc]
push eax
call fcn.10040ea0
mov edx, dword [ebp - 0xec]
lea eax, [edi + 0x18]
mov dword [edi + 0xc], edx
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10053af2
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, [edi + 0x18]
call fcn.10040e30
lea eax, [edi + 0x18]
mov esi, dword [ebx + 0xc]
mov dword [eax], 0
mov ecx, dword [edi + 0x14]
mov edx, ecx
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xf4], ecx
mov dword [ebp - 0xbc], ecx
lea ecx, [ecx + esi*2]
mov byte [edi + 0x30], 0
mov esi, dword [ebp - 0xe8]
add ecx, 0xfffffffe
mov dword [ebp - 0x100], eax
cmp edx, ecx
jae 0x10053b8e
mov edi, dword [ebx + 0xc]
mov esi, eax
cmp byte [esi], 0
je 0x10053b7c
push 0
mov edx, esi
lea ecx, [ebp - 0xc4]
call fcn.1002ee50
mov edx, dword [ebp - 0xbc]
add esi, eax
mov eax, dword [ebp - 0xc4]
add esp, 4
mov dword [ebp - 0x100], esi
test eax, eax
je 0x10053b7c
mov ecx, dword [ebp - 0xf4]
mov word [edx], ax
lea eax, [edi - 1]
add edx, 2
mov dword [ebp - 0xbc], edx
lea eax, [ecx + eax*2]
cmp edx, eax
jb 0x10053b31
mov edi, dword [ebp - 0x108]
mov esi, dword [ebp - 0xe8]
mov eax, dword [ebp - 0x100]
sub eax, dword [ebp - 0xc8]
xor ecx, ecx
mov word [edx], cx
sub edx, dword [ebp - 0xf4]
sar edx, 1
mov dword [edi + 8], eax
mov eax, dword [ebp - 0xd8]
mov dword [edi + 4], edx
cmp dword [edi], eax
jne 0x10053be3
cmp byte [ebp - 0xd9], cl
jne 0x10053be3
cmp dword [edi + 0x3c], edx
mov ecx, edx
cmovl ecx, dword [edi + 0x3c]
cmp dword [edi + 0x40], edx
mov dword [edi + 0x3c], ecx
mov ecx, edx
cmovl ecx, dword [edi + 0x40]
cmp dword [edi + 0x44], edx
mov dword [edi + 0x40], ecx
cmovl edx, dword [edi + 0x44]
mov dword [edi + 0x44], edx
mov edx, dword [ebp - 0xe0]
jmp 0x10053c4a
mov edx, dword [ebp - 0xe0]
mov dword [edi], eax
mov al, dl
xor al, 1
mov dword [edi + 0x38], ecx
mov dword [edi + 0xe5a], 0x630000
mov dword [edi + 0xe60], ecx
mov dword [edi + 0xe64], 0x3e7
mov dword [edi + 0x40], ecx
mov dword [edi + 0x44], ecx
mov dword [edi + 0x3c], ecx
mov word [edi + 0x51], 1
mov dword [edi + 0x58], ecx
mov byte [edi + 0x50], cl
mov byte [edi + 0x53], al
mov byte [edi + 0x48], cl
mov dword [edi + 0x4c], ecx
test dl, dl
jne 0x10053c4a
mov eax, dword [ebp - 0x140]
cmp byte [ebp - 0x14c], cl
movzx eax, al
cmovne eax, dword [ebp - 0xf8]
mov dword [ebp - 0x140], eax
test dword [ebx + 0x14], 0x2000
je 0x10053c57
mov byte [edi + 0x48], 1
test dl, dl
jne 0x10053c7a
cmp byte [ebp - 0x104], dl
jne 0x10053c73
cmp byte [ebp - 0xb7], dl
je 0x10053c7a
cmp byte [esi + 0xfc], dl
je 0x10053c7a
mov byte [ebp - 0x140], 1
mov ecx, dword [ebp - 0xd8]
cmp dword [esi + 0x1bd0], ecx
je 0x10053d35
cmp byte [ebp - 0xb8], 0
je 0x10053d2d
mov edx, dword [ebp - 0x120]
call fcn.100308f0
call fcn.1003c160
mov ecx, edx
call fcn.10039bc0
mov eax, dword [esi + 0x1be4]
mov edx, dword [ebp - 0xe0]
or eax, 3
mov dword [esi + 0x1be4], eax
test dl, dl
jne 0x10053ccf
test byte [ebx + 0x14], 0x80
je 0x10053cd8
or eax, 0xc
mov dword [esi + 0x1be4], eax
mov eax, dword [esi + 0x1bf0]
or dword [esi + 0x1be8], 2
or eax, 0x180
mov ecx, dword [esi + 0x1bf4]
mov dword [esi + 0x1bf0], eax
mov dword [esi + 0x1bf4], ecx
test dl, dl
je 0x10053d0f
or eax, 0x60
mov dword [esi + 0x1bf4], ecx
mov dword [esi + 0x1bf0], eax
test dword [ebx + 0x14], 0x440
je 0x10053d27
or eax, 1
mov dword [esi + 0x1bf4], ecx
mov dword [esi + 0x1bf0], eax
mov ecx, dword [ebp - 0xd8]
cmp dword [esi + 0x1bd0], ecx
jne 0x10053d72
test edi, edi
jne 0x10053d44
call fcn.100309c0
mov ecx, dword [ebp - 0xd8]
cmp dword [esi + 0x1bd0], ecx
jne 0x10053d72
cmp byte [esi + 0x3d8], 0
je 0x10053d7f
cmp byte [ebp - 0xbd], 0
jne 0x10053d7f
cmp byte [ebp - 0xb8], 0
jne 0x10053d7f
mov byte [ebp - 0xed], 1
mov dl, 1
jmp 0x10053d85
test edi, edi
je 0x10053d83
cmp byte [ebp - 0xbf], 0
je 0x10053d83
mov dl, 1
jmp 0x10053d85
xor dl, dl
mov byte [ebp - 0xbe], dl
test edi, edi
je 0x10053da2
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x10053da2
test dl, dl
je 0x10053da2
mov edx, 1
jmp 0x10053da4
xor dl, dl
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x104], edx
mov byte [ebp - 0xfa], dl
mov byte [ebp - 0xfb], 0
mov byte [ebp - 0xd9], 0
test al, al
je 0x10053f0d
test edi, edi
je 0x10053f0d
cmp byte [ebp - 0xbe], 0
jne 0x10053de5
test dl, dl
je 0x10053f1a
mov ecx, dword [ebx + 0xc]
mov eax, dword [edi + 0x10]
inc ecx
mov dword [ebp - 0xec], ecx
cmp ecx, eax
jle 0x10053e25
test eax, eax
je 0x10053e06
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 0x10]
jmp 0x10053e0b
mov ecx, 8
mov eax, dword [ebp - 0xec]
cmp ecx, eax
cmovg eax, ecx
lea ecx, [edi + 0xc]
push eax
call fcn.10040ea0
mov ecx, dword [ebp - 0xec]
mov eax, dword [ebp - 0xc8]
mov dword [edi + 0xc], ecx
dec ecx
mov edx, dword [edi + 0x14]
mov esi, edx
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xec], edx
mov dword [ebp - 0xbc], edx
lea ecx, [esi + ecx*2]
cmp esi, ecx
mov dword [ebp - 0x11c], ecx
mov esi, dword [ebp - 0xe8]
jae 0x10053eaf
mov esi, eax
nop dword [eax + eax]
cmp byte [esi], 0
je 0x10053ea3
push 0
mov edx, esi
lea ecx, [ebp - 0xc4]
call fcn.1002ee50
mov edx, dword [ebp - 0xbc]
add esi, eax
mov eax, dword [ebp - 0xc4]
add esp, 4
mov dword [ebp - 0x100], esi
test eax, eax
je 0x10053ea3
mov word [edx], ax
add edx, 2
mov dword [ebp - 0xbc], edx
cmp edx, dword [ebp - 0x11c]
jb 0x10053e60
mov esi, dword [ebp - 0xe8]
mov eax, dword [ebp - 0x100]
sub eax, dword [ebp - 0xc8]
xor ecx, ecx
mov word [edx], cx
sub edx, dword [ebp - 0xec]
sar edx, 1
cmp dword [edi + 0x3c], edx
mov ecx, edx
mov dword [edi + 4], edx
cmovl ecx, dword [edi + 0x3c]
cmp dword [edi + 0x40], edx
mov dword [edi + 0x3c], ecx
mov ecx, edx
cmovl ecx, dword [edi + 0x40]
cmp dword [edi + 0x44], edx
mov dword [edi + 8], eax
cmovl edx, dword [edi + 0x44]
movzx eax, byte [ebp - 0xfa]
cmp ecx, edx
mov dword [edi + 0x44], edx
mov edx, 0
cmovne edx, eax
mov dword [edi + 0x40], ecx
mov ecx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x104], edx
cmp byte [ebp - 0xbe], 0
jne 0x10053f22
test dl, dl
jne 0x10053f22
cmp dword [esi + 0x1bd0], ecx
jne 0x10053f33
test al, al
jne 0x10053f33
test edi, edi
je 0x10053f33
cmp byte [edi + 0x30], al
je 0x10053f33
mov al, 1
jmp 0x10053f35
xor al, al
cmp dword [ebp - 0x13c], 0
mov byte [ebp - 0xfa], al
je 0x10053f5c
test al, al
je 0x10053f4d
mov eax, dword [edi + 0x20]
jmp 0x10053f53
mov eax, dword [ebp - 0xc8]
cmp byte [eax], 0
jne 0x10053f5c
mov al, 1
jmp 0x10053f5e
xor al, al
cmp byte [ebp - 0x150], 0
mov byte [ebp - 0xc9], al
je 0x10053fff
test al, al
jne 0x10053fff
mov edx, dword [esi + 0x192c]
cmp dword [edx + 0x14], 0x2a
ja 0x10053f8a
mov eax, dword [edx + 0x2c]
jmp 0x10053fa9
mov eax, dword [edx + 0x1c]
mov ecx, 0xffff
movzx eax, word [eax + 0x54]
cmp ax, cx
jne 0x10053fa0
mov eax, dword [edx + 0x2c]
jmp 0x10053fa9
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x28]
lea eax, [eax + ecx*8]
mov dword [ebp - 0xbc], eax
lea ecx, [esi + 0x2e10]
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x192c]
mov eax, dword [eax + 0x44]
mov dword [ecx + 0x44], eax
mov eax, dword [esi + 0x192c]
mov eax, dword [eax + 0x48]
mov dword [ecx + 0x48], eax
mov eax, dword [esi + 0x192c]
mov eax, dword [eax + 0x4c]
mov dword [ecx + 0x4c], eax
mov eax, dword [esi + 0x192c]
mov eax, dword [eax + 0x30]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0xbc]
mov dword [ecx + 0x2c], eax
mov eax, dword [eax + 4]
mov dword [ecx + 0xc], eax
call fcn.10039e90
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0x100], 0
cmp dword [esi + 0x1bd0], ecx
jne 0x10054468
mov eax, dword [edi + 8]
mov edx, dword [ebx + 0x14]
mov byte [edi + 0xe6e], 0
mov dword [edi + 0xe70], edx
mov dword [edi + 0xe74], 0
mov dword [edi + 0xe78], 0
mov dword [ebp - 0x100], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0x34], eax
cmp byte [esi + 0xec], 0
mov dword [esi + 0x3190], 1
sete al
cmp byte [ebp - 0xe0], 0
mov byte [esi + 0x1bdd], al
movss xmm7, dword [esi + 0xe4]
subss xmm7, dword [ebp - 0x54]
subss xmm7, dword [esi + 0x1550]
addss xmm7, dword [edi + 0x38]
je 0x100540a3
mov eax, dword [ebp - 0x124]
movss xmm2, dword [esi + 0xe8]
subss xmm2, dword [eax + 0xd4]
jmp 0x100540b3
movss xmm2, dword [esi + 0x1930]
mulss xmm2, dword [0x10109b70]
cmp byte [ebp - 0x140], 0
mov al, byte [esi + 0xb1]
mov byte [ebp - 0xb7], al
jne 0x10054235
mov cl, byte [ebp - 0xf9]
test cl, cl
je 0x100540e6
test al, al
jne 0x1005414b
cmp byte [esi + 0x3dd], al
jne 0x10054235
cmp byte [esi + 0x3d8], 0
je 0x100541a8
cmp byte [edi + 0xe6d], 0
jne 0x100541a8
test cl, cl
je 0x10054256
cmp byte [edi + 0x53], 0
je 0x10054122
push 0
mov edx, edi
lea ecx, [ebp - 0x44]
call fcn.100517b0
movss xmm2, dword [ebp - 0x38]
add esp, 4
movaps xmm1, xmm7
mov ecx, edi
call fcn.10051b00
mov edx, dword [ebx + 0x14]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov byte [edi + 0x52], 0
mov dword [edi + 0xe68], 0xbe99999a
jmp 0x10054250
cmp byte [esi + 0x3dd], 0
je 0x100540e6
push 0x20000c
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10051ee0
add esp, 4
mov byte [edi + 0xe6c], 1
lea edx, [edi + 0x3c]
mov dword [edi + 0xe68], 0xbe99999a
mov ecx, edi
push 0x60000d
call fcn.10051ee0
mov esi, dword [ebp - 0xe8]
add esp, 4
mov edx, dword [ebx + 0x14]
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
jmp 0x10054250
cmp byte [esi + 0xec], 0
je 0x10054256
cmp byte [edi + 0xe6d], 0
jne 0x1005425f
movss xmm0, dword [esi + 0x374]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100541e7
movss xmm0, dword [esi + 0x378]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10054256
cmp byte [edi + 0x53], 0
je 0x10054201
push 0
mov edx, edi
lea ecx, [ebp - 0x44]
call fcn.100517b0
movss xmm2, dword [ebp - 0x38]
add esp, 4
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x1005420f
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x40], eax
movaps xmm1, xmm7
mov ecx, edi
call fcn.10051b00
mov edx, dword [ebx + 0x14]
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0xe68], 0xbe99999a
mov byte [edi + 0xe6c], 1
jmp 0x10054250
mov eax, dword [edi + 4]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0x52], 0
mov byte [edi + 0xe6d], 1
mov al, byte [ebp - 0xb7]
cmp byte [edi + 0xe6d], 0
je 0x1005426f
cmp byte [esi + 0xec], 0
jne 0x1005426f
mov byte [edi + 0xe6d], 0
cmp byte [esi + 0xfc], 0
je 0x10054281
cmp byte [esi + 0xfe], 0
je 0x1005428e
test al, al
je 0x10054297
cmp byte [esi + 0xff], 0
je 0x10054297
mov byte [ebp - 0xb5], 1
jmp 0x1005429e
mov byte [ebp - 0xb5], 0
test edx, 0x400
je 0x10054503
mov eax, dword [0x1011138c]
mov ecx, dword [eax + 0x34]
test ecx, ecx
js 0x10054503
call fcn.100347d0
mov ecx, dword [ebp - 0xe4]
test al, al
mov al, byte [ebp - 0xb5]
je 0x10054366
test al, al
jne 0x10054366
cmp byte [esi + 0xfd], al
jne 0x10054366
test cl, cl
jne 0x10054366
mov ecx, dword [esi + 0x1510]
mov eax, dword [esi + 0x1508]
lea edx, [ecx + eax*2]
cmp ecx, edx
jae 0x10054312
mov ax, word [ecx]
add ecx, 2
cmp ax, 9
je 0x1005435a
cmp ecx, edx
jb 0x10054302
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0xec]
push 2
sub esp, 8
mov dword [ebp - 0xec], 9
call fcn.10053020
add esp, 0xc
test al, al
je 0x1005435a
push dword [ebp - 0xec]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10051ee0
add esp, 4
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mov ecx, dword [ebp - 0xe4]
mov al, byte [ebp - 0xb5]
mov edx, dword [ebx + 0x14]
cmp dword [esi + 0x1508], 0
jle 0x10054468
test al, al
jne 0x10054430
test cl, cl
jne 0x10054430
cmp byte [ebp - 0xb6], cl
jne 0x10054430
xor ecx, ecx
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0xbc], ecx
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [esi + 0x1510]
movzx eax, word [eax + ecx]
mov dword [ebp - 0xec], eax
cmp eax, 9
jne 0x100543ce
cmp byte [esi + 0xfd], 0
jne 0x1005440f
push 2
sub esp, 8
lea ecx, [ebp - 0xec]
call fcn.10053020
add esp, 0xc
test al, al
je 0x10054409
push dword [ebp - 0xec]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10051ee0
add esp, 4
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mov ecx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0x14c]
add ecx, 2
mov edx, dword [ebx + 0x14]
inc eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0xbc], ecx
cmp eax, dword [esi + 0x1508]
jl 0x100543b0
mov ecx, dword [esi + 0x150c]
lea eax, [esi + 0x1508]
test ecx, ecx
jns 0x10054462
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 + 0x1508]
call fcn.10040ea0
lea eax, [esi + 0x1508]
mov dword [eax], 0
mov edx, dword [ebp - 0xd8]
xor cl, cl
mov byte [ebp - 0xb5], cl
cmp dword [esi + 0x1bd0], edx
jne 0x10054f8a
cmp byte [esi + 0x1bdc], cl
jne 0x10054f8a
cmp byte [ebp - 0xed], cl
jne 0x10054f8a
movss xmm0, dword [ebp - 0x10c]
subss xmm0, dword [esi + 0x1554]
mov ecx, dword [ebp - 0xf8]
divss xmm0, dword [esi + 0x1930]
cvttss2si eax, xmm0
cmp eax, 1
cmovge ecx, eax
xor eax, eax
mov dword [edi + 0x4c], ecx
cmp byte [esi + 0xfd], al
mov dword [ebp - 0xf8], ecx
mov ecx, 0x400000
cmovne eax, ecx
mov dword [ebp - 0xd4], eax
mov al, byte [esi + 0xb1]
mov byte [ebp - 0x145], al
test al, al
je 0x10054514
cmp dword [esi + 0x37c], 0xa
jne 0x10054514
mov byte [ebp - 0xbf], 1
jmp 0x1005451f
mov al, byte [ebp - 0xb5]
mov ecx, dword [ebp - 0xe4]
jmp 0x10054369
mov byte [ebp - 0xbf], 0
test al, al
je 0x1005454a
cmp byte [esi + 0xff], 0
mov al, byte [esi + 0xfe]
mov byte [ebp - 0xb8], al
je 0x1005455d
cmp byte [esi + 0xfc], 0
jne 0x1005455d
test al, al
jne 0x1005455d
mov byte [ebp - 0xb7], 1
jmp 0x10054564
mov al, byte [esi + 0xfc]
mov byte [ebp - 0xb8], al
mov byte [ebp - 0xbf], 0
mov byte [ebp - 0xb7], 0
cmp byte [esi + 0xb1], 0
mov edx, dword [esi + 0x37c]
je 0x10054578
cmp edx, 8
jmp 0x1005457b
cmp edx, 1
sete al
mov byte [ebp - 0xb6], al
test al, al
je 0x100545a6
mov eax, dword [0x1011138c]
mov ecx, dword [eax + 0x80]
test ecx, ecx
js 0x100545a6
call fcn.100347d0
test al, al
jne 0x100545c0
mov edx, dword [esi + 0x37c]
cmp edx, 2
jne 0x100545ec
mov eax, dword [0x1011138c]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x100545ec
call fcn.100347d0
test al, al
je 0x100545ec
cmp byte [ebp - 0xe4], 0
jne 0x100545ec
cmp byte [ebp - 0x150], 0
jne 0x100545ec
cmp byte [ebp - 0xe0], 0
je 0x100545e3
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x100545ec
mov byte [ebp - 0xbd], 1
jmp 0x100545f3
mov byte [ebp - 0xbd], 0
cmp byte [ebp - 0xb6], 0
je 0x10054611
mov eax, dword [0x1011138c]
mov ecx, dword [eax + 0x78]
test ecx, ecx
js 0x10054611
call fcn.100347d0
test al, al
jne 0x1005462f
cmp dword [esi + 0x37c], 1
jne 0x10054652
mov eax, dword [0x1011138c]
mov ecx, dword [eax + 0x58]
test ecx, ecx
js 0x10054652
call fcn.100347d0
test al, al
je 0x10054652
cmp byte [ebp - 0x150], 0
jne 0x10054652
cmp byte [ebp - 0xe0], 0
je 0x10054649
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x10054652
mov byte [ebp - 0x146], 1
jmp 0x10054659
mov byte [ebp - 0x146], 0
cmp byte [ebp - 0xb6], 0
je 0x10054677
mov eax, dword [0x1011138c]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
js 0x10054677
call fcn.100347d0
test al, al
jne 0x10054695
cmp dword [esi + 0x37c], 2
jne 0x100546a5
mov eax, dword [0x1011138c]
mov ecx, dword [eax + 0x58]
test ecx, ecx
js 0x100546a5
call fcn.100347d0
test al, al
je 0x100546a5
cmp byte [ebp - 0xe4], 0
mov byte [ebp - 0xf9], 1
je 0x100546ac
mov byte [ebp - 0xf9], 0
mov dl, byte [ebp - 0xb6]
test dl, dl
je 0x100546ef
mov eax, dword [0x1011138c]
mov ecx, dword [eax + 0x88]
test ecx, ecx
js 0x100546ef
call fcn.100347d0
test al, al
je 0x100546e9
cmp byte [ebp - 0xe4], 0
jne 0x100546e9
cmp byte [ebp - 0xd0], 0
je 0x100546e9
mov byte [ebp - 0x111], 1
jmp 0x100546fa
mov dl, byte [ebp - 0xb6]
mov byte [ebp - 0x111], 0
test dl, dl
je 0x10054712
mov eax, dword [0x1011138c]
mov ecx, dword [eax + 0x84]
test ecx, ecx
js 0x10054712
call fcn.100347d0
test al, al
jne 0x10054733
cmp byte [ebp - 0xbf], 0
je 0x1005474c
mov eax, dword [0x1011138c]
mov ecx, dword [eax + 0x88]
test ecx, ecx
js 0x1005474c
call fcn.100347d0
test al, al
je 0x1005474c
cmp byte [ebp - 0xe4], 0
jne 0x1005474c
cmp byte [ebp - 0xd0], 0
mov byte [ebp - 0xbf], 1
jne 0x10054753
mov byte [ebp - 0xbf], 0
mov eax, dword [0x1011138c]
mov ecx, dword [eax + 0x38]
test ecx, ecx
js 0x100547b6
call fcn.100347d0
test al, al
je 0x100547b6
cmp byte [ebp - 0xb7], 0
je 0x1005478c
mov eax, 0x200004
lea edx, [edi + 0x3c]
or eax, dword [ebp - 0xd4]
mov ecx, edi
push eax
call fcn.10051ee0
jmp 0x10054f4d
mov eax, 0x200000
mov ecx, 0x20000c
cmp byte [ebp - 0xb8], 0
lea edx, [edi + 0x3c]
cmovne eax, ecx
mov ecx, edi
or eax, dword [ebp - 0xd4]
push eax
call fcn.10051ee0
jmp 0x10054f4d
mov eax, dword [0x1011138c]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
js 0x100547f9
call fcn.100347d0
test al, al
je 0x100547f9
cmp byte [ebp - 0xb7], 0
je 0x100547ef
mov eax, 0x200005
lea edx, [edi + 0x3c]
or eax, dword [ebp - 0xd4]
mov ecx, edi
push eax
call fcn.10051ee0
jmp 0x10054f4d
mov eax, 0x200001
lea ecx, [eax + 0xc]
jmp 0x10054796
mov eax, dword [0x1011138c]
mov ecx, dword [eax + 0x40]
test ecx, ecx
js 0x10054877
call fcn.100347d0
test al, al
je 0x10054877
cmp byte [ebp - 0xe0], 0
je 0x10054877
cmp byte [esi + 0xfc], 0
je 0x10054853
mov edx, dword [ebp - 0x124]
movss xmm0, dword [edx + 0x5c]
subss xmm0, dword [esi + 0x1930]
mov dword [edx + 0x74], 0
mov dword [edx + 0x7c], 0
maxss xmm0, dword [0x10109b10]
movss dword [edx + 0x6c], xmm0
jmp 0x10054f61
movzx eax, byte [ebp - 0xb7]
lea edx, [edi + 0x3c]
mov ecx, edi
lea eax, [eax*4 + 0x200002]
or eax, dword [ebp - 0xd4]
push eax
call fcn.10051ee0
jmp 0x10054f4d
mov ecx, dword [0x1011138c]
mov ecx, dword [ecx + 0x44]
test ecx, ecx
js 0x10054902
call fcn.100347d0
test al, al
je 0x10054902
cmp byte [ebp - 0xe0], 0
je 0x10054902
cmp byte [esi + 0xfc], 0
je 0x100548de
mov ecx, dword [ebp - 0x124]
movss xmm0, dword [esi + 0x1930]
mov eax, dword [0x1011138c]
addss xmm0, dword [ecx + 0x5c]
mov eax, dword [eax + 0x1b9c]
minss xmm0, dword [eax + 0x64]
mov dword [ecx + 0x74], 0
mov dword [ecx + 0x7c], 0
movss dword [ecx + 0x6c], xmm0
jmp 0x10054f61
movzx eax, byte [ebp - 0xb7]
lea edx, [edi + 0x3c]
mov ecx, edi
lea eax, [eax*4 + 0x200003]
or eax, dword [ebp - 0xd4]
push eax
call fcn.10051ee0
jmp 0x10054f4d
mov eax, dword [0x1011138c]
mov ecx, dword [eax + 0x48]
test ecx, ecx
js 0x10054974
call fcn.100347d0
test al, al
je 0x10054974
cmp byte [ebp - 0xe0], 0
je 0x10054974
mov ecx, dword [ebp - 0xd4]
lea edx, [edi + 0x3c]
or ecx, 0x20000e
push ecx
mov ecx, edi
call fcn.10051ee0
movd xmm0, dword [ebp - 0xf8]
movss xmm1, dword [ebp - 0x158]
cvtdq2ps xmm0, xmm0
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mulss xmm0, dword [esi + 0x1930]
subss xmm1, xmm0
movss dword [ebp - 0x158], xmm1
jmp 0x10054f5e
mov eax, dword [0x1011138c]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
js 0x100549e2
call fcn.100347d0
test al, al
je 0x100549e2
cmp byte [ebp - 0xe0], 0
je 0x100549e2
mov ecx, dword [ebp - 0xd4]
lea edx, [edi + 0x3c]
or ecx, 0x20000f
push ecx
mov ecx, edi
call fcn.10051ee0
movd xmm0, dword [ebp - 0xf8]
cvtdq2ps xmm0, xmm0
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mulss xmm0, dword [esi + 0x1930]
addss xmm0, dword [ebp - 0x158]
movss dword [ebp - 0x158], xmm0
jmp 0x10054f5e
mov eax, dword [0x1011138c]
mov ecx, dword [eax + 0x50]
test ecx, ecx
js 0x10054a24
call fcn.100347d0
test al, al
je 0x10054a24
mov ecx, dword [ebp - 0xd4]
lea edx, [edi + 0x3c]
mov eax, ecx
or ecx, 0x200004
or eax, 0x200006
cmp byte [esi + 0xfc], 0
cmovne ecx, eax
push ecx
mov ecx, edi
call fcn.10051ee0
jmp 0x10054f4d
mov eax, dword [0x1011138c]
mov ecx, dword [eax + 0x54]
test ecx, ecx
js 0x10054a66
call fcn.100347d0
test al, al
je 0x10054a66
mov ecx, dword [ebp - 0xd4]
lea edx, [edi + 0x3c]
mov eax, ecx
or ecx, 0x200005
or eax, 0x200007
cmp byte [esi + 0xfc], 0
cmovne ecx, eax
push ecx
mov ecx, edi
call fcn.10051ee0
jmp 0x10054f4d
mov eax, dword [0x1011138c]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x10054aa0
call fcn.100347d0
test al, al
je 0x10054aa0
cmp byte [ebp - 0xe4], 0
jne 0x10054aa0
mov ecx, dword [ebp - 0xd4]
lea edx, [edi + 0x3c]
or ecx, 0x200008
push ecx
mov ecx, edi
call fcn.10051ee0
jmp 0x10054f4d
mov eax, dword [0x1011138c]
mov ecx, dword [eax + 0x60]
test ecx, ecx
js 0x10054b45
call fcn.100347d0
test al, al
je 0x10054b45
cmp byte [ebp - 0xe4], 0
jne 0x10054b45
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x10054b29
cmp byte [ebp - 0xb8], 0
je 0x10054ae2
push 0x60000c
jmp 0x10054b0b
cmp byte [ebp - 0x145], 0
je 0x10054b29
cmp byte [esi + 0xff], 0
je 0x10054b29
cmp byte [esi + 0xfe], 0
jne 0x10054b29
cmp byte [esi + 0xfc], 0
jne 0x10054b29
push 0x600004
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10051ee0
mov dword [edi + 0xe68], 0xbe99999a
add esp, 4
mov byte [edi + 0xe6c], 1
mov ecx, dword [ebp - 0xd4]
lea edx, [edi + 0x3c]
or ecx, 0x200009
push ecx
mov ecx, edi
call fcn.10051ee0
jmp 0x10054f4d
mov eax, dword [0x1011138c]
mov ecx, dword [eax + 0x68]
test ecx, ecx
js 0x10054b5a
call fcn.100347d0
test al, al
jne 0x10054b73
mov eax, dword [0x1011138c]
mov ecx, dword [eax + 0x70]
test ecx, ecx
js 0x10054bf2
call fcn.100347d0
test al, al
je 0x10054bf2
mov edx, dword [ebx + 0x14]
mov eax, edx
shr eax, 0xb
and al, 1
cmp byte [ebp - 0xe0], 0
je 0x10054b94
mov cl, byte [esi + 0xfc]
test al, al
je 0x10054ba7
test cl, cl
jne 0x10054bab
mov byte [ebp - 0xed], 1
mov byte [ebp - 0xd9], 1
jmp 0x10054f61
test cl, cl
jne 0x10054b94
cmp byte [ebp - 0xe4], 0
jne 0x10054f61
push 2
sub esp, 8
mov dword [ebp - 0xd0], 0xa
lea ecx, [ebp - 0xd0]
call fcn.10053020
add esp, 0xc
test al, al
je 0x10054f61
push dword [ebp - 0xd0]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10051ee0
jmp 0x10054f4d
mov eax, dword [0x1011138c]
mov ecx, dword [eax + 0x6c]
test ecx, ecx
js 0x10054c14
call fcn.100347d0
test al, al
je 0x10054c14
mov cl, 1
mov byte [ebp - 0xed], cl
jmp 0x10054f67
mov al, byte [ebp - 0x111]
test al, al
jne 0x10054f2e
cmp byte [ebp - 0xbf], al
jne 0x10054f2e
cmp byte [ebp - 0xb6], al
je 0x10054c6b
mov eax, dword [0x1011138c]
mov ecx, dword [eax + 0x74]
test ecx, ecx
js 0x10054c6b
call fcn.100347d0
test al, al
je 0x10054c6b
mov eax, dword [edi + 4]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0x52], 0
mov byte [edi + 0xe6c], 1
jmp 0x10054f61
mov al, byte [ebp - 0xbd]
test al, al
jne 0x10054e1b
cmp byte [ebp - 0x146], al
jne 0x10054e1b
cmp byte [ebp - 0xf9], al
je 0x10054f61
mov eax, dword [0x1011138c]
mov ecx, dword [eax + 0xd0]
test ecx, ecx
je 0x10054cb6
push dword [eax + 0xd8]
call ecx
mov esi, eax
add esp, 4
test esi, esi
jne 0x10054cbb
jmp 0x10054f61
mov esi, 0x100fddc8
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10054cc0
mov eax, dword [0x1011138c]
sub ecx, edx
test eax, eax
je 0x10054cd8
inc dword [eax + 0x370]
lea eax, [ecx*2 + 2]
push eax
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
call eax
add esp, 4
mov dword [ebp - 0xf4], eax
cmp byte [esi], 0
mov dword [ebp - 0xd0], 0
je 0x10054d61
xor edi, edi
push 0
mov edx, esi
lea ecx, [ebp - 0xbc]
call fcn.1002ee50
add esp, 4
add esi, eax
cmp dword [ebp - 0xbc], 0
je 0x10054d4f
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0xbc]
push 5
sub esp, 8
call fcn.10053020
add esp, 0xc
test al, al
je 0x10054d4a
mov ecx, dword [ebp - 0xf4]
mov ax, word [ebp - 0xbc]
mov word [ecx + edi*2], ax
inc edi
cmp byte [esi], 0
jne 0x10054d01
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xd0], edi
mov edi, dword [ebp - 0x108]
mov esi, dword [ebp - 0xd0]
xor ecx, ecx
mov word [eax + esi*2], cx
test esi, esi
jle 0x10054dfa
mov edx, dword [edi + 0x44]
mov ecx, dword [edi + 4]
mov dword [ebp - 0xd0], edx
mov edx, dword [edi + 0x40]
cmp edx, dword [edi + 0x44]
je 0x10054dab
cmp edx, ecx
jle 0x10054d92
mov dword [edi + 0x40], ecx
mov edx, ecx
cmp dword [edi + 0x44], ecx
jle 0x10054da0
mov dword [edi + 0x44], ecx
mov dword [ebp - 0xd0], ecx
cmp edx, dword [ebp - 0xd0]
jne 0x10054dab
mov dword [edi + 0x3c], edx
cmp dword [edi + 0x3c], ecx
jle 0x10054db3
mov dword [edi + 0x3c], ecx
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10051e50
mov edx, dword [edi + 0x3c]
mov ecx, edi
push esi
push dword [ebp - 0xf4]
call fcn.100519b0
add esp, 8
test al, al
je 0x10054ded
mov edx, dword [edi + 0x3c]
lea ecx, [edi + 0x5c]
push esi
push 0
call fcn.10052d30
add esp, 8
mov byte [edi + 0x52], 0
add dword [edi + 0x3c], esi
mov eax, dword [ebp - 0xf4]
mov byte [edi + 0xe6c], 1
test eax, eax
je 0x10054e0e
mov ecx, dword [0x1011138c]
test ecx, ecx
je 0x10054e0e
dec dword [ecx + 0x370]
push eax
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call eax
jmp 0x10054f5e
cmp dword [esi + 0xd4], 0
je 0x10054eeb
mov ecx, dword [edi + 0x44]
mov eax, dword [edi + 0x40]
cmp eax, ecx
je 0x10054e3c
mov esi, ecx
cmovge ecx, eax
cmovl esi, eax
jmp 0x10054e41
mov ecx, dword [edi + 4]
xor esi, esi
mov eax, dword [edi + 0x14]
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0xec], esi
lea edx, [eax + ecx*2]
lea ecx, [eax + esi*2]
call fcn.1002f0f0
mov ecx, dword [0x1011138c]
inc eax
mov dword [ebp - 0xc4], eax
test ecx, ecx
je 0x10054e72
inc dword [ecx + 0x370]
push eax
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
call eax
mov esi, dword [edi + 0x14]
add esp, 4
mov ecx, dword [ebp - 0xd0]
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0x11c], eax
lea ecx, [esi + ecx*2]
push ecx
mov ecx, dword [ebp - 0xec]
lea ecx, [esi + ecx*2]
mov esi, eax
push ecx
mov ecx, esi
call fcn.1002f080
mov eax, dword [0x1011138c]
add esp, 8
mov ecx, dword [eax + 0xd4]
test ecx, ecx
je 0x10054ecc
push esi
push dword [eax + 0xd8]
call ecx
mov eax, dword [0x1011138c]
add esp, 8
test esi, esi
je 0x10054eda
test eax, eax
je 0x10054eda
dec dword [eax + 0x370]
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push esi
call eax
mov al, byte [ebp - 0xbd]
add esp, 4
test al, al
je 0x10054f61
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x10054f0f
mov eax, dword [edi + 4]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0x52], 0
mov byte [edi + 0xe6c], 1
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x10054f61
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10051e50
mov byte [edi + 0x52], 0
jmp 0x10054f61
movzx eax, al
lea edx, [edi + 0x3c]
xor eax, 1
mov ecx, edi
add eax, 0x20000a
push eax
call fcn.10051ee0
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x44], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0xe68], 0xbe99999a
mov byte [edi + 0xe6c], 1
add esp, 4
mov cl, byte [ebp - 0xb5]
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x10054f7c
cmp byte [ebp - 0xbe], 0
je 0x10054f7c
mov al, 1
jmp 0x10054f7e
xor al, al
or byte [ebp - 0x104], al
mov esi, dword [ebp - 0xe8]
mov eax, dword [ebp - 0xd8]
cmp dword [esi + 0x1bd0], eax
jne 0x10055796
xor eax, eax
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xd4], eax
test cl, cl
je 0x10055255
cmp byte [ebp - 0xe4], al
jne 0x1005523d
mov ecx, dword [edi + 0x2c]
mov eax, dword [ebp - 0xc8]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10054ff0
test dl, dl
je 0x10054fec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10054ff0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10054fd0
xor eax, eax
jmp 0x10054ff5
sbb eax, eax
or eax, 1
test eax, eax
je 0x1005523d
mov eax, dword [edi + 0x24]
xor edx, edx
mov ecx, dword [edi + 0x2c]
dec eax
mov dword [ebp - 0xf8], ecx
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 4], edx
test eax, eax
jle 0x10055182
lea edi, [eax + ecx]
mov esi, ecx
xor eax, eax
mov dword [ebp - 0xbc], eax
test edi, edi
je 0x10055048
cmp esi, edi
jae 0x10055072
cmp byte [esi], 0
je 0x10055072
push edi
mov edx, esi
lea ecx, [ebp - 0xc4]
call fcn.1002ee50
add esi, eax
add esp, 4
cmp dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xbc]
je 0x10055072
inc eax
jmp 0x1005503a
mov edi, dword [ebp - 0x108]
lea edx, [eax + 1]
mov esi, dword [ebp - 0xe8]
mov dword [ebp - 0xd0], edx
test edx, edx
jle 0x100550d5
mov ecx, 8
mov eax, edx
cmp edx, ecx
cmovl eax, ecx
mov dword [ebp - 0xc4], eax
test eax, eax
jle 0x100550d5
mov ecx, dword [0x1011138c]
test ecx, ecx
je 0x100550b1
inc dword [ecx + 0x370]
add eax, eax
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [ebp - 0xc4]
add esp, 4
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], ecx
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xf8]
add ecx, dword [ebp - 0xd4]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x138], edx
mov dword [ebp - 0xbc], eax
lea ecx, [eax - 2]
lea ecx, [ecx + edx*2]
mov dword [ebp - 0x144], ecx
cmp eax, ecx
jae 0x10055177
mov esi, dword [ebp - 0xc4]
mov edi, dword [ebp - 0x11c]
test edi, edi
je 0x10055129
cmp esi, edi
jae 0x10055165
cmp byte [esi], 0
je 0x10055165
push edi
mov edx, esi
lea ecx, [ebp - 0xc4]
call fcn.1002ee50
mov ecx, dword [ebp - 0xc4]
add esi, eax
mov eax, dword [ebp - 0xbc]
add esp, 4
test ecx, ecx
je 0x10055165
mov word [eax], cx
add eax, 2
mov dword [ebp - 0xbc], eax
cmp eax, dword [ebp - 0x144]
jb 0x10055121
mov edi, dword [ebp - 0x108]
mov esi, dword [ebp - 0xe8]
mov edx, dword [ebp - 0xd0]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0xd4]
lea ecx, [edx - 1]
xor edx, edx
test eax, eax
mov eax, dword [edi + 4]
mov dword [ebp - 0xc4], eax
cmovle ecx, edx
push ecx
mov dword [ebp - 0xd0], ecx
lea ecx, [edi + 0x5c]
push eax
call fcn.10052d30
add esp, 8
mov dword [ebp - 0x11c], eax
test eax, eax
je 0x100551d6
mov edx, dword [ebp - 0xc4]
xor ecx, ecx
test edx, edx
jle 0x100551d6
mov esi, eax
mov eax, dword [edi + 0x14]
mov ax, word [eax + ecx*2]
mov word [esi + ecx*2], ax
inc ecx
cmp ecx, edx
jl 0x100551c0
mov esi, dword [ebp - 0xe8]
push dword [edi + 4]
xor edx, edx
mov ecx, edi
call fcn.10051950
mov eax, dword [ebp - 0xd0]
add esp, 4
test eax, eax
jle 0x10055213
push eax
push dword [ebp - 0x130]
xor edx, edx
mov ecx, edi
call fcn.100519b0
add esp, 8
test al, al
je 0x10055213
mov eax, dword [ebp - 0xd0]
mov dword [edi + 0x3c], eax
mov byte [edi + 0x52], 0
mov ecx, dword [ebp - 0x130]
test ecx, ecx
je 0x10055236
mov eax, dword [0x1011138c]
test eax, eax
je 0x1005522c
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
cmp byte [ebp - 0xd9], 0
mov eax, dword [ebx + 0x14]
je 0x10055683
test al, 0x20
je 0x10055683
cmp byte [ebp - 0xe4], 0
jne 0x100552c2
mov eax, dword [edi + 0xc]
lea ecx, [edi + 0x18]
mov byte [edi + 0x30], 1
lea edx, [eax*4 + 1]
mov eax, dword [ecx + 4]
mov dword [ebp - 0xd0], edx
cmp edx, eax
jle 0x100552b0
test eax, eax
je 0x10055292
cdq
sub eax, edx
mov edx, dword [ebp - 0xd0]
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 0x1c]
jmp 0x10055297
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [edi + 0x18]
push eax
call fcn.10040e30
mov edx, dword [ebp - 0xd0]
lea ecx, [edi + 0x18]
mov dword [ecx], edx
mov ecx, dword [edi + 0x20]
push 0
push dword [edi + 0x14]
call fcn.1002f080
add esp, 8
mov edx, dword [ebx + 0x14]
test edx, 0x801c0
je 0x10055634
test dl, 0x40
je 0x100552fa
mov eax, dword [0x1011138c]
mov ecx, dword [eax + 0x34]
test ecx, ecx
js 0x100552fa
call fcn.100347d0
mov edx, dword [ebx + 0x14]
test al, al
je 0x100552fa
mov eax, 0x40
xor ecx, ecx
jmp 0x10055372
test dl, dl
jns 0x10055342
mov eax, dword [0x1011138c]
mov ecx, dword [eax + 0x40]
test ecx, ecx
js 0x10055320
call fcn.100347d0
mov edx, dword [ebx + 0x14]
test al, al
je 0x10055320
mov eax, 0x80
lea ecx, [eax - 0x7d]
jmp 0x10055372
mov eax, dword [0x1011138c]
mov ecx, dword [eax + 0x44]
test ecx, ecx
js 0x10055342
call fcn.100347d0
mov edx, dword [ebx + 0x14]
test al, al
je 0x10055342
mov eax, 0x80
lea ecx, [eax - 0x7c]
jmp 0x10055372
test edx, 0x80000
je 0x1005535a
cmp byte [edi + 0xe6e], 0
je 0x1005535a
mov eax, 0x80000
jmp 0x1005536d
test edx, 0x100
mov ecx, 0x100
mov eax, 0
cmovne eax, ecx
mov ecx, 0x16
test eax, eax
je 0x10055634
mov dword [ebp - 0x84], eax
xor esi, esi
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x70], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x6c], eax
mov eax, dword [edi + 0x34]
mov word [ebp - 0x63], si
mov dword [ebp - 0x7c], esi
mov esi, dword [edi + 0x14]
mov dword [ebp - 0x68], eax
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x74], ecx
mov ecx, esi
mov dword [ebp - 0x78], 0
lea edx, [esi + eax*2]
mov byte [ebp - 0x61], 0
mov byte [ebp - 0x64], 0
call fcn.1002f0f0
mov ecx, dword [ebp - 0x108]
mov edi, eax
mov dword [ebp - 0x60], edi
mov ecx, dword [ecx + 0x40]
lea edx, [esi + ecx*2]
mov ecx, esi
call fcn.1002f0f0
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 0x44]
lea edx, [esi + ecx*2]
mov ecx, esi
call fcn.1002f0f0
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x84]
push eax
xor eax, eax
call eax
mov al, byte [ebp - 0x64]
add esp, 4
mov edx, dword [ebp - 0x60]
mov byte [ebp - 0xbd], al
cmp edx, edi
jne 0x1005541f
test al, al
je 0x1005547a
mov esi, dword [ebp - 0x70]
xor eax, eax
lea edi, [edx + esi]
mov dword [ebp - 0xbc], eax
test edi, edi
je 0x10055435
cmp esi, edi
jae 0x1005545f
cmp byte [esi], 0
je 0x1005545f
push edi
mov edx, esi
lea ecx, [ebp - 0xc4]
call fcn.1002ee50
add esi, eax
add esp, 4
cmp dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xbc]
je 0x1005545f
inc eax
jmp 0x10055427
mov edi, dword [ebp - 0x108]
mov edx, dword [ebp - 0x60]
mov dword [edi + 0x3c], eax
mov al, byte [ebp - 0xbd]
mov byte [edi + 0xe6c], 1
jmp 0x10055480
mov edi, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [ebp - 0x11c]
jne 0x1005548f
test al, al
je 0x100554e4
cmp ecx, edx
jne 0x10055498
mov eax, dword [edi + 0x3c]
jmp 0x100554e1
mov esi, dword [ebp - 0x70]
xor eax, eax
lea edi, [ecx + esi]
mov dword [ebp - 0xbc], eax
test edi, edi
je 0x100554ae
cmp esi, edi
jae 0x100554d8
cmp byte [esi], 0
je 0x100554d8
push edi
mov edx, esi
lea ecx, [ebp - 0xc4]
call fcn.1002ee50
add esi, eax
add esp, 4
cmp dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xbc]
je 0x100554d8
inc eax
jmp 0x100554a0
mov ecx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x108]
mov dword [edi + 0x40], eax
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x144]
jne 0x100554fc
cmp byte [ebp - 0xbd], 0
je 0x1005562e
cmp eax, ecx
jne 0x10055505
mov eax, dword [edi + 0x40]
jmp 0x1005554b
mov esi, dword [ebp - 0x70]
lea edi, [eax + esi]
xor eax, eax
mov dword [ebp - 0xbc], eax
test edi, edi
je 0x1005551b
cmp esi, edi
jae 0x10055545
cmp byte [esi], 0
je 0x10055545
push edi
mov edx, esi
lea ecx, [ebp - 0xc4]
call fcn.1002ee50
add esi, eax
add esp, 4
cmp dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xbc]
je 0x10055545
inc eax
jmp 0x1005550d
mov edi, dword [ebp - 0x108]
cmp byte [ebp - 0xbd], 0
mov dword [edi + 0x44], eax
je 0x1005562e
mov esi, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x100]
cmp esi, ecx
jle 0x100555aa
cmp byte [ebp - 0x118], 0
je 0x100555aa
mov eax, dword [edi + 0x10]
sub esi, ecx
add esi, dword [edi + 0xc]
cmp esi, eax
jle 0x100555a7
test eax, eax
je 0x10055590
cdq
sub eax, edx
lea edx, [edi + 0xc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x10055598
mov ecx, 8
lea edx, [edi + 0xc]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10040ea0
mov dword [edi + 0xc], esi
mov eax, dword [ebp - 0x70]
mov ecx, dword [edi + 0x14]
mov esi, ecx
mov dword [ebp - 0xc4], eax
mov eax, dword [edi + 0xc]
dec eax
mov dword [ebp - 0x144], ecx
lea eax, [ecx + eax*2]
mov dword [ebp - 0x11c], eax
cmp ecx, eax
jae 0x10055612
mov edi, dword [ebp - 0xc4]
cmp byte [edi], 0
je 0x10055606
push 0
mov edx, edi
lea ecx, [ebp - 0xc4]
call fcn.1002ee50
add edi, eax
add esp, 4
mov eax, dword [ebp - 0xc4]
test eax, eax
je 0x10055606
mov word [esi], ax
add esi, 2
cmp esi, dword [ebp - 0x11c]
jb 0x100555d5
mov edi, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x144]
xor eax, eax
mov word [esi], ax
sub esi, ecx
mov eax, dword [ebp - 0x6c]
sar esi, 1
mov dword [edi + 4], esi
mov dword [edi + 8], eax
mov dword [edi + 0xe68], 0xbe99999a
mov esi, dword [ebp - 0xe8]
cmp byte [ebp - 0xe4], 0
jne 0x10055680
mov ecx, dword [ebp - 0xc8]
mov eax, dword [edi + 0x20]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10055666
test dl, dl
je 0x10055662
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10055666
add eax, 2
add ecx, 2
test dl, dl
jne 0x10055646
xor eax, eax
jmp 0x1005566b
sbb eax, eax
or eax, 1
test eax, eax
mov eax, dword [ebx + 0x14]
je 0x10055683
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0xf8], ecx
mov ecx, dword [edi + 8]
jmp 0x10055689
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ebp - 0xf8]
test edx, edx
je 0x10055772
cmp byte [ebp - 0x118], 0
je 0x10055734
mov dword [ebp - 0xb0], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xa0], eax
lea eax, [ecx + 1]
cmp dword [ebx + 0xc], eax
movlpd qword [ebp - 0xa8], xmm0
cmovge eax, dword [ebx + 0xc]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0xb4]
push eax
xor eax, eax
movlpd qword [ebp - 0x94], xmm0
movlpd qword [ebp - 0x8c], xmm0
mov dword [ebp - 0xb4], 0x40000
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xac], 0
call eax
mov eax, dword [ebp - 0xa0]
add esp, 4
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x98]
mov dword [ebx + 0xc], eax
lea ecx, [eax - 1]
cmp dword [ebp - 0x9c], ecx
cmovl ecx, dword [ebp - 0x9c]
lea eax, [ecx + 1]
mov ecx, dword [ebx + 0xc]
cmp eax, ecx
cmovl ecx, eax
mov dword [ebx + 0xc], ecx
cmp ecx, 1
jb 0x1005576b
jbe 0x10055760
lea eax, [ecx - 1]
push eax
push edx
push dword [ebp - 0xc8]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov ecx, dword [ebx + 0xc]
add esp, 0xc
mov eax, dword [ebp - 0xc8]
mov byte [ecx + eax - 1], 0
mov byte [ebp - 0xfb], 1
mov eax, dword [ebp - 0xd8]
mov dword [edi + 0xe70], 0
mov dword [edi + 0xe74], 0
mov dword [edi + 0xe78], 0
cmp byte [ebp - 0xed], 0
je 0x100557ac
cmp dword [esi + 0x1bd0], eax
jne 0x100557ac
call fcn.100309c0
cmp byte [ebp - 0xe0], 0
jne 0x1005586d
mov edx, dword [ebp - 0xd8]
lea ecx, [ebp - 0x54]
push 1
call fcn.1002fc40
movss xmm1, dword [0x10109bb4]
add esp, 4
mov ecx, 7
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push dword [ebp - 0x54]
call fcn.1002f440
movss xmm2, dword [esi + 0x1558]
mov dl, 1
mov ecx, eax
call fcn.1002fa30
movss xmm7, dword [ebp - 0x54]
add esp, 0x10
movss xmm2, dword [ebp - 0x50]
movaps xmm4, xmm7
addss xmm4, dword [ebp - 0x154]
movaps xmm1, xmm2
movss dword [ebp - 0x3c], xmm7
addss xmm1, dword [ebp - 0x10c]
movaps xmm3, xmm7
movss dword [ebp - 0x38], xmm2
addss xmm3, dword [esi + 0x1550]
movaps xmm0, xmm2
movss dword [ebp - 0xd0], xmm4
addss xmm0, dword [esi + 0x1554]
movss dword [ebp - 0x34], xmm4
movss dword [ebp - 0xc4], xmm4
movss xmm4, dword [ebp - 0x154]
movss dword [ebp - 0xbc], xmm1
movss dword [ebp - 0x30], xmm1
jmp 0x100558d9
movss xmm1, dword [ebp - 0x54]
movss xmm4, dword [ebp - 0x154]
movaps xmm2, xmm1
movss xmm0, dword [ebp - 0x50]
addss xmm2, xmm4
mov eax, dword [ebp - 0x124]
movss dword [ebp - 0x3c], xmm1
movss dword [ebp - 0x38], xmm0
movss xmm3, dword [eax + 0xd0]
movaps xmm1, xmm2
movss dword [ebp - 0xd0], xmm1
movss dword [ebp - 0x34], xmm1
movaps xmm1, xmm0
addss xmm1, dword [ebp - 0x10c]
movss dword [ebp - 0xc4], xmm2
movaps xmm0, xmm1
movss dword [ebp - 0xbc], xmm0
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [eax + 0xd4]
cmp byte [ebp - 0xfa], 0
xorps xmm5, xmm5
movss dword [ebp - 0x134], xmm0
xorps xmm6, xmm6
movss dword [ebp - 0x28], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x138], xmm3
movss dword [ebp - 0x140], xmm3
movss dword [ebp - 0x11c], xmm1
movss dword [ebp - 0x2c], xmm3
movss dword [ebp - 0x14c], xmm0
movss dword [ebp - 0xec], xmm5
je 0x1005592e
mov eax, dword [edi + 0x20]
mov dword [ebp - 0xc8], eax
mov cl, byte [ebp - 0xc9]
mov dword [ebp - 0xd4], 0
test cl, cl
je 0x10055970
mov eax, dword [ebp - 0x13c]
mov ecx, eax
mov dword [ebp - 0xc8], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10055953
mov eax, dword [ebp - 0x13c]
sub ecx, edx
add eax, ecx
mov cl, byte [ebp - 0xc9]
mov dword [ebp - 0xd4], eax
mov al, byte [ebp - 0xbe]
test al, al
jne 0x10055ba0
cmp byte [ebp - 0x104], al
jne 0x10055ba0
cmp byte [ebp - 0xe0], al
je 0x100559f2
mov eax, dword [ebp - 0xc8]
xor ecx, ecx
mov dl, byte [eax]
lea edi, [eax + 1]
test dl, dl
je 0x100559b5
cmp dl, 0xa
lea eax, [ecx + 1]
mov dl, byte [edi]
cmovne eax, ecx
inc edi
mov ecx, eax
test dl, dl
jne 0x100559a3
mov al, byte [edi - 1]
dec edi
mov dword [ebp - 0xd4], edi
cmp al, 0xa
je 0x100559c8
cmp al, 0xd
je 0x100559c8
inc ecx
mov edx, dword [ebp - 0xd4]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esi + 0x1930]
movss dword [ebp - 0xec], xmm0
movaps xmm0, xmm4
movss dword [ebp - 0x14c], xmm0
jmp 0x10055a51
test cl, cl
jne 0x10055a36
mov eax, dword [ebp - 0xd8]
cmp dword [esi + 0x1bd0], eax
jne 0x10055a17
mov edx, dword [edi + 8]
mov edi, dword [ebp - 0xc8]
add edx, edi
mov dword [ebp - 0xd4], edx
jmp 0x10055a42
mov edi, dword [ebp - 0xc8]
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10055a22
sub ecx, edx
lea edx, [edi + ecx]
mov dword [ebp - 0xd4], edx
jmp 0x10055a42
mov edx, dword [ebp - 0xd4]
mov edi, dword [ebp - 0xc8]
mov eax, edx
sub eax, edi
cmp eax, 0x200000
jge 0x10056749
movzx ecx, byte [ebp - 0xc9]
movss xmm1, dword [0x10109bb4]
call fcn.1002f440
cmp byte [ebp - 0xe0], 0
mov ecx, edx
movss xmm2, dword [esi + 0x1930]
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0xc4], 0
cmovne edx, dword [ebp - 0xc4]
test dword [ebp - 0x118], 0xff000000
mov edi, dword [eax + 0x254]
mov eax, dword [esi + 0x192c]
mov dword [ebp - 0xd0], eax
je 0x10056743
cmp dword [ebp - 0xd4], 0
jne 0x10055ae9
mov ecx, dword [ebp - 0xc8]
lea eax, [ecx + 1]
mov dword [ebp - 0xc4], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10055ad0
sub ecx, dword [ebp - 0xc4]
add ecx, dword [ebp - 0xc8]
mov eax, dword [esi + 0x192c]
cmp dword [ebp - 0xc8], ecx
je 0x10056743
test eax, eax
jne 0x10055b05
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + 8]
mov dword [ebp - 0xd0], eax
ucomiss xmm2, dword [0x10109b10]
lahf
test ah, 0x44
jp 0x10055b1a
mov eax, dword [edi + 0x2c]
movss xmm2, dword [eax + 0xc]
movups xmm0, xmmword [edi + 0x60]
movups xmmword [ebp - 0x24], xmm0
test edx, edx
je 0x10055b61
movss xmm0, dword [ebp - 0x24]
maxss xmm0, dword [edx]
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [ebp - 0x20]
maxss xmm0, dword [edx + 4]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ebp - 0x1c]
minss xmm0, dword [edx + 8]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 0x18]
minss xmm0, dword [edx + 0xc]
movss dword [ebp - 0x18], xmm0
push dword [ebp - 0x134]
test edx, edx
push dword [ebp - 0x138]
setne al
movzx eax, al
push eax
push ecx
mov dword [esp], 0
lea eax, [ebp - 0x24]
push ecx
push dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xd0]
push eax
push dword [ebp - 0x118]
push edi
call fcn.10047310
jmp 0x10056743
test cl, cl
jne 0x10055bb9
mov eax, dword [edi + 8]
add eax, dword [ebp - 0xc8]
mov dword [ebp - 0xd4], eax
mov al, byte [ebp - 0xbe]
mov ecx, dword [edi + 0x14]
xor edx, edx
mov dword [ebp - 0xd8], ecx
movaps xmm7, xmm6
movss dword [ebp - 0x118], xmm6
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x100], 0xfffffc18
mov dword [ebp - 0xf8], 0xfffffc18
test al, al
je 0x10055c16
mov eax, dword [edi + 0x3c]
mov edx, 1
mov dword [ebp - 0x100], 0xffffffff
lea eax, [ecx + eax*2]
mov dword [ebp - 0x13c], eax
cmp byte [ebp - 0x104], 0
je 0x10055c49
mov ecx, dword [edi + 0x44]
cmp dword [edi + 0x40], ecx
mov eax, dword [ebp - 0xd8]
cmovl ecx, dword [edi + 0x40]
inc edx
mov dword [ebp - 0xf8], 0xffffffff
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0x120], eax
mov esi, dword [ebp - 0xd8]
mov eax, dword [ebp - 0xe0]
movzx eax, al
add edx, eax
xor eax, eax
movzx esi, word [esi]
test si, si
mov dword [ebp - 0xf4], eax
mov esi, dword [ebp - 0xe8]
je 0x10055ce6
mov edi, dword [ebp - 0xd8]
movzx esi, word [edi]
mov edi, dword [ebp - 0x100]
cmp si, 0xa
jne 0x10055cc0
inc eax
mov dword [ebp - 0xf4], eax
cmp edi, 0xffffffff
jne 0x10055ca4
cmp ecx, dword [ebp - 0x13c]
jb 0x10055ca4
dec edx
mov edi, eax
test edx, edx
jle 0x10055cd4
cmp dword [ebp - 0xf8], 0xffffffff
jne 0x10055cc0
cmp ecx, dword [ebp - 0x120]
jb 0x10055cc0
dec edx
mov dword [ebp - 0xf8], eax
test edx, edx
jle 0x10055cd4
movzx eax, word [ecx + 2]
add ecx, 2
mov esi, eax
test ax, ax
mov eax, dword [ebp - 0xf4]
jne 0x10055c83
mov esi, dword [ebp - 0xe8]
mov dword [ebp - 0x100], edi
mov edi, dword [ebp - 0x108]
mov edx, dword [ebp - 0xd8]
inc eax
cmp dword [ebp - 0x100], 0xffffffff
mov ecx, eax
mov dword [ebp - 0xf4], eax
cmovne ecx, dword [ebp - 0x100]
mov eax, dword [ebp - 0xf8]
cmp eax, 0xffffffff
mov dword [ebp - 0x130], ecx
cmove eax, dword [ebp - 0xf4]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x13c]
mov ecx, eax
cmp eax, edx
jbe 0x10055d3e
nop dword [eax + eax]
cmp word [ecx - 2], 0xa
je 0x10055d3e
add ecx, 0xfffffffe
cmp ecx, edx
ja 0x10055d30
movaps xmm4, xmm6
mov eax, dword [0x1011138c]
movaps xmm1, xmm6
movss dword [ebp - 0x100], xmm4
mov edx, dword [eax + 0x192c]
movss xmm2, dword [eax + 0x1930]
divss xmm2, dword [edx + 0x10]
cmp ecx, dword [ebp - 0x13c]
jae 0x10055dd8
mov esi, dword [ebp - 0x13c]
mov edi, edx
movzx eax, word [ecx]
add ecx, 2
mov edx, eax
cmp eax, 0xa
jne 0x10055d8e
maxss xmm4, xmm1
movaps xmm1, xmm6
jmp 0x10055db0
cmp edx, 0xd
je 0x10055db0
mov edx, eax
cmp edx, dword [edi]
jge 0x10055da3
mov eax, dword [edi + 8]
movss xmm0, dword [eax + edx*4]
jmp 0x10055da8
movss xmm0, dword [edi + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp ecx, esi
jb 0x10055d78
comiss xmm1, xmm4
mov edi, dword [ebp - 0x108]
mov esi, dword [ebp - 0xe8]
movss dword [ebp - 0x100], xmm4
jbe 0x10055dd8
movaps xmm4, xmm1
movss dword [ebp - 0x100], xmm1
cmp dword [ebp - 0xf8], 0
movd xmm3, dword [ebp - 0x130]
movss xmm0, dword [esi + 0x1930]
cvtdq2ps xmm3, xmm3
mulss xmm3, xmm0
movss dword [ebp - 0x144], xmm3
jl 0x10055ec7
mov eax, dword [ebp - 0x120]
mov ecx, eax
mov edx, dword [ebp - 0xd8]
cmp eax, edx
jbe 0x10055e24
cmp word [ecx - 2], 0xa
je 0x10055e24
add ecx, 0xfffffffe
cmp ecx, edx
ja 0x10055e16
movaps xmm1, xmm6
mov eax, dword [0x1011138c]
mov edx, dword [eax + 0x192c]
movss xmm2, dword [eax + 0x1930]
divss xmm2, dword [edx + 0x10]
cmp ecx, dword [ebp - 0x120]
jae 0x10055ea0
mov esi, dword [ebp - 0x120]
mov edi, edx
nop
movzx eax, word [ecx]
add ecx, 2
mov edx, eax
cmp eax, 0xa
jne 0x10055e66
maxss xmm7, xmm1
movaps xmm1, xmm6
jmp 0x10055e88
cmp edx, 0xd
je 0x10055e88
mov edx, eax
cmp edx, dword [edi]
jge 0x10055e7b
mov eax, dword [edi + 8]
movss xmm0, dword [eax + edx*4]
jmp 0x10055e80
movss xmm0, dword [edi + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp ecx, esi
jb 0x10055e50
comiss xmm1, xmm7
mov edi, dword [ebp - 0x108]
mov esi, dword [ebp - 0xe8]
jbe 0x10055ea0
movaps xmm7, xmm1
movd xmm3, dword [ebp - 0xf8]
movss xmm0, dword [esi + 0x1930]
cvtdq2ps xmm3, xmm3
mulss xmm3, xmm0
movss dword [ebp - 0x118], xmm3
movss xmm3, dword [ebp - 0x144]
mov ecx, dword [ebp - 0xe0]
movss xmm1, dword [ebp - 0x154]
test cl, cl
je 0x10055efb
movd xmm5, dword [ebp - 0xf4]
cvtdq2ps xmm5, xmm5
mulss xmm5, xmm0
movaps xmm0, xmm1
movss dword [ebp - 0x14c], xmm0
movss dword [ebp - 0xec], xmm5
cmp byte [ebp - 0xbe], 0
je 0x1005602d
cmp byte [edi + 0xe6c], 0
je 0x1005602d
test dword [ebx + 0x14], 0x1000
jne 0x10055f79
movaps xmm2, xmm1
subss xmm1, dword [esi + 0x1550]
mulss xmm2, dword [0x10109b5c]
movss dword [ebp - 0x154], xmm1
movss xmm1, dword [edi + 0x38]
comiss xmm1, xmm4
jbe 0x10055f53
movaps xmm1, xmm4
movaps xmm0, xmm6
subss xmm1, xmm2
maxss xmm0, xmm1
jmp 0x10055f67
movaps xmm0, xmm4
subss xmm0, dword [ebp - 0x154]
comiss xmm0, xmm1
jb 0x10055f80
addss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x38], xmm0
jmp 0x10055f80
mov dword [edi + 0x38], 0
test cl, cl
je 0x10056019
movss xmm2, dword [ebp - 0x158]
movaps xmm0, xmm3
subss xmm0, dword [esi + 0x1930]
comiss xmm2, xmm0
jbe 0x10055fb1
movss xmm3, dword [ebp - 0x10c]
movaps xmm2, xmm6
maxss xmm2, xmm0
jmp 0x10055fd5
movaps xmm0, xmm3
movss xmm3, dword [ebp - 0x10c]
subss xmm0, xmm3
comiss xmm0, xmm2
jb 0x10055fd5
movss xmm2, dword [esi + 0x1554]
addss xmm2, xmm2
addss xmm2, xmm0
comiss xmm6, xmm2
movss xmm1, dword [esi + 0x1554]
jbe 0x10055fe7
movaps xmm1, xmm6
jmp 0x10055ffb
addss xmm1, xmm1
addss xmm1, xmm5
subss xmm1, xmm3
maxss xmm1, xmm6
minss xmm1, xmm2
mov eax, dword [ebp - 0x124]
movss xmm0, dword [eax + 0x5c]
subss xmm0, xmm1
addss xmm0, dword [ebp - 0x28]
movss dword [ebp - 0x28], xmm0
movss dword [eax + 0x5c], xmm1
mov byte [edi + 0xe6c], 0
movss xmm0, dword [ebp - 0x2c]
movss dword [ebp - 0x140], xmm0
cmp byte [ebp - 0x104], 0
movss xmm5, dword [edi + 0x38]
movss dword [ebp - 0xf4], xmm5
je 0x1005631b
mov edx, dword [edi + 0x44]
mov eax, edx
mov ecx, dword [edi + 0x40]
cmp ecx, edx
mov esi, dword [ebp - 0xd8]
cmovl eax, ecx
cmovge edx, ecx
cmp byte [ebp - 0xbe], 0
lea esi, [esi + eax*2]
mov eax, dword [ebp - 0xd8]
lea edx, [eax + edx*2]
mov dword [ebp - 0x104], edx
je 0x10056082
movss xmm1, dword [0x10109bb4]
jmp 0x1005608a
movss xmm1, dword [0x10109b78]
mov ecx, 0x2f
call fcn.1002f440
mov ecx, dword [ebp - 0xe0]
xorps xmm0, xmm0
mov dword [ebp - 0x130], eax
test cl, cl
je 0x100560af
xorps xmm5, xmm5
xorps xmm6, xmm6
jmp 0x100560bf
movss xmm5, dword [0x10109cb8]
movss xmm6, dword [0x10109bf0]
movss xmm3, dword [ebp - 0x28]
movss dword [ebp - 0x13c], xmm6
movss dword [ebp - 0x120], xmm5
addss xmm3, dword [ebp - 0x118]
addss xmm7, dword [ebp - 0x140]
subss xmm3, xmm0
subss xmm7, dword [ebp - 0xf4]
movss dword [ebp - 0x118], xmm3
cmp esi, edx
jae 0x1005630a
movss xmm4, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xe8]
mov edi, dword [ebp - 0x130]
nop dword [eax]
nop dword [eax + eax]
movaps xmm0, xmm4
addss xmm0, dword [ecx + 0x1930]
comiss xmm3, xmm0
ja 0x100562fe
movss xmm0, dword [ebp - 0x50]
comiss xmm0, xmm3
jbe 0x1005615f
cmp esi, edx
jae 0x100562c6
mov ax, word [esi]
add esi, 2
cmp ax, 0xa
je 0x100562c6
cmp esi, edx
jb 0x10056146
jmp 0x100562c6
xorps xmm0, xmm0
mov eax, dword [0x1011138c]
xorps xmm4, xmm4
xorps xmm1, xmm1
mov edx, dword [eax + 0x192c]
movss xmm2, dword [eax + 0x1930]
divss xmm2, dword [edx + 0x10]
cmp esi, dword [ebp - 0x104]
jae 0x100561d2
movzx eax, word [esi]
add esi, 2
mov ecx, eax
cmp eax, 0xa
je 0x100561bf
cmp ecx, 0xd
je 0x100561b5
cmp ecx, dword [edx]
jge 0x100561a8
mov eax, dword [edx + 8]
movss xmm0, dword [eax + ecx*4]
jmp 0x100561ad
movss xmm0, dword [edx + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp esi, dword [ebp - 0x104]
jb 0x10056188
jmp 0x100561c9
xorps xmm4, xmm4
maxss xmm4, xmm1
xorps xmm1, xmm1
mov ecx, dword [ebp - 0xe8]
xorps xmm0, xmm0
maxss xmm1, xmm4
comiss xmm0, xmm1
jb 0x1005620b
mov eax, dword [ecx + 0x192c]
cmp dword [eax], 0x20
jle 0x100561f3
mov eax, dword [eax + 8]
movss xmm0, dword [eax + 0x80]
jmp 0x100561f8
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [0x10109b70]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm4, dword [ebp - 0xbc]
addss xmm1, xmm7
addss xmm7, dword [0x10109b10]
movaps xmm2, xmm5
movaps xmm0, xmm6
subss xmm2, dword [ecx + 0x1930]
movss xmm6, dword [ebp - 0xd0]
addss xmm0, xmm3
minss xmm1, xmm6
maxss xmm7, dword [ebp - 0x54]
addss xmm2, xmm3
minss xmm0, xmm4
movss dword [ebp - 0x1c], xmm1
movss dword [ebp - 0x24], xmm7
maxss xmm2, dword [ebp - 0x50]
comiss xmm0, dword [ebp - 0x50]
movss dword [ebp - 0x20], xmm2
movss dword [ebp - 0x18], xmm0
jbe 0x100562c0
comiss xmm4, xmm2
jbe 0x100562c0
comiss xmm1, dword [ebp - 0x54]
jbe 0x100562c0
comiss xmm6, xmm7
jbe 0x100562c0
push 0
push ecx
mov dword [esp], 0
lea eax, [ebp - 0x1c]
push edi
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax + 0x254]
call fcn.10044750
movss xmm3, dword [ebp - 0x2c]
movss xmm4, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xe8]
movss dword [ebp - 0x140], xmm3
movss xmm3, dword [ebp - 0x118]
mov edx, dword [ebp - 0x104]
movss xmm7, dword [ebp - 0x140]
movss xmm5, dword [ebp - 0x120]
movss xmm6, dword [ebp - 0x13c]
addss xmm3, dword [ecx + 0x1930]
subss xmm7, dword [ebp - 0xf4]
movss dword [ebp - 0x118], xmm3
cmp esi, edx
jb 0x10056120
mov edi, dword [ebp - 0x108]
mov ecx, dword [ebp - 0xe0]
mov esi, dword [ebp - 0xe8]
xorps xmm6, xmm6
movss xmm5, dword [ebp - 0xf4]
mov edx, dword [ebp - 0xd4]
test cl, cl
jne 0x10056338
mov eax, edx
sub eax, dword [ebp - 0xc8]
cmp eax, 0x200000
jge 0x10056582
movzx eax, byte [ebp - 0xc9]
mov ecx, dword [0x1011138c]
add eax, eax
movss xmm7, dword [0x10109bb4]
movups xmm2, xmmword [ecx + eax*8 + 0x15dc]
comiss xmm6, xmm2
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [ecx + 0x1518]
movups xmmword [ebp - 0x24], xmm2
jbe 0x10056374
movaps xmm0, xmm6
jmp 0x1005637b
movaps xmm0, xmm7
minss xmm0, xmm2
movss xmm2, dword [0x10109c68]
movss xmm4, dword [0x10109b70]
movss xmm3, dword [ebp - 0x20]
comiss xmm6, xmm3
mulss xmm0, xmm2
addss xmm0, xmm4
cvttss2si ecx, xmm0
jbe 0x100563a6
movaps xmm0, xmm6
jmp 0x100563ad
movaps xmm0, xmm7
minss xmm0, xmm3
movss xmm3, dword [ebp - 0x1c]
mulss xmm0, xmm2
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm6, xmm3
jbe 0x100563cd
movaps xmm0, xmm6
jmp 0x100563d4
movaps xmm0, xmm7
minss xmm0, xmm3
mulss xmm0, xmm2
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm6, xmm1
jbe 0x100563ef
movaps xmm0, xmm6
jmp 0x100563f6
movaps xmm0, xmm7
minss xmm0, xmm1
mulss xmm0, xmm2
mov dword [ebp - 0xbc], edx
mov edx, dword [esi + 0x192c]
movss xmm2, dword [esi + 0x1930]
addss xmm0, xmm4
mov dword [ebp - 0x118], edx
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x130], 0
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x140]
subss xmm0, xmm5
shl eax, 0x18
or eax, ecx
mov ecx, dword [ebp - 0x124]
cmp byte [ebp - 0xe0], 0
mov dword [ebp - 0x120], eax
cmovne edx, dword [ebp - 0x130]
mov ecx, dword [ecx + 0x254]
movss dword [ebp - 0x110], xmm0
movss xmm0, dword [ebp - 0x28]
mov dword [ebp - 0xd0], ecx
subss xmm0, xmm6
movss dword [ebp - 0x10c], xmm0
test eax, 0xff000000
je 0x10056582
cmp dword [ebp - 0xd4], 0
jne 0x100564c3
mov ecx, dword [ebp - 0xc8]
lea eax, [ecx + 1]
mov dword [ebp - 0x130], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100564a0
sub ecx, dword [ebp - 0x130]
mov eax, dword [ebp - 0xc8]
add eax, ecx
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0xbc], eax
jmp 0x100564c9
mov eax, dword [ebp - 0xbc]
cmp dword [ebp - 0xc8], eax
je 0x10056582
cmp dword [esi + 0x192c], 0
jne 0x100564ea
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x118], eax
ucomiss xmm2, xmm6
lahf
test ah, 0x44
jp 0x100564fb
mov eax, dword [ecx + 0x2c]
movss xmm2, dword [eax + 0xc]
movups xmm0, xmmword [ecx + 0x60]
movups xmmword [ebp - 0x24], xmm0
test edx, edx
je 0x10056542
movss xmm0, dword [ebp - 0x24]
maxss xmm0, dword [edx]
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [ebp - 0x20]
maxss xmm0, dword [edx + 4]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ebp - 0x1c]
minss xmm0, dword [edx + 8]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 0x18]
minss xmm0, dword [edx + 0xc]
movss dword [ebp - 0x18], xmm0
push dword [ebp - 0x10c]
test edx, edx
mov edx, dword [ebp - 0xbc]
push dword [ebp - 0x110]
setne al
movzx eax, al
push eax
push ecx
mov dword [esp], 0
lea eax, [ebp - 0x24]
push edx
push dword [ebp - 0xc8]
push eax
push dword [ebp - 0x120]
push ecx
mov ecx, dword [ebp - 0x118]
call fcn.10047310
cmp byte [ebp - 0xbe], 0
je 0x10056743
movss xmm0, dword [esi + 0x18]
addss xmm0, dword [edi + 0xe68]
movss dword [edi + 0xe68], xmm0
cmp byte [esi + 0xb2], 0
je 0x100565f4
xorps xmm1, xmm1
comiss xmm1, xmm0
jae 0x100565f4
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x110], xmm0
fld qword [ebp - 0x110]
fld qword [0x10109be8]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
movss xmm0, dword [0x10109b98]
fstp qword [ebp - 0x110]
movsd xmm1, qword [ebp - 0x110]
cvtpd2ps xmm1, xmm1
comiss xmm0, xmm1
jae 0x100565f4
xor cl, cl
jmp 0x100565f6
mov cl, 1
movss xmm0, dword [ebp - 0x100]
movss xmm6, dword [0x10109bb4]
addss xmm0, dword [ebp - 0x2c]
subss xmm0, dword [ebp - 0xf4]
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x28]
addss xmm0, dword [ebp - 0x144]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
subss xmm0, dword [0x10109b10]
movss dword [ebp - 0x130], xmm1
movaps xmm4, xmm1
movss dword [ebp - 0x3c], xmm1
addss xmm4, xmm6
cvttss2si eax, xmm0
movss dword [ebp - 0x34], xmm4
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [ebp - 0x144], xmm2
movaps xmm0, xmm2
movaps xmm3, xmm2
subss xmm0, dword [esi + 0x1930]
subss xmm3, dword [0x10109bd4]
addss xmm0, dword [0x10109b70]
movss dword [ebp - 0x30], xmm3
movss dword [ebp - 0x38], xmm0
test cl, cl
je 0x1005671e
comiss xmm3, dword [ebp - 0x50]
jbe 0x1005671e
movss xmm5, dword [ebp - 0x11c]
comiss xmm5, xmm0
jbe 0x1005671e
comiss xmm4, dword [ebp - 0x54]
jbe 0x1005671e
movss xmm0, dword [ebp - 0xc4]
comiss xmm0, xmm1
jbe 0x1005671e
sub esp, 8
movss dword [ebp - 0x110], xmm1
movaps xmm1, xmm6
movss dword [ebp - 0x10c], xmm3
xor ecx, ecx
mov dword [esp + 4], 0x3f800000
call fcn.1002f440
add esp, 4
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax + 0x254]
call fcn.10044550
movss xmm1, dword [ebp - 0x130]
movss xmm2, dword [ebp - 0x144]
movss xmm6, dword [0x10109bb4]
cmp byte [ebp - 0xe4], 0
jne 0x10056743
subss xmm2, dword [esi + 0x1930]
subss xmm1, xmm6
movss dword [esi + 0x2efc], xmm2
movss dword [esi + 0x2ef8], xmm1
mov edi, dword [ebp - 0xc8]
cmp byte [ebp - 0x150], 0
je 0x10056760
cmp byte [ebp - 0xc9], 0
jne 0x10056760
call fcn.10039f50
cmp byte [ebp - 0xe0], 0
je 0x10056814
mov ecx, dword [0x1011138c]
movss xmm1, dword [ebp - 0xec]
addss xmm1, dword [esi + 0x1554]
movss xmm4, dword [ebp - 0x14c]
mov eax, dword [ecx + 0x1b9c]
movss dword [ebp - 0x110], xmm4
movss dword [ebp - 0x10c], xmm1
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1b9c]
cmp byte [eax + 0x8f], 0
jne 0x1005680a
movss xmm0, dword [eax + 0xd4]
lea ecx, [ebp - 0x110]
movss xmm3, dword [eax + 0xd0]
movaps xmm2, xmm0
addss xmm2, xmm1
movss dword [ebp - 0x3c], xmm3
movss xmm1, dword [0x10109cb8]
addss xmm4, xmm3
movss dword [ebp - 0x38], xmm0
movss dword [ebp - 0x30], xmm2
movss dword [ebp - 0x34], xmm4
call fcn.1003a460
push 0
push 0
xor edx, edx
lea ecx, [ebp - 0x3c]
call fcn.1003a590
add esp, 8
call fcn.10034ae0
call fcn.1003abb0
cmp byte [esi + 0x2f50], 0
je 0x1005685b
cmp byte [ebp - 0x150], 0
je 0x1005682f
cmp byte [ebp - 0xc9], 0
je 0x1005685b
mov eax, dword [0x1011138c]
lea ecx, [ebp - 0x2c]
push dword [ebp - 0xd4]
mov edx, edi
mov dword [eax + 0x2f68], 0x10109788
mov dword [eax + 0x2f6c], 0x10109784
call fcn.1003f450
add esp, 4
movss xmm0, dword [ebp - 0x160]
comiss xmm0, dword [0x10109b10]
jbe 0x100568b4
movss xmm0, dword [ebp - 0x4c]
xor edx, edx
addss xmm0, dword [esi + 0x1568]
mov ecx, dword [ebp - 0x15c]
movss dword [ebp - 0x110], xmm0
movss xmm0, dword [ebp - 0x50]
addss xmm0, dword [esi + 0x1554]
movss dword [ebp - 0x10c], xmm0
push dword [ebp - 0x10c]
push dword [ebp - 0x110]
push 1
call fcn.1002f670
add esp, 0xc
mov dl, byte [ebp - 0xfb]
mov ecx, dword [ebx + 0x14]
test dl, dl
je 0x100568de
test ecx, 0x8000000
jne 0x100568de
mov eax, dword [0x1011138c]
or dword [eax + 0x1c40], 4
mov word [eax + 0x1be0], 0x101
test cl, 0x20
movzx eax, dl
movzx ecx, byte [ebp - 0xd9]
cmovne eax, ecx
jmp 0x1005357c