Function at 0x100450d0
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 0x1013de2d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x168
mov eax, dword [0x1018e4ac]
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 - 0x160], ecx
mov edi, dword [0x10191030]
mov esi, edi
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x158], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x114], eax
mov eax, dword [esi + 0x1a08]
mov dword [ebp - 0x124], 0x20
mov dword [ebp - 0xc8], esi
mov byte [eax + 0x7c], 1
mov eax, dword [esi + 0x1a08]
mov dword [ebp - 0x128], eax
cmp byte [eax + 0x7f], 0
jne 0x10045504
mov edx, dword [ebx + 0x14]
mov ecx, edx
shr ecx, 0x14
and ecx, 0xffffff01
mov dword [ebp - 0xfc], edx
mov dword [ebp - 0x100], ecx
mov ecx, edx
shr ecx, 0xe
and ecx, 0xffffff01
mov dword [ebp - 0x12c], ecx
mov ecx, edx
shr ecx, 0xf
and ecx, 0xffffff01
mov dword [ebp - 0x15c], ecx
mov ecx, edx
shr ecx, 0x10
not cl
and ecx, 0xffffff01
mov dword [ebp - 0xf4], ecx
mov ecx, edx
shr ecx, 0x12
and ecx, 0xffffff01
cmp byte [ebp - 0x100], 0
mov dword [ebp - 0x13c], ecx
je 0x100451db
call fcn.10026770
mov edi, dword [0x10191030]
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 0xbc]
xor edx, edx
mov eax, dword [eax + 0xc4]
push dword [eax + ecx*4 - 4]
mov ecx, dword [ebp - 0x160]
call fcn.1001c020
add esp, 4
mov dword [ebp - 0xe8], eax
cmp dword [edi + 0x1a3c], eax
jne 0x1004520f
mov dword [edi + 0x1a40], eax
cmp dword [edi + 0x1a74], eax
jne 0x1004521e
mov byte [edi + 0x1a78], 1
mov eax, dword [ebp - 0x160]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x10045246
nop dword [eax + eax]
mov dl, byte [ecx]
test dl, dl
je 0x10045246
cmp dl, 0x23
jne 0x10045240
cmp byte [ecx + 1], dl
je 0x10045246
inc ecx
cmp ecx, 0xffffffff
jb 0x10045230
movss xmm0, dword [edi + 0x18d4]
xorps xmm6, xmm6
cmp eax, ecx
jne 0x1004525f
movss dword [ebp - 0x168], xmm6
jmp 0x100452b5
movss xmm3, dword [0x101830a8]
movaps xmm2, xmm0
push ecx
push ecx
push eax
push ecx
mov ecx, dword [edi + 0x18d0]
lea eax, [ebp - 0x14c]
mov dword [esp], 0xbf800000
push eax
call fcn.10039c80
movss xmm0, dword [ebp - 0x14c]
xorps xmm6, xmm6
addss xmm0, dword [0x10182e40]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x168], xmm0
movss xmm0, dword [ebp - 0x148]
mov eax, dword [ebp - 0x158]
mov edx, dword [ebp - 0x100]
movss xmm7, dword [eax]
movss xmm3, dword [eax + 4]
movss dword [ebp - 0x150], xmm7
movss dword [ebp - 0x154], xmm3
test dl, dl
je 0x100452ee
movss xmm0, dword [esi + 0x18d4]
mulss xmm0, dword [0x10182ef4]
test byte [edi + 0x1ae8], 1
movss xmm5, dword [esi + 0x1554]
mov ecx, dword [edi + 0x1a08]
movaps xmm2, xmm5
addss xmm2, xmm5
addss xmm2, xmm0
je 0x1004531a
movss xmm0, dword [edi + 0x1aec]
jmp 0x10045322
movss xmm0, dword [ecx + 0x1a8]
comiss xmm6, xmm0
movss xmm4, dword [0x10182e48]
jbe 0x1004535d
mov eax, ecx
cmp dword [eax + 0x190], 0
movss xmm1, dword [eax + 0x244]
je 0x1004534a
movss xmm1, dword [eax + 0x224]
subss xmm1, dword [ecx + 0xc8]
addss xmm1, xmm0
movaps xmm0, xmm4
maxss xmm0, xmm1
comiss xmm6, xmm7
cvttss2si eax, xmm0
xorps xmm1, xmm1
xorps xmm0, xmm0
movd xmm4, eax
cvtdq2ps xmm4, xmm4
ja 0x10045378
comiss xmm6, xmm3
jbe 0x10045399
cmp dword [ecx + 0x190], 0
movss xmm0, dword [ecx + 0x244]
movss xmm1, dword [ecx + 0x248]
je 0x10045399
movss xmm0, dword [ecx + 0x224]
movss xmm3, dword [0x10182ee0]
ucomiss xmm7, xmm6
lahf
test ah, 0x44
jp 0x100453b7
movaps xmm7, xmm4
movss dword [ebp - 0x150], xmm7
jmp 0x100453e0
comiss xmm6, xmm7
jbe 0x100453e0
subss xmm0, dword [ecx + 0xc8]
addss xmm7, xmm0
comiss xmm3, xmm7
movss dword [ebp - 0x150], xmm7
jb 0x100453e0
movaps xmm7, xmm3
movss dword [ebp - 0x150], xmm3
movss xmm0, dword [ebp - 0x154]
ucomiss xmm0, xmm6
lahf
test ah, 0x44
jp 0x100453fb
movss dword [ebp - 0x154], xmm2
jmp 0x10045421
comiss xmm6, xmm0
jbe 0x10045421
subss xmm1, dword [ecx + 0xcc]
addss xmm0, xmm1
comiss xmm3, xmm0
movss dword [ebp - 0x154], xmm0
jb 0x10045421
movss dword [ebp - 0x154], xmm3
movss xmm0, dword [ebp - 0x168]
comiss xmm0, xmm6
jbe 0x1004543b
movaps xmm2, xmm0
addss xmm2, dword [esi + 0x1568]
jmp 0x1004543e
xorps xmm2, xmm2
mov eax, dword [ebp - 0x128]
addss xmm2, xmm7
mov dword [ebp - 0x134], eax
movss xmm4, dword [eax + 0xcc]
movss xmm3, dword [eax + 0xc8]
movaps xmm0, xmm4
movss dword [ebp - 0x60], xmm3
movaps xmm1, xmm3
movss dword [ebp - 0x5c], xmm4
addss xmm1, xmm7
movss dword [ebp - 0x24], xmm3
addss xmm2, xmm3
movss dword [ebp - 0x20], xmm4
addss xmm0, dword [ebp - 0x154]
movss dword [ebp - 0x58], xmm1
movss dword [ebp - 0x1c], xmm2
movss dword [ebp - 0x54], xmm0
movaps xmm0, xmm4
addss xmm0, dword [ebp - 0x154]
movss dword [ebp - 0x18], xmm0
test dl, dl
je 0x10045726
mov edx, dword [ebp - 0xe8]
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x24]
call fcn.10026470
add esp, 4
test al, al
jne 0x10045524
movss xmm0, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14c]
subss xmm0, dword [ebp - 0x24]
movss xmm1, dword [esi + 0x1554]
movss dword [ebp - 0x14c], xmm0
movss xmm0, dword [ebp - 0x18]
subss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0x148], xmm0
call fcn.10026340
call fcn.100268a0
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.1013ad45
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov esi, dword [0x10191030]
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x48], 3
movups xmm0, xmmword [esi + 0x1600]
lea ecx, [esi + 0x1afc]
movups xmmword [ebp - 0x44], xmm0
call fcn.1002be20
mov edi, dword [ebp - 0xc8]
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 6
movups xmm0, xmmword [edi + 0x1640]
movups xmmword [esi + 0x1600], xmm0
mov esi, dword [0x10191030]
movss xmm0, dword [edi + 0x1558]
movss dword [ebp - 0x158], xmm0
movss xmm0, dword [esi + 0x1540]
lea ecx, [esi + 0x1b08]
movss dword [ebp - 0x1c], xmm0
call fcn.1002bd60
movss xmm0, dword [ebp - 0x158]
lea eax, [ebp - 0x20]
movss dword [esi + 0x1540], xmm0
mov esi, dword [0x10191030]
movss xmm0, dword [edi + 0x155c]
movss dword [ebp - 0x158], xmm0
push eax
movss xmm0, dword [esi + 0x1544]
lea ecx, [esi + 0x1b08]
mov dword [ebp - 0x20], 7
movss dword [ebp - 0x1c], xmm0
call fcn.1002bd60
movss xmm0, dword [ebp - 0x158]
lea eax, [ebp - 0x20]
movss dword [esi + 0x1544], xmm0
mov esi, dword [0x10191030]
push eax
mov dword [ebp - 0x20], 1
movss xmm0, dword [esi + 0x151c]
lea ecx, [esi + 0x1b08]
movss xmm1, dword [esi + 0x1520]
movss dword [ebp - 0x1c], xmm0
movss dword [ebp - 0x18], xmm1
call fcn.1002bd60
movss xmm1, dword [ebp - 0x58]
sub esp, 8
movss xmm0, dword [ebp - 0x60]
movss xmm2, dword [ebp - 0x5c]
mov eax, dword [edi + 0x1550]
mov ecx, dword [edi + 0x1554]
mov edx, dword [ebp - 0xe8]
movss dword [ebp - 0x158], xmm1
subss xmm1, xmm0
movss dword [ebp - 0x138], xmm0
movss xmm0, dword [ebp - 0x54]
subss xmm0, xmm2
mov dword [esi + 0x151c], eax
lea eax, [ebp - 0x14c]
mov dword [esi + 0x1520], ecx
mov ecx, dword [ebp - 0x160]
push eax
movss dword [ebp - 0x164], xmm2
movss dword [ebp - 0x14c], xmm1
movss dword [ebp - 0x148], xmm0
call fcn.10020d90
add esp, 0xc
mov byte [ebp - 0xf5], al
mov ecx, 3
call fcn.1001c750
mov esi, dword [0x10191030]
mov ecx, dword [esi + 0x1afc]
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 0x1b04]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
add eax, 0x15d
shl eax, 4
add eax, esi
movups xmmword [eax], xmm0
dec dword [esi + 0x1afc]
cmp byte [ebp - 0xf5], 0
jne 0x100456f5
call fcn.10020fa0
jmp 0x100454ff
movss xmm0, dword [ebp - 0x150]
mov esi, edi
mov edi, dword [esi + 0x1a08]
mov dword [ebp - 0x134], edi
subss xmm0, dword [edi + 0x70]
mov eax, dword [edi + 0x138]
or dword [edi + 0x140], eax
movss dword [ebp - 0x150], xmm0
jmp 0x10045790
subss xmm2, xmm3
movaps xmm1, xmm5
subss xmm0, xmm4
lea ecx, [ebp - 0x14c]
movss dword [ebp - 0x14c], xmm2
movss dword [ebp - 0x148], xmm0
call fcn.10026340
mov edx, dword [ebp - 0xe8]
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x24]
call fcn.10026470
add esp, 4
test al, al
je 0x10045504
movss xmm0, dword [ebp - 0x5c]
movss xmm1, dword [ebp - 0x58]
movss dword [ebp - 0x164], xmm0
movss xmm0, dword [ebp - 0x60]
movss dword [ebp - 0x158], xmm1
movss dword [ebp - 0x138], xmm0
mov edx, dword [ebp - 0xe8]
lea ecx, [ebp - 0x60]
call fcn.1001db40
mov byte [ebp - 0xc2], al
test al, al
je 0x100457b2
mov dword [esi + 0x1df4], 1
mov edi, dword [0x10191030]
xor ecx, ecx
mov eax, dword [ebp - 0xe8]
add edi, 0x1ec8
mov edx, eax
cmp dword [edi], eax
cmovne edi, ecx
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0xec], edi
call fcn.1001dd00
mov dl, al
mov byte [ebp - 0xf5], dl
test dl, dl
je 0x10045866
mov eax, dword [ebp - 0x128]
cmp dword [esi + 0x1c58], eax
jne 0x10045866
mov ecx, dword [esi + 0x1c60]
cmp ecx, dword [eax + 0x19c]
jne 0x10045866
mov byte [ebp - 0xc1], 1
mov byte [ebp - 0xee], 0
cmp byte [ebp - 0xc2], 0
je 0x1004582d
cmp byte [esi + 0x3e0], 0
mov byte [ebp - 0xc9], 1
jne 0x10045834
mov byte [ebp - 0xc9], 0
mov ecx, dword [esi + 0x1a3c]
mov eax, dword [ebp - 0xe8]
cmp ecx, eax
je 0x10045881
cmp dword [esi + 0x1b50], eax
je 0x1004585d
cmp dword [esi + 0x1b44], eax
jne 0x10045881
cmp dword [esi + 0x1b68], 3
jne 0x10045881
mov byte [ebp - 0xcb], 1
jmp 0x10045888
mov byte [ebp - 0xc1], 0
test dl, dl
je 0x1004580d
mov byte [ebp - 0xee], 1
mov byte [ebp - 0xc1], 0
jmp 0x10045814
mov byte [ebp - 0xcb], 0
mov eax, dword [ebp - 0x100]
test al, al
je 0x100458dc
test edi, edi
je 0x100458dc
test ecx, ecx
jne 0x100458dc
mov eax, dword [ebp - 0x134]
xor edx, edx
mov ecx, dword [eax + 0xbc]
mov eax, dword [eax + 0xc4]
push dword [eax + ecx*4 - 4]
mov ecx, str.SCROLLY
call fcn.1001c020
add esp, 4
cmp dword [esi + 0x1a74], eax
jne 0x100458d0
mov byte [ebp - 0xca], 1
jmp 0x100458f2
mov ecx, dword [esi + 0x1a3c]
mov eax, dword [ebp - 0x100]
mov byte [ebp - 0xca], 0
test al, al
je 0x10045925
mov byte [ebp - 0xca], 0
test edi, edi
je 0x10045925
mov eax, dword [ebp - 0x134]
xor edx, edx
mov ecx, dword [eax + 0xbc]
mov eax, dword [eax + 0xc4]
push dword [eax + ecx*4 - 4]
mov ecx, str.SCROLLY
call fcn.1001c020
mov ecx, dword [esi + 0x1a3c]
add esp, 4
cmp ecx, eax
jne 0x10045925
mov al, 1
jmp 0x10045927
xor al, al
mov dl, byte [ebp - 0xcb]
mov byte [ebp - 0xd5], al
mov byte [ebp - 0x101], 0
cmp ecx, dword [ebp - 0xe8]
je 0x1004595f
test byte [ebp - 0xfc], 0x10
jne 0x1004594f
test dl, dl
je 0x1004595f
cmp byte [ebp - 0x100], 0
mov byte [ebp - 0xe0], 1
je 0x10045966
mov byte [ebp - 0xe0], 0
cmp byte [ebp - 0xf5], 0
jne 0x1004599a
cmp byte [ebp - 0xc9], 0
jne 0x1004599a
cmp byte [ebp - 0xca], 0
jne 0x1004599a
test dl, dl
jne 0x1004599a
mov byte [ebp - 0xca], dl
test al, al
jne 0x100459a1
mov byte [ebp - 0xed], al
jmp 0x10045bda
mov byte [ebp - 0xca], 1
mov byte [ebp - 0xed], 1
mov dword [ebp - 0xec], edi
cmp ecx, dword [ebp - 0xe8]
je 0x10045bda
mov ecx, dword [ebp - 0x114]
lea edi, [esi + 0x1ec8]
mov dword [ebp - 0xec], edi
mov dword [edi + 0xe60], 0xbe99999a
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100459e0
mov eax, dword [edi + 0x28]
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, eax
jle 0x10045a1d
test eax, eax
je 0x10045a06
cdq
sub eax, edx
lea edx, [edi + 0x24]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x10045a0e
mov ecx, 8
lea edx, [edi + 0x24]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.1002c860
push esi
push dword [ebp - 0x114]
mov dword [edi + 0x24], esi
push dword [edi + 0x2c]
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [edi + 0x10]
lea eax, [edi + 0xc]
add esp, 0xc
cmp esi, 0x21
jge 0x10045a69
test esi, esi
je 0x10045a4e
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x10045a53
mov ecx, 8
mov eax, 0x21
cmp ecx, eax
cmovg eax, ecx
lea ecx, [edi + 0xc]
push eax
call fcn.1002c260
lea eax, [edi + 0xc]
mov dword [eax], 0x21
mov ecx, dword [edi + 0x1c]
test ecx, ecx
jns 0x10045a8f
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.1002c860
mov eax, dword [ebp - 0x114]
mov dword [edi + 0x18], 0
mov edx, dword [edi + 0x14]
mov esi, edx
mov byte [edi + 0x30], 0
mov dword [ebp - 0xd0], edx
lea ecx, [edx + 0x3e]
cmp edx, ecx
jae 0x10045af6
mov edi, eax
cmp byte [edi], 0
je 0x10045ae4
push 0
mov edx, edi
lea ecx, [ebp - 0x50]
call fcn.1001c2d0
mov edx, dword [ebp - 0xd0]
add edi, eax
mov eax, dword [ebp - 0x50]
add esp, 4
test eax, eax
je 0x10045ae4
mov word [esi], ax
add esi, 2
lea eax, [edx + 0x3e]
cmp esi, eax
jb 0x10045ab4
mov dword [ebp - 0xd4], edi
mov edi, dword [ebp - 0xec]
mov eax, dword [ebp - 0xd4]
sub eax, dword [ebp - 0x114]
xor ecx, ecx
mov word [esi], cx
sub esi, edx
sar esi, 1
mov dword [edi + 8], eax
mov eax, dword [ebp - 0xe8]
mov dword [edi + 4], esi
cmp dword [edi], eax
jne 0x10045b3f
cmp dword [edi + 0x3c], esi
mov ecx, esi
cmovl ecx, dword [edi + 0x3c]
cmp dword [edi + 0x40], esi
mov dword [edi + 0x3c], ecx
mov ecx, esi
cmovl ecx, dword [edi + 0x40]
cmp dword [edi + 0x44], esi
mov dword [edi + 0x40], ecx
cmovl esi, dword [edi + 0x44]
mov ecx, dword [ebp - 0x100]
mov dword [edi + 0x44], esi
jmp 0x10045b9f
mov dword [edi], eax
mov dword [edi + 0x38], ecx
mov dword [edi + 0xe58], ecx
mov dword [edi + 0x40], ecx
mov dword [edi + 0x44], ecx
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x50], ecx
mov ecx, dword [ebp - 0x100]
mov al, cl
xor al, 1
mov dword [edi + 0xe52], 0x630000
mov dword [edi + 0xe5c], 0x3e7
mov dword [edi + 0x48], 0x10000
mov byte [edi + 0x4c], al
test cl, cl
jne 0x10045b9f
mov edx, dword [ebp - 0xe0]
mov eax, 1
cmp byte [ebp - 0xc1], cl
movzx edx, dl
cmovne edx, eax
mov dword [ebp - 0xe0], edx
mov edx, dword [ebp - 0xfc]
test edx, 0x2000
je 0x10045bb1
mov byte [edi + 0x48], 1
mov esi, dword [ebp - 0xc8]
test cl, cl
jne 0x10045bda
cmp byte [ebp - 0xee], cl
jne 0x10045bd3
cmp byte [ebp - 0xc9], cl
je 0x10045bda
cmp byte [esi + 0x100], cl
je 0x10045bda
mov byte [ebp - 0xe0], 1
mov ecx, dword [ebp - 0xe8]
cmp dword [esi + 0x1a3c], ecx
je 0x10045c9c
cmp byte [ebp - 0xca], 0
je 0x10045c94
mov edx, dword [ebp - 0x128]
call fcn.1001d980
call fcn.10027cd0
mov ecx, edx
call fcn.10025c80
mov eax, dword [esi + 0x1a50]
mov edx, dword [ebp - 0xfc]
or eax, 3
cmp byte [ebp - 0x100], 0
mov dword [esi + 0x1a50], eax
jne 0x10045c32
test dl, dl
jns 0x10045c3b
or eax, 0xc
mov dword [esi + 0x1a50], eax
mov eax, dword [esi + 0x1a58]
or dword [esi + 0x1a54], 2
or eax, 0x180
cmp byte [ebp - 0x100], 0
mov ecx, dword [esi + 0x1a5c]
mov dword [esi + 0x1a58], eax
mov dword [esi + 0x1a5c], ecx
je 0x10045c77
or eax, 0x60
mov dword [esi + 0x1a5c], ecx
mov dword [esi + 0x1a58], eax
test edx, 0x440
je 0x10045c8e
or eax, 1
mov dword [esi + 0x1a5c], ecx
mov dword [esi + 0x1a58], eax
mov ecx, dword [ebp - 0xe8]
cmp dword [esi + 0x1a3c], ecx
jne 0x10045cdd
test edi, edi
jne 0x10045caf
xor edx, edx
xor ecx, ecx
call fcn.1001d980
mov ecx, dword [ebp - 0xe8]
cmp dword [esi + 0x1a3c], ecx
jne 0x10045cdd
cmp byte [esi + 0x3e0], 0
je 0x10045cea
cmp byte [ebp - 0xed], 0
jne 0x10045cea
cmp byte [ebp - 0xca], 0
jne 0x10045cea
mov byte [ebp - 0x101], 1
mov dl, 1
jmp 0x10045cf0
test edi, edi
je 0x10045cee
cmp byte [ebp - 0xd5], 0
je 0x10045cee
mov dl, 1
jmp 0x10045cf0
xor dl, dl
mov byte [ebp - 0xc9], dl
test edi, edi
je 0x10045d0d
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x10045d0d
test dl, dl
je 0x10045d0d
mov edx, 1
jmp 0x10045d0f
xor dl, dl
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x128], edx
mov byte [ebp - 0x115], dl
mov byte [ebp - 0xf5], 0
mov byte [ebp - 0xee], 0
test al, al
je 0x10045e40
test edi, edi
je 0x10045e40
cmp byte [ebp - 0xc9], 0
jne 0x10045d50
test dl, dl
je 0x10045e4d
mov ecx, dword [edi + 0x10]
cmp ecx, 0x21
jge 0x10045d80
test ecx, ecx
je 0x10045d67
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10045d6c
mov eax, 8
cmp eax, 0x21
mov ecx, 0x21
cmovg ecx, eax
push ecx
lea ecx, [edi + 0xc]
call fcn.1002c260
mov eax, dword [ebp - 0x114]
mov dword [edi + 0xc], 0x21
mov edx, dword [edi + 0x14]
mov esi, edx
mov dword [ebp - 0xd0], edx
lea ecx, [edx + 0x40]
cmp edx, ecx
jae 0x10045de3
mov edi, eax
cmp byte [edi], 0
je 0x10045dd1
push 0
mov edx, edi
lea ecx, [ebp - 0x50]
call fcn.1001c2d0
mov edx, dword [ebp - 0xd0]
add edi, eax
mov eax, dword [ebp - 0x50]
add esp, 4
test eax, eax
je 0x10045dd1
mov word [esi], ax
add esi, 2
lea eax, [edx + 0x40]
cmp esi, eax
jb 0x10045da1
mov dword [ebp - 0xd4], edi
mov edi, dword [ebp - 0xec]
mov eax, dword [ebp - 0xd4]
sub eax, dword [ebp - 0x114]
xor ecx, ecx
mov word [esi], cx
sub esi, edx
sar esi, 1
cmp dword [edi + 0x3c], esi
mov ecx, esi
mov dword [edi + 4], esi
cmovl ecx, dword [edi + 0x3c]
cmp dword [edi + 0x40], esi
mov dword [edi + 0x3c], ecx
mov ecx, esi
cmovl ecx, dword [edi + 0x40]
cmp dword [edi + 0x44], esi
mov dword [edi + 8], eax
cmovl esi, dword [edi + 0x44]
xor edx, edx
movzx eax, byte [ebp - 0x115]
cmp ecx, esi
mov dword [edi + 0x40], ecx
mov ecx, dword [ebp - 0xe8]
cmovne edx, eax
mov eax, dword [ebp - 0x12c]
mov dword [edi + 0x44], esi
mov esi, dword [ebp - 0xc8]
mov dword [ebp - 0x128], edx
cmp byte [ebp - 0xc9], 0
jne 0x10045e55
test dl, dl
jne 0x10045e55
cmp dword [esi + 0x1a3c], ecx
jne 0x10045e69
test al, al
jne 0x10045e69
test edi, edi
je 0x10045e69
mov byte [ebp - 0x115], 1
cmp byte [edi + 0x30], al
jne 0x10045e70
mov byte [ebp - 0x115], 0
cmp byte [ebp - 0x15c], 0
je 0x10046046
mov edi, dword [esi + 0x18d0]
cmp dword [edi + 0x14], 0x2a
ja 0x10045e8e
mov eax, dword [edi + 0x2c]
jmp 0x10045ead
mov eax, dword [edi + 0x1c]
mov ecx, 0xffff
movzx eax, word [eax + 0x54]
cmp ax, cx
jne 0x10045ea4
mov eax, dword [edi + 0x2c]
jmp 0x10045ead
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x28]
lea eax, [eax + ecx*8]
mov dword [ebp - 0xd4], eax
lea edx, [esi + 0x2d3c]
mov eax, dword [edi + 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [esi + 0x18d0]
movss xmm0, dword [0x10182e48]
mov dword [ebp - 0x50], edx
mov eax, dword [eax + 0x48]
mov dword [edx + 0x48], eax
mov eax, dword [esi + 0x18d0]
mov ecx, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
mov dword [edx + 0x34], eax
mov dword [edx + 0x30], ecx
mov eax, dword [esi + 0x18d0]
mov eax, dword [eax + 0x4c]
mov dword [edx + 0x4c], eax
mov eax, dword [esi + 0x18d0]
mov eax, dword [eax + 0x50]
mov dword [edx + 0x50], eax
mov eax, dword [esi + 0x18d0]
mov eax, dword [eax + 0x38]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 0xd4]
mov dword [edx + 0x2c], eax
mov eax, dword [eax + 4]
mov dword [edx + 0xc], eax
mov eax, dword [0x10191030]
mov dword [ebp - 0xd4], eax
movss xmm1, dword [eax + 0x9c]
mov ecx, dword [eax + 0x1a08]
mov dword [eax + 0x18d0], edx
mulss xmm1, dword [edx + 0x10]
mulss xmm1, dword [edx + 0x48]
maxss xmm0, xmm1
movss dword [eax + 0x18d8], xmm0
test ecx, ecx
je 0x10045f70
mulss xmm0, dword [ecx + 0x270]
mov ecx, dword [ecx + 0x318]
test ecx, ecx
je 0x10045f73
mulss xmm0, dword [ecx + 0x270]
jmp 0x10045f73
xorps xmm0, xmm0
mov edi, dword [ebp - 0xd4]
movss dword [eax + 0x18d4], xmm0
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + 0x2c]
mov eax, dword [eax + 0x30]
mov dword [edi + 0x18dc], ecx
mov ecx, edi
mov dword [ecx + 0x18e0], eax
lea eax, [ebp - 0x50]
mov dword [ecx + 0x18e4], edx
movss dword [ecx + 0x18e8], xmm0
add ecx, 0x1b14
push eax
call fcn.1002c030
mov ecx, edi
mov edi, dword [ebp - 0xec]
mov eax, dword [ecx + 0x1a08]
mov ecx, dword [eax + 0x278]
mov eax, dword [esi + 0x2d74]
mov dword [ebp - 0x10c], ecx
lea edx, [ecx + 0x48]
mov eax, dword [eax + 8]
mov ecx, dword [edx]
mov dword [ebp - 0x110], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0xd0], edx
mov dword [ebp - 0x50], eax
cmp ecx, eax
jne 0x10046020
inc ecx
test eax, eax
je 0x10046008
cdq
sub eax, edx
mov edx, dword [ebp - 0xd0]
sar eax, 1
add eax, dword [ebp - 0x50]
jmp 0x1004600d
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.1002bee0
mov edx, dword [ebp - 0xd0]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [ebp - 0x110]
mov dword [eax + ecx*4], esi
mov eax, esi
mov ecx, dword [ebp - 0x10c]
inc dword [edx]
mov dword [ecx + 0x70], eax
call fcn.10034930
mov esi, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xe8]
movss xmm0, dword [0x10182e18]
mov dword [ebp - 0x50], 0
cmp dword [esi + 0x1a3c], ecx
jne 0x100464e7
mov eax, dword [edi + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xfc]
mov dword [edi + 0xe68], eax
mov dword [edi + 0x34], 0x20
mov dword [edi + 0xe6c], 0
mov dword [edi + 0xe70], 0
mov ah, byte [esi + 0xf0]
test ah, ah
mov dword [esi + 0x3050], 1
sete al
cmp byte [ebp - 0x100], 0
mov byte [esi + 0x1a49], al
movss xmm7, dword [esi + 0xe8]
subss xmm7, dword [ebp - 0x138]
subss xmm7, dword [esi + 0x1550]
addss xmm7, dword [edi + 0x38]
je 0x100460f5
mov ecx, dword [ebp - 0x134]
movss xmm2, dword [esi + 0xec]
subss xmm2, dword [ecx + 0xcc]
subss xmm2, dword [esi + 0x1554]
jmp 0x10046101
movss xmm2, dword [esi + 0x18d4]
mulss xmm2, xmm0
cmp byte [ebp - 0xe0], 0
mov dl, byte [esi + 0xb1]
mov byte [ebp - 0xc1], dl
jne 0x100462d8
mov cl, byte [ebp - 0xc2]
test cl, cl
je 0x10046138
test dl, dl
jne 0x100461e5
cmp byte [esi + 0x3e5], dl
jne 0x100462d8
cmp byte [esi + 0x3e0], 0
lea edx, [edi + 0xe65]
mov al, byte [edx]
je 0x10046249
test al, al
jne 0x10046249
test cl, cl
je 0x10046199
cmp byte [edi + 0x4c], al
je 0x10046172
push 0
mov edx, edi
lea ecx, [ebp - 0x4c]
call fcn.10043690
movss xmm2, dword [ebp - 0x40]
add esp, 4
movaps xmm1, xmm7
mov ecx, edi
call fcn.100439a0
mov dword [edi + 0x3c], eax
lea edx, [edi + 0xe65]
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov byte [edi + 0x4b], 0
mov dword [edi + 0xe60], 0xbe99999a
mov ecx, edx
mov dl, byte [ebp - 0xc1]
cmp byte [ecx], 0
je 0x100461b2
cmp byte [esi + 0xf0], 0
jne 0x100461b2
mov byte [ecx], 0
cmp byte [esi + 0x100], 0
je 0x100461c4
cmp byte [esi + 0x102], 0
je 0x100461d9
test dl, dl
je 0x100462fa
cmp byte [esi + 0x103], 0
je 0x100462fa
mov byte [ebp - 0xc1], 1
jmp 0x10046301
cmp byte [esi + 0x3e5], 0
je 0x10046138
push 0x20000c
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10043dc0
add esp, 4
mov byte [edi + 0xe64], 1
lea edx, [edi + 0x3c]
mov dword [edi + 0xe60], 0xbe99999a
mov ecx, edi
push 0x60000d
call fcn.10043dc0
mov esi, dword [ebp - 0xc8]
lea ecx, [edi + 0xe65]
add esp, 4
mov byte [edi + 0xe64], 1
mov dword [edi + 0xe60], 0xbe99999a
jmp 0x1004619b
mov ecx, edx
test ah, ah
je 0x1004619b
test al, al
jne 0x1004619b
movss xmm0, dword [esi + 0x378]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10046284
movss xmm0, dword [esi + 0x37c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1004619b
cmp byte [edi + 0x4c], 0
je 0x1004629e
push 0
mov edx, edi
lea ecx, [ebp - 0x4c]
call fcn.10043690
movss xmm2, dword [ebp - 0x40]
add esp, 4
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x100462ac
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x40], eax
movaps xmm1, xmm7
mov ecx, edi
call fcn.100439a0
mov dword [edi + 0x44], eax
lea ecx, [edi + 0xe65]
mov dword [edi + 0x3c], eax
mov dword [edi + 0xe60], 0xbe99999a
mov byte [edi + 0xe64], 1
jmp 0x1004619b
mov eax, dword [edi + 4]
lea ecx, [edi + 0xe65]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0x4b], 0
mov byte [ecx], 1
jmp 0x100461a1
mov byte [ebp - 0xc1], 0
test dword [ebp - 0xfc], 0x400
je 0x100463dd
mov esi, dword [0x10191030]
mov dword [ebp - 0xdc], esi
mov ecx, dword [esi + 0x34]
test ecx, ecx
js 0x100463e9
call fcn.10020cd0
mov dl, byte [ebp - 0xc1]
mov ecx, dword [ebp - 0xc8]
test al, al
je 0x100463f5
test dl, dl
jne 0x100463f5
cmp byte [ecx + 0x101], dl
jne 0x100463f5
cmp byte [ebp - 0x12c], dl
jne 0x100463f5
mov edx, dword [ecx + 0x1514]
mov eax, dword [ecx + 0x150c]
lea eax, [edx + eax*2]
mov dword [ebp - 0xd0], eax
cmp edx, eax
jae 0x10046394
nop word [eax + eax]
mov ax, word [edx]
add edx, 2
cmp ax, 9
je 0x100463ef
cmp edx, dword [ebp - 0xd0]
jb 0x10046380
mov edx, dword [ebp - 0xfc]
lea ecx, [ebp - 0xd0]
sub esp, 8
mov dword [ebp - 0xd0], 9
call fcn.10044f20
add esp, 8
test al, al
je 0x100463dd
push dword [ebp - 0xd0]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10043dc0
add esp, 4
mov byte [edi + 0xe64], 1
mov dword [edi + 0xe60], 0xbe99999a
mov esi, dword [0x10191030]
mov dword [ebp - 0xdc], esi
mov ecx, dword [ebp - 0xc8]
mov dl, byte [ebp - 0xc1]
cmp dword [ecx + 0x150c], 0
lea eax, [ecx + 0x150c]
mov dword [ebp - 0x110], eax
jle 0x100464f9
test dl, dl
jne 0x100464aa
cmp byte [ebp - 0x12c], dl
jne 0x100464aa
cmp byte [ebp - 0xcb], dl
jne 0x100464aa
xor esi, esi
mov eax, dword [ecx + 0x1514]
movzx eax, word [eax + esi*2]
mov dword [ebp - 0xd0], eax
cmp eax, 9
jne 0x1004644e
cmp byte [ecx + 0x101], 0
jne 0x10046493
mov edx, dword [ebp - 0xfc]
lea ecx, [ebp - 0xd0]
sub esp, 8
call fcn.10044f20
add esp, 8
test al, al
je 0x1004648d
push dword [ebp - 0xd0]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10043dc0
add esp, 4
mov byte [edi + 0xe64], 1
mov dword [edi + 0xe60], 0xbe99999a
mov ecx, dword [ebp - 0xc8]
inc esi
lea eax, [ecx + 0x150c]
cmp esi, dword [eax]
jl 0x10046430
mov esi, dword [0x10191030]
mov dword [ebp - 0xdc], esi
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x100464df
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, dword [ebp - 0x110]
call fcn.1002c260
mov esi, dword [0x10191030]
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0xdc], esi
mov dword [eax], 0
jmp 0x100464f3
mov esi, dword [0x10191030]
mov dword [ebp - 0xdc], esi
mov ecx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xe8]
xor dl, dl
cmp dword [ecx + 0x1a3c], eax
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [ebp - 0x10c], eax
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov byte [ebp - 0xc2], dl
mov dword [ebp - 0x144], eax
jne 0x10047058
cmp byte [ecx + 0x1a48], dl
jne 0x10047058
cmp byte [ebp - 0x101], dl
jne 0x10047058
xor eax, eax
mov edx, 0x400000
cmp byte [ecx + 0x101], al
cmovne eax, edx
mov dh, byte [ecx + 0xb1]
mov dword [ebp - 0xe4], eax
mov byte [ebp - 0x116], dh
test dh, dh
je 0x10046581
mov eax, dword [ecx + 0x380]
mov dword [ebp - 0xe0], eax
cmp eax, 0xa
jne 0x10046581
mov byte [ebp - 0xd5], 1
jmp 0x10046598
mov eax, dword [ecx + 0x380]
mov dword [ebp - 0xe0], eax
mov byte [ebp - 0xd5], 0
test dh, dh
je 0x100465c6
cmp byte [ecx + 0x103], 0
mov dl, byte [ecx + 0x102]
mov byte [ebp - 0xca], dl
je 0x100465d9
cmp byte [ecx + 0x100], 0
jne 0x100465d9
test dl, dl
jne 0x100465d9
mov byte [ebp - 0xcb], 1
cmp eax, 8
jmp 0x100465ff
mov dl, byte [ecx + 0x100]
mov byte [ebp - 0xd5], 0
mov dword [ebp - 0xe0], eax
mov byte [ebp - 0xca], dl
mov byte [ebp - 0xcb], 0
test dh, dh
je 0x100465ef
cmp eax, 8
jmp 0x100465ff
cmp eax, 1
mov byte [ebp - 0xca], dl
mov byte [ebp - 0xcb], 0
sete cl
mov byte [ebp - 0xc1], cl
test cl, cl
je 0x10046625
mov ecx, dword [esi + 0x80]
test ecx, ecx
js 0x10046625
call fcn.10020cd0
test al, al
jne 0x1004663a
mov eax, dword [ebp - 0xe0]
cmp eax, 2
jne 0x10046666
mov ecx, dword [esi + 0x5c]
test ecx, ecx
js 0x10046666
call fcn.10020cd0
test al, al
je 0x10046666
cmp byte [ebp - 0x12c], 0
jne 0x10046666
cmp byte [ebp - 0x15c], 0
jne 0x10046666
cmp byte [ebp - 0x100], 0
je 0x1004665d
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x10046666
mov byte [ebp - 0xed], 1
jmp 0x1004666d
mov byte [ebp - 0xed], 0
cmp byte [ebp - 0xc1], 0
je 0x10046686
mov ecx, dword [esi + 0x78]
test ecx, ecx
js 0x10046686
call fcn.10020cd0
test al, al
jne 0x1004669f
cmp dword [ebp - 0xe0], 1
jne 0x100466c2
mov ecx, dword [esi + 0x58]
test ecx, ecx
js 0x100466c2
call fcn.10020cd0
test al, al
je 0x100466c2
cmp byte [ebp - 0x15c], 0
jne 0x100466c2
cmp byte [ebp - 0x100], 0
je 0x100466b9
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x100466c2
mov byte [ebp - 0x13d], 1
jmp 0x100466c9
mov byte [ebp - 0x13d], 0
cmp byte [ebp - 0xc1], 0
je 0x100466e2
mov ecx, dword [esi + 0x7c]
test ecx, ecx
js 0x100466e2
call fcn.10020cd0
test al, al
jne 0x100466fb
cmp dword [ebp - 0xe0], 2
jne 0x1004670b
mov ecx, dword [esi + 0x58]
test ecx, ecx
js 0x1004670b
call fcn.10020cd0
test al, al
je 0x1004670b
cmp byte [ebp - 0x12c], 0
mov byte [ebp - 0x13e], 1
je 0x10046712
mov byte [ebp - 0x13e], 0
mov al, byte [ebp - 0xc1]
test al, al
je 0x10046750
mov ecx, dword [esi + 0x88]
test ecx, ecx
js 0x10046750
call fcn.10020cd0
test al, al
je 0x1004674a
cmp byte [ebp - 0x12c], 0
jne 0x1004674a
cmp byte [ebp - 0xf4], 0
je 0x1004674a
mov byte [ebp - 0x11d], 1
jmp 0x1004675b
mov al, byte [ebp - 0xc1]
mov byte [ebp - 0x11d], 0
test al, al
je 0x1004676e
mov ecx, dword [esi + 0x84]
test ecx, ecx
js 0x1004676e
call fcn.10020cd0
test al, al
jne 0x1004678a
cmp byte [ebp - 0xd5], 0
je 0x100467a3
mov ecx, dword [esi + 0x88]
test ecx, ecx
js 0x100467a3
call fcn.10020cd0
test al, al
je 0x100467a3
cmp byte [ebp - 0x12c], 0
jne 0x100467a3
cmp byte [ebp - 0xf4], 0
mov byte [ebp - 0xd5], 1
jne 0x100467aa
mov byte [ebp - 0xd5], 0
mov ecx, dword [esi + 0x38]
test ecx, ecx
js 0x10046843
call fcn.10020cd0
test al, al
je 0x10046843
cmp byte [ebp - 0xcb], 0
je 0x100467d2
mov eax, 0x200004
jmp 0x100467e6
mov eax, 0x200000
mov ecx, 0x20000c
cmp byte [ebp - 0xca], 0
cmovne eax, ecx
or eax, dword [ebp - 0xe4]
push eax
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10043dc0
mov dword [edi + 0xe60], 0xbe99999a
mov byte [edi + 0xe64], 1
add esp, 4
mov esi, dword [0x10191030]
mov dword [ebp - 0xdc], esi
mov ecx, dword [ebp - 0xc8]
mov dl, byte [ebp - 0xc2]
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x10047050
cmp byte [ebp - 0xc9], 0
je 0x10047050
mov al, 1
jmp 0x10047052
mov ecx, dword [esi + 0x3c]
test ecx, ecx
js 0x10046870
call fcn.10020cd0
test al, al
je 0x10046870
cmp byte [ebp - 0xcb], 0
je 0x10046863
mov eax, 0x200005
jmp 0x100467e6
mov eax, 0x200001
lea ecx, [eax + 0xc]
jmp 0x100467dc
mov ecx, dword [esi + 0x40]
test ecx, ecx
js 0x100468d7
call fcn.10020cd0
test al, al
je 0x100468d7
cmp byte [ebp - 0x100], 0
je 0x100468d7
mov ecx, dword [ebp - 0xc8]
cmp byte [ecx + 0x100], 0
je 0x100468c4
mov eax, dword [ebp - 0x134]
movss xmm0, dword [eax + 0x54]
subss xmm0, dword [ecx + 0x18d4]
mov dword [eax + 0x6c], 0
maxss xmm0, dword [0x10182db0]
movss dword [eax + 0x64], xmm0
jmp 0x1004681d
movzx eax, byte [ebp - 0xcb]
lea eax, [eax*4 + 0x200002]
jmp 0x100467e6
mov ecx, dword [esi + 0x44]
test ecx, ecx
js 0x10046941
call fcn.10020cd0
test al, al
je 0x10046941
cmp byte [ebp - 0x100], 0
je 0x10046941
mov ecx, dword [ebp - 0xc8]
cmp byte [ecx + 0x100], 0
je 0x1004692e
mov edx, dword [ebp - 0x134]
movss xmm0, dword [ecx + 0x18d4]
mov eax, dword [esi + 0x1a08]
addss xmm0, dword [edx + 0x54]
minss xmm0, dword [eax + 0x5c]
mov dword [edx + 0x6c], 0
movss dword [edx + 0x64], xmm0
jmp 0x1004681d
movzx eax, byte [ebp - 0xcb]
lea eax, [eax*4 + 0x200003]
jmp 0x100467e6
mov ecx, dword [esi + 0x50]
test ecx, ecx
js 0x1004697a
call fcn.10020cd0
test al, al
je 0x1004697a
mov edx, dword [ebp - 0xe4]
mov eax, edx
mov ecx, dword [ebp - 0xc8]
or eax, 0x200006
or edx, 0x200004
cmp byte [ecx + 0x100], 0
cmovne edx, eax
push edx
jmp 0x100467ed
mov ecx, dword [esi + 0x54]
test ecx, ecx
js 0x100469b3
call fcn.10020cd0
test al, al
je 0x100469b3
mov edx, dword [ebp - 0xe4]
mov eax, edx
mov ecx, dword [ebp - 0xc8]
or eax, 0x200007
or edx, 0x200005
cmp byte [ecx + 0x100], 0
cmovne edx, eax
push edx
jmp 0x100467ed
mov ecx, dword [esi + 0x5c]
test ecx, ecx
js 0x100469de
call fcn.10020cd0
test al, al
je 0x100469de
cmp byte [ebp - 0x12c], 0
jne 0x100469de
mov ecx, dword [ebp - 0xe4]
or ecx, 0x200008
push ecx
jmp 0x100467ed
mov ecx, dword [esi + 0x60]
test ecx, ecx
js 0x10046a76
call fcn.10020cd0
test al, al
je 0x10046a76
cmp byte [ebp - 0x12c], 0
jne 0x10046a76
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x10046a64
cmp byte [ebp - 0xca], 0
je 0x10046a17
push 0x60000c
jmp 0x10046a46
cmp byte [ebp - 0x116], 0
je 0x10046a64
mov eax, dword [ebp - 0xc8]
cmp byte [eax + 0x103], 0
je 0x10046a64
cmp byte [eax + 0x102], 0
jne 0x10046a64
cmp byte [eax + 0x100], 0
jne 0x10046a64
push 0x600004
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10043dc0
mov dword [edi + 0xe60], 0xbe99999a
add esp, 4
mov byte [edi + 0xe64], 1
mov ecx, dword [ebp - 0xe4]
or ecx, 0x200009
push ecx
jmp 0x100467ed
mov ecx, dword [esi + 0x68]
test ecx, ecx
js 0x10046a86
call fcn.10020cd0
test al, al
jne 0x10046a9e
mov ecx, dword [esi + 0x70]
test ecx, ecx
js 0x10046b1e
call fcn.10020cd0
test al, al
je 0x10046b1e
mov eax, dword [ebp - 0xfc]
mov ecx, dword [ebp - 0xc8]
shr eax, 0xb
and al, 1
cmp byte [ebp - 0x100], 0
je 0x10046ac6
mov dl, byte [ecx + 0x100]
test al, al
je 0x10046ad9
test dl, dl
jne 0x10046add
mov byte [ebp - 0x101], 1
mov byte [ebp - 0xee], 1
jmp 0x1004681d
test dl, dl
jne 0x10046ac6
cmp byte [ebp - 0x12c], 0
jne 0x1004681d
mov edx, dword [ebp - 0xfc]
lea ecx, [ebp - 0xd0]
sub esp, 8
mov dword [ebp - 0xd0], 0xa
call fcn.10044f20
add esp, 8
test al, al
je 0x1004680b
push dword [ebp - 0xd0]
jmp 0x100467ed
mov ecx, dword [esi + 0x6c]
test ecx, ecx
js 0x10046b41
call fcn.10020cd0
test al, al
je 0x10046b41
mov ecx, dword [ebp - 0xc8]
mov dl, 1
mov byte [ebp - 0x101], dl
jmp 0x10046823
mov al, byte [ebp - 0x11d]
test al, al
jne 0x1004702c
cmp byte [ebp - 0xd5], al
jne 0x1004702c
cmp byte [ebp - 0xc1], al
je 0x10046b93
mov ecx, dword [esi + 0x74]
test ecx, ecx
js 0x10046b93
call fcn.10020cd0
test al, al
je 0x10046b93
mov eax, dword [edi + 4]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0x4b], 0
mov byte [edi + 0xe64], 1
jmp 0x10046817
mov al, byte [ebp - 0xed]
test al, al
jne 0x10046e63
cmp byte [ebp - 0x13d], al
jne 0x10046e63
cmp byte [ebp - 0x13e], al
je 0x10046817
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x10046be4
push dword [esi + 0xd8]
call eax
add esp, 4
mov dword [ebp - 0xd0], eax
test eax, eax
je 0x1004680b
mov esi, dword [0x10191030]
jmp 0x10046bef
mov eax, 0x1017b788
mov dword [ebp - 0xd0], eax
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10046bf4
sub ecx, edx
test esi, esi
je 0x10046c07
inc dword [esi + 0x374]
lea eax, [ecx*2 + 2]
push eax
call dword [ebp - 0x144]
mov esi, dword [ebp - 0xd0]
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x130], ecx
add esp, 4
mov dword [ebp - 0x11c], eax
cmp byte [esi], al
je 0x10046c9b
xor edi, edi
push 0
mov edx, esi
lea ecx, [ebp - 0xd4]
call fcn.1001c2d0
add esp, 4
add esi, eax
cmp dword [ebp - 0xd4], 0
je 0x10046c83
mov edx, dword [ebp - 0xfc]
lea ecx, [ebp - 0xd4]
sub esp, 8
call fcn.10044f20
add esp, 8
test al, al
je 0x10046c7e
mov ecx, dword [ebp - 0x130]
mov ax, word [ebp - 0xd4]
mov word [ecx + edi*2], ax
inc edi
cmp byte [esi], 0
jne 0x10046c34
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x11c], edi
mov edi, dword [ebp - 0xec]
mov eax, dword [ebp - 0x11c]
xor edx, edx
mov word [ecx + eax*2], dx
test eax, eax
jle 0x10046e44
mov ecx, dword [edi + 0x44]
lea esi, [edi + 0x3c]
mov eax, dword [esi + 4]
mov edx, dword [edi + 4]
mov dword [ebp - 0xe0], edx
cmp eax, ecx
je 0x10046d17
mov edi, dword [ebp - 0xec]
cmp eax, edx
mov dword [ebp - 0xf4], eax
mov eax, edx
jle 0x10046cdd
mov dword [esi + 4], eax
mov edx, dword [edi + 4]
mov dword [ebp - 0xf4], eax
mov edi, dword [ebp - 0xec]
mov dword [ebp - 0x108], ecx
cmp ecx, eax
jle 0x10046cfb
mov dword [esi + 8], eax
mov edx, dword [edi + 4]
mov dword [ebp - 0x108], eax
jmp 0x10046d01
mov eax, dword [ebp - 0x108]
mov edi, dword [ebp - 0x108]
mov ecx, eax
mov eax, dword [ebp - 0xf4]
cmp eax, edi
jne 0x10046d17
mov dword [esi], eax
mov ecx, edi
mov edi, dword [esi]
cmp edi, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], edi
mov edi, dword [ebp - 0xec]
jle 0x10046d41
mov edi, dword [ebp - 0xe0]
mov dword [esi], edi
mov dword [ebp - 0xe4], edi
mov edi, dword [ebp - 0xec]
cmp eax, ecx
je 0x10046da5
mov dword [ebp - 0xf4], eax
cmp eax, edx
jle 0x10046d5c
mov eax, edx
mov dword [esi + 4], edx
mov dword [ebp - 0xf4], eax
jmp 0x10046d62
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x108], ecx
cmp ecx, edx
jle 0x10046d75
mov dword [esi + 8], edx
mov dword [ebp - 0x108], edx
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xe4], ecx
mov ecx, dword [ebp - 0x108]
mov edi, ecx
cmp dword [ebp - 0xf4], edi
mov edi, dword [ebp - 0xec]
jne 0x10046da5
mov eax, dword [ebp - 0xf4]
mov dword [esi], eax
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], edx
jle 0x10046daf
mov dword [esi], edx
cmp eax, ecx
je 0x10046de4
mov edx, esi
jge 0x10046dca
sub ecx, eax
push ecx
push eax
mov ecx, edi
call fcn.10043c80
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
jmp 0x10046ddb
sub eax, ecx
push eax
push ecx
mov ecx, edi
call fcn.10043c80
mov eax, dword [esi + 8]
mov dword [esi + 4], eax
mov dword [esi], eax
add esp, 8
mov byte [esi + 0xf], 0
push dword [ebp - 0x11c]
mov edx, dword [esi]
mov ecx, edi
push dword [ebp - 0x130]
call fcn.10043870
add esp, 8
test al, al
je 0x10046e23
push dword [ebp - 0x11c]
mov edx, dword [esi]
lea ecx, [esi + 0x18]
push 0
call fcn.10044a60
mov eax, dword [ebp - 0x11c]
add esp, 8
add dword [esi], eax
mov byte [esi + 0xf], 0
jmp 0x10046e37
movzx eax, word [esi + 0xe16]
test ax, ax
je 0x10046e37
dec eax
mov word [esi + 0xe16], ax
mov ecx, dword [ebp - 0x130]
mov byte [edi + 0xe64], 1
test ecx, ecx
je 0x10046e57
mov eax, dword [0x10191030]
test eax, eax
je 0x10046e57
dec dword [eax + 0x374]
push ecx
call dword [ebp - 0x10c]
jmp 0x10046808
mov ecx, dword [ebp - 0xc8]
cmp dword [ecx + 0xd4], 0
je 0x10046f55
mov ecx, dword [edi + 0x44]
mov eax, dword [edi + 0x40]
cmp eax, ecx
je 0x10046e90
mov edx, ecx
cmovge ecx, eax
cmovl edx, eax
mov dword [ebp - 0xd4], edx
jmp 0x10046e9d
mov ecx, dword [edi + 4]
mov dword [ebp - 0xd4], 0
mov eax, dword [edi + 0x14]
mov dword [ebp - 0xd0], ecx
lea edx, [eax + ecx*2]
mov ecx, dword [ebp - 0xd4]
lea ecx, [eax + ecx*2]
call fcn.1001c540
inc eax
mov dword [ebp - 0x110], eax
test esi, esi
je 0x10046ec8
inc dword [esi + 0x374]
push eax
call dword [ebp - 0x144]
mov esi, dword [edi + 0x14]
add esp, 4
mov ecx, dword [ebp - 0xd0]
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xd4]
lea ecx, [esi + ecx*2]
push ecx
lea ecx, [esi + eax*2]
mov esi, dword [ebp - 0xf4]
push ecx
mov ecx, esi
call fcn.1001c470
mov eax, dword [0x10191030]
add esp, 8
mov ecx, dword [eax + 0xd4]
test ecx, ecx
je 0x10046f25
push esi
push dword [eax + 0xd8]
call ecx
mov eax, dword [0x10191030]
add esp, 8
test esi, esi
je 0x10046f33
test eax, eax
je 0x10046f33
dec dword [eax + 0x374]
push esi
call dword [ebp - 0x10c]
mov esi, dword [0x10191030]
add esp, 4
mov ecx, dword [ebp - 0xc8]
mov al, byte [ebp - 0xed]
mov dword [ebp - 0xdc], esi
test al, al
je 0x1004681d
mov eax, dword [edi + 0x40]
lea edx, [edi + 0x3c]
cmp eax, dword [edi + 0x44]
jne 0x10046f7b
mov eax, dword [edi + 4]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], eax
mov dword [edx], eax
mov byte [edi + 0x4b], 0
mov byte [edi + 0xe64], 1
mov eax, dword [edx + 4]
cmp eax, dword [edx + 8]
je 0x1004681d
mov ecx, dword [edi + 4]
mov dword [ebp - 0xf4], ecx
cmp eax, ecx
jle 0x10046fa0
mov dword [edx + 4], ecx
mov eax, ecx
mov ecx, dword [edx + 8]
mov esi, dword [ebp - 0xdc]
cmp ecx, dword [ebp - 0xf4]
jle 0x10046fba
mov ecx, dword [ebp - 0xf4]
mov dword [edx + 8], ecx
cmp eax, ecx
jne 0x10046fc0
mov dword [edx], eax
mov edi, dword [ebp - 0xf4]
cmp dword [edx], edi
mov edi, dword [ebp - 0xec]
jle 0x10046fde
mov esi, dword [ebp - 0xf4]
mov dword [edx], esi
mov esi, dword [ebp - 0xdc]
cmp eax, ecx
je 0x10047023
jge 0x10046ffa
sub ecx, eax
push ecx
push eax
mov ecx, edi
call fcn.10043c80
mov eax, dword [edi + 0x40]
lea edx, [edi + 0x3c]
mov dword [edx + 8], eax
jmp 0x1004700e
sub eax, ecx
push eax
push ecx
mov ecx, edi
call fcn.10043c80
mov eax, dword [edi + 0x44]
lea edx, [edi + 0x3c]
mov dword [edx + 4], eax
mov dword [edx], eax
add esp, 8
mov esi, dword [0x10191030]
mov byte [edx + 0xf], 0
mov dword [ebp - 0xdc], esi
mov byte [edx + 0xf], 0
jmp 0x10046817
movzx eax, al
lea edx, [edi + 0x3c]
xor eax, 1
mov ecx, edi
add eax, 0x20000a
push eax
call fcn.10043dc0
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x44], eax
mov dword [edi + 0x40], eax
jmp 0x100467f7
xor al, al
or byte [ebp - 0x128], al
mov eax, dword [ebp - 0xe8]
cmp dword [ecx + 0x1a3c], eax
jne 0x10047477
xor ecx, ecx
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], ecx
test dl, dl
je 0x1004756b
cmp byte [ebp - 0x12c], cl
jne 0x10047322
mov ecx, dword [edi + 0x2c]
mov eax, dword [ebp - 0x114]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100470c0
test dl, dl
je 0x100470bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100470c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100470a0
xor eax, eax
jmp 0x100470c5
sbb eax, eax
or eax, 1
test eax, eax
je 0x10047322
mov eax, dword [edi + 0x2c]
xor ecx, ecx
mov dword [ebp - 0xe4], eax
xor edx, edx
mov eax, dword [edi + 0x24]
dec eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], edx
test eax, eax
jle 0x1004722c
mov ecx, dword [ebp - 0xe4]
mov esi, ecx
lea edi, [eax + ecx]
xor eax, eax
mov dword [ebp - 0xf4], edi
mov dword [ebp - 0xd4], eax
test edi, edi
je 0x1004711d
cmp esi, edi
jae 0x10047147
cmp byte [esi], 0
je 0x10047147
push edi
mov edx, esi
lea ecx, [ebp - 0xd0]
call fcn.1001c2d0
add esi, eax
add esp, 4
cmp dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd4]
je 0x10047147
inc eax
jmp 0x1004710f
mov edi, dword [ebp - 0xec]
lea ecx, [eax + 1]
mov esi, dword [ebp - 0xdc]
mov dword [ebp - 0xd0], ecx
test ecx, ecx
jle 0x100471a2
mov edx, 8
mov eax, ecx
cmp ecx, edx
cmovl eax, edx
mov dword [ebp - 0x110], eax
test eax, eax
jle 0x100471a2
test esi, esi
je 0x10047180
inc dword [esi + 0x374]
add eax, eax
push eax
call dword [ebp - 0x144]
mov ecx, dword [ebp - 0x110]
mov edx, eax
mov dword [ebp - 0x1c], ecx
add esp, 4
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0x18], edx
jmp 0x100471a4
xor edx, edx
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x110], eax
mov eax, edx
lea edx, [ecx - 1]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0xd4], eax
lea edx, [eax + edx*2]
mov dword [ebp - 0x144], edx
cmp eax, edx
jae 0x10047227
mov esi, dword [ebp - 0xf4]
mov edi, dword [ebp - 0x110]
test esi, esi
je 0x100471df
cmp edi, esi
jae 0x1004721b
cmp byte [edi], 0
je 0x1004721b
push esi
mov edx, edi
lea ecx, [ebp - 0x110]
call fcn.1001c2d0
mov ecx, dword [ebp - 0x110]
add edi, eax
mov eax, dword [ebp - 0xd4]
add esp, 4
test ecx, ecx
je 0x1004721b
mov word [eax], cx
add eax, 2
mov dword [ebp - 0xd4], eax
cmp eax, dword [ebp - 0x144]
jb 0x100471d7
mov edi, dword [ebp - 0xec]
mov ecx, dword [ebp - 0xd0]
xor edx, edx
mov word [eax], dx
mov esi, dword [edi + 4]
lea eax, [ecx - 1]
mov ecx, dword [ebp - 0xe0]
xor edx, edx
test ecx, ecx
lea ecx, [edi + 0x54]
cmovle eax, edx
push eax
push esi
mov dword [ebp - 0xd0], eax
call fcn.10044a60
mov edx, eax
add esp, 8
test edx, edx
je 0x10047270
xor ecx, ecx
test esi, esi
jle 0x10047270
nop
mov eax, dword [edi + 0x14]
mov ax, word [eax + ecx*2]
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, esi
jl 0x10047260
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 4]
mov dword [ebp - 0xd4], ecx
lea esi, [ecx + eax*2]
mov edx, esi
call fcn.1001c540
sub dword [edi + 8], eax
mov dword [edi + 4], 0
movzx eax, word [esi]
add esi, 2
test ax, ax
je 0x100472bf
mov edi, dword [ebp - 0xd4]
mov word [edi], ax
lea esi, [esi + 2]
movzx eax, word [esi - 2]
add edi, 2
test ax, ax
jne 0x100472a1
mov dword [ebp - 0xd4], edi
mov edi, dword [ebp - 0xec]
mov eax, dword [ebp - 0xd4]
xor ecx, ecx
mov esi, dword [ebp - 0xd0]
mov word [eax], cx
test esi, esi
jle 0x100472ef
push esi
push dword [ebp - 0x18]
xor edx, edx
mov ecx, edi
call fcn.10043870
add esp, 8
test al, al
je 0x100472ef
mov dword [edi + 0x3c], esi
mov byte [edi + 0x4b], 0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1004730f
mov eax, dword [0x10191030]
test eax, eax
je 0x10047305
dec dword [eax + 0x374]
push ecx
call dword [ebp - 0x10c]
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov esi, dword [0x10191030]
mov dword [ebp - 0xdc], esi
cmp byte [ebp - 0xee], 0
mov eax, dword [ebp - 0xfc]
je 0x10047339
test al, 0x20
jne 0x10047571
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ebp - 0xe4]
test edx, edx
je 0x1004744d
cmp byte [ebp - 0x13c], 0
je 0x100473fa
mov dword [ebp - 0xbc], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0xac], eax
lea eax, [ecx + 1]
mov dword [ebp - 0xa8], ecx
mov ecx, 0x20
cmp eax, ecx
movlpd qword [ebp - 0xb4], xmm0
movlpd qword [ebp - 0xa0], xmm0
cmovle eax, ecx
movlpd qword [ebp - 0x98], xmm0
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xc0]
push eax
xor eax, eax
mov dword [ebp - 0xc0], 0x40000
mov dword [ebp - 0xb8], 0
call eax
mov ecx, dword [ebp - 0xa4]
add esp, 4
mov eax, dword [ebp - 0xac]
mov esi, dword [0x10191030]
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0x124], ecx
dec ecx
cmp dword [ebp - 0xa8], ecx
mov dword [ebp - 0x114], eax
cmovl ecx, dword [ebp - 0xa8]
mov dword [ebp - 0xdc], esi
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x124]
cmp eax, ecx
cmovl ecx, eax
mov dword [ebp - 0x124], ecx
cmp ecx, 1
jb 0x10047446
jbe 0x1004743b
lea eax, [ecx - 1]
push eax
push edx
push dword [ebp - 0x114]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov esi, dword [0x10191030]
add esp, 0xc
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0xdc], esi
mov eax, dword [ebp - 0x114]
mov byte [ecx + eax - 1], 0
mov byte [ebp - 0xf5], 1
mov ecx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xe8]
mov dword [edi + 0xe68], 0
mov dword [edi + 0xe6c], 0
mov dword [edi + 0xe70], 0
cmp byte [ebp - 0x101], 0
je 0x10047491
cmp dword [ecx + 0x1a3c], eax
jne 0x10047491
xor edx, edx
xor ecx, ecx
call fcn.1001d980
cmp byte [ebp - 0x100], 0
jne 0x10047964
mov edx, dword [ebp - 0xe8]
lea ecx, [ebp - 0x60]
push 1
call fcn.1001ccb0
movss xmm1, dword [0x10182e48]
add esp, 4
mov ecx, 7
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.1001c670
mov ecx, dword [ebp - 0xc8]
mov dl, 1
movss xmm2, dword [ecx + 0x1558]
mov ecx, eax
call fcn.1001caa0
movss xmm4, dword [ebp - 0x164]
add esp, 0x10
mov edx, dword [ebp - 0xc8]
movaps xmm0, xmm4
addss xmm0, dword [ebp - 0x154]
movss xmm1, dword [ebp - 0x138]
movss xmm3, dword [ebp - 0x150]
mov esi, dword [0x10191030]
movaps xmm6, xmm3
addss xmm6, xmm1
movss dword [ebp - 0x34], xmm1
addss xmm1, dword [edx + 0x1550]
movss dword [ebp - 0x10c], xmm0
movss dword [ebp - 0x28], xmm0
movaps xmm0, xmm4
addss xmm0, dword [edx + 0x1554]
movss dword [ebp - 0x30], xmm4
movss dword [ebp - 0x144], xmm6
movss dword [ebp - 0x2c], xmm6
movss dword [ebp - 0x1c], xmm1
movss dword [ebp - 0x18], xmm0
mov dword [ebp - 0xdc], esi
jmp 0x100479cd
mov eax, dword [ebp - 0xfc]
cmp byte [ebp - 0x12c], 0
jne 0x100475f6
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 0x100475de
lea esi, [edi + 0x18]
test eax, eax
je 0x100475b5
cdq
sub eax, edx
mov edx, dword [ebp - 0xd0]
mov ecx, eax
sar ecx, 1
add ecx, dword [esi + 4]
jmp 0x100475ba
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
mov ecx, esi
push eax
call fcn.1002c860
mov esi, dword [0x10191030]
lea ecx, [edi + 0x18]
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0xdc], esi
mov dword [ecx], edx
mov ecx, dword [edi + 0x20]
push 0
push dword [edi + 0x14]
call fcn.1001c470
mov eax, dword [ebp - 0xfc]
add esp, 8
test eax, 0x1c0
je 0x10047905
test al, 0x40
je 0x10047624
mov ecx, dword [esi + 0x34]
test ecx, ecx
js 0x10047624
call fcn.10020cd0
test al, al
je 0x1004761e
mov eax, 0x40
xor ecx, ecx
jmp 0x1004767d
mov eax, dword [ebp - 0xfc]
test al, al
jns 0x10047668
mov ecx, dword [esi + 0x40]
test ecx, ecx
js 0x10047648
call fcn.10020cd0
test al, al
je 0x10047642
mov eax, 0x80
lea ecx, [eax - 0x7d]
jmp 0x1004767d
mov eax, dword [ebp - 0xfc]
mov ecx, dword [esi + 0x44]
test ecx, ecx
js 0x10047668
call fcn.10020cd0
test al, al
je 0x10047662
mov eax, 0x80
lea ecx, [eax - 0x7c]
jmp 0x1004767d
mov eax, dword [ebp - 0xfc]
test eax, 0x100
je 0x10047905
mov eax, 0x100
mov ecx, 0x16
mov esi, dword [edi + 0x14]
xor edx, edx
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x8c], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x7c], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x78], eax
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x74], eax
mov eax, dword [edi + 0x3c]
mov word [ebp - 0x6f], dx
mov byte [ebp - 0x6d], dl
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x80], ecx
mov ecx, esi
mov byte [ebp - 0x70], dl
lea edx, [esi + eax*2]
mov dword [ebp - 0x84], 0
call fcn.1001c540
mov ecx, dword [ebp - 0xec]
mov edi, eax
mov dword [ebp - 0x6c], edi
mov ecx, dword [ecx + 0x40]
lea edx, [esi + ecx*2]
mov ecx, esi
call fcn.1001c540
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xec]
mov ecx, dword [eax + 0x44]
lea edx, [esi + ecx*2]
mov ecx, esi
call fcn.1001c540
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x90]
push eax
xor eax, eax
call eax
mov ecx, dword [ebp - 0x6c]
add esp, 4
cmp ecx, edi
je 0x10047774
mov esi, dword [ebp - 0x7c]
xor eax, eax
lea edi, [ecx + esi]
mov dword [ebp - 0x10c], eax
test edi, edi
je 0x10047738
cmp esi, edi
jae 0x10047762
cmp byte [esi], 0
je 0x10047762
push edi
mov edx, esi
lea ecx, [ebp - 0xd0]
call fcn.1001c2d0
add esi, eax
add esp, 4
cmp dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x10c]
je 0x10047762
inc eax
jmp 0x1004772a
mov edi, dword [ebp - 0xec]
mov dword [edi + 0x3c], eax
mov byte [edi + 0xe64], 1
jmp 0x1004777a
mov edi, dword [ebp - 0xec]
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x110]
je 0x100477ce
mov esi, dword [ebp - 0x7c]
lea edi, [eax + esi]
xor eax, eax
mov dword [ebp - 0x10c], eax
test edi, edi
je 0x1004779b
cmp esi, edi
jae 0x100477c5
cmp byte [esi], 0
je 0x100477c5
push edi
mov edx, esi
lea ecx, [ebp - 0xd0]
call fcn.1001c2d0
add esi, eax
add esp, 4
cmp dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x10c]
je 0x100477c5
inc eax
jmp 0x1004778d
mov edi, dword [ebp - 0xec]
mov dword [edi + 0x40], eax
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0xd4]
je 0x10047822
mov esi, dword [ebp - 0x7c]
lea edi, [eax + esi]
xor eax, eax
mov dword [ebp - 0x10c], eax
test edi, edi
je 0x100477ef
cmp esi, edi
jae 0x10047819
cmp byte [esi], 0
je 0x10047819
push edi
mov edx, esi
lea ecx, [ebp - 0xd0]
call fcn.1001c2d0
add esi, eax
add esp, 4
cmp dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x10c]
je 0x10047819
inc eax
jmp 0x100477e1
mov edi, dword [ebp - 0xec]
mov dword [edi + 0x44], eax
cmp byte [ebp - 0x70], 0
je 0x100478f3
mov esi, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x50]
cmp esi, ecx
jle 0x10047878
cmp byte [ebp - 0x13c], 0
je 0x10047878
mov eax, dword [edi + 0x10]
sub esi, ecx
add esi, dword [edi + 0xc]
cmp esi, eax
jle 0x10047875
test eax, eax
je 0x1004785e
cdq
sub eax, edx
lea edx, [edi + 0xc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x10047866
mov ecx, 8
lea edx, [edi + 0xc]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.1002c260
mov dword [edi + 0xc], esi
mov eax, dword [ebp - 0x7c]
mov ecx, dword [edi + 0x14]
mov esi, ecx
mov dword [ebp - 0x50], eax
mov eax, dword [edi + 0xc]
dec eax
mov dword [ebp - 0x110], ecx
lea eax, [ecx + eax*2]
mov dword [ebp - 0xd0], eax
cmp ecx, eax
jae 0x100478d7
mov edi, dword [ebp - 0x50]
nop dword [eax]
cmp byte [edi], 0
je 0x100478cb
push 0
mov edx, edi
lea ecx, [ebp - 0x50]
call fcn.1001c2d0
add edi, eax
add esp, 4
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x100478cb
mov word [esi], ax
add esi, 2
cmp esi, dword [ebp - 0xd0]
jb 0x100478a0
mov edi, dword [ebp - 0xec]
mov ecx, dword [ebp - 0x110]
xor eax, eax
mov word [esi], ax
sub esi, ecx
mov eax, dword [ebp - 0x78]
sar esi, 1
mov dword [edi + 4], esi
mov dword [edi + 8], eax
mov dword [edi + 0xe60], 0xbe99999a
mov esi, dword [0x10191030]
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xdc], esi
cmp byte [ebp - 0x12c], 0
jne 0x10047339
mov ecx, dword [ebp - 0x114]
mov eax, dword [edi + 0x20]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10047940
test dl, dl
je 0x1004793c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10047940
add eax, 2
add ecx, 2
test dl, dl
jne 0x10047920
xor eax, eax
jmp 0x10047945
sbb eax, eax
or eax, 1
test eax, eax
mov eax, dword [ebp - 0xfc]
je 0x10047339
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0xe4], ecx
mov ecx, dword [edi + 8]
jmp 0x1004733f
movss xmm0, dword [ebp - 0x138]
movss xmm3, dword [ebp - 0x150]
movss xmm1, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x134]
mov edx, dword [ebp - 0xc8]
movss dword [ebp - 0x34], xmm0
addss xmm0, xmm3
movss dword [ebp - 0x30], xmm1
movss dword [ebp - 0x2c], xmm0
movss dword [ebp - 0x144], xmm0
movaps xmm0, xmm1
addss xmm0, dword [ebp - 0x154]
movss dword [ebp - 0x28], xmm0
mov eax, dword [ecx + 0xc8]
mov ecx, dword [ecx + 0xcc]
movss dword [ebp - 0x10c], xmm0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
cmp byte [ebp - 0x115], 0
lea eax, [ebp - 0x1c]
movss xmm0, dword [eax + 4]
xorps xmm2, xmm2
movss xmm6, dword [eax]
movss dword [ebp - 0xe4], xmm0
movss dword [ebp - 0x148], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x11c], eax
movss dword [ebp - 0xd4], xmm6
movss dword [ebp - 0x14c], xmm6
movss dword [ebp - 0x110], xmm0
movss dword [ebp - 0xd0], xmm2
je 0x10047a29
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0x114], ecx
jmp 0x10047a2f
mov ecx, dword [ebp - 0x114]
cmp byte [ebp - 0xc9], 0
jne 0x10047b7b
cmp byte [ebp - 0x128], 0
jne 0x10047b7b
cmp byte [ebp - 0x100], 0
je 0x10047ac5
mov esi, dword [ebp - 0x114]
xor ecx, ecx
mov al, byte [esi]
lea edi, [esi + 1]
mov byte [ebp - 0x116], al
test al, al
je 0x10047a88
mov dl, al
nop dword [eax + eax]
cmp dl, 0xa
lea eax, [ecx + 1]
mov dl, byte [edi]
cmovne eax, ecx
inc edi
mov ecx, eax
test dl, dl
jne 0x10047a70
mov edx, dword [ebp - 0xc8]
mov al, byte [edi - 1]
dec edi
mov dword [ebp - 0xf4], edi
cmp al, 0xa
je 0x10047a9b
cmp al, 0xd
je 0x10047a9b
inc ecx
movd xmm0, ecx
mov ecx, dword [ebp - 0x114]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [edx + 0x18d4]
movss dword [ebp - 0xd0], xmm0
movaps xmm0, xmm3
movss dword [ebp - 0x110], xmm0
jmp 0x10047b0c
mov eax, dword [ebp - 0xe8]
cmp dword [edx + 0x1a3c], eax
jne 0x10047ada
mov edi, dword [edi + 8]
add edi, ecx
jmp 0x10047af7
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10047ae0
sub ecx, edi
mov edi, dword [ebp - 0x114]
add edi, ecx
mov ecx, dword [ebp - 0x114]
mov eax, edi
mov dword [ebp - 0xf4], edi
sub eax, ecx
cmp eax, 0x200000
jge 0x1004868a
cmp byte [ebp - 0x100], 0
lea eax, [ebp - 0x34]
movss xmm1, dword [0x10182e48]
lea esi, [edx + 0x18d4]
mov dword [ebp - 0x13c], 0
cmovne eax, dword [ebp - 0x13c]
push eax
push ecx
mov dword [esp], 0
push edi
push ecx
xor ecx, ecx
mov dword [ebp - 0x50], esi
call fcn.1001c670
movss xmm2, dword [esi]
push eax
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 0x134]
push dword [edx + 0x18d0]
mov ecx, dword [eax + 0x278]
call fcn.10036640
mov esi, dword [0x10191030]
mov eax, dword [ebp - 0x50]
jmp 0x100485e0
mov eax, dword [edi + 8]
xor edx, edx
mov dword [ebp - 0x16c], eax
xorps xmm7, xmm7
add eax, ecx
movss dword [ebp - 0x13c], xmm2
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xe8], ecx
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x124], 0xfffffc18
mov dword [ebp - 0xe0], 0xfffffc18
cmp byte [ebp - 0xc9], dl
je 0x10047bed
mov eax, dword [edi + 0x3c]
mov edx, 1
mov dword [ebp - 0x124], 0xffffffff
lea eax, [ecx + eax*2]
mov dword [ebp - 0x130], eax
cmp byte [ebp - 0x128], 0
je 0x10047c20
mov ecx, dword [edi + 0x44]
cmp dword [edi + 0x40], ecx
mov eax, dword [ebp - 0xe8]
cmovl ecx, dword [edi + 0x40]
inc edx
mov dword [ebp - 0xe0], 0xffffffff
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0x108], eax
mov esi, dword [ebp - 0xe8]
mov eax, dword [ebp - 0x100]
movzx eax, al
add edx, eax
xor eax, eax
movzx esi, word [esi]
mov dword [ebp - 0x50], esi
test si, si
mov esi, dword [ebp - 0xdc]
je 0x10047cc0
mov eax, dword [ebp - 0x50]
xor edi, edi
mov esi, dword [ebp - 0x124]
movzx eax, ax
cmp ax, 0xa
jne 0x10047c91
inc edi
cmp esi, 0xffffffff
jne 0x10047c75
cmp ecx, dword [ebp - 0x130]
jb 0x10047c75
dec edx
mov dword [ebp - 0x124], edi
test edx, edx
jle 0x10047ca8
cmp dword [ebp - 0xe0], 0xffffffff
jne 0x10047c91
cmp ecx, dword [ebp - 0x108]
jb 0x10047c91
dec edx
mov dword [ebp - 0xe0], edi
test edx, edx
jle 0x10047ca8
movzx eax, word [ecx + 2]
add ecx, 2
mov esi, eax
mov dword [ebp - 0x50], esi
mov esi, dword [ebp - 0x124]
test ax, ax
jne 0x10047c56
mov esi, dword [ebp - 0xdc]
mov dword [ebp - 0x138], edi
mov edi, dword [ebp - 0xec]
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0xe0]
inc eax
cmp dword [ebp - 0x124], 0xffffffff
mov edx, eax
mov dword [ebp - 0x138], eax
cmovne edx, dword [ebp - 0x124]
cmp ecx, 0xffffffff
mov dword [ebp - 0x124], edx
mov edx, dword [ebp - 0xe8]
cmove ecx, eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0xe0], ecx
mov ecx, eax
cmp eax, edx
jbe 0x10047d15
cmp word [ecx - 2], 0xa
je 0x10047d0f
add ecx, 0xfffffffe
cmp ecx, edx
ja 0x10047d01
mov eax, dword [ebp - 0x130]
mov edx, dword [esi + 0x18d0]
movaps xmm1, xmm2
movss xmm3, dword [esi + 0x18d4]
movaps xmm5, xmm2
divss xmm3, dword [edx + 0x10]
cmp ecx, eax
jae 0x10047d88
movzx eax, word [ecx]
add ecx, 2
mov dword [ebp - 0x50], eax
mov esi, eax
cmp eax, 0xa
jne 0x10047d4b
maxss xmm1, xmm5
movaps xmm5, xmm2
jmp 0x10047d74
cmp esi, 0xd
je 0x10047d74
movzx eax, ax
cmp eax, dword [edx]
jge 0x10047d67
mov esi, dword [ebp - 0x50]
mov eax, dword [edx + 8]
movzx edi, si
movss xmm0, dword [eax + edi*4]
jmp 0x10047d6c
movss xmm0, dword [edx + 0xc]
mulss xmm0, xmm3
addss xmm5, xmm0
cmp ecx, dword [ebp - 0x130]
jb 0x10047d32
mov edi, dword [ebp - 0xec]
mov esi, dword [ebp - 0xdc]
cmp dword [ebp - 0xe0], 0
maxss xmm5, xmm1
movd xmm0, dword [ebp - 0x124]
mov edx, dword [ebp - 0xc8]
movss xmm4, dword [edx + 0x18d4]
lea ecx, [edx + 0x18d4]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x54], ecx
movss dword [ebp - 0x174], xmm5
mulss xmm0, xmm4
movss dword [ebp - 0x124], xmm0
jl 0x10047e8b
mov eax, dword [ebp - 0x108]
mov ecx, eax
cmp eax, dword [ebp - 0xe8]
jbe 0x10047dff
mov esi, dword [ebp - 0xe8]
cmp word [ecx - 2], 0xa
je 0x10047df3
add ecx, 0xfffffffe
cmp ecx, esi
ja 0x10047de5
mov esi, dword [ebp - 0xdc]
mov eax, dword [ebp - 0x108]
movaps xmm1, xmm2
movaps xmm7, xmm2
cmp ecx, eax
jae 0x10047e6a
mov edi, dword [esi + 0x18d0]
nop
movzx eax, word [ecx]
add ecx, 2
cmp eax, 0xa
jne 0x10047e24
maxss xmm1, xmm7
movaps xmm7, xmm2
jmp 0x10047e56
cmp eax, 0xd
je 0x10047e56
mov dword [ebp - 0x13c], eax
cmp eax, dword [edi]
jge 0x10047e43
mov eax, dword [edi + 8]
mov edx, dword [ebp - 0x13c]
movss xmm2, dword [eax + edx*4]
jmp 0x10047e48
movss xmm2, dword [edi + 0xc]
movaps xmm0, xmm3
mulss xmm0, xmm2
xorps xmm2, xmm2
addss xmm7, xmm0
cmp ecx, dword [ebp - 0x108]
jb 0x10047e10
mov edi, dword [ebp - 0xec]
mov edx, dword [ebp - 0xc8]
movd xmm0, dword [ebp - 0xe0]
maxss xmm7, xmm1
cvtdq2ps xmm0, xmm0
lea ecx, [edx + 0x18d4]
mulss xmm0, xmm4
movss dword [ebp - 0x13c], xmm0
mov eax, dword [ebp - 0x100]
movss xmm3, dword [ebp - 0x150]
test al, al
je 0x10047ebf
movd xmm0, dword [ebp - 0x138]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm4
movss dword [ebp - 0xd0], xmm0
movaps xmm0, xmm3
movss dword [ebp - 0x110], xmm0
cmp byte [ebp - 0xc9], 0
je 0x10047fb9
cmp byte [edi + 0xe64], 0
je 0x10047fb9
test dword [ebp - 0xfc], 0x1000
jne 0x10047f2f
movss xmm2, dword [edi + 0x38]
movaps xmm0, xmm3
comiss xmm2, xmm5
mulss xmm0, dword [0x10182e04]
movaps xmm1, xmm5
jbe 0x10047f0a
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
jmp 0x10047f17
subss xmm1, xmm3
comiss xmm1, xmm2
jb 0x10047f36
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x100]
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x38], xmm0
jmp 0x10047f36
mov dword [edi + 0x38], 0
test al, al
je 0x10047f98
movss xmm0, dword [ebp - 0x124]
mov eax, dword [ebp - 0x134]
movaps xmm2, xmm0
subss xmm2, dword [ecx]
movss xmm1, dword [eax + 0x54]
comiss xmm1, xmm2
jbe 0x10047f62
xorps xmm0, xmm0
maxss xmm0, xmm2
jmp 0x10047f6e
subss xmm0, dword [ebp - 0x154]
maxss xmm0, xmm1
mov eax, dword [ebp - 0x11c]
subss xmm1, xmm0
addss xmm1, dword [eax + 4]
mov eax, dword [ebp - 0x134]
movss dword [ebp - 0xe4], xmm1
movss dword [ebp - 0x148], xmm1
movss dword [eax + 0x54], xmm0
mov byte [edi + 0xe64], 0
movss xmm0, dword [ebp - 0x28]
movss dword [ebp - 0x10c], xmm0
movss xmm0, dword [ebp - 0x2c]
movss dword [ebp - 0x144], xmm0
cmp byte [ebp - 0x128], 0
movss xmm4, dword [edi + 0x38]
movss dword [ebp - 0x108], xmm4
je 0x1004811b
mov edx, dword [edi + 0x44]
mov eax, edx
mov ecx, dword [edi + 0x40]
cmp ecx, edx
mov esi, dword [ebp - 0xe8]
cmovl eax, ecx
cmovge edx, ecx
cmp byte [ebp - 0xc9], 0
lea esi, [esi + eax*2]
mov eax, dword [ebp - 0xe8]
lea edx, [eax + edx*2]
mov dword [ebp - 0x130], edx
je 0x1004800e
movss xmm1, dword [0x10182e48]
jmp 0x10048016
movss xmm1, dword [0x10182e1c]
mov ecx, 0x2a
call fcn.1001c670
cmp byte [ebp - 0x100], 0
mov dword [ebp - 0x128], eax
je 0x10048041
xorps xmm0, xmm0
movss dword [ebp - 0x138], xmm0
movss dword [ebp - 0x50], xmm0
jmp 0x10048061
movss xmm0, dword [0x101830cc]
movss dword [ebp - 0x138], xmm0
movss xmm0, dword [0x10182e84]
movss dword [ebp - 0x50], xmm0
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x11c]
movss xmm6, dword [ecx]
movaps xmm3, xmm6
addss xmm3, xmm7
movss xmm7, dword [ebp - 0xe4]
movaps xmm4, xmm7
addss xmm4, dword [ebp - 0x13c]
subss xmm3, dword [ebp - 0x108]
subss xmm4, xmm0
movss dword [ebp - 0x13c], xmm4
cmp esi, edx
jae 0x1004830a
movss xmm7, dword [ebp - 0x10c]
movss xmm1, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xdc]
mov edi, dword [ebp - 0xc8]
mov eax, dword [ebp - 0x11c]
movss xmm6, dword [edi + 0x18d4]
movaps xmm0, xmm7
addss xmm0, xmm6
comiss xmm4, xmm0
ja 0x100480f9
comiss xmm1, xmm4
jbe 0x1004816a
cmp esi, edx
jae 0x100482de
mov ax, word [esi]
add esi, 2
cmp ax, 0xa
je 0x100482d8
cmp esi, edx
jb 0x100480e5
movss xmm6, dword [ebp - 0xd4]
movss xmm4, dword [ebp - 0x108]
mov edi, dword [ebp - 0xec]
mov esi, dword [ebp - 0xdc]
mov edx, dword [ebp - 0xc8]
movss xmm7, dword [ebp - 0xe4]
cmp byte [ebp - 0x100], 0
jne 0x1004813c
cmp dword [ebp - 0x16c], 0x200000
jge 0x10048437
movups xmm1, xmmword [esi + 0x15d0]
xorps xmm5, xmm5
comiss xmm5, xmm1
movaps xmm2, xmm1
shufps xmm2, xmm1, 0xff
mulss xmm2, dword [esi + 0x1518]
movups xmmword [ebp - 0x44], xmm1
jbe 0x10048323
xorps xmm0, xmm0
jmp 0x1004832f
mov eax, dword [ecx + 0x18d0]
xorps xmm0, xmm0
movss xmm2, dword [ecx + 0x18d4]
xorps xmm5, xmm5
xorps xmm1, xmm1
divss xmm2, dword [eax + 0x10]
cmp esi, edx
jae 0x100481dc
nop word [eax + eax]
movzx eax, word [esi]
add esi, 2
cmp eax, 0xa
je 0x100481cf
cmp eax, 0xd
je 0x100481c9
mov edx, eax
mov eax, dword [ecx + 0x18d0]
cmp edx, dword [eax]
jge 0x100481b6
mov eax, dword [eax + 8]
movss xmm0, dword [eax + edx*4]
jmp 0x100481bb
movss xmm0, dword [eax + 0xc]
mov edx, dword [ebp - 0x130]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp esi, edx
jb 0x10048190
jmp 0x100481d9
xorps xmm5, xmm5
maxss xmm5, xmm1
xorps xmm1, xmm1
xorps xmm0, xmm0
maxss xmm1, xmm5
comiss xmm0, xmm1
jb 0x10048215
mov eax, dword [edi + 0x18d0]
cmp dword [eax], 0x20
jle 0x100481fd
mov eax, dword [eax + 8]
movss xmm0, dword [eax + 0x80]
jmp 0x10048202
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [0x10182e18]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm2, dword [ebp - 0x138]
addss xmm1, xmm3
movss xmm0, dword [ebp - 0x50]
subss xmm2, xmm6
addss xmm3, dword [0x10182db0]
movss xmm5, dword [ebp - 0x144]
addss xmm0, xmm4
minss xmm1, xmm5
addss xmm2, xmm4
maxss xmm3, dword [ebp - 0x34]
minss xmm0, xmm7
movss dword [ebp - 0x3c], xmm1
maxss xmm2, dword [ebp - 0x30]
movss dword [ebp - 0x44], xmm3
comiss xmm0, dword [ebp - 0x30]
movss dword [ebp - 0x40], xmm2
movss dword [ebp - 0x38], xmm0
jbe 0x100482d3
comiss xmm7, xmm2
jbe 0x100482d3
comiss xmm1, dword [ebp - 0x34]
jbe 0x100482d3
comiss xmm5, xmm3
jbe 0x100482d3
push 0xf
push ecx
mov dword [esp], 0
lea eax, [ebp - 0x3c]
push dword [ebp - 0x128]
push eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax + 0x278]
call fcn.100362d0
movss xmm0, dword [ebp - 0x2c]
mov ecx, dword [0x10191030]
movss xmm7, dword [ebp - 0x28]
movss xmm4, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0xdc], ecx
movss dword [ebp - 0x144], xmm0
movss xmm1, dword [ebp - 0x30]
mov eax, dword [ebp - 0x11c]
movss xmm6, dword [eax]
movaps xmm3, xmm6
addss xmm4, dword [edi + 0x18d4]
subss xmm3, dword [ebp - 0x108]
movss dword [ebp - 0x13c], xmm4
cmp esi, edx
jb 0x100480c0
jmp 0x10048101
movss xmm4, dword [ebp - 0x108]
mov esi, dword [ebp - 0xdc]
mov edx, dword [ebp - 0xc8]
jmp 0x10048123
movss xmm0, dword [0x10182e48]
minss xmm0, xmm1
movss xmm3, dword [0x10183004]
movss xmm1, dword [ebp - 0x40]
comiss xmm5, xmm1
mulss xmm0, xmm3
addss xmm0, dword [0x10182e18]
cvttss2si ecx, xmm0
jbe 0x10048356
xorps xmm0, xmm0
jmp 0x10048362
movss xmm0, dword [0x10182e48]
minss xmm0, xmm1
movss xmm1, dword [ebp - 0x3c]
mulss xmm0, xmm3
addss xmm0, dword [0x10182e18]
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm5, xmm1
jbe 0x10048386
xorps xmm0, xmm0
jmp 0x10048392
movss xmm0, dword [0x10182e48]
minss xmm0, xmm1
mulss xmm0, xmm3
addss xmm0, dword [0x10182e18]
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm5, xmm2
jbe 0x100483b1
xorps xmm1, xmm1
jmp 0x100483bd
movss xmm1, dword [0x10182e48]
minss xmm1, xmm2
mulss xmm1, xmm3
lea eax, [ebp - 0x34]
xor esi, esi
cmp byte [ebp - 0x100], 0
movss xmm2, dword [edx + 0x18d4]
subss xmm6, xmm4
cmovne eax, esi
subss xmm7, xmm5
addss xmm1, dword [0x10182e18]
push eax
push ecx
mov dword [esp], esi
push dword [ebp - 0xf4]
cvttss2si eax, xmm1
push dword [ebp - 0x114]
shl eax, 0x18
or eax, ecx
movss dword [ebp - 0x170], xmm6
push eax
lea eax, [ebp - 0x170]
movss dword [ebp - 0x16c], xmm7
push eax
mov eax, dword [ebp - 0x134]
push dword [edx + 0x18d0]
mov ecx, dword [eax + 0x278]
call fcn.10036640
mov esi, dword [0x10191030]
cmp byte [ebp - 0xc9], 0
mov eax, dword [ebp - 0x54]
je 0x100485e0
mov eax, dword [ebp - 0xc8]
movss xmm0, dword [eax + 0x18]
addss xmm0, dword [edi + 0xe60]
movss dword [edi + 0xe60], xmm0
mov edi, eax
cmp byte [edi + 0xb2], 0
je 0x100484a8
xorps xmm1, xmm1
comiss xmm1, xmm0
jae 0x100484a8
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fld qword [0x10182e70]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
movss xmm0, dword [0x10182e38]
fstp qword [ebp - 0x58]
movsd xmm1, qword [ebp - 0x58]
cvtpd2ps xmm1, xmm1
comiss xmm0, xmm1
jae 0x100484a8
xor cl, cl
jmp 0x100484aa
mov cl, 1
movss xmm0, dword [ebp - 0xe4]
mov eax, dword [ebp - 0x11c]
movss xmm5, dword [0x10182e48]
addss xmm0, dword [ebp - 0x124]
movss xmm4, dword [eax]
addss xmm4, dword [ebp - 0x174]
subss xmm0, dword [0x10182db0]
subss xmm4, dword [ebp - 0x108]
movss dword [ebp - 0xe4], xmm0
movaps xmm1, xmm0
movaps xmm2, xmm0
subss xmm1, dword [edi + 0x18d4]
movss dword [ebp - 0xd4], xmm4
movaps xmm3, xmm4
movss dword [ebp - 0x44], xmm4
addss xmm3, xmm5
subss xmm2, dword [0x10182e58]
addss xmm1, dword [0x10182e18]
movss dword [ebp - 0x3c], xmm3
movss dword [ebp - 0x38], xmm2
movss dword [ebp - 0x40], xmm1
test cl, cl
je 0x100485af
comiss xmm2, dword [ebp - 0x30]
jbe 0x100485af
movss xmm0, dword [ebp - 0x28]
comiss xmm0, xmm1
jbe 0x100485a7
comiss xmm3, dword [ebp - 0x34]
jbe 0x100485a7
movss xmm0, dword [ebp - 0x2c]
comiss xmm0, xmm4
jbe 0x100485a7
sub esp, 8
movss dword [ebp - 0x1c], xmm4
movaps xmm1, xmm5
movss dword [ebp - 0x18], xmm2
xor ecx, ecx
mov dword [esp + 4], 0x3f800000
call fcn.1001c670
add esp, 4
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax + 0x278]
call fcn.100360c0
mov esi, dword [0x10191030]
movss xmm4, dword [ebp - 0xd4]
movss xmm5, dword [0x10182e48]
movss xmm0, dword [ebp - 0xe4]
cmp byte [ebp - 0x12c], 0
lea eax, [edi + 0x18d4]
jne 0x100485e0
subss xmm0, dword [edi + 0x18d4]
subss xmm4, xmm5
lea eax, [edi + 0x18d4]
movss dword [edi + 0x2df4], xmm0
movss dword [edi + 0x2df0], xmm4
cmp byte [ebp - 0x100], 0
je 0x1004868a
movss xmm1, dword [ebp - 0xd0]
addss xmm1, dword [eax]
mov eax, dword [esi + 0x1a08]
movss xmm0, dword [ebp - 0x110]
addss xmm0, dword [0x10182db0]
mov byte [eax + 0x7c], 1
mov eax, dword [esi + 0x1a08]
movss dword [ebp - 0x18], xmm1
movss dword [ebp - 0x1c], xmm0
cmp byte [eax + 0x7f], 0
jne 0x1004867a
movss xmm3, dword [eax + 0xc8]
lea ecx, [ebp - 0x1c]
movaps xmm4, xmm3
movss dword [ebp - 0x44], xmm3
addss xmm4, xmm0
movss xmm0, dword [eax + 0xcc]
movaps xmm2, xmm0
movss dword [ebp - 0x40], xmm0
addss xmm2, xmm1
movss xmm1, dword [0x101830cc]
movss dword [ebp - 0x3c], xmm4
movss dword [ebp - 0x38], xmm2
call fcn.10026340
push 0
xor edx, edx
lea ecx, [ebp - 0x44]
call fcn.10026470
add esp, 4
call fcn.10020fa0
call fcn.100268a0
mov esi, dword [0x10191030]
mov ecx, dword [ebp - 0x15c]
test cl, cl
je 0x10048785
mov eax, dword [esi + 0x1a08]
mov edi, esi
mov ecx, dword [eax + 0x278]
mov edx, dword [ecx + 0x48]
sub edx, 1
mov dword [ecx + 0x48], edx
jne 0x100486b5
xor eax, eax
jmp 0x100486bc
mov eax, dword [ecx + 0x50]
mov eax, dword [eax + edx*4 - 4]
mov dword [ecx + 0x70], eax
call fcn.10034930
mov edx, dword [esi + 0x1b14]
sub edx, 1
mov dword [esi + 0x1b14], edx
mov esi, dword [0x10191030]
jne 0x100486f2
mov edx, dword [esi + 0xa4]
test edx, edx
jne 0x100486fc
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0x3c]
mov edx, dword [eax]
jmp 0x100486fc
mov eax, dword [edi + 0x1b1c]
mov edx, dword [eax + edx*4 - 4]
movss xmm1, dword [0x10182e48]
mov eax, dword [esi + 0x1a08]
mov dword [esi + 0x18d0], edx
movss xmm0, dword [edx + 0x10]
mulss xmm0, dword [esi + 0x9c]
mulss xmm0, dword [edx + 0x48]
maxss xmm1, xmm0
movss dword [esi + 0x18d8], xmm1
test eax, eax
je 0x10048751
movaps xmm0, xmm1
mulss xmm0, dword [eax + 0x270]
mov eax, dword [eax + 0x318]
test eax, eax
je 0x10048754
mulss xmm0, dword [eax + 0x270]
jmp 0x10048754
xorps xmm0, xmm0
movss dword [esi + 0x18d4], xmm0
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + 0x2c]
mov eax, dword [eax + 0x30]
mov dword [esi + 0x18dc], ecx
mov ecx, dword [ebp - 0x15c]
mov dword [esi + 0x18e0], eax
mov dword [esi + 0x18e4], edx
movss dword [esi + 0x18e8], xmm0
mov eax, dword [ebp - 0xc8]
cmp byte [eax + 0x2e2c], 0
je 0x100487be
test cl, cl
jne 0x100487be
push dword [ebp - 0xf4]
mov edx, dword [ebp - 0x114]
lea ecx, [ebp - 0x14c]
call fcn.1002ad60
mov esi, dword [0x10191030]
add esp, 4
mov eax, dword [ebp - 0xc8]
movss xmm0, dword [ebp - 0x168]
comiss xmm0, dword [0x10182db0]
jbe 0x10048823
movss xmm0, dword [ebp - 0x158]
xor edx, edx
addss xmm0, dword [eax + 0x1568]
mov ecx, dword [ebp - 0x160]
movss dword [ebp - 0x14c], xmm0
movss xmm0, dword [ebp - 0x164]
addss xmm0, dword [eax + 0x1554]
movss dword [ebp - 0x148], xmm0
push dword [ebp - 0x148]
push dword [ebp - 0x14c]
push 1
call fcn.1001c7d0
mov esi, dword [0x10191030]
add esp, 0xc
mov dl, byte [ebp - 0xf5]
mov ecx, dword [ebp - 0xfc]
test dl, dl
je 0x10048851
test ecx, 0x200000
jne 0x10048851
mov eax, dword [esi + 0x1a08]
mov word [esi + 0x1a4b], 0x101
or dword [eax + 0x110], 4
test cl, 0x20
movzx eax, dl
movzx ecx, byte [ebp - 0xee]
cmovne eax, ecx
jmp 0x10045506