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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100804e0
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x1012ce80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [0x1012e8d8]
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x130], eax
mov eax, dword [ecx + 0x1a6c]
mov byte [eax + 0x84], 1
mov edi, dword [ecx + 0x1a6c]
cmp byte [edi + 0x87], 0
jne 0x10058da8
mov edx, dword [ebp + 0x1c]
mov ecx, edx
mov ebx, dword [0x1012e8d8]
mov eax, edx
shr eax, 0xe
and eax, 0xffffff01
shr ecx, 0x14
mov dword [ebp - 0x104], eax
and ecx, 0xffffff01
mov eax, edx
mov dword [ebp - 0xe0], ebx
shr eax, 0xf
and eax, 0xffffff01
mov dword [ebp - 0xf4], ecx
mov dword [ebp - 0x144], eax
mov eax, edx
shr eax, 0x10
not al
and eax, 0xffffff01
mov dword [ebp - 0x14], eax
mov eax, edx
shr eax, 0x12
and eax, 0xffffff01
mov dword [ebp - 0x38], eax
test cl, cl
je 0x10058c39
call fcn.10027f80
push 0
push dword [ebp - 0x15c]
mov ecx, edi
call fcn.1002b6b0
movss xmm0, dword [0x100c7724]
push ecx
mov dword [esp], 0xbf800000
push 1
push 0
push dword [ebp - 0x15c]
mov dword [ebp - 0x108], eax
lea eax, [ebp - 0x5c]
push eax
movss dword [ebp - 0x134], xmm0
call fcn.100286e0
add esp, 0x14
cmp byte [ebp - 0xf4], 0
je 0x10058c97
movss xmm1, dword [ebx + 0x1930]
mulss xmm1, dword [0x100c7700]
jmp 0x10058c9c
movss xmm1, dword [ebp - 0x58]
movss xmm0, dword [ebx + 0x1554]
addss xmm0, xmm0
push ecx
addss xmm0, xmm1
movss dword [esp], xmm0
call fcn.10028450
push ecx
fstp dword [esp]
push dword [esi + 4]
lea eax, [ebp - 0x64]
push dword [esi]
push eax
call fcn.10028380
movss xmm4, dword [ebp - 0x5c]
xorps xmm0, xmm0
add esp, 0x14
mov esi, ebx
comiss xmm4, xmm0
jbe 0x10058ce5
addss xmm4, dword [esi + 0x1568]
jmp 0x10058ce8
xorps xmm4, xmm4
cmp byte [ebp - 0xf4], 0
movss xmm3, dword [edi + 0xd0]
movss xmm0, dword [ebp - 0x64]
movaps xmm1, xmm3
movss xmm5, dword [ebp - 0x60]
addss xmm4, xmm0
addss xmm1, xmm0
movss dword [ebp - 0x13c], xmm0
movaps xmm0, xmm5
movss dword [ebp - 0x148], xmm5
addss xmm0, dword [edi + 0xd4]
movss dword [ebp - 0x78], xmm3
movss xmm2, dword [edi + 0xd4]
addss xmm4, xmm3
movss dword [ebp - 0x74], xmm2
movss dword [ebp - 0x70], xmm1
movss dword [ebp - 0x6c], xmm0
movaps xmm0, xmm2
addss xmm0, xmm5
movss dword [ebp - 0x54], xmm3
movss dword [ebp - 0x50], xmm2
movss dword [ebp - 0x4c], xmm4
mov dword [ebp - 0x11c], edi
movss dword [ebp - 0x48], xmm0
je 0x10058ea7
mov ebx, dword [ebp - 0x108]
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x54]
push ebx
push eax
call fcn.1002d690
add esp, 0xc
test al, al
jne 0x10058dc6
movss xmm0, dword [esi + 0x1554]
lea eax, [ebp - 0x54]
push ecx
movss dword [esp], xmm0
push eax
call fcn.1002da00
add esp, 8
call fcn.1002a2d0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007d39e
mov esp, ebp
pop ebp
ret
lea eax, [esi + 0x164c]
push eax
push 3
call fcn.100327c0
movss xmm0, dword [esi + 0x1558]
add esp, 4
movss dword [esp], xmm0
push 6
call fcn.10032890
movss xmm0, dword [esi + 0x155c]
add esp, 4
movss dword [esp], xmm0
push 7
call fcn.10032890
lea eax, [esi + 0x1550]
push eax
push 1
call fcn.10032810
movss xmm1, dword [ebp - 0x70]
lea eax, [ebp - 0x158]
movss xmm0, dword [ebp - 0x6c]
subss xmm1, dword [ebp - 0x78]
subss xmm0, dword [ebp - 0x74]
push 0x10004
push 1
push eax
push ebx
push dword [ebp - 0x15c]
movss dword [ebp - 0x158], xmm1
movss dword [ebp - 0x154], xmm0
call fcn.10027a60
push 3
mov bl, al
call fcn.10032310
push 1
call fcn.100322c0
add esp, 0x2c
test bl, bl
jne 0x10058e6f
call fcn.10029e00
jmp 0x10058da3
mov ebx, dword [esi + 0x1a6c]
movss xmm0, dword [ebp - 0x13c]
mov dword [ebp - 0x11c], ebx
subss xmm0, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x144]
mov eax, dword [ebx + 0x13c]
bts ecx, eax
mov dword [ebx + 0x144], ecx
movss dword [ebp - 0x13c], xmm0
jmp 0x10058edc
movss xmm0, dword [esi + 0x1554]
lea eax, [ebp - 0x54]
push ecx
movss dword [esp], xmm0
push eax
call fcn.1002da00
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x108]
lea eax, [ebp - 0x54]
push eax
call fcn.1002d690
add esp, 0x14
test al, al
je 0x10058da8
push dword [ebp - 0x108]
lea eax, [ebp - 0x78]
push eax
call fcn.1002d850
add esp, 8
mov byte [ebp - 0xd9], al
test al, al
je 0x10058f02
mov dword [esi + 0x1e60], 1
mov ebx, dword [0x1012e8d8]
xor ecx, ecx
mov eax, dword [ebp - 0x108]
add ebx, 0x1f78
push eax
push edi
cmp dword [ebx], eax
cmovne ebx, ecx
mov dword [ebp - 0x128], ebx
call fcn.1002b160
add esp, 8
mov byte [ebp - 0xf7], al
test al, al
je 0x10058fab
cmp dword [esi + 0x1ce4], edi
jne 0x10058fab
mov ecx, dword [esi + 0x1cec]
cmp ecx, dword [edi + 0x1a4]
jne 0x10058fab
mov byte [ebp - 0xda], 1
mov byte [ebp - 0xf5], 0
cmp byte [ebp - 0xd9], 0
je 0x10058f72
cmp byte [esi + 0x3d8], 0
mov byte [ebp - 0xe1], 1
jne 0x10058f79
mov byte [ebp - 0xe1], 0
mov eax, dword [esi + 0x1aa4]
mov ecx, dword [ebp - 0x108]
cmp eax, ecx
je 0x10058fc6
cmp dword [esi + 0x1bdc], ecx
je 0x10058fa2
cmp dword [esi + 0x1bd0], ecx
jne 0x10058fc6
cmp dword [esi + 0x1bf4], 3
jne 0x10058fc6
mov byte [ebp - 0xdb], 1
jmp 0x10058fcd
mov byte [ebp - 0xda], 0
test al, al
je 0x10058f52
mov byte [ebp - 0xf5], 1
mov byte [ebp - 0xda], 0
jmp 0x10058f59
mov byte [ebp - 0xdb], 0
cmp byte [ebp - 0xf4], 0
je 0x10059000
test ebx, ebx
je 0x10059000
test eax, eax
jne 0x10059000
mov ecx, dword [ebp - 0x11c]
push eax
push str.SCROLLY
call fcn.1002b7e0
cmp dword [esi + 0x1adc], eax
jne 0x10059000
mov byte [ebp - 0xdc], 1
jmp 0x1005901b
cmp byte [ebp - 0xf4], 0
mov byte [ebp - 0xdc], 0
je 0x10059039
mov byte [ebp - 0xdc], 0
test ebx, ebx
je 0x10059039
mov ecx, dword [ebp - 0x11c]
push 0
push str.SCROLLY
call fcn.1002b7e0
cmp dword [esi + 0x1aa4], eax
jne 0x10059039
mov cl, 1
jmp 0x1005903b
xor cl, cl
mov eax, dword [ebp - 0x108]
mov dl, byte [ebp - 0xdb]
mov byte [ebp - 0xe3], cl
mov byte [ebp - 0xfd], 0
cmp dword [esi + 0x1aa4], eax
je 0x10059096
test byte [ebp + 0x1c], 0x10
jne 0x10059066
test dl, dl
je 0x10059096
mov eax, dword [ebp - 0xf4]
test al, al
jne 0x1005909c
mov byte [ebp - 0xe8], 1
movss xmm0, dword [0x100c771c]
movss dword [ebp - 0x140], xmm0
test ebx, ebx
je 0x100590ba
xor al, 1
cmp byte [ebx + 0x53], al
je 0x100590ba
mov al, 1
jmp 0x100590bc
mov eax, dword [ebp - 0xf4]
mov byte [ebp - 0xe8], 0
test al, al
je 0x10059077
mov esi, dword [ebp - 0x11c]
movss xmm0, dword [esi + 0x54]
mov esi, dword [ebp - 0xe0]
jmp 0x1005907f
xor al, al
cmp byte [ebp - 0xf7], 0
mov byte [ebp - 0xf6], al
mov dword [ebp - 0x124], 0x63
mov dword [ebp - 0x10c], 1
jne 0x10059107
cmp byte [ebp - 0xe1], 0
jne 0x10059107
cmp byte [ebp - 0xdc], 0
jne 0x10059107
test dl, dl
jne 0x10059107
mov byte [ebp - 0xdc], dl
test cl, cl
jne 0x1005910e
mov byte [ebp - 0xe2], cl
jmp 0x10059123
mov byte [ebp - 0xdc], 1
mov ecx, dword [ebp - 0x108]
mov byte [ebp - 0xe2], 1
cmp dword [esi + 0x1aa4], ecx
jne 0x1005912b
test al, al
je 0x100592a9
lea ebx, [esi + 0x1f78]
mov esi, dword [ebp - 0xfc]
mov dword [ebx + 0xe68], 0xbe99999a
mov dword [ebp - 0x128], ebx
lea ecx, [esi + 1]
nop word [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10059150
sub esi, ecx
lea ecx, [ebx + 0x24]
inc esi
push esi
call fcn.10038010
push esi
push dword [ebp - 0xfc]
push dword [ebx + 0x2c]
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [ebp + 0x14]
lea ecx, [ebx + 0xc]
add esp, 0xc
mov dword [ebp - 0x68], 0
lea eax, [esi + 1]
push eax
call fcn.10040520
push 0
lea ecx, [ebx + 0x18]
call fcn.10038010
lea eax, [ebp - 0x68]
mov byte [ebx + 0x30], 0
push eax
push 0
push dword [ebp - 0xfc]
push esi
push dword [ebx + 0x14]
call fcn.1002c7f0
mov dword [ebx + 4], eax
add esp, 0x14
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0xfc]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x108]
cmp dword [ebx], eax
jne 0x100591df
cmp byte [ebp - 0xf6], 0
jne 0x100591df
mov ecx, ebx
call fcn.100578f0
jmp 0x1005926d
mov edx, dword [ebp - 0xf4]
mov dword [ebx], eax
xor eax, eax
mov word [ebx + 0xe5a], ax
mov dword [ebx + 0xe60], eax
mov eax, dword [ebp - 0x124]
mov word [ebx + 0xe5c], ax
mov al, dl
xor al, 1
mov dword [ebx + 0x38], 0
mov dword [ebx + 0xe64], 0x3e7
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x3c], 0
mov word [ebx + 0x51], 1
mov dword [ebx + 0x58], 0
mov byte [ebx + 0x50], 0
mov byte [ebx + 0x53], al
mov byte [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
test dl, dl
jne 0x10059273
mov edx, dword [ebp - 0xe8]
cmp byte [ebp - 0xda], 0
movzx edx, dl
cmovne edx, dword [ebp - 0x10c]
mov dword [ebp - 0xe8], edx
mov edx, dword [ebp - 0xf4]
test dword [ebp + 0x1c], 0x2000
je 0x10059280
mov byte [ebx + 0x48], 1
mov esi, dword [ebp - 0xe0]
test dl, dl
jne 0x100592a9
cmp byte [ebp - 0xf5], dl
jne 0x100592a2
cmp byte [ebp - 0xe1], dl
je 0x100592a9
cmp byte [esi + 0xfc], dl
je 0x100592a9
mov byte [ebp - 0xe8], 1
mov eax, dword [ebp - 0x108]
cmp dword [esi + 0x1aa4], eax
mov esi, eax
je 0x10059360
cmp byte [ebp - 0xdc], 0
je 0x10059360
push edi
push esi
call fcn.10034f70
push edi
push esi
call fcn.100353c0
push edi
call fcn.1002afc0
mov edi, dword [ebp - 0xe0]
add esp, 0x14
mov edx, dword [ebp - 0xf4]
mov eax, dword [edi + 0x1ab8]
or eax, 3
mov dword [edi + 0x1ab8], eax
test dl, dl
jne 0x10059306
test byte [ebp + 0x1c], 0x80
je 0x1005930f
or eax, 0xc
mov dword [edi + 0x1ab8], eax
mov eax, dword [edi + 0x1ac0]
or dword [edi + 0x1abc], 2
or eax, 0x180
mov ecx, dword [edi + 0x1ac4]
mov dword [edi + 0x1ac0], eax
mov dword [edi + 0x1ac4], ecx
test dl, dl
je 0x10059346
or eax, 0x60
mov dword [edi + 0x1ac4], ecx
mov dword [edi + 0x1ac0], eax
test dword [ebp + 0x1c], 0x440
je 0x10059366
or eax, 1
mov dword [edi + 0x1ac4], ecx
mov dword [edi + 0x1ac0], eax
jmp 0x10059366
mov edi, dword [ebp - 0xe0]
cmp dword [edi + 0x1aa4], esi
jne 0x100593a5
test ebx, ebx
jne 0x10059377
call fcn.100290e0
cmp dword [edi + 0x1aa4], esi
jne 0x100593a5
cmp byte [edi + 0x3d8], 0
je 0x100593b2
cmp byte [ebp - 0xe2], 0
jne 0x100593b2
cmp byte [ebp - 0xdc], 0
jne 0x100593b2
mov byte [ebp - 0xfd], 1
mov cl, 1
jmp 0x100593b8
test ebx, ebx
je 0x100593b6
cmp byte [ebp - 0xe3], 0
je 0x100593b6
mov cl, 1
jmp 0x100593b8
xor cl, cl
mov byte [ebp - 0xe9], cl
test ebx, ebx
je 0x100593d5
mov eax, dword [ebx + 0x40]
cmp eax, dword [ebx + 0x44]
je 0x100593d5
test cl, cl
je 0x100593d5
mov edx, 1
jmp 0x100593d7
xor dl, dl
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x12c], edx
mov byte [ebp - 0xf7], dl
mov byte [ebp - 0xf5], 0
mov byte [ebp - 0xf6], 0
test al, al
je 0x10059475
test ebx, ebx
je 0x10059475
test cl, cl
jne 0x10059407
test dl, dl
je 0x1005947d
mov eax, dword [ebp + 0x14]
lea ecx, [ebx + 0xc]
inc eax
mov dword [ebp - 0x68], 0
push eax
call fcn.10040520
lea eax, [ebp - 0x68]
push eax
push 0
push dword [ebp - 0xfc]
push dword [ebx + 0xc]
push dword [ebx + 0x14]
call fcn.1002c7f0
mov dword [ebx + 4], eax
add esp, 0x14
mov eax, dword [ebp - 0x68]
mov ecx, ebx
sub eax, dword [ebp - 0xfc]
mov dword [ebx + 8], eax
call fcn.100578f0
mov ecx, dword [ebx + 0x40]
xor edx, edx
cmp ecx, dword [ebx + 0x44]
movzx eax, byte [ebp - 0xf7]
mov esi, dword [ebp - 0x108]
cmovne edx, eax
mov cl, byte [ebp - 0xe9]
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x12c], edx
test cl, cl
jne 0x10059485
test dl, dl
jne 0x10059485
cmp dword [edi + 0x1aa4], esi
jne 0x10059496
test al, al
jne 0x10059496
test ebx, ebx
je 0x10059496
cmp byte [ebx + 0x30], al
je 0x10059496
mov al, 1
jmp 0x10059498
xor al, al
cmp dword [ebp - 0x14c], 0
mov byte [ebp - 0xf7], al
je 0x100594bf
test al, al
je 0x100594b0
mov eax, dword [ebx + 0x20]
jmp 0x100594b6
mov eax, dword [ebp - 0xfc]
cmp byte [eax], 0
jne 0x100594bf
mov al, 1
jmp 0x100594c1
xor al, al
cmp byte [ebp - 0x144], 0
mov byte [ebp - 0xe1], al
je 0x10059537
test al, al
jne 0x10059537
mov ecx, dword [edi + 0x192c]
push 0x2a
call fcn.1003b300
mov ecx, dword [edi + 0x192c]
lea esi, [edi + 0x2df4]
mov edx, eax
push esi
mov ecx, dword [ecx + 0x10]
mov dword [esi + 0x10], ecx
mov ecx, dword [edi + 0x192c]
mov ecx, dword [ecx + 0x40]
mov dword [esi + 0x40], ecx
mov ecx, dword [edi + 0x192c]
mov eax, dword [ecx + 0x44]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x192c]
mov eax, dword [eax + 0x48]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x192c]
mov eax, dword [eax + 0x30]
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], edx
mov eax, dword [edx + 4]
mov dword [esi + 0xc], eax
call fcn.10032420
add esp, 4
mov ecx, dword [ebp - 0x108]
movss xmm0, dword [0x1008410c]
mov dword [ebp - 0x154], 0
cmp dword [edi + 0x1aa4], ecx
jne 0x10059922
mov eax, dword [ebx + 8]
mov edx, dword [ebp + 0x1c]
mov esi, dword [ebp - 0x118]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x34], eax
mov eax, dword [ebp - 0x130]
mov dword [ebx + 0xe78], eax
mov byte [ebx + 0xe6e], 0
mov dword [ebx + 0xe70], edx
mov dword [ebx + 0xe74], esi
cmp byte [edi + 0xec], 0
mov dword [edi + 0x3130], 1
sete al
cmp byte [ebp - 0xf4], 0
mov byte [edi + 0x1ab1], al
movss xmm7, dword [edi + 0xe4]
subss xmm7, dword [ebp - 0x78]
subss xmm7, dword [edi + 0x1550]
addss xmm7, dword [ebx + 0x38]
je 0x100595ef
mov eax, dword [ebp - 0x11c]
movss xmm1, dword [edi + 0xe8]
subss xmm1, dword [eax + 0xd4]
subss xmm1, dword [edi + 0x1554]
jmp 0x100595fb
movss xmm1, dword [edi + 0x1930]
mulss xmm1, xmm0
cmp byte [ebp - 0xe8], 0
mov al, byte [edi + 0xb1]
mov byte [ebp - 0xda], al
jne 0x1005977b
mov cl, byte [ebp - 0xd9]
test cl, cl
je 0x10059632
test al, al
jne 0x100596aa
cmp byte [edi + 0x3dd], al
jne 0x1005977b
cmp byte [edi + 0x3d8], 0
je 0x100596d7
cmp byte [ebx + 0xe6d], 0
jne 0x100596d7
test cl, cl
je 0x1005979c
cmp byte [ebx + 0x53], 0
je 0x10059674
push 0
lea eax, [ebp - 0x90]
push ebx
push eax
call fcn.1005c5a0
movss xmm1, dword [ebp - 0x84]
add esp, 0xc
sub esp, 8
movss dword [esp + 4], xmm1
movss dword [esp], xmm7
push ebx
call fcn.10061230
mov edx, dword [ebp + 0x1c]
add esp, 0xc
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x52], 0
mov dword [ebx + 0xe68], 0xbe99999a
jmp 0x10059796
cmp byte [edi + 0x3dd], 0
je 0x10059632
push 0x20000c
mov ecx, ebx
call fcn.1005bda0
push 0x60000d
mov ecx, ebx
call fcn.1005bda0
mov edx, dword [ebp + 0x1c]
jmp 0x10059796
cmp byte [edi + 0xec], 0
je 0x1005979c
cmp byte [ebx + 0xe6d], 0
jne 0x100597a5
movss xmm0, dword [edi + 0x374]
xorps xmm2, xmm2
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x1005971a
movss xmm0, dword [edi + 0x378]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1005979c
cmp byte [ebx + 0x53], 0
je 0x1005973a
push 0
lea eax, [ebp - 0x90]
push ebx
push eax
call fcn.1005c5a0
movss xmm1, dword [ebp - 0x84]
add esp, 0xc
mov eax, dword [ebx + 0x40]
cmp eax, dword [ebx + 0x44]
jne 0x10059748
mov eax, dword [ebx + 0x3c]
mov dword [ebx + 0x40], eax
sub esp, 8
movss dword [esp + 4], xmm1
movss dword [esp], xmm7
push ebx
call fcn.10061230
mov edx, dword [ebp + 0x1c]
add esp, 0xc
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0xe68], 0xbe99999a
mov byte [ebx + 0xe6c], 1
jmp 0x10059796
mov eax, dword [ebx + 4]
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x52], 0
mov byte [ebx + 0xe6d], 1
mov al, byte [ebp - 0xda]
cmp byte [ebx + 0xe6d], 0
je 0x100597b5
cmp byte [edi + 0xec], 0
jne 0x100597b5
mov byte [ebx + 0xe6d], 0
cmp byte [edi + 0xfc], 0
je 0x100597c7
cmp byte [edi + 0xfe], 0
je 0x100597d4
test al, al
je 0x100597dd
cmp byte [edi + 0xff], 0
je 0x100597dd
mov byte [ebp - 0xd9], 1
jmp 0x100597e4
mov byte [ebp - 0xd9], 0
test edx, 0x400
je 0x100599b8
mov eax, dword [0x1012e8d8]
mov eax, dword [eax + 0x34]
test eax, eax
js 0x100599b8
push 1
push eax
call fcn.1002d2e0
mov ecx, dword [ebp - 0x104]
add esp, 8
test al, al
mov al, byte [ebp - 0xd9]
je 0x10059887
test al, al
jne 0x10059887
cmp byte [edi + 0xfd], al
jne 0x10059887
test cl, cl
jne 0x10059887
mov ecx, dword [edi + 0x1510]
mov eax, dword [edi + 0x1508]
lea edx, [ecx + eax*2]
cmp ecx, edx
jae 0x10059850
nop
mov ax, word [ecx]
add ecx, 2
cmp ax, 9
je 0x1005987b
cmp ecx, edx
jb 0x10059840
push dword [ebp - 0x130]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], 9
push esi
push dword [ebp + 0x1c]
push eax
call fcn.1005bab0
add esp, 0x10
test al, al
je 0x1005987b
push dword [ebp - 0x68]
mov ecx, ebx
call fcn.1005bda0
mov ecx, dword [ebp - 0x104]
mov al, byte [ebp - 0xd9]
mov edx, dword [ebp + 0x1c]
cmp dword [edi + 0x1508], 0
jle 0x10059922
test al, al
jne 0x10059915
test cl, cl
jne 0x10059915
cmp byte [ebp - 0xdb], cl
jne 0x10059915
xor esi, esi
nop dword [eax]
mov eax, dword [edi + 0x1510]
movzx eax, word [eax + esi*2]
mov dword [ebp - 0x68], eax
cmp eax, 9
jne 0x100598cb
cmp byte [edi + 0xfd], 0
jne 0x10059909
push dword [ebp - 0x130]
lea eax, [ebp - 0x68]
push dword [ebp - 0x118]
push edx
push eax
call fcn.1005bab0
add esp, 0x10
test al, al
je 0x10059909
push dword [ebp - 0x68]
lea eax, [ebx + 0x3c]
push eax
push ebx
call fcn.100618d0
add esp, 0xc
mov byte [ebx + 0xe6c], 1
mov dword [ebx + 0xe68], 0xbe99999a
mov edx, dword [ebp + 0x1c]
inc esi
cmp esi, dword [edi + 0x1508]
jl 0x100598b0
push 0
lea ecx, [edi + 0x1508]
call fcn.10040520
mov eax, dword [ebp - 0x108]
xor cl, cl
mov byte [ebp - 0xd9], cl
cmp dword [edi + 0x1aa4], eax
jne 0x1005add6
cmp byte [edi + 0x1ab0], cl
jne 0x1005a8c8
cmp byte [ebp - 0xfd], cl
jne 0x1005a8c8
movss xmm0, dword [ebp - 0x148]
subss xmm0, dword [edi + 0x1554]
mov ecx, dword [ebp - 0x10c]
divss xmm0, dword [edi + 0x1930]
cvttss2si eax, xmm0
cmp eax, 1
cmovge ecx, eax
xor esi, esi
mov dword [ebx + 0x4c], ecx
mov eax, 0x400000
cmp byte [edi + 0xfd], 0
mov dword [ebp - 0x10c], ecx
cmovne esi, eax
mov al, byte [edi + 0xb1]
mov byte [ebp - 0x11f], al
test al, al
je 0x100599c9
cmp dword [edi + 0x37c], 0xa
jne 0x100599c9
mov byte [ebp - 0xe3], 1
jmp 0x100599d4
mov al, byte [ebp - 0xd9]
mov ecx, dword [ebp - 0x104]
jmp 0x1005988a
mov byte [ebp - 0xe3], 0
test al, al
je 0x100599ff
cmp byte [edi + 0xff], 0
mov al, byte [edi + 0xfe]
mov byte [ebp - 0xdc], al
je 0x10059a12
cmp byte [edi + 0xfc], 0
jne 0x10059a12
test al, al
jne 0x10059a12
mov byte [ebp - 0xda], 1
jmp 0x10059a19
mov al, byte [edi + 0xfc]
mov byte [ebp - 0xdc], al
mov byte [ebp - 0xe3], 0
mov byte [ebp - 0xda], 0
mov eax, dword [ebp - 0xe0]
mov edi, dword [edi + 0x37c]
cmp byte [eax + 0xb1], 0
je 0x10059a33
cmp edi, 8
jmp 0x10059a36
cmp edi, 1
sete al
mov byte [ebp - 0xdb], al
test al, al
je 0x10059a53
push 1
push 0x13
call fcn.1005bd80
add esp, 8
test al, al
jne 0x10059a68
cmp edi, 2
jne 0x10059a94
push 1
push 0xa
call fcn.1005bd80
add esp, 8
test al, al
je 0x10059a94
cmp byte [ebp - 0x104], 0
jne 0x10059a94
cmp byte [ebp - 0x144], 0
jne 0x10059a94
cmp byte [ebp - 0xf4], 0
je 0x10059a8b
mov eax, dword [ebx + 0x40]
cmp eax, dword [ebx + 0x44]
je 0x10059a94
mov byte [ebp - 0xe2], 1
jmp 0x10059a9b
mov byte [ebp - 0xe2], 0
cmp byte [ebp - 0xdb], 0
je 0x10059ab4
push 1
push 0x11
call fcn.1005bd80
add esp, 8
test al, al
jne 0x10059ac8
cmp edi, 1
jne 0x10059aeb
push edi
push 9
call fcn.1005bd80
add esp, 8
test al, al
je 0x10059aeb
cmp byte [ebp - 0x144], 0
jne 0x10059aeb
cmp byte [ebp - 0xf4], 0
je 0x10059ae2
mov eax, dword [ebx + 0x40]
cmp eax, dword [ebx + 0x44]
je 0x10059aeb
mov byte [ebp - 0x11d], 1
jmp 0x10059af2
mov byte [ebp - 0x11d], 0
cmp byte [ebp - 0xdb], 0
je 0x10059b0b
push 1
push 0x12
call fcn.1005bd80
add esp, 8
test al, al
jne 0x10059b20
cmp edi, 2
jne 0x10059b30
push 1
push 9
call fcn.1005bd80
add esp, 8
test al, al
je 0x10059b30
cmp byte [ebp - 0x104], 0
mov byte [ebp - 0x11e], 1
je 0x10059b37
mov byte [ebp - 0x11e], 0
cmp byte [ebp - 0xdb], 0
je 0x10059b68
push 1
push 0x15
call fcn.1005bd80
add esp, 8
test al, al
je 0x10059b68
cmp byte [ebp - 0x104], 0
jne 0x10059b68
cmp byte [ebp - 0x14], 0
je 0x10059b68
mov byte [ebp - 0x111], 1
jmp 0x10059b78
xor al, al
mov byte [ebp - 0x111], al
cmp byte [ebp - 0xdb], al
je 0x10059b88
push 1
push 0x14
call fcn.1005bd80
add esp, 8
test al, al
jne 0x10059ba1
cmp byte [ebp - 0xe3], 0
je 0x10059bb7
push 1
push 0x15
call fcn.1005bd80
add esp, 8
test al, al
je 0x10059bb7
cmp byte [ebp - 0x104], 0
jne 0x10059bb7
cmp byte [ebp - 0x14], 0
mov byte [ebp - 0xe3], 1
jne 0x10059bbe
mov byte [ebp - 0xe3], 0
push 1
push 1
call fcn.1005bd80
add esp, 8
test al, al
je 0x10059c28
cmp byte [ebp - 0xda], 0
je 0x10059bde
mov eax, 0x200004
jmp 0x10059bf2
mov eax, 0x200000
mov ecx, 0x20000c
cmp byte [ebp - 0xdc], 0
cmovne eax, ecx
or eax, esi
push eax
mov ecx, ebx
call fcn.1005bda0
mov edi, dword [ebp - 0xe0]
mov cl, byte [ebp - 0xd9]
mov eax, dword [ebx + 0x40]
cmp eax, dword [ebx + 0x44]
je 0x1005a8b2
cmp byte [ebp - 0xe9], 0
je 0x1005a8b2
mov al, 1
jmp 0x1005a8b4
push 1
push 2
call fcn.1005bd80
add esp, 8
test al, al
je 0x10059c52
cmp byte [ebp - 0xda], 0
je 0x10059c48
mov eax, 0x200005
jmp 0x10059bf2
mov eax, 0x200001
lea ecx, [eax + 0xc]
jmp 0x10059be8
push 1
push 3
call fcn.1005bd80
add esp, 8
test al, al
je 0x10059cc6
cmp byte [ebp - 0xf4], 0
je 0x10059cc6
mov edi, dword [ebp - 0xe0]
cmp byte [edi + 0xfc], 0
je 0x10059ca9
mov esi, dword [ebp - 0x11c]
push ecx
movss xmm0, dword [esi + 0x54]
subss xmm0, dword [edi + 0x1930]
maxss xmm0, dword [0x10085408]
movss dword [esp], xmm0
push esi
call fcn.10035930
add esp, 8
jmp 0x10059c02
movzx eax, byte [ebp - 0xda]
mov ecx, ebx
lea eax, [eax*4 + 0x200002]
or eax, esi
push eax
call fcn.1005bda0
jmp 0x10059c02
push 1
push 4
call fcn.1005bd80
add esp, 8
test al, al
je 0x10059d49
cmp byte [ebp - 0xf4], 0
je 0x10059d49
mov edi, dword [ebp - 0xe0]
cmp byte [edi + 0xfc], 0
je 0x10059d2c
mov esi, dword [ebp - 0x11c]
movss xmm0, dword [edi + 0x1930]
addss xmm0, dword [esi + 0x54]
movss dword [ebp - 0x68], xmm0
call fcn.1002bdf0
movss xmm0, dword [ebp - 0x68]
fstp dword [ebp - 0x14]
minss xmm0, dword [ebp - 0x14]
push ecx
movss dword [esp], xmm0
push esi
call fcn.10035930
add esp, 8
jmp 0x10059c02
movzx eax, byte [ebp - 0xda]
mov ecx, ebx
lea eax, [eax*4 + 0x200003]
or eax, esi
push eax
call fcn.1005bda0
jmp 0x10059c02
push 1
push 5
call fcn.1005bd80
add esp, 8
test al, al
je 0x10059da2
cmp byte [ebp - 0xf4], 0
je 0x10059da2
or esi, 0x20000e
mov ecx, ebx
push esi
call fcn.1005bda0
movd xmm0, dword [ebp - 0x10c]
mov edi, dword [ebp - 0xe0]
movss xmm1, dword [ebp - 0x140]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [edi + 0x1930]
subss xmm1, xmm0
movss dword [ebp - 0x140], xmm1
jmp 0x10059c02
push 1
push 6
call fcn.1005bd80
add esp, 8
test al, al
je 0x10059df7
cmp byte [ebp - 0xf4], 0
je 0x10059df7
or esi, 0x20000f
mov ecx, ebx
push esi
call fcn.1005bda0
movd xmm0, dword [ebp - 0x10c]
mov edi, dword [ebp - 0xe0]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [edi + 0x1930]
addss xmm0, dword [ebp - 0x140]
movss dword [ebp - 0x140], xmm0
jmp 0x10059c02
push 1
push 7
call fcn.1005bd80
add esp, 8
test al, al
je 0x10059e31
mov eax, esi
or eax, 0x200006
or esi, 0x200004
mov edi, dword [ebp - 0xe0]
mov ecx, ebx
cmp byte [edi + 0xfc], 0
cmovne esi, eax
push esi
call fcn.1005bda0
jmp 0x10059c02
push 1
push 8
call fcn.1005bd80
add esp, 8
test al, al
je 0x10059e50
mov eax, esi
or eax, 0x200007
or esi, 0x200005
jmp 0x10059e14
push 1
push 0xa
call fcn.1005bd80
add esp, 8
test al, al
je 0x10059e75
cmp byte [ebp - 0x104], 0
jne 0x10059e75
or esi, 0x200008
push esi
jmp 0x10059bf5
push 1
push 0xb
call fcn.1005bd80
add esp, 8
test al, al
je 0x10059f11
cmp byte [ebp - 0x104], 0
jne 0x10059f11
mov eax, dword [ebx + 0x40]
cmp eax, dword [ebx + 0x44]
jne 0x10059eaf
cmp byte [ebp - 0xdc], 0
je 0x10059ec8
push 0x60000c
mov ecx, ebx
call fcn.1005bda0
mov edi, dword [ebp - 0xe0]
or esi, 0x200009
mov ecx, ebx
push esi
call fcn.1005bda0
jmp 0x10059c02
cmp byte [ebp - 0x11f], 0
je 0x10059eaf
mov edi, dword [ebp - 0xe0]
cmp byte [edi + 0xff], 0
je 0x10059eb5
cmp byte [edi + 0xfe], 0
jne 0x10059eb5
cmp byte [edi + 0xfc], 0
jne 0x10059eb5
push 0x600004
mov ecx, ebx
call fcn.1005bda0
or esi, 0x200009
mov ecx, ebx
push esi
call fcn.1005bda0
jmp 0x10059c02
push 1
push 0xd
call fcn.1005bd80
add esp, 8
test al, al
jne 0x1005a830
push 1
push 0xf
call fcn.1005bd80
add esp, 8
test al, al
jne 0x1005a830
push 1
push 0xe
call fcn.1005bd80
add esp, 8
test al, al
je 0x10059f5c
mov edi, dword [ebp - 0xe0]
mov cl, 1
mov byte [ebp - 0xfd], cl
jmp 0x10059c08
mov al, byte [ebp - 0x111]
test al, al
jne 0x1005a80f
cmp byte [ebp - 0xe3], al
jne 0x1005a80f
cmp byte [ebp - 0xdb], al
je 0x10059fae
push 1
push 0x10
call fcn.1005bd80
add esp, 8
test al, al
je 0x10059fae
mov eax, dword [ebx + 4]
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x52], 0
mov byte [ebx + 0xe6c], 1
jmp 0x10059bfc
mov al, byte [ebp - 0xe2]
test al, al
jne 0x1005a4e2
cmp byte [ebp - 0x11d], al
jne 0x1005a4e2
cmp byte [ebp - 0x11e], al
je 0x10059bfc
call fcn.1002b260
mov esi, eax
test esi, esi
je 0x10059bfc
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10059fe8
sub ecx, edx
lea eax, [ecx*2 + 2]
push eax
call fcn.1002e080
xor edi, edi
mov dword [ebp - 0x68], eax
add esp, 4
mov dword [ebp - 0x14], edi
cmp byte [esi], 0
je 0x1005a060
mov ebx, eax
push 0
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.1002c480
add esp, 0xc
add esi, eax
cmp dword [ebp - 0x14], 0
je 0x1005a054
push dword [ebp - 0x130]
lea eax, [ebp - 0x14]
push dword [ebp - 0x118]
push dword [ebp + 0x1c]
push eax
call fcn.1005bab0
add esp, 0x10
test al, al
je 0x1005a04f
mov ax, word [ebp - 0x14]
mov word [ebx + edi*2], ax
inc edi
cmp byte [esi], 0
jne 0x1005a010
mov ebx, dword [ebp - 0x128]
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x14], edi
xor ecx, ecx
mov word [eax + edi*2], cx
test edi, edi
jle 0x1005a4d4
mov edx, dword [ebx + 0x44]
lea edi, [ebx + 0x3c]
mov ecx, dword [edi + 4]
mov eax, dword [ebx + 4]
mov dword [ebp - 0xe8], edx
mov dword [ebp - 0x10c], ecx
cmp ecx, edx
je 0x1005a0d8
mov esi, ecx
cmp ecx, eax
jle 0x1005a095
mov dword [edi + 4], eax
mov esi, eax
mov ecx, edx
mov dword [ebp - 0xf0], ecx
cmp edx, eax
jle 0x1005a0ac
mov dword [edi + 8], eax
mov ecx, eax
mov dword [ebp - 0xf0], eax
mov edx, ecx
mov dword [ebp - 0xe8], ecx
mov ecx, esi
mov dword [ebp - 0x10c], ecx
cmp esi, dword [ebp - 0xf0]
jne 0x1005a0d8
mov edx, dword [ebp - 0xf0]
mov dword [edi], esi
mov dword [ebp - 0xe8], edx
mov dword [ebp - 0x10c], esi
mov esi, dword [edi]
mov dword [ebp - 0x110], esi
cmp esi, eax
jle 0x1005a0ec
mov dword [edi], eax
mov dword [ebp - 0x110], eax
mov eax, dword [ebx + 4]
cmp ecx, edx
je 0x1005a149
mov esi, ecx
cmp ecx, eax
jle 0x1005a0fe
mov dword [edi + 4], eax
mov esi, eax
mov dword [ebp - 0xf0], edx
cmp edx, eax
jle 0x1005a111
mov dword [edi + 8], eax
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0xf0]
mov dword [ebp - 0x110], ecx
mov ecx, esi
mov dword [ebp - 0xe8], edx
mov dword [ebp - 0x10c], ecx
cmp esi, edx
jne 0x1005a149
mov dword [edi], esi
mov dword [ebp - 0x110], esi
mov dword [ebp - 0xe8], edx
mov dword [ebp - 0x10c], ecx
cmp dword [ebp - 0x110], eax
jle 0x1005a153
mov dword [edi], eax
cmp ecx, edx
je 0x1005a3fa
mov eax, dword [ebp - 0x124]
lea esi, [edi + 0x20]
mov dword [esi + 0xe08], 0x3e7
mov word [esi + 0xe00], ax
jge 0x1005a2c0
sub edx, ecx
cmp word [esi + 0xdfe], 0x63
mov dword [ebp - 0xe8], edx
jne 0x1005a19c
push esi
call fcn.100616b0
mov edx, dword [ebp - 0xe8]
add esp, 4
cmp edx, 0x3e7
jle 0x1005a1b8
xor eax, eax
mov word [esi + 0xdfe], ax
mov dword [esi + 0xe04], eax
jmp 0x1005a2a7
mov eax, dword [esi + 0xe04]
add eax, edx
cmp eax, 0x3e7
jle 0x1005a1f4
mov ebx, dword [ebp - 0xe8]
nop dword [eax]
push esi
call fcn.100616b0
mov eax, dword [esi + 0xe04]
add esp, 4
add eax, ebx
cmp eax, 0x3e7
jg 0x1005a1d0
mov ebx, dword [ebp - 0x128]
mov edx, dword [ebp - 0xe8]
movzx eax, word [esi + 0xdfe]
movsx ecx, ax
shl ecx, 4
add ecx, esi
lea eax, [eax + 1]
mov dword [ebp - 0xf0], ecx
mov word [esi + 0xdfe], ax
je 0x1005a2a7
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0x10c]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], 0
test edx, edx
jne 0x1005a24f
push edx
push ecx
push ebx
mov dword [eax + 0xc], 0xffffffff
call fcn.1005c420
mov eax, dword [edi + 4]
mov dword [edi + 8], eax
jmp 0x1005a3eb
mov edi, dword [ebp - 0xf0]
mov eax, dword [esi + 0xe04]
mov dword [edi + 0xc], eax
mov eax, edi
add dword [esi + 0xe04], edx
lea edi, [ebx + 0x3c]
mov eax, dword [eax + 0xc]
add eax, 0x318
lea eax, [esi + eax*2]
mov dword [ebp - 0xf0], eax
test eax, eax
je 0x1005a2ad
xor esi, esi
test edx, edx
jle 0x1005a2ad
lea edi, [ecx + ecx]
mov ecx, eax
nop dword [eax]
mov eax, dword [ebx + 0x14]
lea edi, [edi + 2]
mov ax, word [edi + eax - 2]
mov word [ecx + esi*2], ax
inc esi
cmp esi, edx
jl 0x1005a290
lea edi, [ebx + 0x3c]
mov ecx, dword [ebp - 0x10c]
push edx
push ecx
push ebx
call fcn.1005c420
mov eax, dword [edi + 4]
mov dword [edi + 8], eax
jmp 0x1005a3eb
sub ecx, edx
cmp word [esi + 0xdfe], 0x63
mov dword [ebp - 0x10c], ecx
jne 0x1005a2e1
push esi
call fcn.100616b0
mov ecx, dword [ebp - 0x10c]
add esp, 4
cmp ecx, 0x3e7
jle 0x1005a2fd
xor eax, eax
mov word [esi + 0xdfe], ax
mov dword [esi + 0xe04], eax
jmp 0x1005a3d7
mov eax, dword [esi + 0xe04]
add eax, ecx
cmp eax, 0x3e7
jle 0x1005a333
mov edi, dword [ebp - 0x10c]
push esi
call fcn.100616b0
mov eax, dword [esi + 0xe04]
add esp, 4
add eax, edi
cmp eax, 0x3e7
jg 0x1005a312
mov ecx, dword [ebp - 0x10c]
lea edi, [ebx + 0x3c]
movzx eax, word [esi + 0xdfe]
movsx edx, ax
shl edx, 4
add edx, esi
lea eax, [eax + 1]
mov dword [ebp - 0xf0], edx
mov word [esi + 0xdfe], ax
je 0x1005a3d7
mov eax, dword [ebp - 0xf0]
mov edx, dword [ebp - 0xe8]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [eax + 8], 0
test ecx, ecx
jne 0x1005a37d
mov dword [eax + 0xc], 0xffffffff
jmp 0x1005a3dd
mov ebx, dword [ebp - 0xf0]
mov eax, dword [esi + 0xe04]
mov dword [ebx + 0xc], eax
mov eax, ebx
add dword [esi + 0xe04], ecx
mov ebx, dword [ebp - 0x128]
mov eax, dword [eax + 0xc]
add eax, 0x318
lea eax, [esi + eax*2]
mov dword [ebp - 0xf0], eax
test eax, eax
je 0x1005a3dd
xor esi, esi
test ecx, ecx
jle 0x1005a3dd
lea edi, [edx + edx]
mov edx, eax
nop word [eax + eax]
mov eax, dword [ebx + 0x14]
lea edi, [edi + 2]
mov ax, word [edi + eax - 2]
mov word [edx + esi*2], ax
inc esi
cmp esi, ecx
jl 0x1005a3c0
lea edi, [ebx + 0x3c]
mov edx, dword [ebp - 0xe8]
push ecx
push edx
push ebx
call fcn.1005c420
mov eax, dword [edi + 8]
mov dword [edi + 4], eax
mov ecx, edi
add esp, 0xc
mov byte [ecx + 0x16], 0
mov dword [edi], eax
mov byte [ecx + 0x16], 0
push dword [ebp - 0x14]
push dword [ebp - 0x68]
push dword [edi]
push ebx
call fcn.1005c490
add esp, 0x10
test al, al
je 0x1005a4b6
cmp word [edi + 0xe1e], 0x63
lea esi, [edi + 0x20]
mov eax, dword [edi]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x124]
mov word [edi + 0xe20], ax
mov dword [edi + 0xe28], 0x3e7
jne 0x1005a448
push esi
call fcn.100616b0
add esp, 4
cmp dword [edi + 0xe24], 0x3e7
jle 0x1005a469
push esi
call fcn.100616b0
add esp, 4
cmp dword [edi + 0xe24], 0x3e7
jg 0x1005a454
movzx eax, word [edi + 0xe1e]
movsx ecx, ax
add ecx, 2
shl ecx, 4
lea eax, [eax + 1]
mov word [edi + 0xe1e], ax
add ecx, edi
je 0x1005a4ab
mov eax, dword [ebp - 0xf0]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
mov dword [ecx + 4], 0
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 0xffffffff
add dword [edi], eax
mov byte [edi + 0x16], 0
jmp 0x1005a4ca
mov eax, dword [ebp - 0x14]
add dword [edi], eax
mov byte [edi + 0x16], 0
jmp 0x1005a4ca
movzx eax, word [edi + 0xe1e]
test ax, ax
je 0x1005a4ca
dec eax
mov word [edi + 0xe1e], ax
mov eax, dword [ebp - 0x68]
mov byte [ebx + 0xe6c], 1
push eax
call fcn.1002e0b0
add esp, 4
jmp 0x10059bfc
mov edi, dword [ebp - 0xe0]
cmp dword [edi + 0xd4], 0
je 0x1005a55e
mov eax, dword [ebx + 0x44]
mov ecx, dword [ebx + 0x40]
cmp ecx, eax
je 0x1005a505
mov edx, eax
cmovge eax, ecx
cmovl edx, ecx
jmp 0x1005a50a
mov eax, dword [ebx + 4]
xor edx, edx
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x14], edx
lea eax, [ecx + eax*2]
push eax
lea eax, [ecx + edx*2]
push eax
call fcn.1002c790
lea esi, [eax + 1]
push esi
call fcn.1002e080
mov edx, dword [ebx + 0x14]
mov edi, eax
mov eax, dword [ebp - 0x68]
lea ecx, [edx + eax*2]
mov eax, dword [ebp - 0x14]
push ecx
lea ecx, [edx + eax*2]
push ecx
push esi
push edi
call fcn.1002c9d0
push edi
call fcn.10035040
push edi
call fcn.1002e0b0
mov al, byte [ebp - 0xe2]
add esp, 0x24
mov edi, dword [ebp - 0xe0]
test al, al
je 0x10059c02
mov eax, dword [ebx + 0x40]
cmp eax, dword [ebx + 0x44]
jne 0x1005a582
mov eax, dword [ebx + 4]
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x52], 0
lea edx, [ebx + 0x3c]
mov byte [ebx + 0xe6c], 1
mov ecx, dword [edx + 8]
mov edi, dword [edx + 4]
mov dword [ebp - 0xe8], ecx
mov dword [ebp - 0x68], edi
cmp edi, ecx
je 0x10059bfc
mov eax, dword [ebx + 4]
cmp edi, eax
jle 0x1005a5b2
mov dword [edx + 4], eax
mov edi, eax
mov dword [ebp - 0x68], eax
cmp ecx, eax
jle 0x1005a5c1
mov dword [edx + 8], eax
mov ecx, eax
mov dword [ebp - 0xe8], eax
cmp edi, ecx
jne 0x1005a5c7
mov dword [edx], edi
cmp dword [edx], eax
jle 0x1005a5cd
mov dword [edx], eax
cmp edi, ecx
je 0x1005a806
mov eax, dword [ebp - 0x124]
lea esi, [edx + 0x20]
mov dword [esi + 0xe08], 0x3e7
mov word [esi + 0xe00], ax
jge 0x1005a70c
sub ecx, edi
cmp word [esi + 0xdfe], 0x63
mov dword [ebp - 0xe8], ecx
jne 0x1005a616
push esi
call fcn.100616b0
mov ecx, dword [ebp - 0xe8]
add esp, 4
cmp ecx, 0x3e7
jle 0x1005a632
xor eax, eax
mov word [esi + 0xdfe], ax
mov dword [esi + 0xe04], eax
jmp 0x1005a6e7
mov eax, dword [esi + 0xe04]
add eax, ecx
cmp eax, 0x3e7
jle 0x1005a66b
mov ebx, dword [ebp - 0xe8]
push esi
call fcn.100616b0
mov eax, dword [esi + 0xe04]
add esp, 4
add eax, ebx
cmp eax, 0x3e7
jg 0x1005a647
mov ebx, dword [ebp - 0x128]
mov ecx, dword [ebp - 0xe8]
movzx eax, word [esi + 0xdfe]
movsx edx, ax
shl edx, 4
lea eax, [eax + 1]
mov word [esi + 0xdfe], ax
add edx, esi
je 0x1005a6e7
mov dword [edx], edi
mov dword [edx + 4], ecx
mov dword [edx + 8], 0
test ecx, ecx
jne 0x1005a69f
mov dword [edx + 0xc], 0xffffffff
jmp 0x1005a6e7
mov eax, dword [esi + 0xe04]
mov dword [edx + 0xc], eax
add dword [esi + 0xe04], ecx
mov eax, dword [edx + 0xc]
add eax, 0x318
lea eax, [esi + eax*2]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1005a6e7
xor edx, edx
test ecx, ecx
jle 0x1005a6e7
lea esi, [edi + edi]
mov edi, eax
nop dword [eax + eax]
mov eax, dword [ebx + 0x14]
lea esi, [esi + 2]
mov ax, word [esi + eax - 2]
mov word [edi + edx*2], ax
inc edx
cmp edx, ecx
jl 0x1005a6d0
mov edi, dword [ebp - 0x68]
push ecx
push edi
push ebx
call fcn.1005c420
mov eax, dword [ebx + 0x40]
lea edx, [ebx + 0x3c]
mov ecx, edx
mov dword [edx + 8], eax
add esp, 0xc
mov byte [ecx + 0x16], 0
mov dword [edx], eax
mov byte [edx + 0x16], 0
jmp 0x10059bfc
sub edi, ecx
cmp word [esi + 0xdfe], 0x63
jne 0x1005a721
push esi
call fcn.100616b0
add esp, 4
cmp edi, 0x3e7
jle 0x1005a73d
xor eax, eax
mov word [esi + 0xdfe], ax
mov dword [esi + 0xe04], eax
jmp 0x1005a7e4
mov eax, dword [esi + 0xe04]
add eax, edi
cmp eax, 0x3e7
jle 0x1005a768
nop dword [eax]
push esi
call fcn.100616b0
mov eax, dword [esi + 0xe04]
add esp, 4
add eax, edi
cmp eax, 0x3e7
jg 0x1005a750
movzx eax, word [esi + 0xdfe]
movsx edx, ax
shl edx, 4
lea eax, [eax + 1]
mov word [esi + 0xdfe], ax
add edx, esi
je 0x1005a7e4
mov ecx, dword [ebp - 0xe8]
mov dword [edx], ecx
mov dword [edx + 4], edi
mov dword [edx + 8], 0
test edi, edi
jne 0x1005a7a2
mov dword [edx + 0xc], 0xffffffff
jmp 0x1005a7ea
mov eax, dword [esi + 0xe04]
mov dword [edx + 0xc], eax
add dword [esi + 0xe04], edi
mov eax, dword [edx + 0xc]
add eax, 0x318
lea eax, [esi + eax*2]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1005a7ea
xor edx, edx
test edi, edi
jle 0x1005a7ea
lea esi, [ecx + ecx]
mov ecx, eax
nop
mov eax, dword [ebx + 0x14]
lea esi, [esi + 2]
mov ax, word [esi + eax - 2]
mov word [ecx + edx*2], ax
inc edx
cmp edx, edi
jl 0x1005a7d0
mov ecx, dword [ebp - 0xe8]
push edi
push ecx
push ebx
call fcn.1005c420
mov eax, dword [ebx + 0x44]
lea edx, [ebx + 0x3c]
mov ecx, edx
mov dword [edx + 4], eax
add esp, 0xc
mov byte [ecx + 0x16], 0
mov dword [edx], eax
mov byte [edx + 0x16], 0
jmp 0x10059bfc
movzx eax, al
mov ecx, ebx
xor eax, 1
add eax, 0x20000a
push eax
call fcn.1005bda0
mov eax, dword [ebx + 0x3c]
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x40], eax
jmp 0x10059bfc
mov edx, dword [ebp + 0x1c]
mov eax, edx
mov edi, dword [ebp - 0xe0]
shr eax, 0xb
and al, 1
cmp byte [ebp - 0xf4], 0
je 0x1005a857
mov cl, byte [edi + 0xfc]
test al, al
je 0x1005a86a
test cl, cl
jne 0x1005a86e
mov byte [ebp - 0xfd], 1
mov byte [ebp - 0xf6], 1
jmp 0x10059c02
test cl, cl
jne 0x1005a857
cmp byte [ebp - 0x104], 0
jne 0x10059c02
push dword [ebp - 0x130]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], 0xa
push dword [ebp - 0x118]
push edx
push eax
call fcn.1005bab0
add esp, 0x10
test al, al
je 0x10059c02
push dword [ebp - 0x68]
mov ecx, ebx
call fcn.1005bda0
jmp 0x10059c02
xor al, al
mov edx, dword [ebp - 0x12c]
or dl, al
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x12c], edx
cmp dword [edi + 0x1aa4], eax
jne 0x1005add6
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x110], eax
test cl, cl
je 0x1005aa30
cmp byte [ebp - 0x104], al
jne 0x1005aa18
mov esi, dword [ebx + 0x2c]
mov ecx, esi
mov eax, dword [ebp - 0xfc]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005a922
test dl, dl
je 0x1005a91e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005a922
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005a902
xor eax, eax
jmp 0x1005a927
sbb eax, eax
or eax, 1
test eax, eax
je 0x1005aa18
mov eax, dword [ebx + 0x24]
mov ecx, esi
dec eax
mov dword [ebp - 0x68], ecx
xor edi, edi
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x7c], edi
mov dword [ebp - 4], edi
test eax, eax
jle 0x1005a992
lea esi, [eax + ecx]
push esi
push ecx
call fcn.1002c5e0
add esp, 8
lea ecx, [ebp - 0x84]
inc eax
push eax
call fcn.10040520
push edi
mov edi, dword [ebp - 0x7c]
push esi
push dword [ebp - 0x68]
mov esi, dword [ebp - 0x84]
push esi
push edi
call fcn.1002c7f0
add esp, 0x14
lea eax, [esi - 1]
jmp 0x1005a994
xor eax, eax
mov esi, dword [ebx + 4]
push eax
push esi
mov dword [ebp - 0x14], eax
lea eax, [ebx + 0x5c]
push 0
push eax
call fcn.10061160
mov edx, eax
add esp, 0x10
test edx, edx
je 0x1005a9d0
xor ecx, ecx
test esi, esi
jle 0x1005a9d0
nop word [eax + eax]
mov eax, dword [ebx + 0x14]
mov ax, word [eax + ecx*2]
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, esi
jl 0x1005a9c0
push dword [ebx + 4]
push 0
push ebx
call fcn.1005c420
mov esi, dword [ebp - 0x14]
add esp, 0xc
test esi, esi
jle 0x1005a9fd
push esi
push edi
push 0
push ebx
call fcn.1005c490
add esp, 0x10
test al, al
je 0x1005a9fd
mov dword [ebx + 0x3c], esi
mov byte [ebx + 0x52], 0
mov dword [ebp - 4], 1
test edi, edi
je 0x1005aa11
push edi
call fcn.1002e0b0
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0xf6], 0
mov eax, dword [ebp + 0x1c]
je 0x1005ace8
test al, 0x20
je 0x1005ace8
cmp byte [ebp - 0x104], 0
jne 0x1005aa63
mov eax, dword [ebx + 0xc]
lea ecx, [ebx + 0x18]
mov byte [ebx + 0x30], 1
lea eax, [eax*4 + 1]
push eax
call fcn.10038010
push 0
push dword [ebx + 0x14]
push dword [ebx + 0x18]
push dword [ebx + 0x20]
call fcn.1002c9d0
add esp, 0x10
mov eax, dword [ebp + 0x1c]
test eax, 0x801c0
je 0x1005ac9e
xor esi, esi
lea edi, [esi + 0x16]
test al, 0x40
je 0x1005aa93
push 1
push esi
call fcn.1005bd80
add esp, 8
test al, al
mov eax, dword [ebp + 0x1c]
je 0x1005aa93
lea esi, [edi + 0x2a]
xor edi, edi
jmp 0x1005aaf5
test al, al
jns 0x1005aad1
push 1
push 3
call fcn.1005bd80
add esp, 8
test al, al
je 0x1005aab4
mov eax, dword [ebp + 0x1c]
mov esi, 0x80
lea edi, [esi - 0x7d]
jmp 0x1005aaf5
push 1
push 4
call fcn.1005bd80
add esp, 8
test al, al
mov eax, dword [ebp + 0x1c]
je 0x1005aad1
mov esi, 0x80
lea edi, [esi - 0x7c]
jmp 0x1005aaf5
test eax, 0x80000
je 0x1005aae8
cmp byte [ebx + 0xe6e], 0
je 0x1005aae8
mov esi, 0x80000
jmp 0x1005aaf5
test eax, 0x100
mov ecx, 0x100
cmovne esi, ecx
test esi, esi
je 0x1005ac9e
mov dword [ebp - 0xa4], eax
xor ecx, ecx
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x94], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x90], eax
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0xa8], esi
mov esi, dword [ebx + 0x14]
mov dword [ebp - 0x9c], 0
mov word [ebp - 0x87], cx
mov byte [ebp - 0x85], cl
lea eax, [esi + eax*2]
mov dword [ebp - 0x98], edi
push eax
push esi
mov byte [ebp - 0x88], cl
call fcn.1002c790
mov ecx, dword [ebx + 0x40]
mov edi, eax
mov dword [ebp - 0x84], edi
lea ecx, [esi + ecx*2]
push ecx
push esi
call fcn.1002c790
mov ecx, dword [ebx + 0x44]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x80], eax
lea ecx, [esi + ecx*2]
push ecx
push esi
call fcn.1002c790
mov esi, eax
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 0x7c], esi
call dword [ebp - 0x118]
mov cl, byte [ebp - 0x88]
add esp, 0x1c
mov edx, dword [ebp - 0x84]
mov byte [ebp - 0xe2], cl
cmp edx, edi
jne 0x1005abbc
test cl, cl
je 0x1005abe5
mov ecx, dword [ebp - 0x94]
lea eax, [edx + ecx]
push eax
push ecx
call fcn.1002c5e0
mov edx, dword [ebp - 0x84]
add esp, 8
mov cl, byte [ebp - 0xe2]
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0xe6c], 1
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x14]
jne 0x1005abf1
test cl, cl
je 0x1005ac1a
cmp eax, edx
jne 0x1005abfa
mov ecx, dword [ebx + 0x3c]
jmp 0x1005ac11
mov ecx, dword [ebp - 0x94]
add eax, ecx
push eax
push ecx
call fcn.1002c5e0
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x80]
mov dword [ebx + 0x40], ecx
mov cl, byte [ebp - 0xe2]
mov edx, dword [ebp - 0x7c]
cmp edx, esi
jne 0x1005ac25
test cl, cl
je 0x1005ac9e
cmp edx, eax
jne 0x1005ac2e
mov eax, dword [ebx + 0x40]
jmp 0x1005ac41
mov ecx, dword [ebp - 0x94]
lea eax, [edx + ecx]
push eax
push ecx
call fcn.1002c5e0
add esp, 8
cmp byte [ebp - 0xe2], 0
mov dword [ebx + 0x44], eax
je 0x1005ac9e
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0x154]
cmp eax, edx
jle 0x1005ac70
cmp byte [ebp - 0x38], 0
je 0x1005ac70
lea ecx, [ebx + 0xc]
sub eax, edx
add eax, dword [ecx]
push eax
call fcn.10040520
push 0
push 0
push dword [ebp - 0x94]
push dword [ebx + 0xc]
push dword [ebx + 0x14]
call fcn.1002c7f0
mov dword [ebx + 4], eax
add esp, 0x14
mov eax, dword [ebp - 0x90]
mov dword [ebx + 8], eax
mov dword [ebx + 0xe68], 0xbe99999a
cmp byte [ebp - 0x104], 0
mov edi, dword [ebp - 0xfc]
jne 0x1005acf0
mov esi, dword [ebx + 0x20]
mov ecx, edi
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005acd4
test dl, dl
je 0x1005acd0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005acd4
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005acb4
xor eax, eax
jmp 0x1005acd9
sbb eax, eax
or eax, 1
test eax, eax
mov eax, dword [ebp + 0x1c]
je 0x1005acf3
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x68], esi
jmp 0x1005acf9
mov edi, dword [ebp - 0xfc]
jmp 0x1005acf3
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x110]
mov esi, dword [ebp - 0x68]
test esi, esi
je 0x1005adb2
cmp byte [ebp - 0x38], 0
je 0x1005ad95
mov dword [ebp - 0xd4], eax
xorps xmm0, xmm0
lea eax, [ecx + 1]
movlpd qword [ebp - 0xcc], xmm0
cmp dword [ebp + 0x14], eax
movlpd qword [ebp - 0xb8], xmm0
cmovge eax, dword [ebp + 0x14]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0xd8]
push eax
movlpd qword [ebp - 0xb0], xmm0
mov dword [ebp - 0xd8], 0x40000
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xc0], ecx
call dword [ebp - 0x118]
mov edx, dword [ebp - 0xbc]
add esp, 4
mov edi, dword [ebp - 0xc4]
mov dword [ebp - 0xfc], edi
lea ecx, [edx - 1]
cmp dword [ebp - 0xc0], ecx
cmovl ecx, dword [ebp - 0xc0]
jmp 0x1005ad98
mov edx, dword [ebp + 0x14]
lea eax, [ecx + 1]
cmp eax, edx
cmovl edx, eax
push edx
push esi
push edi
call fcn.1002c450
add esp, 0xc
mov byte [ebp - 0xf5], 1
mov edi, dword [ebp - 0xe0]
mov dword [ebx + 0xe70], 0
mov dword [ebx + 0xe74], 0
mov dword [ebx + 0xe78], 0
cmp byte [ebp - 0xfd], 0
mov ecx, dword [ebp - 0x108]
je 0x1005adf8
cmp dword [edi + 0x1aa4], ecx
jne 0x1005adf8
call fcn.100290e0
mov ecx, dword [ebp - 0x108]
cmp byte [ebp - 0xf4], 0
jne 0x1005ae9e
push 1
push ecx
lea eax, [ebp - 0x78]
push eax
call fcn.10032f20
movss xmm0, dword [edi + 0x1558]
add esp, 8
movss dword [esp], xmm0
push 1
push ecx
mov dword [esp], 0x3f800000
push 7
call fcn.1002b450
add esp, 8
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push dword [ebp - 0x78]
call fcn.10032d10
movss xmm1, dword [ebp - 0x78]
add esp, 0x1c
movss xmm3, dword [ebp - 0x13c]
movaps xmm0, xmm1
movss xmm2, dword [ebp - 0x74]
addss xmm0, xmm3
movss dword [ebp - 0x2c], xmm1
movss dword [ebp - 0x28], xmm2
movss dword [ebp - 0x24], xmm0
movaps xmm0, xmm2
addss xmm0, dword [ebp - 0x148]
movss dword [ebp - 0x20], xmm0
addss xmm1, dword [edi + 0x1550]
addss xmm2, dword [edi + 0x1554]
movss dword [ebp - 0x3c], xmm1
movss dword [ebp - 0x38], xmm2
jmp 0x1005aee8
movss xmm0, dword [ebp - 0x78]
movss xmm2, dword [ebp - 0x74]
movss xmm3, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x11c]
movss dword [ebp - 0x2c], xmm0
addss xmm0, xmm3
movss dword [ebp - 0x28], xmm2
addss xmm2, dword [ebp - 0x148]
movss dword [ebp - 0x24], xmm0
movss dword [ebp - 0x20], xmm2
mov eax, dword [ecx + 0xd0]
mov ecx, dword [ecx + 0xd4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
cmp byte [ebp - 0xf7], 0
lea eax, [ebp - 0x3c]
movss xmm0, dword [eax]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x18], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
je 0x1005af1e
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0xfc], eax
mov dh, byte [ebp - 0xe1]
mov dword [ebp - 0xe8], 0
test dh, dh
je 0x1005af5b
mov esi, dword [ebp - 0x14c]
mov ecx, esi
mov dword [ebp - 0xfc], esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005af43
sub ecx, edx
mov dh, byte [ebp - 0xe1]
lea eax, [ecx + esi]
mov dword [ebp - 0xe8], eax
mov al, byte [ebp - 0xe9]
mov ecx, dword [ebp - 0x12c]
test al, al
jne 0x1005b07d
test cl, cl
jne 0x1005b07d
cmp byte [ebp - 0xf4], cl
je 0x1005afca
mov eax, dword [ebp - 0xfc]
xor ecx, ecx
mov dl, byte [eax]
lea esi, [eax + 1]
test dl, dl
je 0x1005afa2
cmp dl, 0xa
lea eax, [ecx + 1]
mov dl, byte [esi]
cmovne eax, ecx
inc esi
mov ecx, eax
test dl, dl
jne 0x1005af90
mov al, byte [esi - 1]
dec esi
cmp al, 0xa
je 0x1005afaf
cmp al, 0xd
je 0x1005afaf
inc ecx
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [edi + 0x1930]
movss dword [ebp - 0x34], xmm3
movss dword [ebp - 0x30], xmm0
jmp 0x1005b01a
test dh, dh
jne 0x1005b005
mov eax, dword [ebp - 0x108]
cmp dword [edi + 0x1aa4], eax
jne 0x1005afe7
mov esi, dword [ebx + 8]
add esi, dword [ebp - 0xfc]
jmp 0x1005b00b
mov esi, dword [ebp - 0xfc]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005aff2
sub ecx, edx
mov dh, byte [ebp - 0xe1]
add esi, ecx
jmp 0x1005b00b
mov esi, dword [ebp - 0xe8]
mov eax, esi
sub eax, dword [ebp - 0xfc]
cmp eax, 0x200000
jge 0x1005b072
push ecx
movzx eax, dh
mov dword [esp], 0x3f800000
push eax
call fcn.1002b450
movss xmm0, dword [edi + 0x1930]
lea ecx, [ebp - 0x2c]
add esp, 8
xor edx, edx
cmp byte [ebp - 0xf4], dl
cmovne ecx, edx
push ecx
push ecx
mov dword [esp], edx
push esi
push dword [ebp - 0xfc]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x11c]
push ecx
movss dword [esp], xmm0
push dword [edi + 0x192c]
mov ecx, dword [eax + 0x284]
call fcn.1003a850
mov edi, dword [ebp - 0xfc]
jmp 0x1005b93c
test dh, dh
jne 0x1005b096
mov eax, dword [ebx + 8]
add eax, dword [ebp - 0xfc]
mov dword [ebp - 0xe8], eax
mov al, byte [ebp - 0xe9]
mov esi, dword [ebx + 0x14]
xorps xmm0, xmm0
mov edi, 0xfffffc18
mov dword [ebp - 0xf0], esi
xor edx, edx
movss dword [ebp - 0x38], xmm0
movss dword [ebp - 0x14c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x118], edi
test al, al
je 0x1005b0e0
mov eax, dword [ebx + 0x3c]
or edi, 0xffffffff
lea eax, [esi + eax*2]
mov dword [ebp - 0x14], eax
lea edx, [edi + 2]
test cl, cl
je 0x1005b102
mov ecx, dword [ebx + 0x44]
cmp dword [ebx + 0x40], ecx
mov dword [ebp - 0x118], 0xffffffff
cmovl ecx, dword [ebx + 0x40]
inc edx
lea eax, [esi + ecx*2]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0xf4]
mov ecx, esi
movzx esi, word [esi]
movzx eax, al
add edx, eax
xor eax, eax
test si, si
je 0x1005b16e
xor ebx, ebx
nop dword [eax + eax]
cmp si, 0xa
jne 0x1005b154
inc ebx
cmp edi, 0xffffffff
jne 0x1005b138
cmp ecx, dword [ebp - 0x14]
jb 0x1005b138
dec edx
mov edi, ebx
test edx, edx
jle 0x1005b162
cmp dword [ebp - 0x118], 0xffffffff
jne 0x1005b154
cmp ecx, dword [ebp - 0x110]
jb 0x1005b154
dec edx
mov dword [ebp - 0x118], ebx
test edx, edx
jle 0x1005b162
movzx eax, word [ecx + 2]
add ecx, 2
mov esi, eax
test ax, ax
jne 0x1005b120
mov dword [ebp - 0x68], ebx
mov ebx, dword [ebp - 0x128]
mov eax, dword [ebp - 0x68]
push dword [ebp - 0xf0]
inc eax
cmp edi, 0xffffffff
mov ecx, eax
mov dword [ebp - 0x68], eax
cmovne ecx, edi
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x154], ecx
mov ecx, dword [ebp - 0x118]
cmp ecx, 0xffffffff
push edi
cmove ecx, eax
mov dword [ebp - 0x118], ecx
call fcn.1002c430
mov ecx, dword [0x1012e8d8]
mov edx, eax
add esp, 8
xorps xmm6, xmm6
xorps xmm1, xmm1
xorps xmm3, xmm3
mov esi, dword [ecx + 0x192c]
movss xmm2, dword [ecx + 0x1930]
divss xmm2, dword [esi + 0x10]
cmp edx, edi
jae 0x1005b20c
nop dword [eax]
movzx eax, word [edx]
add edx, 2
mov ecx, eax
cmp eax, 0xa
jne 0x1005b1e6
maxss xmm1, xmm3
movaps xmm3, xmm6
jmp 0x1005b208
cmp ecx, 0xd
je 0x1005b208
mov ecx, eax
cmp ecx, dword [esi]
jge 0x1005b1fb
mov eax, dword [esi + 8]
movss xmm0, dword [eax + ecx*4]
jmp 0x1005b200
movss xmm0, dword [esi + 0xc]
mulss xmm0, xmm2
addss xmm3, xmm0
cmp edx, edi
jb 0x1005b1d0
movd xmm4, dword [ebp - 0x154]
maxss xmm3, xmm1
mov ecx, dword [ebp - 0xe0]
mov edi, dword [ebp - 0x118]
cvtdq2ps xmm4, xmm4
movss xmm2, dword [ecx + 0x1930]
mulss xmm4, xmm2
movss dword [ebp - 0x14], xmm3
movss dword [ebp - 0x124], xmm4
test edi, edi
js 0x1005b309
push dword [ebp - 0xf0]
push dword [ebp - 0x110]
call fcn.1002c430
mov ecx, dword [0x1012e8d8]
mov edx, eax
add esp, 8
xorps xmm6, xmm6
xorps xmm1, xmm1
xorps xmm3, xmm3
mov esi, dword [ecx + 0x192c]
movss xmm2, dword [ecx + 0x1930]
divss xmm2, dword [esi + 0x10]
cmp edx, dword [ebp - 0x110]
jae 0x1005b2d2
mov ebx, dword [ebp - 0x110]
nop
movzx eax, word [edx]
add edx, 2
mov ecx, eax
cmp eax, 0xa
jne 0x1005b2a6
maxss xmm1, xmm3
movaps xmm3, xmm6
jmp 0x1005b2c8
cmp ecx, 0xd
je 0x1005b2c8
mov ecx, eax
cmp ecx, dword [esi]
jge 0x1005b2bb
mov eax, dword [esi + 8]
movss xmm0, dword [eax + ecx*4]
jmp 0x1005b2c0
movss xmm0, dword [esi + 0xc]
mulss xmm0, xmm2
addss xmm3, xmm0
cmp edx, ebx
jb 0x1005b290
mov ebx, dword [ebp - 0x128]
mov ecx, dword [ebp - 0xe0]
maxss xmm3, xmm1
movss xmm4, dword [ebp - 0x124]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss xmm2, dword [ecx + 0x1930]
mulss xmm0, xmm2
movss dword [ebp - 0x14c], xmm3
movss xmm3, dword [ebp - 0x14]
movss dword [ebp - 0x38], xmm0
mov edx, dword [ebp - 0xf4]
movss xmm5, dword [ebp - 0x13c]
test dl, dl
je 0x1005b331
movd xmm0, dword [ebp - 0x68]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x34], xmm5
mulss xmm0, xmm2
movss dword [ebp - 0x30], xmm0
cmp byte [ebp - 0xe9], 0
je 0x1005b43b
cmp byte [ebx + 0xe6c], 0
je 0x1005b43b
test dword [ebp + 0x1c], 0x1000
jne 0x1005b39b
movss xmm1, dword [ebx + 0x38]
movaps xmm2, xmm5
comiss xmm1, xmm3
mulss xmm2, dword [0x100c6bd4]
jbe 0x1005b379
movaps xmm1, xmm3
movaps xmm0, xmm6
subss xmm1, xmm2
maxss xmm0, xmm1
jmp 0x1005b389
movaps xmm0, xmm3
subss xmm0, xmm5
comiss xmm0, xmm1
jb 0x1005b3a2
addss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebx + 0x38], xmm0
jmp 0x1005b3a2
mov dword [ebx + 0x38], 0
test dl, dl
je 0x1005b434
movss xmm2, dword [ebp - 0x140]
movaps xmm0, xmm4
subss xmm0, dword [ecx + 0x1930]
movss xmm3, dword [ebp - 0x148]
comiss xmm2, xmm0
jbe 0x1005b3d3
movaps xmm2, xmm6
maxss xmm2, xmm0
jmp 0x1005b3ef
movaps xmm0, xmm4
subss xmm0, xmm3
comiss xmm0, xmm2
jb 0x1005b3ef
movss xmm2, dword [ecx + 0x1554]
addss xmm2, xmm2
addss xmm2, xmm0
comiss xmm6, xmm2
movss xmm1, dword [ecx + 0x1554]
jbe 0x1005b401
movaps xmm1, xmm6
jmp 0x1005b416
addss xmm1, xmm1
addss xmm1, dword [ebp - 0x30]
subss xmm1, xmm3
maxss xmm1, xmm6
minss xmm1, xmm2
mov eax, dword [ebp - 0x11c]
movss xmm0, dword [eax + 0x54]
subss xmm0, xmm1
addss xmm0, dword [ebp - 0x18]
movss dword [ebp - 0x18], xmm0
movss dword [eax + 0x54], xmm1
mov byte [ebx + 0xe6c], 0
cmp byte [ebp - 0x12c], 0
movss xmm0, dword [ebx + 0x38]
movss dword [ebp - 0x68], xmm0
je 0x1005b6d7
mov edx, dword [ebx + 0x44]
mov eax, edx
mov ecx, dword [ebx + 0x40]
cmp ecx, edx
mov edi, dword [ebp - 0xf0]
cmovl eax, ecx
cmovge edx, ecx
cmp byte [ebp - 0xe9], 0
lea esi, [edi + eax*2]
lea edi, [edi + edx*2]
je 0x1005b481
movss xmm0, dword [0x10084148]
jmp 0x1005b489
movss xmm0, dword [0x100c76c0]
push ecx
movss dword [esp], xmm0
push 0x2f
call fcn.1002b450
add esp, 8
mov dword [ebp - 0xf0], eax
cmp byte [ebp - 0xf4], 0
je 0x1005b4bd
xorps xmm0, xmm0
movss dword [ebp - 0x134], xmm0
movss dword [ebp - 0x154], xmm0
jmp 0x1005b4d0
movss xmm0, dword [0x10085644]
movss dword [ebp - 0x154], xmm0
xorps xmm0, xmm0
movss xmm5, dword [ebp - 0x18]
movss xmm3, dword [ebp - 0x1c]
addss xmm5, dword [ebp - 0x38]
addss xmm3, dword [ebp - 0x14c]
subss xmm5, xmm0
subss xmm3, dword [ebp - 0x68]
movss dword [ebp - 0x14c], xmm5
cmp esi, edi
jae 0x1005b6d7
movss xmm6, dword [ebp - 0x20]
movss xmm7, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xe0]
mov ebx, dword [ebp - 0xf0]
nop word [eax + eax]
movaps xmm0, xmm6
addss xmm0, dword [ecx + 0x1930]
comiss xmm5, xmm0
ja 0x1005b6d1
comiss xmm7, xmm5
jbe 0x1005b55a
cmp esi, edi
jae 0x1005b6af
mov ax, word [esi]
add esi, 2
cmp ax, 0xa
je 0x1005b6af
cmp esi, edi
jb 0x1005b541
jmp 0x1005b6d1
mov eax, dword [0x1012e8d8]
xorps xmm0, xmm0
xorps xmm4, xmm4
xorps xmm1, xmm1
mov edx, dword [eax + 0x192c]
movss xmm2, dword [eax + 0x1930]
divss xmm2, dword [edx + 0x10]
cmp esi, edi
jae 0x1005b5c6
nop
movzx eax, word [esi]
add esi, 2
mov ecx, eax
cmp eax, 0xa
je 0x1005b5b3
cmp ecx, 0xd
je 0x1005b5ad
cmp ecx, dword [edx]
jge 0x1005b5a0
mov eax, dword [edx + 8]
movss xmm0, dword [eax + ecx*4]
jmp 0x1005b5a5
movss xmm0, dword [edx + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp esi, edi
jb 0x1005b580
jmp 0x1005b5bd
xorps xmm4, xmm4
maxss xmm4, xmm1
xorps xmm1, xmm1
mov ecx, dword [ebp - 0xe0]
xorps xmm0, xmm0
maxss xmm1, xmm4
comiss xmm0, xmm1
jb 0x1005b5ff
mov eax, dword [ecx + 0x192c]
cmp dword [eax], 0x20
jle 0x1005b5e7
mov eax, dword [eax + 8]
movss xmm0, dword [eax + 0x80]
jmp 0x1005b5ec
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [0x1008410c]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm2, dword [ebp - 0x134]
addss xmm1, xmm3
subss xmm2, dword [ecx + 0x1930]
movss xmm0, dword [ebp - 0x154]
addss xmm3, dword [0x10085408]
movss xmm4, dword [ebp - 0x24]
addss xmm0, xmm5
minss xmm1, xmm4
addss xmm2, xmm5
maxss xmm3, dword [ebp - 0x2c]
minss xmm0, xmm6
movss dword [ebp - 0x80], xmm1
maxss xmm2, xmm7
movss dword [ebp - 0x88], xmm3
comiss xmm0, xmm7
movss dword [ebp - 0x84], xmm2
movss dword [ebp - 0x7c], xmm0
jbe 0x1005b6af
comiss xmm6, xmm2
jbe 0x1005b6af
comiss xmm1, dword [ebp - 0x2c]
jbe 0x1005b6af
comiss xmm4, xmm3
jbe 0x1005b6af
push 0xf
push ecx
mov dword [esp], 0
lea eax, [ebp - 0x80]
push ebx
push eax
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 0x284]
call fcn.1003a580
movss xmm6, dword [ebp - 0x20]
movss xmm7, dword [ebp - 0x28]
movss xmm5, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0xe0]
movss xmm3, dword [ebp - 0x1c]
addss xmm5, dword [ecx + 0x1930]
subss xmm3, dword [ebp - 0x68]
movss dword [ebp - 0x14c], xmm5
cmp esi, edi
jb 0x1005b520
mov ebx, dword [ebp - 0x128]
cmp byte [ebp - 0xf4], 0
mov esi, dword [ebp - 0xe8]
mov edi, dword [ebp - 0xfc]
jne 0x1005b6fb
mov eax, esi
sub eax, edi
cmp eax, 0x200000
jge 0x1005b784
movzx eax, byte [ebp - 0xe1]
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.1002b450
movss xmm0, dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
subss xmm0, dword [ebp - 0x68]
add esp, 8
xor edx, edx
cmp byte [ebp - 0xf4], dl
cmovne ecx, edx
push ecx
push ecx
mov dword [esp], edx
push esi
mov esi, dword [ebp - 0xe0]
movss dword [ebp - 0x138], xmm0
movss xmm0, dword [ebp - 0x18]
subss xmm0, dword [0x10085408]
push edi
push eax
lea eax, [ebp - 0x138]
push eax
mov eax, dword [ebp - 0x11c]
push ecx
movss dword [ebp - 0x134], xmm0
movss xmm0, dword [esi + 0x1930]
mov ecx, dword [eax + 0x284]
movss dword [esp], xmm0
push dword [esi + 0x192c]
call fcn.1003a850
jmp 0x1005b78a
mov esi, dword [ebp - 0xe0]
cmp byte [ebp - 0xe9], 0
je 0x1005b936
movss xmm0, dword [esi + 0x18]
addss xmm0, dword [ebx + 0xe68]
movss dword [ebx + 0xe68], xmm0
mov ebx, dword [ebp - 0xe0]
cmp byte [ebx + 0xb2], 0
je 0x1005b802
xorps xmm1, xmm1
comiss xmm1, xmm0
jae 0x1005b802
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x138], xmm0
fld qword [ebp - 0x138]
fld qword [0x100cbd98]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
movss xmm0, dword [0x100c76dc]
fstp qword [ebp - 0x138]
movsd xmm1, qword [ebp - 0x138]
cvtpd2ps xmm1, xmm1
comiss xmm0, xmm1
jae 0x1005b802
xor al, al
jmp 0x1005b804
mov al, 1
movss xmm0, dword [ebp - 0x18]
movss xmm1, dword [ebp - 0x1c]
movss xmm5, dword [0x10084148]
addss xmm0, dword [ebp - 0x124]
addss xmm1, dword [ebp - 0x14]
subss xmm0, dword [0x10085408]
subss xmm1, dword [ebp - 0x68]
movss dword [ebp - 0x68], xmm0
movaps xmm2, xmm0
movss dword [ebp - 0x134], xmm1
movaps xmm4, xmm1
movss dword [ebp - 0x88], xmm1
movaps xmm3, xmm0
addss xmm4, xmm5
subss xmm2, dword [ebx + 0x1930]
subss xmm3, dword [0x100c77f8]
movss dword [ebp - 0x80], xmm4
addss xmm2, dword [0x1008410c]
movss dword [ebp - 0x7c], xmm3
movss dword [ebp - 0x84], xmm2
test al, al
je 0x1005b909
comiss xmm3, dword [ebp - 0x28]
jbe 0x1005b909
movss xmm0, dword [ebp - 0x20]
comiss xmm0, xmm2
jbe 0x1005b904
comiss xmm4, dword [ebp - 0x2c]
jbe 0x1005b904
movss xmm0, dword [ebp - 0x24]
comiss xmm0, xmm1
jbe 0x1005b904
sub esp, 8
movss dword [ebp - 0x150], xmm1
movss dword [ebp - 0x14c], xmm3
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
push 0
call fcn.1002b450
add esp, 8
push eax
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 0x284]
call fcn.100396d0
movss xmm1, dword [ebp - 0x134]
movss xmm5, dword [0x10084148]
movss xmm0, dword [ebp - 0x68]
cmp byte [ebp - 0x104], 0
mov esi, dword [ebp - 0xe8]
jne 0x1005b942
subss xmm0, dword [ebx + 0x1930]
subss xmm1, xmm5
movss dword [ebx + 0x2eac], xmm0
movss dword [ebx + 0x2ea8], xmm1
jmp 0x1005b942
mov esi, dword [ebp - 0xe8]
mov ebx, dword [ebp - 0xe0]
cmp byte [ebp - 0x144], 0
je 0x1005b959
cmp byte [ebp - 0xe1], 0
jne 0x1005b959
call fcn.100321b0
cmp byte [ebp - 0xf4], 0
je 0x1005b9ec
mov ecx, dword [0x1012e8d8]
mov eax, dword [ecx + 0x1a6c]
mov byte [eax + 0x84], 1
mov eax, dword [ecx + 0x1a6c]
cmp byte [eax + 0x87], 0
jne 0x1005b9e2
movss xmm0, dword [eax + 0xd0]
movss xmm1, dword [ebp - 0x30]
movaps xmm2, xmm0
addss xmm1, dword [eax + 0xd4]
addss xmm2, dword [ebp - 0x34]
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [eax + 0xd4]
lea eax, [ebp - 0x34]
push ecx
mov dword [esp], 0xbf800000
push eax
movss dword [ebp - 0x40], xmm0
movss dword [ebp - 0x3c], xmm2
movss dword [ebp - 0x38], xmm1
call fcn.1002da50
push 0
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.1002d690
add esp, 0x14
call fcn.10029e00
call fcn.1002a2d0
cmp byte [ebx + 0x2efc], 0
je 0x1005ba15
cmp byte [ebp - 0x144], 0
je 0x1005ba07
cmp byte [ebp - 0xe1], 0
je 0x1005ba15
push esi
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.1002de10
add esp, 0xc
movss xmm0, dword [ebp - 0x5c]
comiss xmm0, dword [0x10085408]
jbe 0x1005ba6b
movss xmm0, dword [ebp - 0x70]
addss xmm0, dword [ebx + 0x1568]
push 1
push 0
push dword [ebp - 0x15c]
movss dword [ebp - 0x138], xmm0
movss xmm0, dword [ebp - 0x74]
addss xmm0, dword [ebx + 0x1554]
movss dword [ebp - 0x134], xmm0
push dword [ebp - 0x134]
push dword [ebp - 0x138]
call fcn.10033150
add esp, 0x14
mov al, byte [ebp - 0xf5]
mov ebx, dword [ebp + 0x1c]
test al, al
je 0x1005ba94
test ebx, 0x200000
jne 0x1005ba94
push dword [ebp - 0x108]
call fcn.1002e060
mov al, byte [ebp - 0xf5]
add esp, 4
movzx ecx, byte [ebp - 0xf6]
test bl, 0x20
movzx eax, al
cmovne eax, ecx
jmp 0x10058daa