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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
mov eax, dword [0x100f0364]
xor eax, esp
mov dword [esp + 0xf4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x10135b78]
push edi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], esi
call fcn.10047eb0
mov edi, eax
mov dword [esp + 0x10], eax
test edi, edi
sete cl
mov byte [esp + 0xf], cl
test eax, eax
jne 0x1004a798
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x64]
call fcn.10047f50
mov edi, eax
mov edx, dword [esp + 0x30]
mov ecx, edx
and ecx, 0xc0200
mov eax, edx
or eax, 6
cmp ecx, 0xc0200
mov ecx, dword [esi + 0x1b38]
cmovne eax, edx
mov dword [esp + 0x54], ecx
cmp dword [esi + 0x1b78], 0
lea edx, [esi + 0x1b78]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x278]
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], edx
jne 0x1004a7ea
cmp byte [esi + 0x1b45], 0
je 0x1004a7ea
mov al, 1
jmp 0x1004a7ec
xor al, al
mov byte [edi + 0xaa], al
lea eax, [ecx - 1]
cmp dword [esp + 0x44], eax
mov ecx, dword [esp + 0x14]
setl al
mov byte [esp + 0xe], al
test ecx, 0x4000000
je 0x1004a846
mov eax, dword [esi + 0x1cec]
lea esi, [eax + eax*8]
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x1ce8]
mov eax, dword [edi + 0xb4]
cmp edi, dword [edx + esi*4 + 4]
setne cl
cmp eax, dword [edx + esi*4]
mov esi, dword [esp + 0x18]
setne al
or cl, al
mov al, byte [esp + 0xe]
or al, cl
mov ecx, dword [esp + 0x14]
mov byte [esp + 0xe], al
mov byte [edi + 0xa8], al
test al, al
je 0x1004a865
or byte [edi + 0xc4], 8
or byte [edi + 0xc5], 8
or byte [edi + 0xc6], 8
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x44], eax
je 0x1004a8ab
mov dword [edi + 0x278], eax
xor eax, eax
mov dword [edi + 8], ecx
movsd xmm0, qword [esi + 0x1b30]
cvtpd2ps xmm0, xmm0
mov word [edi + 0xb0], ax
movss dword [edi + 0x27c], xmm0
movzx eax, word [esi + 0x1b90]
inc dword [esi + 0x1b90]
mov word [edi + 0xb2], ax
jmp 0x1004a8b2
mov ecx, dword [edi + 8]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x30]
cmp dword [edx], 0
jne 0x1004a8bf
xor eax, eax
jmp 0x1004a8cb
mov eax, dword [esi + 0x1b80]
mov esi, dword [edx]
mov eax, dword [eax + esi*4 - 4]
mov esi, dword [esp + 0x44]
cmp esi, dword [esp + 0x54]
je 0x1004a8e7
and ecx, 0x5000000
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [esp + 0x2c], ecx
jmp 0x1004a8f1
mov eax, dword [edi + 0x338]
mov dword [esp + 0x2c], eax
cmp dword [edi + 0xd8], 0
lea eax, [edi + 0xd8]
mov esi, dword [esp + 0x18]
jne 0x1004a930
cmp dword [eax + 4], 0
jne 0x1004a919
push 8
mov ecx, eax
call fcn.10054060
lea eax, [edi + 0xd8]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 4]
mov dword [ecx + edx*4], eax
lea edx, [esi + 0x1b78]
inc dword [edi + 0xd8]
mov ecx, dword [edx + 4]
cmp dword [edx], ecx
jne 0x1004a967
test ecx, ecx
je 0x1004a94c
mov eax, ecx
cdq
sub eax, edx
lea edx, [esi + 0x1b78]
sar eax, 1
add eax, ecx
jmp 0x1004a951
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10054060
lea edx, [esi + 0x1b78]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov dword [eax + ecx*4], edi
inc dword [edx]
mov ecx, dword [0x10135b78]
mov dword [esi + 0x1b9c], edi
mov eax, dword [ecx + 0x1b9c]
movzx eax, word [eax + 0xd8]
mov word [edi + 0x1f0], ax
movzx eax, word [ecx + 0x1c98]
mov word [edi + 0x1f2], ax
movzx eax, word [ecx + 0x1ca4]
mov word [edi + 0x1f4], ax
movzx eax, word [ecx + 0x1cb0]
mov word [edi + 0x1f6], ax
movzx eax, word [ecx + 0x1cbc]
mov word [edi + 0x1f8], ax
movzx eax, word [ecx + 0x1cd4]
mov word [edi + 0x1fa], ax
movzx eax, word [ecx + 0x1cec]
mov ecx, dword [esp + 0x14]
mov word [edi + 0x1fc], ax
mov eax, ecx
and eax, 0x4000000
mov dword [esi + 0x1b9c], 0
mov dword [esp + 0x34], eax
je 0x1004aa32
mov eax, dword [esi + 0x1cec]
lea ecx, [esi + 0x1cec]
lea edx, [eax + eax*8]
mov eax, dword [esi + 0x1ce8]
mov dword [eax + edx*4 + 4], edi
lea esi, [eax + edx*4]
push esi
call fcn.10053dd0
mov eax, dword [esi]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [edi + 0xb4], eax
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x54]
je 0x1004aab7
mov edx, dword [esp + 0x2c]
mov dword [edi + 0x338], edx
mov dword [edi + 0x344], edi
mov dword [edi + 0x340], edi
mov dword [edi + 0x33c], edi
test edx, edx
je 0x1004aa92
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x1004aa76
mov eax, dword [edx + 0x33c]
mov dword [edi + 0x33c], eax
test ecx, 0x8000000
jne 0x1004aa92
test ecx, 0x5000000
je 0x1004aa92
mov eax, dword [edx + 0x340]
mov dword [edi + 0x340], eax
test dword [edi + 8], 0x800000
je 0x1004aab7
mov ecx, edi
nop dword [eax]
mov eax, dword [ecx + 0x338]
mov ecx, eax
mov dword [edi + 0x344], eax
test dword [ecx + 8], 0x800000
jne 0x1004aaa0
test byte [esi + 0x1c20], 1
mov byte [esp + 0xc], 0
mov byte [esp + 0xd], 0
mov byte [esp + 0xb], 0
je 0x1004ab71
mov dl, byte [edi + 0xc4]
mov ecx, dword [esi + 0x1c24]
movsx eax, dl
test ecx, eax
setne byte [esp + 0xc]
test ecx, eax
je 0x1004ab60
movss xmm1, dword [esi + 0x1c40]
movss xmm0, dword [esi + 0x1c3c]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x100e5580]
jbe 0x1004ab60
mov eax, dword [esi + 0x1c34]
mov ecx, dword [esi + 0x1c38]
mov dword [edi + 0xcc], ecx
mov dword [edi + 0xc8], eax
mov eax, dword [esi + 0x1c3c]
mov ecx, dword [esi + 0x1c40]
mov dword [edi + 0xd4], ecx
mov dword [edi + 0xd0], eax
mov eax, dword [edi + 0xc4]
movzx ecx, dl
and eax, 0xffffff00
and ecx, 0xf1
or ecx, eax
mov dword [edi + 0xc4], ecx
jmp 0x1004ab71
push ecx
lea edx, [esi + 0x1c34]
mov ecx, edi
call fcn.1004d320
add esp, 4
test byte [esi + 0x1c20], 2
xorps xmm1, xmm1
je 0x1004abd2
movsx eax, byte [edi + 0xc5]
lea edx, [esi + 0x1c44]
mov ecx, dword [esi + 0x1c28]
and eax, ecx
je 0x1004aba4
movss xmm0, dword [edx]
comiss xmm0, xmm1
jbe 0x1004aba4
mov byte [esp + 0xd], 1
jmp 0x1004abad
mov byte [esp + 0xd], 0
test eax, eax
je 0x1004abbf
movss xmm0, dword [esi + 0x1c48]
comiss xmm0, xmm1
mov byte [esp + 0xb], 1
ja 0x1004abc4
mov byte [esp + 0xb], 0
push ecx
mov ecx, edi
call fcn.1004d460
add esp, 4
xorps xmm1, xmm1
test byte [esi + 0x1c20], 0x80
je 0x1004ac19
movss xmm0, dword [esi + 0x1c54]
comiss xmm0, xmm1
jb 0x1004abfa
movss dword [edi + 0x80], xmm0
mov dword [edi + 0x88], 0
movss xmm0, dword [esi + 0x1c58]
comiss xmm0, xmm1
jb 0x1004ac19
movss dword [edi + 0x84], xmm0
mov dword [edi + 0x8c], 0
test byte [esi + 0x1c20], 4
je 0x1004ac36
mov eax, dword [esi + 0x1c4c]
mov ecx, dword [esi + 0x1c50]
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], ecx
jmp 0x1004ac4e
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x54]
je 0x1004ac4e
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
test byte [esi + 0x1c20], 8
je 0x1004ac9b
mov ecx, dword [esi + 0x1c30]
mov dl, byte [esi + 0x1c5c]
test ecx, ecx
je 0x1004ac72
movsx eax, byte [edi + 0xc6]
test ecx, eax
je 0x1004ac9b
movzx ecx, byte [edi + 0xc6]
mov eax, dword [edi + 0xc4]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [edi + 0xa5], dl
mov dword [edi + 0xc4], ecx
test byte [esi + 0x1c20], 0x20
je 0x1004acab
mov ecx, edi
call fcn.1004ce50
cmp byte [edi + 0xa8], 0
je 0x1004acc9
and byte [edi + 0xc4], 0xf7
and byte [edi + 0xc5], 0xf7
and byte [edi + 0xc6], 0xf7
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x54]
je 0x1004cb22
mov eax, dword [esp + 0x14]
lea ecx, [edi + 0xd8]
mov byte [edi + 0xa2], 1
and eax, 0x3000000
mov byte [edi + 0xab], 0
mov dword [edi + 0x250], 0xff7fffff
mov dword [edi + 0x254], 0xff7fffff
mov dword [edi + 0x258], 0x7f7fffff
mov dword [esp + 0x60], eax
mov dword [edi + 0x25c], 0x7f7fffff
mov eax, dword [ecx + 4]
mov dword [esp + 0x5c], eax
cmp eax, 1
jge 0x1004ad58
test eax, eax
je 0x1004ad3d
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [esp + 0x5c]
jmp 0x1004ad42
mov edx, 8
mov eax, 1
cmp edx, eax
cmovg eax, edx
push eax
call fcn.10054060
lea ecx, [edi + 0xd8]
mov dword [ecx], 1
mov ecx, dword [edi + 0x2a4]
call fcn.1005bcb0
cmp byte [edi + 0x37c], 0
mov dword [edi + 0x1b8], 0xffffffff
je 0x1004adbf
mov ecx, dword [edi + 0x2a4]
push dword [edi + 0x374]
add ecx, 0xc
mov byte [edi + 0x37c], 0
call fcn.10027520
mov ecx, dword [edi + 0x2a4]
push dword [edi + 0x378]
add ecx, 0x18
call fcn.100541b0
mov dword [edi + 0x378], 0
mov dword [edi + 0x374], 0
cmp dword [esi + 0x1e14], 0
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [esp + 0x98], eax
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [esp + 0x30], eax
je 0x1004aeb7
test dword [edi + 8], 0x80000
jne 0x1004aeb7
cmp dword [esp + 0x10], 0
je 0x1004aeb7
mov eax, dword [edi]
mov ecx, eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x64]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1004ae25
test dl, dl
je 0x1004ae21
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1004ae25
add eax, 2
add ecx, 2
test dl, dl
jne 0x1004ae05
xor eax, eax
jmp 0x1004ae2a
sbb eax, eax
or eax, 1
test eax, eax
je 0x1004aeb7
mov ecx, dword [esp + 0x64]
mov edx, dword [edi + 0x4c]
mov dword [esp + 0x4c], edx
lea eax, [ecx + 1]
mov dword [esp + 0x5c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004ae44
sub ecx, dword [esp + 0x5c]
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x1c], eax
cmp edx, eax
jae 0x1004aea0
test ecx, ecx
je 0x1004ae71
mov eax, dword [0x10135b78]
test eax, eax
je 0x1004ae71
dec dword [eax + 0x370]
push ecx
call dword [esp + 0x34]
mov eax, dword [0x10135b78]
add esp, 4
test eax, eax
je 0x1004ae88
inc dword [eax + 0x370]
push dword [esp + 0x1c]
call dword [esp + 0x9c]
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
push eax
push dword [esp + 0x68]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi], eax
add esp, 0xc
mov eax, dword [esp + 0x4c]
mov dword [edi + 0x4c], eax
mov al, byte [edi + 0xc1]
lea edx, [edi + 0x24]
mov byte [esp + 0x23], al
mov ecx, edi
lea eax, [edi + 0x2c]
push eax
call fcn.10048510
mov al, byte [edi + 0xc0]
add esp, 4
test al, al
jle 0x1004aee4
dec al
mov byte [edi + 0xc0], al
mov al, byte [edi + 0xc1]
test al, al
jle 0x1004aef6
dec al
mov byte [edi + 0xc1], al
mov al, byte [edi + 0xc2]
test al, al
jle 0x1004af08
dec al
mov byte [edi + 0xc2], al
cmp dword [esp + 0x10], 0
mov cl, byte [esp + 0xd]
mov dl, byte [esp + 0xb]
jne 0x1004af26
test cl, cl
je 0x1004af1f
test dl, dl
jne 0x1004af26
mov byte [edi + 0xc1], 1
cmp byte [esp + 0xe], 0
mov eax, dword [esp + 0x14]
je 0x1004af83
test eax, 0x6000000
je 0x1004af83
mov byte [edi + 0xc1], 1
test al, 0x40
je 0x1004af83
test cl, cl
jne 0x1004af55
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test dl, dl
jne 0x1004af67
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov edx, dword [0x10135b78]
mov dword [edx + 0x1b9c], edi
mov ecx, dword [edi + 0x1b8]
cmp ecx, 0xffffffff
je 0x1004afa8
imul ecx, ecx, 0x228
add ecx, dword [edx + 0x1ee4]
jmp 0x1004afaa
xor ecx, ecx
mov dword [edx + 0x1ed8], ecx
movss xmm0, dword [edi + 0x29c]
mov ecx, dword [edi + 0x338]
mulss xmm0, dword [edx + 0x1938]
test ecx, ecx
je 0x1004afd2
mulss xmm0, dword [ecx + 0x29c]
mov ecx, eax
movss dword [edx + 0x1948], xmm0
and ecx, 0x1000000
movss dword [edx + 0x1934], xmm0
mov dword [esp + 0x48], ecx
je 0x1004affa
movss xmm0, dword [esi + 0x1544]
jmp 0x1004b01a
test eax, 0x6000000
je 0x1004b012
test eax, 0x8000000
jne 0x1004b012
movss xmm0, dword [esi + 0x154c]
jmp 0x1004b01a
movss xmm0, dword [esi + 0x1528]
movss dword [edi + 0x48], xmm0
xorps xmm3, xmm3
mov eax, dword [esi + 0x151c]
mov ecx, dword [esi + 0x1520]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], ecx
mov ecx, dword [esp + 0x14]
mov eax, ecx
and eax, 0x5010000
cmp eax, 0x1000000
jne 0x1004b070
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x1004b070
test ecx, 0x400
je 0x1004b061
movss xmm0, dword [esi + 0x1520]
jmp 0x1004b064
xorps xmm0, xmm0
mov dword [edi + 0x3c], 0
movss dword [edi + 0x40], xmm0
movss xmm0, dword [edi + 0x3c]
maxss xmm0, dword [esi + 0x1560]
maxss xmm0, dword [esi + 0x1c7c]
movss dword [edi + 0x170], xmm0
mov eax, dword [esi + 0x1c80]
mov dword [edi + 0x174], eax
test cl, 0x21
jne 0x1004b1d5
mov ecx, dword [edi + 8]
test cl, 1
je 0x1004b0af
xorps xmm0, xmm0
jmp 0x1004b0e1
movss xmm1, dword [edi + 0x29c]
mov eax, dword [edi + 0x338]
mulss xmm1, dword [edx + 0x1938]
test eax, eax
je 0x1004b0d1
mulss xmm1, dword [eax + 0x29c]
movss xmm0, dword [edx + 0x1554]
addss xmm0, xmm0
addss xmm0, xmm1
movss xmm1, dword [edi + 0xc]
movaps xmm4, xmm1
addss xmm4, dword [edi + 0x1c]
addss xmm0, dword [edi + 0x10]
cmp dword [esi + 0x1ba0], edi
jne 0x1004b1a0
cmp dword [esi + 0x1bbc], 0
jne 0x1004b1a0
cmp dword [esi + 0x1bc0], 0
jne 0x1004b1a0
mov eax, dword [edx + 0x1b9c]
movss xmm2, dword [eax + 0x250]
minss xmm4, dword [eax + 0x258]
movss xmm5, dword [eax + 0x254]
maxss xmm2, xmm1
movss xmm1, dword [edx + 0x1578]
movss xmm6, dword [eax + 0x25c]
maxss xmm5, dword [edi + 0x10]
minss xmm6, xmm0
movss xmm0, dword [edx + 0x157c]
subss xmm2, xmm1
addss xmm4, xmm1
movss xmm1, dword [edx + 0xe4]
subss xmm5, xmm0
addss xmm6, xmm0
comiss xmm1, xmm2
jb 0x1004b1a0
movss xmm0, dword [edx + 0xe8]
comiss xmm0, xmm5
jb 0x1004b1a0
comiss xmm4, xmm1
jbe 0x1004b1a0
comiss xmm6, xmm0
jbe 0x1004b1a0
cmp byte [esi + 0x3dd], 0
je 0x1004b1a0
mov byte [edi + 0xa6], 1
cmp byte [edi + 0xa6], 0
je 0x1004b1dc
cmp byte [edi + 0xa5], 0
sete al
mov byte [edi + 0xa5], al
test ecx, 0x100
jne 0x1004b1dc
comiss xmm3, dword [edx + 0x2ea0]
jb 0x1004b1dc
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x2ea0], eax
jmp 0x1004b1dc
mov byte [edi + 0xa5], 0
lea eax, [edi + 0x2c]
mov byte [edi + 0xa6], 0
push eax
mov edx, edi
lea ecx, [esp + 0xa0]
call fcn.10048640
mov al, byte [esp + 0x13]
add esp, 4
mov byte [esp + 0xa], al
mov eax, dword [esp + 0x14]
and eax, 0x40
mov dword [esp + 0x5c], eax
je 0x1004b255
cmp byte [edi + 0xa5], 0
jne 0x1004b255
cmp byte [esp + 0xd], 0
lea edx, [edi + 0x1c]
jne 0x1004b232
movss xmm0, dword [esp + 0x9c]
movss dword [edx], xmm0
mov byte [esp + 0xf], 1
cmp byte [esp + 0xb], 0
jne 0x1004b2fc
movss xmm0, dword [esp + 0xa0]
movss dword [edi + 0x20], xmm0
mov byte [esp + 0xa], 1
jmp 0x1004b2fc
mov al, byte [edi + 0xb8]
test al, al
jg 0x1004b26c
cmp byte [edi + 0xb9], 0
jle 0x1004b2f9
cmp byte [esp + 0xd], 0
lea edx, [edi + 0x1c]
jne 0x1004b299
test al, al
jle 0x1004b299
cmp byte [edi + 0xbb], 0
movss xmm0, dword [esp + 0x9c]
je 0x1004b290
maxss xmm0, dword [edx]
movss dword [edx], xmm0
mov byte [esp + 0xf], 1
cmp byte [esp + 0xb], 0
jne 0x1004b2ca
cmp byte [edi + 0xb9], 0
jle 0x1004b2ca
cmp byte [edi + 0xbb], 0
movss xmm0, dword [esp + 0xa0]
je 0x1004b2c0
maxss xmm0, dword [edi + 0x20]
movss dword [edi + 0x20], xmm0
mov byte [esp + 0xa], 1
cmp byte [edi + 0xa5], 0
jne 0x1004b2fc
test dword [edi + 8], 0x100
mov ecx, dword [0x10135b78]
jne 0x1004b2fc
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2ea0]
jb 0x1004b2fc
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2ea0], eax
jmp 0x1004b2fc
lea edx, [edi + 0x1c]
push edx
mov edx, edi
lea ecx, [esp + 0x6c]
call fcn.10048310
add esp, 4
cmp byte [edi + 0xa5], 0
movss xmm2, dword [eax]
movss xmm0, dword [eax + 4]
movss dword [edi + 0x1c], xmm2
movss dword [edi + 0x20], xmm0
je 0x1004b388
cmp dword [esp + 0x48], 0
jne 0x1004b388
test byte [edi + 8], 1
je 0x1004b339
xorps xmm0, xmm0
jmp 0x1004b370
mov eax, dword [0x10135b78]
mov ecx, dword [edi + 0x338]
movss xmm1, dword [eax + 0x1938]
mulss xmm1, dword [edi + 0x29c]
test ecx, ecx
je 0x1004b360
mulss xmm1, dword [ecx + 0x29c]
movss xmm0, dword [eax + 0x1554]
addss xmm0, xmm0
addss xmm0, xmm1
addss xmm0, dword [edi + 0x10]
movss dword [esp + 0x24], xmm2
subss xmm0, dword [edi + 0x10]
movss dword [esp + 0x28], xmm0
jmp 0x1004b396
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov edx, dword [edi + 8]
lea ecx, [esp + 0x24]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x14], eax
mov eax, dword [0x10135b78]
mov dword [edi + 0x18], ecx
test dl, 1
je 0x1004b3b7
xorps xmm1, xmm1
jmp 0x1004b3e9
movss xmm0, dword [eax + 0x1938]
mov ecx, dword [edi + 0x338]
mulss xmm0, dword [edi + 0x29c]
test ecx, ecx
je 0x1004b3d9
mulss xmm0, dword [ecx + 0x29c]
movss xmm1, dword [eax + 0x1554]
addss xmm1, xmm1
addss xmm1, xmm0
test edx, 0x400
je 0x1004b42d
movss xmm2, dword [eax + 0x1938]
mov ecx, dword [edi + 0x338]
mulss xmm2, dword [edi + 0x29c]
test ecx, ecx
je 0x1004b413
mulss xmm2, dword [ecx + 0x29c]
movss xmm0, dword [eax + 0x1554]
addss xmm2, dword [edi + 0x174]
addss xmm0, xmm0
addss xmm2, xmm0
jmp 0x1004b430
xorps xmm2, xmm2
cmp byte [esp + 0xe], 0
addss xmm2, xmm1
movss dword [esp + 0x50], xmm2
je 0x1004b487
mov eax, dword [esp + 0x14]
and eax, 0xc000000
mov dword [edi + 0xbc], 0xffffffff
cmp eax, 0x4000000
jne 0x1004b487
cmp byte [esp + 0xc], 0
jne 0x1004b487
mov eax, dword [esi + 0x1cec]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x1cf4]
movss xmm0, dword [eax + ecx*4 - 0x10]
movss xmm1, dword [eax + ecx*4 - 0xc]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
cmp dword [esp + 0x48], 0
je 0x1004b51d
mov edx, dword [esp + 0x2c]
add edx, 0x1a4
mov dword [esp + 0x1c], edx
mov ax, word [edx]
mov word [edi + 0xb0], ax
mov ecx, dword [edx + 4]
cmp dword [edx], ecx
jne 0x1004b4e1
test ecx, ecx
je 0x1004b4c4
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
add eax, ecx
jmp 0x1004b4c9
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10054060
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov dword [eax + ecx*4], edi
inc dword [edx]
mov edx, dword [esp + 0x34]
mov al, byte [esp + 0xc]
test edx, edx
jne 0x1004b525
test al, al
jne 0x1004b525
cmp dword [esp + 0x60], 0x3000000
je 0x1004b525
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0xe4]
mov ecx, dword [ecx + 0xe8]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
jmp 0x1004b521
mov edx, dword [esp + 0x34]
mov al, byte [esp + 0xc]
movss xmm1, dword [edi + 0xc8]
ucomiss xmm1, dword [0x100e59b8]
lahf
test ah, 0x44
jnp 0x1004b58b
cmp byte [edi + 0xc1], 0
jne 0x1004b58b
movss xmm0, dword [edi + 0x14]
lea edx, [esp + 0x24]
mulss xmm0, dword [edi + 0xd0]
mov ecx, edi
push 0
subss xmm1, xmm0
movss xmm0, dword [edi + 0xcc]
movss dword [esp + 0x28], xmm1
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [edi + 0xd4]
subss xmm0, xmm1
movss dword [esp + 0x2c], xmm0
call fcn.1004d320
add esp, 4
jmp 0x1004b5dc
mov ecx, dword [esp + 0x14]
test ecx, 0x10000000
jne 0x1004b5bb
test edx, edx
je 0x1004b5a5
test al, al
jne 0x1004b5a5
cmp byte [esp + 0x23], al
jg 0x1004b5bb
test ecx, 0x2000000
je 0x1004b5e0
test al, al
jne 0x1004b5e0
cmp dword [esp + 0x60], 0x3000000
je 0x1004b5e0
mov edx, edi
lea ecx, [esp + 0xa4]
call fcn.1004f280
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
mov ecx, dword [esp + 0x14]
cmp byte [esp + 0xc], 0
mov edx, dword [0x10135b78]
movss xmm3, dword [esi + 0x15cc]
movss xmm2, dword [esi + 0x15c8]
maxss xmm3, dword [esi + 0x15c4]
mov eax, dword [edx + 0x1d00]
maxss xmm2, dword [esi + 0x15c0]
mov eax, dword [eax]
movss xmm5, dword [eax + 0x14]
movss xmm4, dword [eax + 0x18]
addss xmm5, dword [eax + 0x1c]
addss xmm4, dword [eax + 0x20]
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax + 8]
movaps xmm6, xmm1
addss xmm6, dword [eax + 0xc]
movaps xmm7, xmm0
movss dword [esp + 0x58], xmm1
addss xmm7, dword [eax + 0x10]
subss xmm5, xmm2
movss dword [esp + 0x70], xmm1
addss xmm2, dword [eax + 0x14]
subss xmm4, xmm3
movss dword [esp + 0x1c], xmm0
addss xmm3, dword [eax + 0x18]
movss dword [esp + 0x74], xmm0
movss dword [esp + 0xb0], xmm6
movss dword [esp + 0x78], xmm6
movss dword [esp + 0x38], xmm7
movss dword [esp + 0x7c], xmm7
movss dword [esp + 0xd0], xmm2
movss dword [esp + 0xd4], xmm3
movss dword [esp + 0xd8], xmm5
movss dword [esp + 0xdc], xmm4
jne 0x1004b771
cmp dword [esp + 0x48], 0
jne 0x1004b771
cmp byte [edi + 0xb8], 0
jg 0x1004b771
cmp byte [edi + 0xb9], 0
jg 0x1004b771
movaps xmm0, xmm6
subss xmm0, xmm1
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1004b771
movaps xmm0, xmm7
subss xmm0, dword [esp + 0x1c]
comiss xmm0, xmm1
jbe 0x1004b771
cmp byte [edx + 0xb5], 0
movss xmm1, dword [edi + 0x18]
je 0x1004b73c
test byte [edi + 8], 1
jne 0x1004b73c
movss xmm0, dword [edx + 0x1938]
mov eax, dword [edi + 0x338]
mulss xmm0, dword [edi + 0x29c]
test eax, eax
je 0x1004b72c
mulss xmm0, dword [eax + 0x29c]
movss xmm1, dword [edx + 0x1554]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [edi + 0x10]
subss xmm3, xmm1
subss xmm2, dword [edi + 0x14]
comiss xmm3, xmm0
ja 0x1004b756
movaps xmm3, xmm4
minss xmm3, xmm0
movss xmm0, dword [edi + 0xc]
comiss xmm2, xmm0
ja 0x1004b767
movaps xmm2, xmm5
minss xmm2, xmm0
movss dword [edi + 0xc], xmm2
movss dword [edi + 0x10], xmm3
cmp dword [esp + 0x48], 0
cvttss2si eax, dword [edi + 0xc]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0xc], xmm1
movss dword [edi + 0x10], xmm0
je 0x1004b7a4
movss xmm2, dword [esi + 0x1540]
jmp 0x1004b7c4
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1004b7bc
movss xmm2, dword [esi + 0x1548]
jmp 0x1004b7c4
movss xmm2, dword [esi + 0x1524]
xor dl, dl
movss dword [edi + 0x44], xmm2
mov dword [esp + 0x4c], edx
cmp byte [esp + 0xe], dl
je 0x1004b7ff
test ecx, 0x1000
jne 0x1004b7ff
cmp dword [esp + 0x34], 0
je 0x1004b7eb
mov byte [esp + 0x4c], 1
jmp 0x1004b7ff
cmp dword [esp + 0x60], 0
mov eax, 1
movzx edx, dl
cmove edx, eax
mov dword [esp + 0x4c], edx
movss xmm1, dword [esi + 0x1934]
xorps xmm0, xmm0
movaps xmmword [esp + 0xe0], xmm0
xor eax, eax
cmp byte [esi + 0xb4], al
movaps xmm0, xmm1
mulss xmm0, dword [0x100e5658]
setne al
mov dword [esp + 0xac], 0xffffffff
mulss xmm1, dword [0x100e574c]
inc eax
cmp byte [edi + 0xa5], 0
addss xmm0, xmm2
mov dword [esp + 0x24], eax
addss xmm0, dword [0x100e572c]
maxss xmm0, xmm1
cvttss2si esi, xmm0
jne 0x1004b891
lea ecx, [esp + 0xd0]
push ecx
lea ecx, [esp + 0xe4]
push ecx
push eax
lea eax, [esp + 0xb8]
mov ecx, edi
push eax
lea edx, [esp + 0xac]
call fcn.10048880
add esp, 0x10
test al, al
je 0x1004b891
mov cl, 1
mov ch, cl
jmp 0x1004b899
mov ch, byte [esp + 0xf]
mov cl, byte [esp + 0xa]
cmp byte [edi + 0xa5], 0
mov al, byte [esp + 0xac]
mov byte [edi + 0xac], al
jne 0x1004ba03
cmp dword [esp + 0x10], 0
lea eax, [esp + 0x3c]
movss xmm2, dword [edi + 0x218]
movss xmm3, dword [edi + 0x21c]
subss xmm2, dword [edi + 0x210]
subss xmm3, dword [edi + 0x214]
movss xmm4, dword [edi + 0x20]
movss xmm5, dword [edi + 0x1c]
subss xmm4, dword [esp + 0x50]
addss xmm2, dword [edi + 0x98]
addss xmm3, dword [edi + 0x9c]
jne 0x1004b910
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
jmp 0x1004b938
movss xmm0, dword [edi + 0x3c]
movss xmm1, dword [edi + 0x40]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [edi + 0x24]
addss xmm1, dword [edi + 0x28]
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x40], xmm1
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
test ch, ch
jne 0x1004b948
movaps xmm5, xmm2
test cl, cl
jne 0x1004b94f
movaps xmm4, xmm3
mov edx, dword [esp + 0x14]
test edx, 0x4000
jne 0x1004b969
comiss xmm6, xmm4
jbe 0x1004b965
test dl, 8
je 0x1004b969
xor cl, cl
jmp 0x1004b96b
mov cl, 1
mov eax, dword [esp + 0x18]
add eax, 0x158c
mov byte [edi + 0xa1], cl
test edx, 0x8000
jne 0x1004b9c1
mov dword [esp + 0x10], eax
xorps xmm0, xmm0
test cl, cl
je 0x1004b993
movss xmm1, dword [eax]
jmp 0x1004b996
xorps xmm1, xmm1
subss xmm5, xmm1
comiss xmm7, xmm5
jbe 0x1004b9ad
mov eax, edx
and eax, 0x808
cmp eax, 0x800
je 0x1004b9bd
mov eax, dword [esp + 0x10]
xorps xmm1, xmm1
mov byte [edi + 0xa0], 0
jmp 0x1004b9e9
mov eax, dword [esp + 0x10]
mov byte [edi + 0xa0], 1
test cl, cl
jne 0x1004b9e2
comiss xmm6, xmm4
jbe 0x1004b9da
test dl, 8
jne 0x1004b9da
mov cl, 1
jmp 0x1004b9dc
xor cl, cl
mov byte [edi + 0xa1], cl
movss xmm1, dword [eax]
xorps xmm0, xmm0
test cl, cl
je 0x1004b9f1
movss xmm0, dword [eax]
movss dword [edi + 0x98], xmm0
movss dword [edi + 0x9c], xmm1
jmp 0x1004ba07
mov edx, dword [esp + 0x14]
mov eax, edx
and eax, 0x5000000
mov dword [esp + 0x3c], eax
cmp eax, 0x1000000
jne 0x1004ba2e
cmp dword [esp + 0x60], 0x3000000
je 0x1004ba2e
mov eax, dword [esp + 0x2c]
add eax, 0x250
jmp 0x1004ba32
lea eax, [esp + 0x70]
test byte [edi + 8], 1
movss xmm5, dword [edi + 0xc]
movups xmm0, xmmword [eax]
movss xmm6, dword [edi + 0x10]
movaps xmm2, xmm5
addss xmm2, dword [edi + 0x14]
movaps xmm4, xmm6
movss dword [esp + 0xbc], xmm5
addss xmm4, dword [edi + 0x18]
movups xmmword [esp + 0x80], xmm0
je 0x1004ba6b
xorps xmm1, xmm1
jmp 0x1004baa2
mov eax, dword [0x10135b78]
mov ecx, dword [edi + 0x338]
movss xmm0, dword [eax + 0x1938]
mulss xmm0, dword [edi + 0x29c]
test ecx, ecx
je 0x1004ba92
mulss xmm0, dword [ecx + 0x29c]
movss xmm1, dword [eax + 0x1554]
addss xmm1, xmm1
addss xmm1, xmm0
movaps xmm7, xmm6
movss dword [esp + 0xc0], xmm5
addss xmm7, xmm1
mov ecx, dword [esp + 0x18]
movss xmm1, dword [edi + 0x10]
movaps xmm0, xmm5
addss xmm0, dword [edi + 0x1c]
movss dword [esp + 0xc4], xmm1
mov eax, edx
and eax, 0x401
xorps xmm3, xmm3
movss dword [esp + 0xb8], xmm7
movss dword [esp + 0xcc], xmm7
movss dword [esp + 0xc8], xmm0
movss dword [edi + 0x200], xmm5
movss dword [edi + 0x204], xmm6
movss dword [edi + 0x208], xmm2
movss dword [edi + 0x20c], xmm4
movss xmm5, dword [esp + 0x80]
movss xmm7, dword [esp + 0x84]
movss dword [esp + 0xb4], xmm0
movaps xmm0, xmm5
maxss xmm6, xmm7
maxss xmm0, dword [edi + 0x200]
movss dword [edi + 0x204], xmm6
movss dword [edi + 0x200], xmm0
movss xmm1, dword [edi + 0x208]
movss xmm0, dword [edi + 0x20c]
minss xmm1, dword [esp + 0x88]
minss xmm0, dword [esp + 0x8c]
movss dword [edi + 0x208], xmm1
movss xmm1, dword [esp + 0x50]
movss dword [edi + 0x20c], xmm0
movss xmm0, dword [edi + 0x10]
movss xmm6, dword [edi + 0xc]
addss xmm1, xmm0
movss dword [edi + 0x210], xmm6
addss xmm0, dword [edi + 0x18]
movss dword [esp + 0x34], xmm1
movss dword [edi + 0x214], xmm1
movaps xmm1, xmm6
addss xmm1, dword [edi + 0x14]
subss xmm0, dword [edi + 0x9c]
subss xmm1, dword [edi + 0x98]
movss dword [esp + 0x68], xmm0
movss dword [edi + 0x21c], xmm0
movss dword [esp + 0xa4], xmm1
movss dword [edi + 0x218], xmm1
cmp eax, 1
jne 0x1004bbef
movss xmm0, dword [edi + 0x48]
jmp 0x1004bbf7
movss xmm0, dword [ecx + 0x155c]
movss xmm4, dword [0x100e56b0]
movss dword [esp + 0x10], xmm0
addss xmm6, xmm4
movss xmm0, dword [edi + 0x3c]
mulss xmm0, xmm4
movss xmm2, dword [esp + 0x8c]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x34]
addss xmm0, xmm4
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm0, dword [esp + 0x10]
maxss xmm1, dword [edi + 0x48]
addss xmm6, xmm1
cvttss2si eax, xmm6
movd xmm6, eax
cvttss2si eax, xmm0
cvtdq2ps xmm6, xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x220], xmm6
movss dword [edi + 0x224], xmm0
movss xmm0, dword [esp + 0xa4]
addss xmm0, xmm4
subss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x228], xmm0
movss xmm0, dword [esp + 0x68]
addss xmm0, xmm4
subss xmm0, dword [edi + 0x48]
cvttss2si eax, xmm0
movd xmm0, eax
lea eax, [edi + 0x220]
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x22c], xmm0
movss xmm1, dword [eax + 4]
comiss xmm7, xmm1
jbe 0x1004bcc0
movaps xmm0, xmm7
jmp 0x1004bcc7
movaps xmm0, xmm2
minss xmm0, xmm1
comiss xmm5, xmm6
movss xmm1, dword [esp + 0x88]
jbe 0x1004bcda
movaps xmm6, xmm5
jmp 0x1004bcde
minss xmm6, xmm1
movss dword [eax], xmm6
movss dword [eax + 4], xmm0
movss xmm0, dword [eax + 0xc]
comiss xmm7, xmm0
ja 0x1004bcf8
movaps xmm7, xmm2
minss xmm7, xmm0
movss xmm0, dword [eax + 8]
comiss xmm5, xmm0
ja 0x1004bd09
movaps xmm5, xmm1
minss xmm5, xmm0
movss dword [eax + 8], xmm5
movss dword [eax + 0xc], xmm7
movss xmm0, dword [edi + 0x14]
comiss xmm0, xmm3
jbe 0x1004bd2f
test edx, 0x2000040
jne 0x1004bd2f
mulss xmm0, dword [0x100e56c8]
jmp 0x1004bd3f
movss xmm0, dword [ecx + 0x1934]
mulss xmm0, dword [0x100e5840]
cvttss2si eax, xmm0
mov edx, edi
lea ecx, [esp + 0x68]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x280], xmm0
movss xmm1, dword [edi + 0x3c]
movss xmm0, dword [edi + 0x218]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x210]
addss xmm1, dword [edi + 0x24]
subss xmm1, xmm0
maxss xmm1, xmm3
movss dword [edi + 0x78], xmm1
movss xmm1, dword [edi + 0x40]
movss xmm0, dword [edi + 0x21c]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x214]
addss xmm1, dword [edi + 0x28]
subss xmm1, xmm0
maxss xmm1, xmm3
movss dword [edi + 0x7c], xmm1
call fcn.1004de80
mov ecx, dword [edi + 0x2a4]
mov dword [esp + 0xa4], ecx
add ecx, 0x48
mov dword [esp + 0x10], ecx
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [esp + 0x18]
movss dword [edi + 0x58], xmm0
movss dword [edi + 0x5c], xmm1
mov dword [edi + 0x80], 0x7f7fffff
mov dword [edi + 0x84], 0x7f7fffff
mov eax, dword [eax + 0x1930]
mov edx, dword [ecx]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 4]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x1004be36
inc edx
mov dword [esp + 0x68], edx
test eax, eax
je 0x1004be22
cdq
sub eax, edx
mov edx, dword [esp + 0x68]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1004be27
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10054060
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x34]
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
inc dword [ecx]
mov ecx, dword [esp + 0xa4]
mov dword [ecx + 0x70], eax
call fcn.1005c060
push 0
lea edx, [esp + 0x8c]
lea ecx, [esp + 0x84]
call fcn.10046b10
add esp, 4
test dword [esp + 0x14], 0x8000000
je 0x1004be9b
call fcn.1004e8b0
cmp edi, eax
jne 0x1004be9b
cmp byte [edi + 0xc1], 0
jg 0x1004be9b
mov dl, 1
mov dword [esp + 0x10], 0x408
jmp 0x1004bea5
xor dl, dl
mov dword [esp + 0x10], 0x3f8
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x1e10]
test eax, eax
je 0x1004bebf
cmp edi, dword [eax + 0x33c]
jne 0x1004bebf
mov al, 1
jmp 0x1004bec1
xor al, al
movss xmm4, dword [0x100e5940]
mov byte [esp + 0xa], al
test dl, dl
jne 0x1004bed9
test al, al
je 0x1004c166
mov eax, dword [0x10135b78]
mov edx, dword [esp + 0x10]
movss xmm2, dword [ecx + 0x1e40]
movss xmm5, dword [0x100e572c]
mulss xmm2, dword [eax + 0x1518]
movups xmm1, xmmword [eax + edx + 0x1518]
movaps xmm0, xmm1
movaps xmmword [esp + 0x80], xmm1
shufps xmm0, xmm1, 0xff
mulss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1004bf22
xorps xmm1, xmm1
jmp 0x1004bf26
minss xmm1, xmm5
movss xmm3, dword [0x100e56b0]
mulss xmm1, xmm4
addss xmm1, xmm3
cvttss2si ecx, xmm1
movss xmm1, dword [esp + 0x84]
comiss xmm0, xmm1
jbe 0x1004bf4d
xorps xmm1, xmm1
jmp 0x1004bf51
minss xmm1, xmm5
mulss xmm1, xmm4
addss xmm1, xmm3
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x88]
shl eax, 8
or ecx, eax
comiss xmm0, xmm1
jbe 0x1004bf75
xorps xmm1, xmm1
jmp 0x1004bf79
minss xmm1, xmm5
mulss xmm1, xmm4
addss xmm1, xmm3
cvttss2si eax, xmm1
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm2
jbe 0x1004bf94
xorps xmm2, xmm2
jmp 0x1004bf98
minss xmm2, xmm5
mulss xmm2, xmm4
push 0
push ecx
mov dword [esp], 0
addss xmm2, xmm3
cvttss2si eax, xmm2
shl eax, 0x18
or eax, ecx
mov ecx, dword [edi + 0x2a4]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.1005e110
cmp byte [esp + 0xa], 0
mov ecx, dword [esp + 0x18]
je 0x1004c166
cmp edi, dword [ecx + 0x1e10]
jne 0x1004c166
movss xmm2, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movaps xmm1, xmm2
movss xmm0, dword [ecx + 0x1934]
movaps xmm4, xmm3
addss xmm2, dword [edi + 0x14]
addss xmm3, dword [edi + 0x18]
subss xmm1, xmm0
subss xmm4, xmm0
addss xmm2, xmm0
addss xmm3, xmm0
movss xmm0, dword [esp + 0x58]
comiss xmm0, xmm1
movss dword [esp + 0x70], xmm1
movss dword [esp + 0x74], xmm4
movss dword [esp + 0x78], xmm2
movss dword [esp + 0x7c], xmm3
jb 0x1004c05f
movss xmm0, dword [esp + 0x1c]
comiss xmm0, xmm4
jb 0x1004c05f
comiss xmm2, dword [esp + 0xb0]
jb 0x1004c05f
comiss xmm3, dword [esp + 0x38]
jae 0x1004c166
mov eax, dword [0x10135b78]
movss xmm1, dword [ecx + 0x1e1c]
mulss xmm1, dword [0x100e5670]
movups xmm2, xmmword [eax + 0x1900]
mulss xmm1, dword [eax + 0x1518]
movss xmm5, dword [ecx + 0x1524]
movaps xmm0, xmm2
movss xmm6, dword [0x100e572c]
shufps xmm0, xmm2, 0xff
mulss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
movaps xmmword [esp + 0x80], xmm2
jbe 0x1004c0b3
xorps xmm2, xmm2
jmp 0x1004c0b7
minss xmm2, xmm6
movss xmm4, dword [0x100e5940]
movss xmm3, dword [0x100e56b0]
mulss xmm2, xmm4
addss xmm2, xmm3
cvttss2si ecx, xmm2
movss xmm2, dword [esp + 0x84]
comiss xmm0, xmm2
jbe 0x1004c0e6
xorps xmm2, xmm2
jmp 0x1004c0ea
minss xmm2, xmm6
mulss xmm2, xmm4
addss xmm2, xmm3
cvttss2si eax, xmm2
movss xmm2, dword [esp + 0x88]
shl eax, 8
or ecx, eax
comiss xmm0, xmm2
jbe 0x1004c10e
xorps xmm2, xmm2
jmp 0x1004c112
minss xmm2, xmm6
mulss xmm2, xmm4
addss xmm2, xmm3
cvttss2si eax, xmm2
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm1
jbe 0x1004c12d
xorps xmm1, xmm1
jmp 0x1004c131
minss xmm1, xmm6
mulss xmm1, xmm4
push 0
push ecx
movss dword [esp], xmm5
addss xmm1, xmm3
cvttss2si eax, xmm1
shl eax, 0x18
or eax, ecx
mov ecx, dword [edi + 0x2a4]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.1005e110
cmp dword [esp + 0x3c], 0x1000000
mov byte [esp + 0xa], 0
jne 0x1004c1af
cmp dword [esp + 0x60], 0x3000000
je 0x1004c1af
mov edx, dword [edi + 0x2a4]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x1004c1af
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x2a4]
cmp dword [eax + 0x18], 0
jle 0x1004c1af
mov byte [esp + 0xa], 1
mov dword [edi + 0x2a4], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x1e0c]
test ecx, ecx
jne 0x1004c1c3
mov ecx, dword [eax + 0x1d04]
cmp byte [esp + 0x4c], 0
jne 0x1004c1e3
test ecx, ecx
je 0x1004c1dc
mov eax, dword [edi + 0x340]
cmp eax, dword [ecx + 0x340]
je 0x1004c1e3
mov byte [esp + 0x10], 0
jmp 0x1004c1e8
mov byte [esp + 0x10], 1
movd xmm0, esi
lea eax, [esp + 0xe0]
cvtdq2ps xmm0, xmm0
push ecx
lea edx, [esp + 0xc4]
mov ecx, edi
movss dword [esp], xmm0
push eax
push dword [esp + 0x2c]
push dword [esp + 0x1c]
call fcn.10049a40
add esp, 0x10
cmp byte [esp + 0xa], 0
je 0x1004c229
lea eax, [edi + 0x2a8]
mov dword [edi + 0x2a4], eax
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x1e10], edi
jne 0x1004c449
movss xmm0, dword [esi + 0x1524]
movss xmm2, dword [edi + 0x44]
movss xmm5, dword [edi + 0xc]
maxss xmm0, xmm2
movss xmm1, dword [esi + 0x1934]
movaps xmm7, xmm5
movss xmm4, dword [edi + 0x10]
subss xmm7, xmm1
addss xmm5, dword [edi + 0x14]
movaps xmm6, xmm4
addss xmm4, dword [edi + 0x18]
movss dword [esp + 0x10], xmm0
subss xmm6, xmm1
movss xmm0, dword [esp + 0x58]
comiss xmm0, xmm7
addss xmm5, xmm1
addss xmm4, xmm1
jb 0x1004c2d1
movss xmm0, dword [esp + 0x1c]
comiss xmm0, xmm6
jb 0x1004c2d1
comiss xmm5, dword [esp + 0xb0]
jb 0x1004c2d1
comiss xmm4, dword [esp + 0x38]
jb 0x1004c2d1
xorps xmm1, xmmword [0x100e5c20]
subss xmm1, dword [0x100e572c]
movss dword [esp + 0x10], xmm2
movaps xmm0, xmm1
subss xmm7, xmm1
subss xmm6, xmm1
addss xmm5, xmm0
addss xmm4, xmm1
mov eax, dword [0x10135b78]
xorps xmm3, xmm3
movss xmm1, dword [esi + 0x1e1c]
mov ecx, dword [edi + 0x2a4]
mov dword [esp + 0x38], ecx
movups xmm2, xmmword [eax + 0x1900]
mulss xmm1, dword [eax + 0x1518]
comiss xmm3, xmm2
movaps xmm0, xmm2
movaps xmmword [esp + 0x70], xmm2
shufps xmm0, xmm2, 0xff
mulss xmm1, xmm0
jbe 0x1004c314
xorps xmm2, xmm2
jmp 0x1004c31c
minss xmm2, dword [0x100e572c]
mulss xmm2, dword [0x100e5940]
movss xmm0, dword [esp + 0x74]
comiss xmm3, xmm0
addss xmm2, dword [0x100e56b0]
cvttss2si edx, xmm2
jbe 0x1004c340
xorps xmm0, xmm0
jmp 0x1004c348
minss xmm0, dword [0x100e572c]
mulss xmm0, dword [0x100e5940]
movss xmm2, dword [0x100e56b0]
addss xmm0, xmm2
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x78]
shl eax, 8
or edx, eax
comiss xmm3, xmm0
jbe 0x1004c375
xorps xmm0, xmm0
jmp 0x1004c37d
minss xmm0, dword [0x100e572c]
mulss xmm0, dword [0x100e5940]
addss xmm0, xmm2
cvttss2si eax, xmm0
shl eax, 0x10
or edx, eax
comiss xmm3, xmm1
jbe 0x1004c39c
xorps xmm1, xmm1
jmp 0x1004c3a4
minss xmm1, dword [0x100e572c]
mulss xmm1, dword [0x100e5940]
addss xmm1, xmm2
cvttss2si eax, xmm1
shl eax, 0x18
or eax, edx
mov dword [esp + 0x24], eax
test eax, 0xff000000
je 0x1004c44c
test byte [ecx + 0x24], 1
addss xmm7, xmm2
movss xmm3, dword [esp + 0x10]
addss xmm6, xmm2
push 0
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x70]
movss dword [esp + 0x70], xmm7
movss dword [esp + 0x74], xmm6
push eax
je 0x1004c3fe
subss xmm5, xmm2
subss xmm4, xmm2
jmp 0x1004c40e
subss xmm5, dword [0x100e56ac]
subss xmm4, dword [0x100e56ac]
movss dword [esp + 0x48], xmm5
movss dword [esp + 0x4c], xmm4
call fcn.1005dcb0
mov eax, dword [esp + 0x38]
push ecx
mov dword [esp], 0x40400000
mov ecx, eax
push 1
push dword [esp + 0x2c]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.1005c3e0
mov eax, dword [esp + 0x38]
mov dword [eax + 0x54], 0
xorps xmm3, xmm3
mov ecx, dword [esp + 0x14]
mov edx, ecx
movss xmm6, dword [edi + 0x34]
shr edx, 3
not dl
and dl, 1
ucomiss xmm6, xmm3
lahf
test ah, 0x44
jnp 0x1004c470
movss dword [esp + 0x38], xmm6
jmp 0x1004c4ac
movss xmm0, dword [edi + 0x3c]
mov eax, ecx
movss xmm1, dword [edi + 0x14]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [edi + 0x98]
cmp eax, 0x800
jne 0x1004c49f
movss xmm0, dword [edi + 0x24]
jmp 0x1004c4a2
xorps xmm0, xmm0
maxss xmm1, xmm0
movss dword [esp + 0x38], xmm1
movss xmm4, dword [edi + 0x38]
ucomiss xmm4, xmm3
lahf
test ah, 0x44
jnp 0x1004c4bf
movaps xmm5, xmm4
jmp 0x1004c4f1
movss xmm0, dword [edi + 0x40]
movss xmm5, dword [edi + 0x18]
addss xmm0, xmm0
subss xmm5, xmm0
subss xmm5, dword [esp + 0x50]
subss xmm5, dword [edi + 0x9c]
test dl, dl
je 0x1004c4ea
movss xmm0, dword [edi + 0x28]
jmp 0x1004c4ed
xorps xmm0, xmm0
maxss xmm5, xmm0
movss xmm1, dword [edi + 0x3c]
movss xmm2, dword [edi + 0x48]
movss xmm0, dword [edi + 0x210]
subss xmm0, dword [edi + 0x58]
movss xmm7, dword [edi + 0x40]
movss dword [esp + 0x24], xmm1
maxss xmm1, xmm2
maxss xmm2, xmm7
ucomiss xmm6, xmm3
addss xmm1, xmm0
movss xmm0, dword [edi + 0x5c]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [edi + 0x214]
subss xmm0, dword [esp + 0x1c]
cvttss2si eax, xmm1
addss xmm2, xmm0
movd xmm1, eax
cvttss2si eax, xmm2
movss xmm2, dword [esp + 0x38]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm2, xmm1
movss dword [edi + 0x230], xmm1
movss xmm1, dword [esp + 0x24]
addss xmm5, xmm0
movss dword [edi + 0x234], xmm0
lahf
movss dword [edi + 0x238], xmm2
movss xmm2, dword [edi + 0xc]
movss dword [edi + 0x23c], xmm5
movss xmm5, dword [edi + 0x10]
movups xmm0, xmmword [edi + 0x230]
subss xmm5, dword [esp + 0x1c]
movups xmmword [edi + 0x240], xmm0
movaps xmm0, xmm2
subss xmm0, dword [edi + 0x58]
addss xmm5, xmm7
addss xmm0, xmm1
addss xmm5, dword [esp + 0x50]
movss dword [esp + 0x24], xmm0
movss dword [edi + 0x260], xmm0
movss dword [edi + 0x264], xmm5
test ah, 0x44
jp 0x1004c5f7
movss xmm6, dword [edi + 0x14]
movaps xmm0, xmm1
addss xmm0, xmm1
subss xmm6, xmm0
movss xmm0, dword [esp + 0x24]
subss xmm6, dword [edi + 0x98]
ucomiss xmm4, xmm3
addss xmm6, xmm0
lahf
movss dword [edi + 0x268], xmm6
test ah, 0x44
jnp 0x1004c614
movss xmm0, dword [esp + 0x50]
jmp 0x1004c636
movss xmm4, dword [edi + 0x18]
movaps xmm0, xmm7
addss xmm0, xmm7
subss xmm4, xmm0
movss xmm0, dword [esp + 0x50]
subss xmm4, xmm0
subss xmm4, dword [edi + 0x9c]
subss xmm1, dword [edi + 0x58]
addss xmm7, xmm0
addss xmm4, xmm5
lea ecx, [edi + 0x190]
addss xmm2, xmm1
subss xmm7, dword [esp + 0x1c]
movss dword [edi + 0x26c], xmm4
movss dword [edi + 0x128], xmm1
mov dword [edi + 0x130], 0
mov dword [edi + 0x12c], 0
addss xmm7, dword [edi + 0x10]
movss dword [edi + 0xf4], xmm2
movss dword [edi + 0xf8], xmm7
movss dword [edi + 0xe4], xmm2
movss dword [edi + 0xe8], xmm7
movss dword [edi + 0xec], xmm2
movss dword [edi + 0xf0], xmm7
movss dword [edi + 0xfc], xmm2
movss dword [edi + 0x100], xmm7
movss dword [edi + 0x104], xmm2
movss dword [edi + 0x108], xmm7
mov dword [edi + 0x114], 0
mov dword [edi + 0x118], 0
mov dword [edi + 0x10c], 0
mov dword [edi + 0x110], 0
mov dword [edi + 0x124], 0
mov dword [edi + 0x120], 0
mov dword [edi + 0x15c], 0
mov eax, dword [edi + 0x164]
mov dword [edi + 0x160], eax
mov dword [edi + 0x164], 0
mov byte [edi + 0x16c], 0
movss xmm0, dword [edi + 0x7c]
comiss xmm0, xmm3
seta al
cmp byte [esp + 0xe], 0
mov byte [edi + 0x16d], al
mov byte [edi + 0x16e], 0
movss xmm0, dword [esi + 0x1560]
mov dword [edi + 0x180], 0
mov dword [edi + 0x17c], 0
movss dword [edi + 0x178], xmm0
je 0x1004c780
xorps xmm0, xmm0
movq qword [ecx], xmm0
mov dword [ecx + 8], 0
xor edx, edx
test edx, edx
je 0x1004c7a7
movss xmm0, dword [ecx]
comiss xmm0, xmm3
jbe 0x1004c7a7
movss xmm0, dword [edi + 0x178]
addss xmm0, dword [edi + 0x17c]
movss dword [edi + 0x17c], xmm0
cvttss2si eax, dword [edi + 0x17c]
inc edx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx - 0xc], xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [edi + 0x17c]
movss dword [edi + 0x17c], xmm0
mov dword [ecx], 0
add ecx, 4
cmp edx, 3
jl 0x1004c782
mov dword [edi + 0x19c], 0
lea eax, [edi + 0x1a4]
mov dword [edi + 0x1a0], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1004c821
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 + 0x1a4]
call fcn.10054060
lea eax, [edi + 0x1a4]
mov dword [eax], 0
lea eax, [edi + 0x284]
mov dword [edi + 0x1b0], eax
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x1b4], 0
mov dword [edi + 0x1bc], 1
test eax, eax
je 0x1004c857
mov eax, dword [eax + 0x1bc]
jmp 0x1004c85c
mov eax, 1
mov dword [edi + 0x1c0], eax
mov dword [edi + 0x1c8], 0xffffffff
mov dword [edi + 0x1c4], 0xffffffff
mov eax, dword [edi + 0x280]
mov dword [edi + 0x1d0], eax
mov dword [edi + 0x1d4], 0xbf800000
mov ecx, dword [edi + 0x1dc]
test ecx, ecx
jns 0x1004c92e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
mov dword [esp + 0x3c], ecx
cmp ecx, dword [edi + 0x1dc]
jle 0x1004c92e
mov eax, dword [0x10135b78]
test eax, eax
je 0x1004c8c5
inc dword [eax + 0x370]
lea eax, [ecx*4]
push eax
call dword [esp + 0x9c]
mov edx, dword [edi + 0x1e0]
add esp, 4
mov dword [esp + 0x24], eax
test edx, edx
je 0x1004c91e
mov ecx, dword [edi + 0x1d8]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi + 0x1e0]
add esp, 0xc
test ecx, ecx
je 0x1004c912
mov eax, dword [0x10135b78]
test eax, eax
je 0x1004c912
dec dword [eax + 0x370]
push ecx
call dword [esp + 0x34]
mov eax, dword [esp + 0x28]
add esp, 4
mov dword [edi + 0x1e0], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x1dc], eax
mov dword [edi + 0x1d8], 0
mov ecx, dword [edi + 0x1e8]
test ecx, ecx
jns 0x1004c9da
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
mov dword [esp + 0x3c], ecx
cmp ecx, dword [edi + 0x1e8]
jle 0x1004c9da
mov eax, dword [0x10135b78]
test eax, eax
je 0x1004c971
inc dword [eax + 0x370]
lea eax, [ecx*4]
push eax
call dword [esp + 0x9c]
mov edx, dword [edi + 0x1ec]
add esp, 4
mov dword [esp + 0x24], eax
test edx, edx
je 0x1004c9ca
mov ecx, dword [edi + 0x1e4]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi + 0x1ec]
add esp, 0xc
test ecx, ecx
je 0x1004c9be
mov eax, dword [0x10135b78]
test eax, eax
je 0x1004c9be
dec dword [eax + 0x370]
push ecx
call dword [esp + 0x34]
mov eax, dword [esp + 0x28]
add esp, 4
mov dword [edi + 0x1ec], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x1e8], eax
mov dword [edi + 0x1e4], 0
mov al, byte [edi + 0xb8]
test al, al
jle 0x1004c9f6
dec al
mov byte [edi + 0xb8], al
mov al, byte [edi + 0xb9]
test al, al
jle 0x1004ca08
dec al
mov byte [edi + 0xb9], al
cmp byte [esp + 0x4c], 0
je 0x1004ca1f
mov ecx, edi
call fcn.1004ce50
xor dl, dl
mov ecx, edi
call fcn.1004fe80
test byte [esp + 0x14], 1
jne 0x1004ca85
movss xmm0, dword [esp + 0xbc]
lea edx, [esp + 0x70]
addss xmm0, dword [edi + 0x48]
push ecx
push dword [esp + 0x68]
mov ecx, edi
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0xcc]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0xbc]
subss xmm0, dword [edi + 0x48]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x84], xmm0
call fcn.1004a2f0
add esp, 8
movss xmm3, dword [esp + 0xbc]
xor eax, eax
movss xmm4, dword [esp + 0xb4]
movss xmm5, dword [esp + 0xc4]
mov dword [edi + 0x270], eax
mov eax, dword [0x10135b78]
movss xmm1, dword [eax + 0x1578]
movss xmm0, dword [eax + 0x157c]
subss xmm3, xmm1
addss xmm4, xmm1
movaps xmm2, xmm0
movss xmm1, dword [eax + 0xe4]
subss xmm5, xmm0
addss xmm2, dword [esp + 0xb8]
comiss xmm1, xmm3
jb 0x1004cb00
movss xmm0, dword [eax + 0xe8]
comiss xmm0, xmm5
jb 0x1004cb00
comiss xmm4, xmm1
jbe 0x1004cb00
comiss xmm2, xmm0
jbe 0x1004cb00
mov ecx, 1
jmp 0x1004cb02
xor ecx, ecx
mov eax, dword [edi + 0x50]
movups xmm0, xmmword [esp + 0xc0]
mov dword [edi + 0x134], eax
mov dword [edi + 0x138], ecx
movups xmmword [edi + 0x13c], xmm0
jmp 0x1004cb97
mov eax, dword [0x10135b78]
mov dword [eax + 0x1b9c], edi
mov ecx, dword [edi + 0x1b8]
cmp ecx, 0xffffffff
je 0x1004cb46
imul ecx, ecx, 0x228
add ecx, dword [eax + 0x1ee4]
jmp 0x1004cb48
xor ecx, ecx
movss xmm0, dword [eax + 0x1938]
mov dword [eax + 0x1ed8], ecx
mov ecx, dword [edi + 0x338]
mulss xmm0, dword [edi + 0x29c]
test ecx, ecx
je 0x1004cb70
mulss xmm0, dword [ecx + 0x29c]
movss dword [eax + 0x1948], xmm0
movss dword [eax + 0x1934], xmm0
mov eax, dword [esp + 0x14]
mov ecx, eax
and ecx, 0x1000000
and eax, 0x40
mov dword [esp + 0x48], ecx
mov dword [esp + 0x5c], eax
cmp dword [esp + 0x48], 0
lea edx, [edi + 0x228]
mov ecx, dword [esi + 0x1cc8]
mov eax, dword [esi + 0x1cd0]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edi + 0x1cc], eax
je 0x1004cbc6
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x168]
jmp 0x1004cbc8
xor eax, eax
push 1
lea ecx, [edi + 0x220]
mov dword [edi + 0x168], eax
call fcn.10046b10
mov eax, dword [esp + 0x48]
add esp, 4
mov byte [edi + 0xa4], 0
inc word [edi + 0xae]
mov dword [esi + 0x1c20], 0
cmp eax, dword [esp + 0x54]
je 0x1004cd27
cmp dword [esp + 0x48], 0
je 0x1004cc94
cmp dword [esp + 0x5c], 0
jne 0x1004cc5a
cmp byte [edi + 0xb8], 0
jg 0x1004cc5a
cmp byte [edi + 0xb9], 0
jg 0x1004cc5a
cmp byte [esi + 0x2ee4], 0
jne 0x1004cc5a
movss xmm0, dword [edi + 0x200]
comiss xmm0, dword [edi + 0x208]
jae 0x1004cc53
movss xmm0, dword [edi + 0x204]
comiss xmm0, dword [edi + 0x20c]
jb 0x1004cc5a
mov byte [edi + 0xc0], 1
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1004cc94
cmp byte [eax + 0xa5], 0
jne 0x1004cc74
cmp byte [eax + 0xc0], 0
jle 0x1004cc7b
mov byte [edi + 0xc0], 1
cmp byte [eax + 0xa5], 0
jne 0x1004cc8d
cmp byte [eax + 0xc1], 0
jle 0x1004cc94
mov byte [edi + 0xc1], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x1518]
jb 0x1004cca7
mov byte [edi + 0xc0], 1
cmp byte [edi + 0xc0], 0
jg 0x1004ccc6
cmp byte [edi + 0xc1], 0
jg 0x1004ccc6
cmp byte [edi + 0xc2], 0
jg 0x1004ccc6
xor cl, cl
jmp 0x1004ccc8
mov cl, 1
mov byte [edi + 0xa9], cl
mov al, byte [edi + 0xc3]
test al, al
jle 0x1004cce7
dec al
mov byte [edi + 0xc3], al
or dword [edi + 8], 0xc0200
xor al, al
cmp byte [edi + 0xa5], al
jne 0x1004ccfd
cmp byte [edi + 0xa2], al
je 0x1004ccfd
test cl, cl
je 0x1004cd21
cmp byte [edi + 0xb8], 0
jg 0x1004cd21
cmp byte [edi + 0xb9], 0
jg 0x1004cd21
cmp byte [edi + 0xc1], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [edi + 0xa7], al
cmp byte [edi + 0xa7], 0
mov ecx, dword [esp + 0xfc]
pop edi
sete al
pop esi
xor ecx, esp
call fcn.100bfdfa
mov esp, ebp
pop ebp
ret