Function at 0x10047380
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 0x10057000
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x168
push esi
push edi
mov eax, dword [0x1007e0c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xdc], ecx
mov esi, dword [0x1007f11c]
mov ecx, esi
mov dword [ebp - 0x20], ecx
mov eax, dword [ecx + 0x1a6c]
mov byte [eax + 0x84], 1
mov edi, dword [ecx + 0x1a6c]
mov dword [ebp - 0x74], edi
cmp byte [edi + 0x87], 0
jne 0x10047694
mov edx, dword [ebx + 0x14]
mov eax, edx
shr eax, 0xe
mov ecx, edx
and eax, 0xffffff01
shr ecx, 0x14
mov dword [ebp - 0x4c], eax
and ecx, 0xffffff01
mov eax, edx
mov dword [ebp - 0x3c], ecx
shr eax, 0xf
and eax, 0xffffff01
mov dword [ebp - 0xcc], eax
mov eax, edx
shr eax, 0x10
not al
and eax, 0xffffff01
mov dword [ebp - 0x90], eax
mov eax, edx
shr eax, 0x12
and eax, 0xffffff01
mov dword [ebp - 0xac], eax
test cl, cl
je 0x10047451
call fcn.10032340
mov esi, dword [0x1007f11c]
mov ecx, dword [edi + 0xb8]
xor edx, edx
mov eax, dword [edi + 0xc0]
push dword [eax + ecx*4 - 4]
mov ecx, dword [ebp - 0xdc]
call fcn.1002ffb0
add esp, 4
mov dword [ebp - 0x28], eax
cmp dword [esi + 0x1aa4], eax
jne 0x10047482
mov dword [esi + 0x1aa8], eax
cmp dword [esi + 0x1adc], eax
jne 0x10047491
mov byte [esi + 0x1ae0], 1
mov eax, dword [ebp - 0xdc]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x100474b6
nop
mov dl, byte [ecx]
test dl, dl
je 0x100474b6
cmp dl, 0x23
jne 0x100474b0
cmp byte [ecx + 1], dl
je 0x100474b6
inc ecx
cmp ecx, 0xffffffff
jb 0x100474a0
movss xmm1, dword [0x10077788]
xorps xmm2, xmm2
movss xmm0, dword [esi + 0x1930]
movss dword [ebp - 0xb4], xmm1
cmp eax, ecx
jne 0x100474df
movss dword [ebp - 0x104], xmm2
jmp 0x1004752d
push ecx
push ecx
push eax
push ecx
mov ecx, dword [esi + 0x192c]
lea eax, [ebp - 0x98]
mov dword [esp], 0xbf800000
movaps xmm3, xmm1
push eax
movaps xmm2, xmm0
call fcn.10041020
movss xmm0, dword [ebp - 0x98]
addss xmm0, dword [0x100776bc]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x104], xmm0
movss xmm0, dword [ebp - 0x94]
cmp byte [ebp - 0x3c], 0
mov esi, dword [ebp - 0x20]
je 0x10047546
movss xmm0, dword [esi + 0x1930]
mulss xmm0, dword [0x10077724]
movss xmm1, dword [esi + 0x1554]
movaps xmm2, xmm1
addss xmm2, xmm1
addss xmm2, xmm0
call fcn.10032060
mov eax, dword [ebx + 0x10]
lea ecx, [ebp - 0x98]
movaps xmm1, xmm0
push dword [eax + 4]
push dword [eax]
call fcn.10030da0
movss xmm1, dword [ebp - 0x104]
xorps xmm0, xmm0
add esp, 8
comiss xmm1, xmm0
jbe 0x10047594
movaps xmm2, xmm1
addss xmm2, dword [esi + 0x1568]
jmp 0x10047597
xorps xmm2, xmm2
cmp byte [ebp - 0x3c], 0
mov esi, 1
movss xmm4, dword [edi + 0xc8]
movss xmm6, dword [ebp - 0x94]
movaps xmm0, xmm4
movss xmm5, dword [ebp - 0x98]
addss xmm0, xmm6
movss xmm3, dword [edi + 0xc4]
addss xmm2, xmm5
movaps xmm1, xmm3
movss dword [ebp - 0xa8], xmm5
addss xmm1, xmm5
movss dword [ebp - 0x7c], xmm6
movss dword [ebp - 0xc8], xmm3
movss dword [ebp - 0xbc], xmm0
movaps xmm0, xmm4
addss xmm2, xmm3
movss dword [ebp - 0xc4], xmm4
addss xmm0, xmm6
movss dword [ebp - 0x8c], xmm3
movss dword [ebp - 0xc0], xmm1
movss dword [ebp - 0x88], xmm4
mov dword [ebp - 0x6c], edi
movss dword [ebp - 0x84], xmm2
movss dword [ebp - 0x80], xmm0
je 0x100477bc
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x8c]
call fcn.100315d0
add esp, 4
test al, al
jne 0x100476aa
movss xmm0, dword [ebp - 0x84]
lea ecx, [ebp - 0x98]
subss xmm0, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x20]
movss xmm1, dword [eax + 0x1554]
movss dword [ebp - 0x98], xmm0
movss xmm0, dword [ebp - 0x80]
subss xmm0, dword [ebp - 0x88]
movss dword [ebp - 0x94], xmm0
call fcn.10031de0
call fcn.100311f0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov edi, dword [ebp - 0x20]
mov ecx, 3
lea edx, [edi + 0x164c]
call fcn.10030d50
movss xmm1, dword [edi + 0x1558]
mov ecx, 6
call fcn.1002f1e0
movss xmm1, dword [edi + 0x155c]
mov ecx, 7
call fcn.1002f1e0
lea edx, [edi + 0x1550]
mov ecx, esi
call fcn.1002f160
movss xmm1, dword [ebp - 0xc0]
lea eax, [ebp - 0x98]
movss xmm0, dword [ebp - 0xc8]
movss xmm2, dword [ebp - 0xc4]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xdc]
movss dword [ebp - 0x108], xmm1
subss xmm1, xmm0
movss dword [ebp - 0xb8], xmm0
movss xmm0, dword [ebp - 0xbc]
subss xmm0, xmm2
movss dword [ebp - 0xa0], xmm2
push 0x10004
push 1
push eax
movss dword [ebp - 0x98], xmm1
movss dword [ebp - 0x94], xmm0
call fcn.1002a5e0
add esp, 0xc
mov byte [ebp - 0x45], al
mov ecx, 3
call fcn.1002f0e0
mov ecx, esi
call fcn.10031580
cmp byte [ebp - 0x45], 0
jne 0x10047781
call fcn.1002a380
jmp 0x1004768f
mov edx, dword [edi + 0x1a6c]
movss xmm0, dword [ebp - 0xa8]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x6c], edx
subss xmm0, dword [edx + 0x78]
mov ecx, dword [edx + 0x138]
mov eax, dword [edx + 0x130]
bts ecx, eax
mov dword [edx + 0x138], ecx
movss dword [ebp - 0xa8], xmm0
jmp 0x1004783c
mov edi, dword [ebp - 0x20]
subss xmm2, xmm3
subss xmm0, xmm4
lea ecx, [ebp - 0x98]
movss xmm1, dword [edi + 0x1554]
movss dword [ebp - 0x98], xmm2
movss dword [ebp - 0x94], xmm0
call fcn.10031de0
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0xc8]
push eax
mov edx, esi
lea ecx, [ebp - 0x8c]
call fcn.100315d0
add esp, 4
test al, al
je 0x10047694
movss xmm0, dword [ebp - 0xc4]
movss xmm1, dword [ebp - 0xc0]
movss dword [ebp - 0xa0], xmm0
movss xmm0, dword [ebp - 0xc8]
movss dword [ebp - 0x108], xmm1
movss dword [ebp - 0xb8], xmm0
mov edx, esi
lea ecx, [ebp - 0xc8]
call fcn.100320e0
mov byte [ebp - 0x3f], al
test al, al
je 0x1004785a
mov dword [edi + 0x1e60], 1
mov edi, dword [0x1007f11c]
xor eax, eax
add edi, 0x1f78
mov edx, esi
cmp dword [edi], esi
mov esi, dword [ebp - 0x74]
mov ecx, esi
cmovne edi, eax
mov dword [ebp - 0x38], edi
call fcn.10030b00
mov edx, dword [ebp - 0x20]
mov byte [ebp - 0x45], al
test al, al
je 0x100478e7
cmp dword [edx + 0x1ce4], esi
jne 0x100478e7
mov ecx, dword [edx + 0x1cec]
cmp ecx, dword [esi + 0x198]
jne 0x100478e7
mov byte [ebp - 0x21], 1
mov byte [ebp - 0x3d], 0
cmp byte [ebp - 0x3f], 0
je 0x100478b7
cmp byte [edx + 0x3d8], 0
mov byte [ebp - 0x19], 1
jne 0x100478bb
mov byte [ebp - 0x19], 0
mov esi, dword [edx + 0x1aa4]
mov eax, dword [ebp - 0x28]
cmp esi, eax
je 0x100478f9
cmp dword [edx + 0x1bdc], eax
je 0x100478e1
cmp dword [edx + 0x1bd0], eax
jne 0x100478f9
cmp dword [edx + 0x1bf4], 3
jne 0x100478f9
mov byte [ebp - 0x11], 1
jmp 0x100478fd
mov byte [ebp - 0x21], 0
test al, al
je 0x100478a0
mov byte [ebp - 0x3d], 1
mov byte [ebp - 0x21], 0
jmp 0x100478a4
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 0x3c]
test al, al
je 0x10047942
test edi, edi
je 0x10047942
test esi, esi
jne 0x10047942
mov eax, dword [ebp - 0x6c]
xor edx, edx
mov ecx, dword [eax + 0xb8]
mov eax, dword [eax + 0xc0]
push dword [eax + ecx*4 - 4]
mov ecx, str.SCROLLY
call fcn.1002ffb0
mov ecx, dword [ebp - 0x20]
add esp, 4
cmp dword [ecx + 0x1adc], eax
jne 0x1004793f
mov byte [ebp - 0x23], 1
jmp 0x10047952
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 0x23], 0
test al, al
je 0x1004797c
mov byte [ebp - 0x23], 0
test edi, edi
je 0x1004797c
mov eax, dword [ebp - 0x6c]
mov ecx, str.SCROLLY
mov edx, dword [eax + 0xb8]
mov eax, dword [eax + 0xc0]
push dword [eax + edx*4 - 4]
xor edx, edx
call fcn.1002ffb0
add esp, 4
cmp esi, eax
jne 0x1004797c
mov cl, 1
jmp 0x1004797e
xor cl, cl
mov dl, byte [ebp - 0x11]
mov byte [ebp - 0x22], cl
mov byte [ebp - 0x46], 0
cmp esi, dword [ebp - 0x28]
je 0x100479a4
test byte [ebx + 0x14], 0x10
jne 0x10047997
test dl, dl
je 0x100479a4
mov eax, dword [ebp - 0x3c]
test al, al
jne 0x100479a7
mov byte [ebp - 0x30], 1
jmp 0x100479c2
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 0x30], 0
test al, al
je 0x100479c2
mov edi, dword [ebp - 0x6c]
movss xmm0, dword [edi + 0x54]
mov edi, dword [ebp - 0x38]
movss dword [ebp - 0xb4], xmm0
test edi, edi
je 0x100479d1
xor al, 1
cmp byte [edi + 0x53], al
je 0x100479d1
mov al, 1
jmp 0x100479d3
xor al, al
cmp byte [ebp - 0x45], 0
mov byte [ebp - 0x3e], al
mov dword [ebp - 0x50], 0x63
jne 0x100479ff
cmp byte [ebp - 0x19], 0
jne 0x100479ff
cmp byte [ebp - 0x23], 0
jne 0x100479ff
test dl, dl
jne 0x100479ff
mov byte [ebp - 0x23], dl
test cl, cl
jne 0x10047a03
mov byte [ebp - 0x24], cl
jmp 0x10047a0c
mov byte [ebp - 0x23], 1
mov byte [ebp - 0x24], 1
cmp esi, dword [ebp - 0x28]
jne 0x10047a14
test al, al
je 0x10047b5e
mov edi, dword [ebp - 0x20]
mov esi, dword [ebx + 8]
add edi, 0x1f78
mov dword [ebp - 0x38], edi
mov dword [edi + 0xe68], 0xbe99999a
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10047a30
sub esi, ecx
lea ecx, [edi + 0x24]
inc esi
push esi
call fcn.1000e2e0
push esi
push dword [ebx + 8]
push dword [edi + 0x2c]
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [ebx + 0xc]
lea ecx, [edi + 0xc]
add esp, 0xc
mov dword [ebp - 0x44], 0
lea eax, [esi + 1]
push eax
call fcn.1000e3a0
lea ecx, [edi + 0x18]
push 0
call fcn.1000e2e0
mov ecx, dword [edi + 0x14]
lea eax, [ebp - 0x44]
push eax
push 0
push dword [ebx + 8]
mov edx, esi
mov byte [edi + 0x30], 0
call fcn.1002f9a0
mov dword [edi + 4], eax
add esp, 0xc
mov eax, dword [ebp - 0x44]
sub eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x28]
cmp dword [edi], eax
jne 0x10047ab1
cmp byte [ebp - 0x3e], 0
jne 0x10047ab1
mov ecx, edi
call fcn.1000e7d0
jmp 0x10047b31
mov edx, dword [ebp - 0x3c]
mov dword [edi], eax
xor eax, eax
mov word [edi + 0xe5a], ax
mov dword [edi + 0xe60], eax
mov eax, dword [ebp - 0x50]
mov word [edi + 0xe5c], ax
mov al, dl
xor al, 1
mov dword [edi + 0x38], 0
mov dword [edi + 0xe64], 0x3e7
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x3c], 0
mov word [edi + 0x51], 1
mov dword [edi + 0x58], 0
mov byte [edi + 0x50], 0
mov byte [edi + 0x53], al
mov byte [edi + 0x48], 0
mov dword [edi + 0x4c], 0
test dl, dl
jne 0x10047b34
mov edx, dword [ebp - 0x30]
mov eax, 1
cmp byte [ebp - 0x21], 0
movzx edx, dl
cmovne edx, eax
mov dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x3c]
test dword [ebx + 0x14], 0x2000
je 0x10047b41
mov byte [edi + 0x48], 1
test dl, dl
jne 0x10047b5e
cmp byte [ebp - 0x3d], dl
jne 0x10047b5a
cmp byte [ebp - 0x19], dl
je 0x10047b5e
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0xfc], dl
je 0x10047b5e
mov byte [ebp - 0x30], 1
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
cmp dword [esi + 0x1aa4], ecx
je 0x10047c0d
cmp byte [ebp - 0x23], 0
je 0x10047c05
mov edx, dword [ebp - 0x74]
call fcn.10031020
call fcn.10023ea0
mov ecx, edx
call fcn.10030e80
mov eax, dword [esi + 0x1ab8]
mov edx, dword [ebp - 0x3c]
or eax, 3
mov dword [esi + 0x1ab8], eax
test dl, dl
jne 0x10047baa
test byte [ebx + 0x14], 0x80
je 0x10047bb3
or eax, 0xc
mov dword [esi + 0x1ab8], eax
mov eax, dword [esi + 0x1ac0]
or dword [esi + 0x1abc], 2
or eax, 0x180
mov ecx, dword [esi + 0x1ac4]
mov dword [esi + 0x1ac0], eax
mov dword [esi + 0x1ac4], ecx
test dl, dl
je 0x10047bea
or eax, 0x60
mov dword [esi + 0x1ac4], ecx
mov dword [esi + 0x1ac0], eax
test dword [ebx + 0x14], 0x440
je 0x10047c02
or eax, 1
mov dword [esi + 0x1ac4], ecx
mov dword [esi + 0x1ac0], eax
mov ecx, dword [ebp - 0x28]
cmp dword [esi + 0x1aa4], ecx
jne 0x10047c3e
test edi, edi
jne 0x10047c19
call fcn.10031c00
mov ecx, dword [ebp - 0x28]
cmp dword [esi + 0x1aa4], ecx
jne 0x10047c3e
cmp byte [esi + 0x3d8], 0
je 0x10047c48
cmp byte [ebp - 0x24], 0
jne 0x10047c48
cmp byte [ebp - 0x23], 0
jne 0x10047c48
mov byte [ebp - 0x46], 1
mov dl, 1
jmp 0x10047c4e
test edi, edi
je 0x10047c4c
cmp byte [ebp - 0x22], 0
je 0x10047c4c
mov dl, 1
jmp 0x10047c4e
xor dl, dl
mov byte [ebp - 0x22], dl
test edi, edi
je 0x10047c68
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x10047c68
test dl, dl
je 0x10047c68
mov edx, 1
jmp 0x10047c6a
xor dl, dl
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xa4], edx
mov byte [ebp - 0x51], dl
mov byte [ebp - 0x45], 0
mov byte [ebp - 0x3e], 0
test al, al
je 0x10047ce9
test edi, edi
je 0x10047ce9
cmp byte [ebp - 0x22], 0
jne 0x10047c90
test dl, dl
je 0x10047cf3
mov eax, dword [ebx + 0xc]
lea ecx, [edi + 0xc]
inc eax
mov dword [ebp - 0x44], 0
push eax
call fcn.1000e3a0
mov edx, dword [edi + 0xc]
lea eax, [ebp - 0x44]
mov ecx, dword [edi + 0x14]
push eax
push 0
push dword [ebx + 8]
call fcn.1002f9a0
mov dword [edi + 4], eax
add esp, 0xc
mov eax, dword [ebp - 0x44]
mov ecx, edi
sub eax, dword [ebx + 8]
mov dword [edi + 8], eax
call fcn.1000e7d0
mov ecx, dword [edi + 0x40]
xor edx, edx
cmp ecx, dword [edi + 0x44]
movzx eax, byte [ebp - 0x51]
mov ecx, dword [ebp - 0x28]
cmovne edx, eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xa4], edx
cmp byte [ebp - 0x22], 0
jne 0x10047cfb
test dl, dl
jne 0x10047cfb
cmp dword [esi + 0x1aa4], ecx
jne 0x10047d0c
test al, al
jne 0x10047d0c
test edi, edi
je 0x10047d0c
mov byte [ebp - 0x51], 1
cmp byte [edi + 0x30], al
jne 0x10047d10
mov byte [ebp - 0x51], 0
cmp byte [ebp - 0xcc], 0
je 0x10047d7f
mov esi, dword [esi + 0x192c]
mov ecx, esi
push 0x2a
call fcn.100411d0
mov ecx, dword [esi + 0x10]
mov edx, eax
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x20]
add edi, 0x2df4
mov dword [edi + 0x10], ecx
mov ecx, dword [esi + 0x192c]
mov ecx, dword [ecx + 0x40]
mov dword [edi + 0x40], ecx
mov ecx, dword [esi + 0x192c]
mov ecx, dword [ecx + 0x44]
mov dword [edi + 0x44], ecx
mov ecx, edi
mov eax, dword [esi + 0x192c]
mov eax, dword [eax + 0x48]
mov dword [edi + 0x48], eax
mov eax, dword [esi + 0x192c]
mov eax, dword [eax + 0x30]
mov dword [edi + 0x30], eax
mov dword [edi + 0x2c], edx
mov eax, dword [edx + 4]
mov dword [edi + 0xc], eax
call fcn.10025870
mov edi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x28]
movss xmm0, dword [0x10077690]
mov dword [ebp - 0x5c], 0
cmp dword [esi + 0x1aa4], ecx
jne 0x1004811e
mov eax, dword [edi + 8]
mov edx, dword [ebx + 0x14]
mov byte [edi + 0xe6e], 0
mov dword [edi + 0xe70], edx
mov dword [edi + 0xe74], 0
mov dword [edi + 0xe78], 0
mov dword [ebp - 0x5c], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0x34], eax
cmp byte [esi + 0xec], 0
mov dword [esi + 0x3130], 1
sete al
cmp byte [ebp - 0x3c], 0
mov byte [esi + 0x1ab1], al
movss xmm7, dword [esi + 0xe4]
subss xmm7, dword [ebp - 0xb8]
subss xmm7, dword [esi + 0x1550]
addss xmm7, dword [edi + 0x38]
je 0x10047e27
mov eax, dword [ebp - 0x6c]
movss xmm2, dword [esi + 0xe8]
subss xmm2, dword [eax + 0xc8]
subss xmm2, dword [esi + 0x1554]
jmp 0x10047e33
movss xmm2, dword [esi + 0x1930]
mulss xmm2, xmm0
cmp byte [ebp - 0x30], 0
mov al, byte [esi + 0xb1]
mov byte [ebp - 0x21], al
jne 0x10047f80
mov cl, byte [ebp - 0x3f]
test cl, cl
je 0x10047e5d
test al, al
jne 0x10047ec4
cmp byte [esi + 0x3dd], al
jne 0x10047f80
cmp byte [esi + 0x3d8], 0
je 0x10047eed
cmp byte [edi + 0xe6d], 0
jne 0x10047eed
test cl, cl
je 0x10047f9e
cmp byte [edi + 0x53], 0
je 0x10047e9b
push 0
mov edx, edi
lea ecx, [ebp - 0x100]
call fcn.1004c880
movss xmm2, dword [ebp - 0xf4]
add esp, 4
movaps xmm1, xmm7
mov ecx, edi
call fcn.1004c380
mov edx, dword [ebx + 0x14]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov byte [edi + 0x52], 0
mov dword [edi + 0xe68], 0xbe99999a
jmp 0x10047f9b
cmp byte [esi + 0x3dd], 0
je 0x10047e5d
push 0x20000c
mov ecx, edi
call fcn.1004a700
push 0x60000d
mov ecx, edi
call fcn.1004a700
mov edx, dword [ebx + 0x14]
jmp 0x10047f9b
cmp byte [esi + 0xec], 0
je 0x10047f9e
cmp byte [edi + 0xe6d], 0
jne 0x10047fa7
movss xmm0, dword [esi + 0x374]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10047f2c
movss xmm0, dword [esi + 0x378]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10047f9e
cmp byte [edi + 0x53], 0
je 0x10047f4c
push 0
mov edx, edi
lea ecx, [ebp - 0x100]
call fcn.1004c880
movss xmm2, dword [ebp - 0xf4]
add esp, 4
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x10047f5a
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x40], eax
movaps xmm1, xmm7
mov ecx, edi
call fcn.1004c380
mov edx, dword [ebx + 0x14]
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0xe68], 0xbe99999a
mov byte [edi + 0xe6c], 1
jmp 0x10047f9b
mov eax, dword [edi + 4]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0x52], 0
mov byte [edi + 0xe6d], 1
mov al, byte [ebp - 0x21]
cmp byte [edi + 0xe6d], 0
je 0x10047fb7
cmp byte [esi + 0xec], 0
jne 0x10047fb7
mov byte [edi + 0xe6d], 0
cmp byte [esi + 0xfc], 0
je 0x10047fc9
cmp byte [esi + 0xfe], 0
je 0x10047fd6
test al, al
je 0x10047fdc
cmp byte [esi + 0xff], 0
je 0x10047fdc
mov byte [ebp - 0x19], 1
jmp 0x10047fe0
mov byte [ebp - 0x19], 0
test edx, 0x400
je 0x10048066
mov edx, dword [0x1007f11c]
mov dword [ebp - 0x18], edx
mov ecx, dword [edx + 0x34]
test ecx, ecx
js 0x1004806e
call fcn.10031b10
mov ecx, dword [ebp - 0x4c]
test al, al
mov al, byte [ebp - 0x19]
je 0x10048074
test al, al
jne 0x10048074
cmp byte [esi + 0xfd], al
jne 0x10048074
test cl, cl
jne 0x10048074
mov ecx, dword [esi + 0x1510]
mov eax, dword [esi + 0x1508]
lea edx, [ecx + eax*2]
cmp ecx, edx
jae 0x10048040
nop
mov ax, word [ecx]
add ecx, 2
cmp ax, 9
je 0x1004806e
cmp ecx, edx
jb 0x10048030
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0x44]
sub esp, 8
mov dword [ebp - 0x44], 9
call fcn.1004a550
add esp, 8
test al, al
je 0x10048066
push dword [ebp - 0x44]
mov ecx, edi
call fcn.1004a700
mov eax, dword [0x1007f11c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x4c]
mov al, byte [ebp - 0x19]
cmp dword [esi + 0x1508], 0
jle 0x10048129
test al, al
jne 0x10048111
test cl, cl
jne 0x10048111
cmp byte [ebp - 0x11], cl
jne 0x10048111
mov dword [ebp - 0x74], 0
xor esi, esi
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x1510]
movzx eax, word [eax + esi]
mov dword [ebp - 0x44], eax
cmp eax, 9
jne 0x100480c4
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0xfd], 0
jne 0x100480fa
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0x44]
sub esp, 8
call fcn.1004a550
add esp, 8
test al, al
je 0x100480fa
push dword [ebp - 0x44]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.1004b0a0
add esp, 4
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mov eax, dword [ebp - 0x74]
add esi, 2
mov ecx, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x74], eax
cmp eax, dword [ecx + 0x1508]
jl 0x100480a3
mov esi, ecx
lea ecx, [esi + 0x1508]
push 0
call fcn.1000e3a0
mov edx, dword [0x1007f11c]
mov dword [ebp - 0x18], edx
jmp 0x1004812c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
xor cl, cl
mov byte [ebp - 0x11], cl
cmp dword [esi + 0x1aa4], eax
jne 0x1004956a
cmp byte [esi + 0x1ab0], cl
jne 0x10049026
cmp byte [ebp - 0x46], cl
jne 0x10049026
movss xmm0, dword [ebp - 0x7c]
mov ecx, 1
subss xmm0, dword [esi + 0x1554]
divss xmm0, dword [esi + 0x1930]
cvttss2si eax, xmm0
cmp eax, 1
cmovge ecx, eax
xor esi, esi
mov dword [edi + 0x4c], ecx
mov eax, 0x400000
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x20]
cmp byte [ecx + 0xfd], 0
cmovne esi, eax
mov al, byte [ecx + 0xb1]
mov byte [ebp - 0x76], al
test al, al
je 0x100481af
cmp dword [ecx + 0x37c], 0xa
jne 0x100481af
mov byte [ebp - 0x24], 1
jmp 0x100481b7
mov byte [ebp - 0x24], 0
test al, al
je 0x100481dc
cmp byte [ecx + 0xff], 0
mov al, byte [ecx + 0xfe]
mov byte [ebp - 0x23], al
je 0x100481e9
cmp byte [ecx + 0xfc], 0
jne 0x100481e9
test al, al
jne 0x100481e9
mov byte [ebp - 0x21], 1
jmp 0x100481ed
mov al, byte [ecx + 0xfc]
mov byte [ebp - 0x23], al
mov byte [ebp - 0x24], 0
mov byte [ebp - 0x21], 0
cmp byte [ecx + 0xb1], 0
mov eax, dword [ecx + 0x37c]
mov dword [ebp - 0x80], eax
je 0x10048204
cmp eax, 8
jmp 0x10048207
cmp eax, 1
sete cl
mov byte [ebp - 0x19], cl
test cl, cl
je 0x10048227
mov ecx, dword [edx + 0x80]
test ecx, ecx
js 0x10048227
call fcn.10031b10
test al, al
jne 0x1004823f
mov eax, dword [ebp - 0x80]
cmp eax, 2
jne 0x10048262
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x10048262
call fcn.10031b10
test al, al
je 0x10048262
cmp byte [ebp - 0x4c], 0
jne 0x10048262
cmp byte [ebp - 0xcc], 0
jne 0x10048262
cmp byte [ebp - 0x3c], 0
je 0x1004825c
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x10048262
mov byte [ebp - 0x3d], 1
jmp 0x10048266
mov byte [ebp - 0x3d], 0
cmp byte [ebp - 0x19], 0
mov edx, dword [ebp - 0x18]
je 0x10048282
mov ecx, dword [edx + 0x78]
test ecx, ecx
js 0x10048282
call fcn.10031b10
test al, al
jne 0x1004829e
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x37c], 1
jne 0x100482bb
mov ecx, dword [edx + 0x58]
test ecx, ecx
js 0x100482bb
call fcn.10031b10
test al, al
je 0x100482bb
cmp byte [ebp - 0xcc], 0
jne 0x100482bb
cmp byte [ebp - 0x3c], 0
je 0x100482b5
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x100482bb
mov byte [ebp - 0x77], 1
jmp 0x100482bf
mov byte [ebp - 0x77], 0
cmp byte [ebp - 0x19], 0
mov edx, dword [ebp - 0x18]
je 0x100482db
mov ecx, dword [edx + 0x7c]
test ecx, ecx
js 0x100482db
call fcn.10031b10
test al, al
jne 0x100482f7
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x37c], 2
jne 0x10048301
mov ecx, dword [edx + 0x58]
test ecx, ecx
js 0x10048301
call fcn.10031b10
test al, al
je 0x10048301
cmp byte [ebp - 0x4c], 0
mov byte [ebp - 0x75], 1
je 0x10048305
mov byte [ebp - 0x75], 0
mov al, byte [ebp - 0x19]
test al, al
je 0x1004833a
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x88]
test ecx, ecx
js 0x1004833a
call fcn.10031b10
test al, al
je 0x10048337
cmp byte [ebp - 0x4c], 0
jne 0x10048337
cmp byte [ebp - 0x90], 0
je 0x10048337
mov byte [ebp - 0x3f], 1
jmp 0x10048342
mov al, byte [ebp - 0x19]
mov byte [ebp - 0x3f], 0
test al, al
je 0x10048358
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x84]
test ecx, ecx
js 0x1004835b
call fcn.10031b10
test al, al
jne 0x10048374
mov eax, dword [ebp - 0x18]
cmp byte [ebp - 0x24], 0
je 0x10048387
mov ecx, dword [eax + 0x88]
test ecx, ecx
js 0x10048387
call fcn.10031b10
test al, al
je 0x10048387
cmp byte [ebp - 0x4c], 0
jne 0x10048387
cmp byte [ebp - 0x90], 0
mov byte [ebp - 0x24], 1
jne 0x1004838b
mov byte [ebp - 0x24], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x38]
test ecx, ecx
js 0x100483d7
call fcn.10031b10
test al, al
je 0x100483d4
cmp byte [ebp - 0x21], 0
je 0x100483ab
mov eax, 0x200004
jmp 0x100483bc
mov eax, 0x200000
mov ecx, 0x20000c
cmp byte [ebp - 0x23], 0
cmovne eax, ecx
or eax, esi
push eax
mov ecx, edi
call fcn.1004a700
mov ecx, dword [0x1007f11c]
mov dword [ebp - 0x18], ecx
jmp 0x10049003
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
js 0x10048401
call fcn.10031b10
test al, al
je 0x100483fe
cmp byte [ebp - 0x21], 0
je 0x100483f4
mov eax, 0x200005
jmp 0x100483bc
mov eax, 0x200001
lea ecx, [eax + 0xc]
jmp 0x100483b5
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x40]
test ecx, ecx
js 0x10048464
call fcn.10031b10
test al, al
je 0x10048464
cmp byte [ebp - 0x3c], 0
je 0x10048464
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0xfc], 0
je 0x10048454
mov edx, dword [ebp - 0x6c]
mov esi, eax
xorps xmm3, xmm3
movss xmm0, dword [edx + 0x54]
subss xmm0, dword [esi + 0x1930]
mov dword [edx + 0x6c], 0
mov dword [edx + 0x74], 0
maxss xmm0, xmm3
movss dword [edx + 0x64], xmm0
jmp 0x10049006
movzx eax, byte [ebp - 0x21]
lea eax, [eax*4 + 0x200002]
jmp 0x100483bc
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x44]
test ecx, ecx
js 0x100484d2
call fcn.10031b10
test al, al
je 0x100484d2
cmp byte [ebp - 0x3c], 0
je 0x100484d2
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0xfc], 0
je 0x100484c2
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
mov eax, dword [ecx + 0x1a6c]
mov ecx, dword [ebp - 0x6c]
movss xmm0, dword [esi + 0x1930]
addss xmm0, dword [ecx + 0x54]
minss xmm0, dword [eax + 0x5c]
mov dword [ecx + 0x6c], 0
mov dword [ecx + 0x74], 0
movss dword [ecx + 0x64], xmm0
jmp 0x10049006
movzx eax, byte [ebp - 0x21]
lea eax, [eax*4 + 0x200003]
jmp 0x100483bc
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x48]
test ecx, ecx
js 0x1004852e
call fcn.10031b10
test al, al
je 0x1004852e
cmp byte [ebp - 0x3c], 0
je 0x1004852e
or esi, 0x20000e
mov ecx, edi
push esi
call fcn.1004a700
movd xmm0, dword [ebp - 0x44]
mov esi, dword [ebp - 0x20]
movss xmm1, dword [ebp - 0xb4]
mov ecx, dword [0x1007f11c]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x18], ecx
mulss xmm0, dword [esi + 0x1930]
subss xmm1, xmm0
movss dword [ebp - 0xb4], xmm1
jmp 0x10049006
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x4c]
test ecx, ecx
js 0x10048586
call fcn.10031b10
test al, al
je 0x10048586
cmp byte [ebp - 0x3c], 0
je 0x10048586
or esi, 0x20000f
mov ecx, edi
push esi
call fcn.1004a700
movd xmm0, dword [ebp - 0x44]
mov esi, dword [ebp - 0x20]
mov ecx, dword [0x1007f11c]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x18], ecx
mulss xmm0, dword [esi + 0x1930]
addss xmm0, dword [ebp - 0xb4]
movss dword [ebp - 0xb4], xmm0
jmp 0x10049006
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x50]
test ecx, ecx
js 0x100485b9
call fcn.10031b10
test al, al
je 0x100485b9
mov ecx, dword [ebp - 0x20]
mov eax, esi
or eax, 0x200006
or esi, 0x200004
cmp byte [ecx + 0xfc], 0
cmovne esi, eax
push esi
jmp 0x100483bf
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x54]
test ecx, ecx
js 0x100485ec
call fcn.10031b10
test al, al
je 0x100485ec
mov ecx, dword [ebp - 0x20]
mov eax, esi
or eax, 0x200007
or esi, 0x200005
cmp byte [ecx + 0xfc], 0
cmovne esi, eax
push esi
jmp 0x100483bf
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x5c]
test ecx, ecx
js 0x10048611
call fcn.10031b10
test al, al
je 0x10048611
cmp byte [ebp - 0x4c], 0
jne 0x10048611
or esi, 0x200008
push esi
jmp 0x100483bf
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x60]
test ecx, ecx
js 0x1004868c
call fcn.10031b10
test al, al
je 0x1004868c
cmp byte [ebp - 0x4c], 0
jne 0x1004868c
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x10048680
cmp byte [ebp - 0x23], 0
je 0x10048650
push 0x60000c
mov ecx, edi
call fcn.1004a700
or esi, 0x200009
push esi
jmp 0x100483bf
cmp byte [ebp - 0x76], 0
je 0x10048680
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0xff], 0
je 0x10048680
cmp byte [eax + 0xfe], 0
jne 0x10048680
cmp byte [eax + 0xfc], 0
jne 0x10048680
push 0x600004
mov ecx, edi
call fcn.1004a700
or esi, 0x200009
push esi
jmp 0x100483bf
mov esi, dword [ebp - 0x18]
mov ecx, dword [esi + 0x68]
test ecx, ecx
js 0x1004869f
call fcn.10031b10
test al, al
jne 0x100486b3
mov ecx, dword [esi + 0x70]
test ecx, ecx
js 0x10048724
call fcn.10031b10
test al, al
je 0x10048724
mov edx, dword [ebx + 0x14]
mov eax, edx
mov esi, dword [ebp - 0x20]
shr eax, 0xb
and al, 1
cmp byte [ebp - 0x3c], 0
je 0x100486d4
mov cl, byte [esi + 0xfc]
test al, al
je 0x100486e1
test cl, cl
jne 0x100486e5
mov byte [ebp - 0x46], 1
mov byte [ebp - 0x3e], 1
jmp 0x10049006
test cl, cl
jne 0x100486d4
cmp byte [ebp - 0x4c], 0
jne 0x10049006
sub esp, 8
mov dword [ebp - 0x44], 0xa
lea ecx, [ebp - 0x44]
call fcn.1004a550
add esp, 8
test al, al
je 0x100487c5
push dword [ebp - 0x44]
mov ecx, edi
call fcn.1004a700
mov ecx, dword [0x1007f11c]
mov dword [ebp - 0x18], ecx
jmp 0x10049006
mov ecx, dword [esi + 0x6c]
test ecx, ecx
js 0x10048741
call fcn.10031b10
test al, al
je 0x10048741
mov esi, dword [ebp - 0x20]
mov cl, 1
mov byte [ebp - 0x46], cl
jmp 0x10049009
mov al, byte [ebp - 0x3f]
test al, al
jne 0x10048fdf
cmp byte [ebp - 0x24], al
jne 0x10048fdf
cmp byte [ebp - 0x19], al
je 0x1004878a
mov ecx, dword [esi + 0x74]
test ecx, ecx
js 0x1004878a
call fcn.10031b10
test al, al
je 0x1004878a
mov eax, dword [edi + 4]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0x52], 0
mov byte [edi + 0xe6c], 1
jmp 0x10049003
mov al, byte [ebp - 0x3d]
test al, al
jne 0x10048c6c
cmp byte [ebp - 0x77], al
jne 0x10048c6c
cmp byte [ebp - 0x75], al
je 0x10049003
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x100487d3
push dword [esi + 0xd8]
call eax
mov esi, eax
add esp, 4
test esi, esi
jne 0x100487d8
mov esi, dword [ebp - 0x20]
mov ecx, dword [0x1007f11c]
mov dword [ebp - 0x18], ecx
jmp 0x10049006
mov esi, 0x10074643
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100487e0
sub ecx, edx
lea ecx, [ecx*2 + 2]
call fcn.1002df10
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x58], eax
cmp byte [esi], al
je 0x1004884e
xor edi, edi
push 0
mov edx, esi
lea ecx, [ebp - 0x34]
call fcn.1002fb70
add esp, 4
add esi, eax
cmp dword [ebp - 0x34], 0
je 0x10048842
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0x34]
sub esp, 8
call fcn.1004a550
add esp, 8
test al, al
je 0x1004883d
mov ecx, dword [ebp - 0x70]
mov ax, word [ebp - 0x34]
mov word [ecx + edi*2], ax
inc edi
cmp byte [esi], 0
jne 0x10048805
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x58], edi
mov edi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x58]
xor edx, edx
mov word [ecx + eax*2], dx
test eax, eax
jle 0x10048c41
mov edx, dword [edi + 0x44]
lea esi, [edi + 0x3c]
mov ecx, dword [esi + 4]
mov eax, dword [edi + 4]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x2c], ecx
cmp ecx, edx
je 0x100488b5
mov dword [ebp - 0x64], ecx
cmp ecx, eax
jle 0x10048883
mov ecx, eax
mov dword [esi + 4], eax
mov dword [ebp - 0x64], ecx
jmp 0x10048886
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x60], edx
cmp edx, eax
jle 0x10048897
mov edx, eax
mov dword [esi + 8], eax
mov dword [ebp - 0x60], edx
jmp 0x1004889a
mov edx, dword [ebp - 0x60]
mov edi, dword [ebp - 0x60]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x64], edi
jne 0x100488b5
mov ecx, dword [ebp - 0x64]
mov edx, edi
mov dword [esi], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x2c], ecx
mov edi, dword [esi]
cmp edi, eax
mov dword [ebp - 0x30], edi
mov edi, dword [ebp - 0x38]
jle 0x100488c6
mov dword [esi], eax
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 4]
cmp ecx, edx
je 0x10048915
mov dword [ebp - 0x64], ecx
cmp ecx, eax
jle 0x100488de
mov ecx, eax
mov dword [esi + 4], eax
mov dword [ebp - 0x64], ecx
jmp 0x100488e1
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x60], edx
cmp edx, eax
jle 0x100488ee
mov dword [esi + 8], eax
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x60]
mov edi, edx
cmp dword [ebp - 0x64], edi
mov edi, dword [ebp - 0x38]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x2c], ecx
jne 0x10048915
mov ecx, dword [ebp - 0x64]
mov dword [esi], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x30], eax
jle 0x1004891c
mov dword [esi], eax
cmp ecx, edx
je 0x10048b7d
mov eax, dword [ebp - 0x50]
add esi, 0x20
mov dword [esi + 0xe08], 0x3e7
mov word [esi + 0xe00], ax
cmp ecx, edx
jge 0x10048a5f
sub edx, ecx
cmp word [esi + 0xdfe], 0x63
mov dword [ebp - 0x18], edx
jne 0x1004895c
mov ecx, esi
call fcn.1004afd0
mov edx, dword [ebp - 0x18]
cmp edx, 0x3e7
jle 0x1004898f
xor eax, eax
mov word [esi + 0xdfe], ax
mov dword [esi + 0xe04], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
push ecx
mov ecx, edi
call fcn.1004c640
mov eax, dword [edi + 0x40]
lea esi, [edi + 0x3c]
mov dword [esi + 8], eax
jmp 0x10048b6e
mov eax, dword [esi + 0xe04]
add eax, edx
cmp eax, 0x3e7
jle 0x100489ba
mov edi, dword [ebp - 0x18]
mov ecx, esi
call fcn.1004afd0
mov eax, dword [esi + 0xe04]
add eax, edi
cmp eax, 0x3e7
jg 0x100489a1
mov edi, dword [ebp - 0x38]
movzx eax, word [esi + 0xdfe]
movsx ecx, ax
inc eax
shl ecx, 4
add ecx, esi
mov word [esi + 0xdfe], ax
mov dword [ebp - 0x34], ecx
test ecx, ecx
je 0x10048973
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x2c]
mov dword [ecx], edx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 4], ecx
mov dword [eax + 8], 0
test ecx, ecx
jne 0x100489fd
mov dword [eax + 0xc], 0xffffffff
jmp 0x10048979
mov edi, dword [ebp - 0x34]
mov eax, dword [esi + 0xe04]
mov dword [edi + 0xc], eax
mov eax, edi
add dword [esi + 0xe04], ecx
mov edi, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
add eax, 0x318
lea eax, [esi + eax*2]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x10048979
xor esi, esi
test ecx, ecx
jle 0x10048979
lea eax, [edx + edx]
mov dword [ebp - 0x80], eax
mov edx, eax
nop dword [eax]
mov eax, dword [edi + 0x14]
lea edx, [edx + 2]
mov ecx, dword [ebp - 0x68]
mov ax, word [edx + eax - 2]
mov word [ecx + esi*2], ax
inc esi
mov ecx, dword [ebp - 0x18]
cmp esi, ecx
jl 0x10048a40
jmp 0x10048976
sub ecx, edx
cmp word [esi + 0xdfe], 0x63
mov dword [ebp - 0x2c], ecx
jne 0x10048a78
mov ecx, esi
call fcn.1004afd0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x3e7
jle 0x10048a94
xor eax, eax
mov word [esi + 0xdfe], ax
mov dword [esi + 0xe04], eax
jmp 0x10048b5a
mov eax, dword [esi + 0xe04]
add eax, ecx
cmp eax, 0x3e7
jle 0x10048ac2
mov edi, dword [ebp - 0x2c]
mov ecx, esi
call fcn.1004afd0
mov eax, dword [esi + 0xe04]
add eax, edi
cmp eax, 0x3e7
jg 0x10048aa6
mov edi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
movzx eax, word [esi + 0xdfe]
movsx edx, ax
inc eax
shl edx, 4
add edx, esi
mov word [esi + 0xdfe], ax
mov dword [ebp - 0x34], edx
test edx, edx
je 0x10048b5a
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [eax + 8], 0
test ecx, ecx
jne 0x10048b03
mov dword [eax + 0xc], 0xffffffff
jmp 0x10048b5d
mov edi, dword [ebp - 0x34]
mov eax, dword [esi + 0xe04]
mov dword [edi + 0xc], eax
mov eax, edi
add dword [esi + 0xe04], ecx
mov edi, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
add eax, 0x318
lea eax, [esi + eax*2]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x10048b5d
xor esi, esi
test ecx, ecx
jle 0x10048b5d
lea eax, [edx + edx]
mov dword [ebp - 0x80], eax
mov edx, eax
nop word [eax + eax]
mov eax, dword [edi + 0x14]
lea edx, [edx + 2]
mov ecx, dword [ebp - 0x68]
mov ax, word [edx + eax - 2]
mov word [ecx + esi*2], ax
inc esi
mov ecx, dword [ebp - 0x2c]
cmp esi, ecx
jl 0x10048b40
mov edx, dword [ebp - 0x18]
push ecx
mov ecx, edi
call fcn.1004c640
mov eax, dword [edi + 0x44]
lea esi, [edi + 0x3c]
mov dword [esi + 4], eax
mov ecx, esi
add esp, 4
mov byte [ecx + 0x16], 0
mov dword [esi], eax
mov byte [ecx + 0x16], 0
push dword [ebp - 0x58]
mov edx, dword [esi]
mov ecx, edi
push dword [ebp - 0x70]
call fcn.1004c4f0
add esp, 8
test al, al
je 0x10048c23
mov eax, dword [esi]
add esi, 0x20
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x50]
cmp word [esi + 0xdfe], 0x63
mov word [esi + 0xe00], ax
mov dword [esi + 0xe08], 0x3e7
jne 0x10048bc4
mov ecx, esi
call fcn.1004afd0
cmp dword [esi + 0xe04], 0x3e7
jle 0x10048be3
mov ecx, esi
call fcn.1004afd0
cmp dword [esi + 0xe04], 0x3e7
jg 0x10048bd0
movzx ecx, word [esi + 0xdfe]
lea eax, [ecx + 1]
mov word [esi + 0xdfe], ax
movsx eax, cx
shl eax, 4
add eax, esi
je 0x10048c17
mov ecx, dword [ebp - 0x80]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x58]
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0xffffffff
mov eax, dword [ebp - 0x58]
add dword [edi + 0x3c], eax
mov byte [edi + 0x52], 0
jmp 0x10048c37
movzx eax, word [esi + 0xe1e]
test ax, ax
je 0x10048c37
dec eax
mov word [esi + 0xe1e], ax
mov ecx, dword [ebp - 0x70]
mov byte [edi + 0xe6c], 1
test ecx, ecx
je 0x10048c54
mov eax, dword [0x1007f11c]
test eax, eax
je 0x10048c54
dec dword [eax + 0x370]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [0x1007f11c]
add esp, 4
mov dword [ebp - 0x18], ecx
jmp 0x10049003
mov esi, dword [ebp - 0x20]
cmp dword [esi + 0xd4], 0
je 0x10048d0e
mov ecx, dword [edi + 0x44]
mov eax, dword [edi + 0x40]
cmp eax, ecx
je 0x10048c90
mov esi, ecx
cmovge ecx, eax
cmovl esi, eax
jmp 0x10048c95
mov ecx, dword [edi + 4]
xor esi, esi
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x74], esi
lea edx, [eax + ecx*2]
lea ecx, [eax + esi*2]
call fcn.1002f5d0
mov edi, eax
lea ecx, [edi + 1]
call fcn.1002df10
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x80], eax
mov esi, dword [edx + 0x14]
lea edx, [edi + 1]
lea ecx, [esi + ecx*2]
push ecx
mov ecx, dword [ebp - 0x74]
lea ecx, [esi + ecx*2]
mov esi, eax
push ecx
mov ecx, esi
call fcn.1002f620
add esp, 8
mov ecx, esi
call fcn.1002dea0
test esi, esi
je 0x10048cf3
mov eax, dword [0x1007f11c]
test eax, eax
je 0x10048cf3
dec dword [eax + 0x370]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [0x1007f11c]
add esp, 4
mov edi, dword [ebp - 0x38]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov al, byte [ebp - 0x3d]
test al, al
je 0x10049006
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x10048d32
mov eax, dword [edi + 4]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0x52], 0
lea esi, [edi + 0x3c]
mov byte [edi + 0xe6c], 1
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
cmp ecx, eax
je 0x10049003
mov edx, dword [edi + 4]
cmp ecx, edx
jle 0x10048d5f
mov dword [esi + 4], edx
mov ecx, edx
mov dword [ebp - 0x2c], edx
cmp eax, edx
jle 0x10048d6b
mov dword [esi + 8], edx
mov eax, edx
mov dword [ebp - 0x30], edx
cmp ecx, eax
jne 0x10048d71
mov dword [esi], ecx
cmp dword [esi], edx
jle 0x10048d77
mov dword [esi], edx
cmp ecx, eax
je 0x10048fd9
add esi, 0x20
mov dword [esi + 0xe08], 0x3e7
cmp ecx, eax
jge 0x10048eb7
sub eax, ecx
cmp word [esi + 0xdfe], 0x63
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x50]
mov word [esi + 0xe00], ax
jne 0x10048db4
mov ecx, esi
call fcn.1004afd0
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x3e7
jle 0x10048dd3
xor eax, eax
mov word [esi + 0xdfe], ax
mov dword [esi + 0xe04], eax
jmp 0x10048e8f
mov eax, dword [esi + 0xe04]
add eax, ecx
cmp eax, 0x3e7
jle 0x10048e01
mov edi, dword [ebp - 0x30]
mov ecx, esi
call fcn.1004afd0
mov eax, dword [esi + 0xe04]
add eax, edi
cmp eax, 0x3e7
jg 0x10048de5
mov edi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
movzx eax, word [esi + 0xdfe]
movsx edx, ax
inc eax
shl edx, 4
add edx, esi
mov word [esi + 0xdfe], ax
mov dword [ebp - 0x34], edx
test edx, edx
je 0x10048e8f
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x2c]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [eax + 8], 0
test ecx, ecx
jne 0x10048e3e
mov dword [eax + 0xc], 0xffffffff
jmp 0x10048e92
mov edi, dword [ebp - 0x34]
mov eax, dword [esi + 0xe04]
mov dword [edi + 0xc], eax
mov eax, edi
add dword [esi + 0xe04], ecx
mov edi, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
add eax, 0x318
lea eax, [esi + eax*2]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x10048e92
xor esi, esi
test ecx, ecx
jle 0x10048e92
lea eax, [edx + edx]
mov dword [ebp - 0x80], eax
mov edx, eax
mov eax, dword [edi + 0x14]
lea edx, [edx + 2]
mov ecx, dword [ebp - 0x68]
mov ax, word [edx + eax - 2]
mov word [ecx + esi*2], ax
inc esi
mov ecx, dword [ebp - 0x30]
cmp esi, ecx
jl 0x10048e75
mov edx, dword [ebp - 0x2c]
push ecx
mov ecx, edi
call fcn.1004c640
mov eax, dword [edi + 0x40]
lea esi, [edi + 0x3c]
mov ecx, esi
mov dword [esi + 8], eax
add esp, 4
mov byte [ecx + 0x16], 0
mov dword [esi], eax
mov byte [esi + 0x16], 0
jmp 0x10049003
sub ecx, eax
cmp word [esi + 0xdfe], 0x63
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x2c], ecx
mov word [esi + 0xe00], ax
jne 0x10048eda
mov ecx, esi
call fcn.1004afd0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x3e7
jle 0x10048ef6
xor eax, eax
mov word [esi + 0xdfe], ax
mov dword [esi + 0xe04], eax
jmp 0x10048fba
mov eax, dword [esi + 0xe04]
add eax, ecx
cmp eax, 0x3e7
jle 0x10048f24
mov edi, dword [ebp - 0x2c]
mov ecx, esi
call fcn.1004afd0
mov eax, dword [esi + 0xe04]
add eax, edi
cmp eax, 0x3e7
jg 0x10048f08
mov edi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
movzx eax, word [esi + 0xdfe]
movsx edx, ax
inc eax
shl edx, 4
add edx, esi
mov word [esi + 0xdfe], ax
mov dword [ebp - 0x34], edx
test edx, edx
je 0x10048fba
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [eax + 8], 0
test ecx, ecx
jne 0x10048f61
mov dword [eax + 0xc], 0xffffffff
jmp 0x10048fbd
mov edi, dword [ebp - 0x34]
mov eax, dword [esi + 0xe04]
mov dword [edi + 0xc], eax
mov eax, edi
add dword [esi + 0xe04], ecx
mov edi, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
add eax, 0x318
lea eax, [esi + eax*2]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x10048fbd
xor esi, esi
test ecx, ecx
jle 0x10048fbd
lea eax, [edx + edx]
mov dword [ebp - 0x80], eax
mov edx, eax
nop dword [eax + eax]
mov eax, dword [edi + 0x14]
lea edx, [edx + 2]
mov ecx, dword [ebp - 0x68]
mov ax, word [edx + eax - 2]
mov word [ecx + esi*2], ax
inc esi
mov ecx, dword [ebp - 0x2c]
cmp esi, ecx
jl 0x10048fa0
mov edx, dword [ebp - 0x30]
push ecx
mov ecx, edi
call fcn.1004c640
mov eax, dword [edi + 0x44]
lea esi, [edi + 0x3c]
mov ecx, esi
mov dword [esi + 4], eax
add esp, 4
mov byte [ecx + 0x16], 0
mov dword [esi], eax
mov byte [esi + 0x16], 0
jmp 0x10049003
movzx eax, al
mov ecx, edi
xor eax, 1
add eax, 0x20000a
push eax
call fcn.1004a700
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x44], eax
mov dword [edi + 0x40], eax
mov eax, dword [0x1007f11c]
mov dword [ebp - 0x18], eax
mov esi, dword [ebp - 0x20]
mov cl, byte [ebp - 0x11]
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x1004901b
cmp byte [ebp - 0x22], 0
je 0x1004901b
mov al, 1
jmp 0x1004901d
xor al, al
or byte [ebp - 0xa4], al
mov eax, dword [ebp - 0x28]
cmp dword [esi + 0x1aa4], eax
jne 0x1004956a
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x58], eax
test cl, cl
je 0x10049187
cmp byte [ebp - 0x4c], al
jne 0x10049172
mov esi, dword [edi + 0x2c]
mov ecx, esi
mov eax, dword [ebx + 8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10049077
test dl, dl
je 0x10049073
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10049077
add eax, 2
add ecx, 2
test dl, dl
jne 0x10049057
xor eax, eax
jmp 0x1004907c
sbb eax, eax
or eax, 1
test eax, eax
je 0x10049172
mov eax, dword [edi + 0x24]
mov ecx, esi
dec eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 4], 0
test eax, eax
jle 0x100490f1
lea esi, [eax + ecx]
mov edx, esi
call fcn.1002f7f0
inc eax
lea ecx, [ebp - 0x9c]
push eax
call fcn.1000e3a0
mov ecx, dword [ebp - 0x94]
push 0
push esi
push dword [ebp - 0x50]
mov esi, dword [ebp - 0x9c]
mov edx, esi
call fcn.1002f9a0
add esp, 0xc
lea eax, [esi - 1]
jmp 0x100490f3
xor eax, eax
mov esi, dword [edi + 4]
lea ecx, [edi + 0x5c]
push eax
push esi
xor edx, edx
mov dword [ebp - 0x44], eax
call fcn.1004ad10
mov edx, eax
add esp, 8
test edx, edx
je 0x10049124
xor ecx, ecx
test esi, esi
jle 0x10049124
mov eax, dword [edi + 0x14]
mov ax, word [eax + ecx*2]
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, esi
jl 0x10049114
push dword [edi + 4]
xor edx, edx
mov ecx, edi
call fcn.1004c640
mov esi, dword [ebp - 0x44]
add esp, 4
test esi, esi
jle 0x10049158
push esi
push dword [ebp - 0x94]
xor edx, edx
mov ecx, edi
call fcn.1004c4f0
add esp, 8
test al, al
je 0x10049158
mov dword [edi + 0x3c], esi
mov byte [edi + 0x52], 0
lea ecx, [ebp - 0x9c]
mov dword [ebp - 4], 0xffffffff
call fcn.1000d7f0
mov eax, dword [0x1007f11c]
mov dword [ebp - 0x18], eax
cmp byte [ebp - 0x3e], 0
mov eax, dword [ebx + 0x14]
je 0x10049467
test al, 0x20
je 0x10049467
cmp byte [ebp - 0x4c], 0
jne 0x100491c1
mov eax, dword [edi + 0xc]
lea ecx, [edi + 0x18]
mov byte [edi + 0x30], 1
lea eax, [eax*4 + 1]
push eax
call fcn.1000e2e0
mov edx, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
push 0
push dword [edi + 0x14]
call fcn.1002f620
mov eax, dword [0x1007f11c]
add esp, 8
mov dword [ebp - 0x18], eax
jmp 0x100491c4
mov eax, dword [ebp - 0x18]
mov edx, dword [ebx + 0x14]
test edx, 0x801c0
je 0x1004941a
xor esi, esi
test dl, 0x40
je 0x100491f6
mov ecx, dword [eax + 0x34]
test ecx, ecx
js 0x100491f6
call fcn.10031b10
mov edx, dword [ebx + 0x14]
test al, al
je 0x100491f6
mov esi, 0x40
xor eax, eax
jmp 0x10049265
test dl, dl
jns 0x1004923a
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x40]
test ecx, ecx
js 0x1004921d
call fcn.10031b10
mov edx, dword [ebx + 0x14]
test al, al
je 0x1004921a
mov esi, 0x80
lea eax, [esi - 0x7d]
jmp 0x10049265
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x44]
test ecx, ecx
js 0x1004923a
call fcn.10031b10
mov edx, dword [ebx + 0x14]
test al, al
je 0x1004923a
mov esi, 0x80
lea eax, [esi - 0x7c]
jmp 0x10049265
test edx, 0x80000
je 0x10049252
cmp byte [edi + 0xe6e], 0
je 0x10049252
mov esi, 0x80000
jmp 0x10049260
test edx, 0x100
mov eax, 0x100
cmovne esi, eax
mov eax, 0x16
test esi, esi
je 0x1004941a
mov dword [ebp - 0x138], eax
xor ecx, ecx
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x134], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x130], eax
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x148], esi
mov esi, dword [edi + 0x14]
mov dword [ebp - 0x12c], eax
mov eax, dword [edi + 0x3c]
mov word [ebp - 0x127], cx
mov byte [ebp - 0x125], cl
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x140], ecx
lea edx, [esi + eax*2]
mov byte [ebp - 0x128], cl
mov ecx, esi
mov dword [ebp - 0x13c], 0
call fcn.1002f5d0
mov edx, dword [ebp - 0x38]
mov edi, eax
mov ecx, esi
mov dword [ebp - 0x124], edi
mov edx, dword [edx + 0x40]
lea edx, [esi + edx*2]
call fcn.1002f5d0
mov dword [ebp - 0x80], eax
mov ecx, esi
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0x44]
lea edx, [esi + edx*2]
call fcn.1002f5d0
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x148]
push eax
xor eax, eax
call eax
mov ecx, dword [ebp - 0x124]
add esp, 4
cmp ecx, edi
mov edi, dword [ebp - 0x134]
jne 0x10049331
mov dl, byte [ebp - 0x128]
test dl, dl
je 0x10049356
lea edx, [ecx + edi]
mov ecx, edi
call fcn.1002f7f0
mov esi, dword [ebp - 0x38]
mov dl, byte [ebp - 0x128]
mov ecx, dword [ebp - 0x124]
mov dword [esi + 0x3c], eax
mov byte [esi + 0xe6c], 1
jmp 0x10049359
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x120]
cmp eax, dword [ebp - 0x80]
jne 0x10049368
test dl, dl
je 0x1004938c
cmp eax, ecx
jne 0x10049371
mov ecx, dword [esi + 0x3c]
jmp 0x10049383
lea edx, [eax + edi]
mov ecx, edi
call fcn.1002f7f0
mov ecx, eax
mov eax, dword [ebp - 0x120]
mov dl, byte [ebp - 0x128]
mov dword [esi + 0x40], ecx
mov ecx, dword [ebp - 0x11c]
cmp ecx, dword [ebp - 0x68]
jne 0x1004939f
test dl, dl
je 0x10049412
cmp ecx, eax
jne 0x100493a8
mov eax, dword [esi + 0x40]
jmp 0x100493b2
lea edx, [ecx + edi]
mov ecx, edi
call fcn.1002f7f0
cmp byte [ebp - 0x128], 0
mov dword [esi + 0x44], eax
je 0x10049412
mov edx, dword [ebp - 0x130]
cmp edx, dword [ebp - 0x5c]
jle 0x100493e9
cmp byte [ebp - 0xac], 0
je 0x100493e9
mov eax, dword [esi + 0xc]
lea ecx, [esi + 0xc]
sub eax, dword [ebp - 0x5c]
add eax, edx
push eax
call fcn.1000e3a0
mov edi, dword [ebp - 0x134]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
push 0
push 0
push edi
call fcn.1002f9a0
mov dword [esi + 4], eax
add esp, 0xc
mov eax, dword [ebp - 0x130]
mov dword [esi + 8], eax
mov dword [esi + 0xe68], 0xbe99999a
mov eax, dword [0x1007f11c]
mov dword [ebp - 0x18], eax
cmp byte [ebp - 0x4c], 0
mov edi, dword [ebp - 0x38]
jne 0x10049464
mov esi, dword [edi + 0x20]
mov eax, esi
mov ecx, dword [ebx + 8]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10049450
test dl, dl
je 0x1004944c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10049450
add eax, 2
add ecx, 2
test dl, dl
jne 0x10049430
xor eax, eax
jmp 0x10049455
sbb eax, eax
or eax, 1
test eax, eax
mov eax, dword [ebx + 0x14]
je 0x10049467
mov ecx, dword [edi + 8]
mov dword [ebp - 0x50], esi
jmp 0x1004946a
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x50]
test edx, edx
je 0x10049549
cmp byte [ebp - 0xac], 0
je 0x10049512
mov dword [ebp - 0x174], eax
xorps xmm0, xmm0
mov eax, dword [ebx + 8]
mov dword [ebp - 0x164], eax
lea eax, [ecx + 1]
cmp dword [ebx + 0xc], eax
movlpd qword [ebp - 0x16c], xmm0
cmovge eax, dword [ebx + 0xc]
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0x178]
push eax
xor eax, eax
movlpd qword [ebp - 0x158], xmm0
movlpd qword [ebp - 0x150], xmm0
mov dword [ebp - 0x178], 0x40000
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x170], 0
call eax
mov eax, dword [ebp - 0x164]
add esp, 4
mov esi, dword [0x1007f11c]
mov edx, dword [ebp - 0x50]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebx + 0xc], eax
mov dword [ebp - 0x18], esi
lea ecx, [eax - 1]
cmp dword [ebp - 0x160], ecx
cmovl ecx, dword [ebp - 0x160]
mov esi, dword [ebx + 0xc]
lea eax, [ecx + 1]
cmp eax, esi
cmovl esi, eax
cmp esi, 1
jb 0x10049545
jbe 0x1004953d
lea eax, [esi - 1]
push eax
push edx
push dword [ebx + 8]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov eax, dword [0x1007f11c]
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 8]
mov byte [esi + eax - 1], 0
mov byte [ebp - 0x45], 1
mov esi, dword [ebp - 0x20]
mov dword [edi + 0xe70], 0
mov dword [edi + 0xe74], 0
mov dword [edi + 0xe78], 0
cmp byte [ebp - 0x46], 0
mov ecx, dword [ebp - 0x28]
je 0x10049583
cmp dword [esi + 0x1aa4], ecx
jne 0x10049583
call fcn.10031c00
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x3c]
test al, al
jne 0x1004964f
mov edx, ecx
lea ecx, [ebp - 0xc8]
push 1
call fcn.10032460
movss xmm1, dword [0x100776c4]
add esp, 4
mov ecx, 7
push dword [ebp - 0xbc]
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
push dword [ebp - 0xc8]
call fcn.100318b0
movss xmm2, dword [esi + 0x1558]
mov dl, 1
mov ecx, eax
call fcn.10030c30
movss xmm2, dword [ebp - 0xb8]
add esp, 0x10
movss xmm3, dword [ebp - 0xa0]
movaps xmm1, xmm2
movss xmm4, dword [ebp - 0xa8]
movaps xmm0, xmm3
addss xmm0, dword [ebp - 0x7c]
mov eax, dword [0x1007f11c]
addss xmm1, xmm4
movaps xmm5, xmm3
movss dword [ebp - 0x118], xmm2
addss xmm2, dword [esi + 0x1550]
addss xmm5, dword [esi + 0x1554]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x3c]
movss dword [ebp - 0x114], xmm3
movss dword [ebp - 0xd4], xmm1
movss dword [ebp - 0x110], xmm1
movss dword [ebp - 0x80], xmm1
movss dword [ebp - 0x68], xmm0
jmp 0x100496b6
movss xmm0, dword [ebp - 0xb8]
movss xmm1, dword [ebp - 0xa0]
movaps xmm3, xmm0
movss xmm4, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x6c]
addss xmm3, xmm4
movss dword [ebp - 0x114], xmm1
addss xmm1, dword [ebp - 0x7c]
movss dword [ebp - 0x118], xmm0
movss xmm2, dword [ecx + 0xc4]
movss xmm5, dword [ecx + 0xc8]
movaps xmm0, xmm3
movss dword [ebp - 0xd4], xmm0
movss dword [ebp - 0x110], xmm0
movaps xmm0, xmm1
movss dword [ebp - 0x80], xmm3
movss dword [ebp - 0x68], xmm1
cmp byte [ebp - 0x51], 0
xorps xmm7, xmm7
xorps xmm6, xmm6
movss dword [ebp - 0x10c], xmm0
movss dword [ebp - 0x90], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0xe4], xmm5
movss dword [ebp - 0xe8], xmm2
movss dword [ebp - 0x30], xmm5
movss dword [ebp - 0x60], xmm2
movss dword [ebp - 0x98], xmm2
movss dword [ebp - 0x94], xmm5
movss dword [ebp - 0x74], xmm7
movss dword [ebp - 0xc0], xmm7
movss dword [ebp - 0x44], xmm6
movss dword [ebp - 0xbc], xmm6
je 0x10049721
mov edx, dword [edi + 0x20]
mov dword [ebx + 8], edx
jmp 0x10049724
mov edx, dword [ebx + 8]
cmp byte [ebp - 0x22], 0
jne 0x10049a90
cmp byte [ebp - 0xa4], 0
jne 0x10049a90
test al, al
je 0x100497a0
mov edi, dword [ebx + 8]
xor ecx, ecx
mov dl, byte [edx]
inc edi
test dl, dl
je 0x10049762
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 0x10049750
mov al, byte [edi - 1]
dec edi
mov dword [ebp - 0x28], edi
cmp al, 0xa
je 0x10049772
cmp al, 0xd
je 0x10049772
inc ecx
movd xmm0, ecx
movaps xmm1, xmm4
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x74], xmm1
mulss xmm0, dword [esi + 0x1930]
movss dword [ebp - 0xc0], xmm1
movss dword [ebp - 0x44], xmm0
movss dword [ebp - 0xbc], xmm0
jmp 0x100497d8
mov eax, dword [ebp - 0x28]
cmp dword [esi + 0x1aa4], eax
jne 0x100497b2
mov edi, dword [edi + 8]
add edi, edx
jmp 0x100497c6
mov ecx, edx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100497b7
sub ecx, edx
mov edx, dword [ebx + 8]
lea edi, [edx + ecx]
mov eax, edi
mov dword [ebp - 0x28], edi
sub eax, edx
cmp eax, 0x200000
jge 0x1004a53a
movss xmm1, dword [0x100776c4]
xor ecx, ecx
call fcn.100318b0
mov ecx, dword [ebp - 0x6c]
lea edx, [ebp - 0x118]
cmp byte [ebp - 0x3c], 0
mov dword [ebp - 0x80], 0
cmovne edx, dword [ebp - 0x80]
mov esi, dword [ecx + 0x278]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x68], eax
mov edi, dword [ecx + 0x192c]
movss xmm2, dword [ecx + 0x1930]
mov ecx, dword [ebp - 0x28]
test eax, 0xff000000
je 0x1004a52f
test ecx, ecx
jne 0x10049845
mov ecx, dword [ebx + 8]
lea eax, [ecx + 1]
mov dword [ebp - 0x80], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10049834
sub ecx, dword [ebp - 0x80]
mov eax, dword [ebx + 8]
add ecx, eax
jmp 0x10049848
mov eax, dword [ebx + 8]
cmp eax, ecx
je 0x1004a52f
test edi, edi
jne 0x1004985a
mov eax, dword [esi + 0x2c]
mov edi, dword [eax + 8]
xorps xmm3, xmm3
ucomiss xmm2, xmm3
lahf
test ah, 0x44
jp 0x1004986e
mov eax, dword [esi + 0x2c]
movss xmm2, dword [eax + 0xc]
movups xmm0, xmmword [esi + 0x60]
movups xmmword [ebp - 0x8c], xmm0
test edx, edx
je 0x100498ca
movss xmm0, dword [ebp - 0x8c]
maxss xmm0, dword [edx]
movss dword [ebp - 0x8c], xmm0
movss xmm0, dword [ebp - 0x88]
maxss xmm0, dword [edx + 4]
movss dword [ebp - 0x88], xmm0
movss xmm0, dword [ebp - 0x84]
minss xmm0, dword [edx + 8]
movss dword [ebp - 0x84], xmm0
movss xmm0, dword [ebp - 0x80]
minss xmm0, dword [edx + 0xc]
movss dword [ebp - 0x80], xmm0
push dword [ebp - 0xe4]
test edx, edx
push dword [ebp - 0xe8]
setne al
movzx eax, al
push eax
push ecx
mov dword [esp], 0
lea eax, [ebp - 0x8c]
push ecx
push dword [ebx + 8]
mov ecx, edi
push eax
push dword [ebp - 0x68]
push esi
call fcn.10033380
mov ecx, dword [0x1007f11c]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x28]
cmp byte [ebp - 0xcc], 0
je 0x1004991d
call fcn.100257f0
mov ecx, dword [0x1007f11c]
cmp byte [ebp - 0x3c], 0
je 0x100499b9
mov eax, dword [ecx + 0x1a6c]
mov byte [eax + 0x84], 1
mov eax, dword [ecx + 0x1a6c]
cmp byte [eax + 0x87], 0
jne 0x100499a9
movss xmm2, dword [eax + 0xc4]
lea ecx, [ebp - 0xc0]
movss xmm0, dword [eax + 0xc8]
movaps xmm3, xmm2
movss xmm4, dword [ebp - 0x44]
addss xmm3, dword [ebp - 0x74]
movss xmm1, dword [0x10077794]
addss xmm4, xmm0
movss dword [ebp - 0xf8], xmm2
movss dword [ebp - 0xf4], xmm0
movss dword [ebp - 0xf0], xmm3
movss dword [ebp - 0xec], xmm4
call fcn.10031de0
push 0
xor edx, edx
lea ecx, [ebp - 0xf8]
call fcn.100315d0
add esp, 4
call fcn.1002a380
call fcn.100311f0
mov ecx, dword [0x1007f11c]
cmp byte [esi + 0x2efc], 0
je 0x100499e3
cmp byte [ebp - 0xcc], 0
jne 0x100499e3
mov edx, dword [ebx + 8]
lea ecx, [ebp - 0x98]
push edi
call fcn.10020a20
mov ecx, dword [0x1007f11c]
add esp, 4
movss xmm0, dword [ebp - 0x104]
comiss xmm0, dword [0x1007764c]
jbe 0x10049a48
movss xmm0, dword [ebp - 0x108]
xor edx, edx
addss xmm0, dword [esi + 0x1568]
mov ecx, dword [ebp - 0xdc]
movss dword [ebp - 0x98], xmm0
movss xmm0, dword [ebp - 0xa0]
addss xmm0, dword [esi + 0x1554]
movss dword [ebp - 0x94], xmm0
push dword [ebp - 0x94]
push dword [ebp - 0x98]
push 1
call fcn.10031f40
mov ecx, dword [0x1007f11c]
add esp, 0xc
mov dl, byte [ebp - 0x45]
test dl, dl
je 0x10049a6e
test dword [ebx + 0x14], 0x200000
jne 0x10049a6e
mov eax, dword [ecx + 0x1a6c]
mov word [ecx + 0x1ab4], 0x101
or dword [eax + 0x10c], 4
test byte [ebx + 0x14], 0x20
movzx ecx, byte [ebp - 0x3e]
movzx eax, dl
cmovne eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [edi + 8]
mov esi, 0xfffffc18
mov ecx, dword [edi + 0x14]
add eax, edx
xor edx, edx
mov dword [ebp - 0x28], eax
xorps xmm3, xmm3
mov dword [ebp - 0x50], ecx
movss dword [ebp - 0x34], xmm3
mov dword [ebp - 0xac], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x2c], esi
cmp byte [ebp - 0x22], dl
je 0x10049ade
mov eax, dword [edi + 0x3c]
or esi, 0xffffffff
mov dword [ebp - 0x70], esi
lea eax, [ecx + eax*2]
mov dword [ebp - 0xac], eax
lea edx, [esi + 2]
cmp byte [ebp - 0xa4], 0
je 0x10049b05
mov ecx, dword [edi + 0x44]
cmp dword [edi + 0x40], ecx
mov eax, dword [ebp - 0x50]
cmovl ecx, dword [edi + 0x40]
inc edx
mov dword [ebp - 0x2c], 0xffffffff
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, al
add edx, eax
xor eax, eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x50]
movzx eax, word [eax]
test ax, ax
je 0x10049b6d
mov edi, dword [ebp - 0x70]
mov esi, eax
cmp si, 0xa
jne 0x10049b56
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp edi, 0xffffffff
jne 0x10049b43
cmp ecx, dword [ebp - 0xac]
jb 0x10049b43
dec edx
mov edi, eax
test edx, edx
jle 0x10049b64
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x10049b56
cmp ecx, dword [ebp - 0x5c]
jb 0x10049b56
dec edx
mov dword [ebp - 0x2c], eax
test edx, edx
jle 0x10049b64
movzx eax, word [ecx + 2]
add ecx, 2
mov esi, eax
test ax, ax
jne 0x10049b22
mov dword [ebp - 0x70], edi
mov edi, dword [ebp - 0x38]
mov esi, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0xac]
inc ecx
cmp esi, 0xffffffff
mov dword [ebp - 0x58], ecx
mov eax, ecx
cmovne eax, esi
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x2c]
cmp eax, 0xffffffff
cmove eax, ecx
mov ecx, edx
mov dword [ebp - 0x2c], eax
cmp edx, esi
jbe 0x10049bae
nop dword [eax]
cmp word [ecx - 2], 0xa
je 0x10049bae
add ecx, 0xfffffffe
cmp ecx, esi
ja 0x10049ba0
mov eax, dword [ebp - 0x18]
movaps xmm4, xmm0
movss dword [ebp - 0x64], xmm4
movaps xmm1, xmm0
mov esi, dword [eax + 0x192c]
movss xmm2, dword [eax + 0x1930]
divss xmm2, dword [esi + 0x10]
cmp ecx, edx
jae 0x10049c34
mov edi, dword [ebp - 0xac]
nop dword [eax]
movzx eax, word [ecx]
add ecx, 2
mov edx, eax
cmp eax, 0xa
jne 0x10049bf6
maxss xmm4, xmm1
movaps xmm1, xmm0
jmp 0x10049c1b
cmp edx, 0xd
je 0x10049c1b
mov edx, eax
cmp edx, dword [esi]
jge 0x10049c0b
mov eax, dword [esi + 8]
movss xmm0, dword [eax + edx*4]
jmp 0x10049c10
movss xmm0, dword [esi + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
xorps xmm0, xmm0
cmp ecx, edi
jb 0x10049be0
comiss xmm1, xmm4
mov edi, dword [ebp - 0x38]
movss dword [ebp - 0x64], xmm4
jbe 0x10049c34
movaps xmm4, xmm1
movss dword [ebp - 0x64], xmm1
cmp dword [ebp - 0x2c], 0
movd xmm3, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0x20]
cvtdq2ps xmm3, xmm3
movss xmm0, dword [ecx + 0x1930]
mulss xmm3, xmm0
movss dword [ebp - 0xe4], xmm3
jl 0x10049d20
mov edx, dword [ebp - 0x5c]
mov ecx, edx
mov esi, dword [ebp - 0x50]
cmp edx, esi
jbe 0x10049c7e
nop dword [eax]
cmp word [ecx - 2], 0xa
je 0x10049c7e
add ecx, 0xfffffffe
cmp ecx, esi
ja 0x10049c70
mov eax, dword [ebp - 0x18]
xorps xmm3, xmm3
movss dword [ebp - 0x34], xmm3
xorps xmm0, xmm0
xorps xmm1, xmm1
mov esi, dword [eax + 0x192c]
movss xmm2, dword [eax + 0x1930]
divss xmm2, dword [esi + 0x10]
cmp ecx, edx
jae 0x10049d01
mov edi, dword [ebp - 0x5c]
nop dword [eax]
movzx eax, word [ecx]
add ecx, 2
mov edx, eax
cmp eax, 0xa
jne 0x10049cc6
maxss xmm3, xmm1
movaps xmm1, xmm0
jmp 0x10049ceb
cmp edx, 0xd
je 0x10049ceb
mov edx, eax
cmp edx, dword [esi]
jge 0x10049cdb
mov eax, dword [esi + 8]
movss xmm0, dword [eax + edx*4]
jmp 0x10049ce0
movss xmm0, dword [esi + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
xorps xmm0, xmm0
cmp ecx, edi
jb 0x10049cb0
comiss xmm1, xmm3
mov edi, dword [ebp - 0x38]
movss dword [ebp - 0x34], xmm3
jbe 0x10049d01
movss dword [ebp - 0x34], xmm1
movd xmm7, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
movss xmm3, dword [ebp - 0xe4]
cvtdq2ps xmm7, xmm7
movss xmm0, dword [ecx + 0x1930]
mulss xmm7, xmm0
mov edx, dword [ebp - 0x3c]
movss xmm2, dword [ebp - 0xa8]
test dl, dl
je 0x10049d58
movd xmm6, dword [ebp - 0x58]
movaps xmm1, xmm2
cvtdq2ps xmm6, xmm6
movss dword [ebp - 0x74], xmm1
mulss xmm6, xmm0
movss dword [ebp - 0xc0], xmm1
movss dword [ebp - 0x44], xmm6
movss dword [ebp - 0xbc], xmm6
cmp byte [ebp - 0x22], 0
je 0x10049e68
cmp byte [edi + 0xe6c], 0
je 0x10049e68
test dword [ebx + 0x14], 0x1000
jne 0x10049dc0
movaps xmm0, xmm2
movaps xmm1, xmm4
movss xmm2, dword [edi + 0x38]
comiss xmm2, xmm4
mulss xmm0, dword [0x1007767c]
jbe 0x10049dad
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x38], xmm0
jmp 0x10049dc7
subss xmm1, dword [ebp - 0xa8]
comiss xmm1, xmm2
jb 0x10049dc7
addss xmm0, xmm1
jmp 0x10049d9b
mov dword [edi + 0x38], 0
xorps xmm4, xmm4
test dl, dl
je 0x10049e61
movss xmm2, dword [ebp - 0xb4]
movaps xmm0, xmm3
subss xmm0, dword [ecx + 0x1930]
comiss xmm2, xmm0
jbe 0x10049df8
movss xmm3, dword [ebp - 0x7c]
xorps xmm2, xmm2
maxss xmm2, xmm0
jmp 0x10049e19
movaps xmm0, xmm3
movss xmm3, dword [ebp - 0x7c]
subss xmm0, xmm3
comiss xmm0, xmm2
jb 0x10049e19
movss xmm2, dword [ecx + 0x1554]
addss xmm2, xmm2
addss xmm2, xmm0
comiss xmm4, xmm2
movss xmm1, dword [ecx + 0x1554]
jbe 0x10049e2b
xorps xmm1, xmm1
jmp 0x10049e3f
addss xmm1, xmm1
addss xmm1, xmm6
subss xmm1, xmm3
maxss xmm1, xmm4
minss xmm1, xmm2
mov eax, dword [ebp - 0x6c]
movss xmm0, dword [eax + 0x54]
subss xmm0, xmm1
movss dword [eax + 0x54], xmm1
addss xmm5, xmm0
movss dword [ebp - 0x30], xmm5
movss dword [ebp - 0x94], xmm5
mov byte [edi + 0xe6c], 0
cmp byte [ebp - 0xa4], 0
movss xmm4, dword [edi + 0x38]
movss dword [ebp - 0x7c], xmm4
je 0x1004a125
mov edx, dword [edi + 0x44]
mov eax, edx
mov ecx, dword [edi + 0x40]
cmp ecx, edx
mov esi, dword [ebp - 0x50]
cmovl eax, ecx
cmovge edx, ecx
cmp byte [ebp - 0x22], 0
lea esi, [esi + eax*2]
mov eax, dword [ebp - 0x50]
lea eax, [eax + edx*2]
mov dword [ebp - 0x5c], eax
je 0x10049eae
movss xmm1, dword [0x100776c4]
jmp 0x10049eb6
movss xmm1, dword [0x10077694]
mov ecx, 0x2f
call fcn.100318b0
cmp byte [ebp - 0x3c], 0
mov dword [ebp - 0x58], eax
je 0x10049ed1
xorps xmm0, xmm0
xorps xmm6, xmm6
jmp 0x10049ee1
movss xmm6, dword [0x10077794]
movss xmm0, dword [0x100776e8]
movss xmm4, dword [ebp - 0x30]
movss xmm5, dword [ebp - 0x34]
addss xmm4, xmm7
addss xmm5, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x5c]
xorps xmm7, xmm7
mov edx, dword [ebp - 0x20]
movss dword [ebp - 0xac], xmm0
movss dword [ebp - 0x70], xmm6
subss xmm4, xmm7
subss xmm5, dword [ebp - 0x7c]
movss dword [ebp - 0x34], xmm4
cmp esi, ecx
jae 0x1004a119
movss xmm7, dword [ebp - 0x90]
mov edi, dword [ebp - 0x58]
nop dword [eax + eax]
movaps xmm0, xmm7
addss xmm0, dword [edx + 0x1930]
comiss xmm4, xmm0
ja 0x1004a10a
movss xmm0, dword [ebp - 0xa0]
comiss xmm0, xmm4
jbe 0x10049f79
cmp esi, ecx
jae 0x1004a0e6
nop dword [eax]
mov ax, word [esi]
add esi, 2
cmp ax, 0xa
je 0x1004a0e6
cmp esi, ecx
jb 0x10049f60
jmp 0x1004a0e6
mov eax, dword [ebp - 0x18]
xorps xmm0, xmm0
xorps xmm3, xmm3
xorps xmm1, xmm1
mov edx, dword [eax + 0x192c]
movss xmm2, dword [eax + 0x1930]
divss xmm2, dword [edx + 0x10]
cmp esi, ecx
jae 0x10049fe6
nop dword [eax]
movzx eax, word [esi]
add esi, 2
mov ecx, eax
cmp eax, 0xa
je 0x10049fd6
cmp ecx, 0xd
je 0x10049fcd
cmp ecx, dword [edx]
jge 0x10049fc0
mov eax, dword [edx + 8]
movss xmm0, dword [eax + ecx*4]
jmp 0x10049fc5
movss xmm0, dword [edx + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
mov ecx, dword [ebp - 0x5c]
cmp esi, ecx
jb 0x10049fa0
jmp 0x10049fe3
mov ecx, dword [ebp - 0x5c]
xorps xmm3, xmm3
maxss xmm3, xmm1
xorps xmm1, xmm1
xorps xmm0, xmm0
mov edx, dword [ebp - 0x20]
maxss xmm1, xmm3
comiss xmm0, xmm1
jb 0x1004a022
mov eax, dword [edx + 0x192c]
cmp dword [eax], 0x20
jle 0x1004a00a
mov eax, dword [eax + 8]
movss xmm0, dword [eax + 0x80]
jmp 0x1004a00f
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [0x10077690]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm0, dword [ebp - 0xac]
addss xmm1, xmm5
movaps xmm2, xmm6
addss xmm0, xmm4
subss xmm2, dword [edx + 0x1930]
movss xmm6, dword [ebp - 0xb8]
xorps xmm3, xmm3
addss xmm5, xmm3
movss xmm3, dword [ebp - 0xd4]
minss xmm1, xmm3
minss xmm0, xmm7
addss xmm2, xmm4
maxss xmm5, xmm6
movss dword [ebp - 0xf0], xmm1
comiss xmm0, dword [ebp - 0xa0]
maxss xmm2, dword [ebp - 0xa0]
movss dword [ebp - 0xf8], xmm5
movss dword [ebp - 0xec], xmm0
movss dword [ebp - 0xf4], xmm2
jbe 0x1004a0e6
comiss xmm7, xmm2
jbe 0x1004a0e6
comiss xmm1, xmm6
jbe 0x1004a0e6
comiss xmm3, xmm5
jbe 0x1004a0e6
push 0xf
push ecx
mov dword [esp], 0
lea eax, [ebp - 0xf0]
push edi
push eax
lea eax, [ebp - 0xf8]
push eax
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x278]
call fcn.10043c40
mov eax, dword [0x1007f11c]
movss xmm4, dword [ebp - 0x34]
movss xmm7, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
movss xmm5, dword [ebp - 0x60]
movss xmm6, dword [ebp - 0x70]
addss xmm4, dword [edx + 0x1930]
subss xmm5, dword [ebp - 0x7c]
movss dword [ebp - 0x34], xmm4
cmp esi, ecx
jb 0x10049f30
movss xmm4, dword [ebp - 0x7c]
movss xmm5, dword [ebp - 0x30]
mov edi, dword [ebp - 0x38]
jmp 0x1004a128
movss xmm4, dword [ebp - 0x7c]
movss xmm5, dword [ebp - 0x30]
jmp 0x1004a12b
mov edx, dword [ebp - 0x20]
xorps xmm7, xmm7
cmp byte [ebp - 0x3c], 0
jne 0x1004a142
mov eax, dword [ebp - 0x28]
sub eax, dword [ebx + 8]
cmp eax, 0x200000
jge 0x1004a381
mov eax, dword [ebp - 0x18]
movss xmm6, dword [0x100776c4]
movups xmm1, xmmword [eax + 0x15dc]
comiss xmm7, xmm1
movaps xmm2, xmm1
shufps xmm2, xmm1, 0xff
mulss xmm2, dword [eax + 0x1518]
movups xmmword [ebp - 0xf8], xmm1
jbe 0x1004a174
xorps xmm0, xmm0
jmp 0x1004a17b
movaps xmm0, xmm6
minss xmm0, xmm1
movss xmm1, dword [0x10077758]
movss xmm3, dword [ebp - 0xf4]
comiss xmm7, xmm3
mulss xmm0, xmm1
addss xmm0, dword [0x10077690]
cvttss2si ecx, xmm0
jbe 0x1004a1a5
xorps xmm0, xmm0
jmp 0x1004a1ac
movaps xmm0, xmm6
minss xmm0, xmm3
movss xmm3, dword [ebp - 0xf0]
mulss xmm0, xmm1
addss xmm0, dword [0x10077690]
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm7, xmm3
jbe 0x1004a1d3
xorps xmm0, xmm0
jmp 0x1004a1da
movaps xmm0, xmm6
minss xmm0, xmm3
movss xmm3, dword [0x10077690]
mulss xmm0, xmm1
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm7, xmm2
jbe 0x1004a1fd
xorps xmm0, xmm0
jmp 0x1004a204
movaps xmm0, xmm6
minss xmm0, xmm2
movss xmm2, dword [edx + 0x1930]
mov eax, dword [ebp - 0x6c]
mov edx, dword [edx + 0x192c]
mulss xmm0, xmm1
mov dword [ebp - 0x90], edx
lea edx, [ebp - 0x118]
mov dword [ebp - 0x34], 0
addss xmm0, xmm3
cvttss2si esi, xmm0
movss xmm0, dword [ebp - 0x60]
subss xmm0, xmm4
shl esi, 0x18
or esi, ecx
mov ecx, dword [eax + 0x278]
cmp byte [ebp - 0x3c], 0
mov eax, dword [ebp - 0x28]
cmovne edx, dword [ebp - 0x34]
movss dword [ebp - 0xb0], xmm0
movaps xmm0, xmm5
mov dword [ebp - 0x5c], ecx
subss xmm0, xmm7
mov dword [ebp - 0xd4], eax
movss dword [ebp - 0xac], xmm0
test esi, 0xff000000
je 0x1004a381
test eax, eax
jne 0x1004a2ab
mov ecx, dword [ebx + 8]
lea eax, [ecx + 1]
mov dword [ebp - 0xd4], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004a290
sub ecx, dword [ebp - 0xd4]
mov eax, dword [ebx + 8]
add eax, ecx
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0xd4], eax
cmp dword [ebx + 8], eax
je 0x1004a381
cmp dword [ebp - 0x90], 0
jne 0x1004a2c9
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x90], eax
ucomiss xmm2, xmm7
lahf
test ah, 0x44
jp 0x1004a2da
mov eax, dword [ecx + 0x2c]
movss xmm2, dword [eax + 0xc]
movups xmm0, xmmword [ecx + 0x60]
movups xmmword [ebp - 0xf8], xmm0
test edx, edx
je 0x1004a33c
movss xmm0, dword [ebp - 0xf8]
maxss xmm0, dword [edx]
movss dword [ebp - 0xf8], xmm0
movss xmm0, dword [ebp - 0xf4]
maxss xmm0, dword [edx + 4]
movss dword [ebp - 0xf4], xmm0
movss xmm0, dword [ebp - 0xf0]
minss xmm0, dword [edx + 8]
movss dword [ebp - 0xf0], xmm0
movss xmm0, dword [ebp - 0xec]
minss xmm0, dword [edx + 0xc]
movss dword [ebp - 0xec], xmm0
push dword [ebp - 0xac]
test edx, edx
push dword [ebp - 0xb0]
setne al
movzx eax, al
push eax
push ecx
mov dword [esp], 0
lea eax, [ebp - 0xf8]
push dword [ebp - 0xd4]
push dword [ebx + 8]
push eax
push esi
push ecx
mov ecx, dword [ebp - 0x90]
call fcn.10033380
mov ecx, dword [0x1007f11c]
mov dword [ebp - 0x18], ecx
jmp 0x1004a384
mov ecx, dword [ebp - 0x18]
cmp byte [ebp - 0x22], 0
mov esi, dword [ebp - 0x20]
je 0x10049906
movss xmm0, dword [esi + 0x18]
addss xmm0, dword [edi + 0xe68]
movss dword [edi + 0xe68], xmm0
cmp byte [esi + 0xb2], 0
je 0x1004a3f6
xorps xmm3, xmm3
comiss xmm3, xmm0
jae 0x1004a3f6
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0xd8], xmm0
fld qword [ebp - 0xd8]
fld qword [0x100776e0]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
movss xmm0, dword [0x100776b4]
fstp qword [ebp - 0xd8]
movsd xmm1, qword [ebp - 0xd8]
cvtpd2ps xmm1, xmm1
comiss xmm0, xmm1
jae 0x1004a3f6
xor al, al
jmp 0x1004a3f8
mov al, 1
movss xmm4, dword [ebp - 0x30]
movss xmm3, dword [ebp - 0x64]
movss xmm5, dword [0x100776c4]
addss xmm4, dword [ebp - 0xe4]
addss xmm3, dword [ebp - 0x60]
subss xmm4, dword [0x1007764c]
subss xmm3, dword [ebp - 0x7c]
movss dword [ebp - 0x30], xmm4
movaps xmm0, xmm4
movss dword [ebp - 0x64], xmm3
movaps xmm2, xmm3
movss dword [ebp - 0xf8], xmm3
movaps xmm1, xmm4
addss xmm2, xmm5
subss xmm0, dword [esi + 0x1930]
subss xmm1, dword [0x100776d4]
movss dword [ebp - 0xf0], xmm2
addss xmm0, dword [0x10077690]
movss dword [ebp - 0xec], xmm1
movss dword [ebp - 0xf4], xmm0
test al, al
je 0x1004a501
comiss xmm1, dword [ebp - 0xa0]
jbe 0x1004a501
movss xmm6, dword [ebp - 0x68]
comiss xmm6, xmm0
jbe 0x1004a501
comiss xmm2, dword [ebp - 0xb8]
jbe 0x1004a501
movss xmm0, dword [ebp - 0x80]
comiss xmm0, xmm3
jbe 0x1004a501
sub esp, 8
movss dword [ebp - 0x80], xmm1
movaps xmm1, xmm5
movss dword [ebp - 0x84], xmm3
xor ecx, ecx
mov dword [esp + 4], 0x3f800000
call fcn.100318b0
add esp, 4
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xf8]
push eax
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x278]
call fcn.10042c80
mov ecx, dword [0x1007f11c]
movss xmm3, dword [ebp - 0x64]
movss xmm4, dword [ebp - 0x30]
movss xmm5, dword [0x100776c4]
jmp 0x1004a504
mov ecx, dword [ebp - 0x18]
cmp byte [ebp - 0x4c], 0
jne 0x10049906
subss xmm4, dword [esi + 0x1930]
subss xmm3, xmm5
movss dword [esi + 0x2eac], xmm4
movss dword [esi + 0x2ea8], xmm3
jmp 0x10049906
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
jmp 0x10049906
mov ecx, dword [ebp - 0x18]
jmp 0x10049909