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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007f6dd
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x100d4480]
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 [0x100d5d4c]
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x114], eax
mov eax, dword [ecx + 0x1a6c]
mov byte [eax + 0x84], 1
mov edi, dword [ecx + 0x1a6c]
cmp byte [edi + 0x87], 0
jne 0x100583dd
mov edx, dword [ebp + 0x1c]
mov ecx, edx
mov ebx, dword [0x100d5d4c]
mov eax, edx
shr eax, 0xe
and eax, 0xffffff01
shr ecx, 0x14
mov dword [ebp - 0xf0], eax
and ecx, 0xffffff01
mov eax, edx
mov dword [ebp - 0xcc], ebx
shr eax, 0xf
and eax, 0xffffff01
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0x138], eax
mov eax, edx
shr eax, 0x10
not al
and eax, 0xffffff01
mov dword [ebp - 0xdc], eax
mov eax, edx
shr eax, 0x12
and eax, 0xffffff01
mov dword [ebp - 0x140], eax
test cl, cl
je 0x1005825f
call fcn.10027660
push 0
push dword [ebp - 0x14c]
mov ecx, edi
call fcn.1002ad80
movss xmm0, dword [0x100c6694]
push ecx
mov dword [esp], 0xbf800000
push 1
push 0
push dword [ebp - 0x14c]
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0x5c]
push eax
movss dword [ebp - 0x118], xmm0
call fcn.10027db0
add esp, 0x14
cmp byte [ebp - 0xe0], 0
je 0x100582bd
movss xmm1, dword [ebx + 0x1930]
mulss xmm1, dword [0x100c6670]
jmp 0x100582c2
movss xmm1, dword [ebp - 0x58]
movss xmm0, dword [ebx + 0x1554]
addss xmm0, xmm0
push ecx
addss xmm0, xmm1
movss dword [esp], xmm0
call fcn.10027b30
push ecx
fstp dword [esp]
push dword [esi + 4]
lea eax, [ebp - 0x7c]
push dword [esi]
push eax
call fcn.10027a60
movss xmm4, dword [ebp - 0x5c]
xorps xmm0, xmm0
add esp, 0x14
mov esi, ebx
comiss xmm4, xmm0
jbe 0x1005830b
addss xmm4, dword [esi + 0x1568]
jmp 0x1005830e
xorps xmm4, xmm4
cmp byte [ebp - 0xe0], 0
movss xmm3, dword [edi + 0xd0]
movss xmm0, dword [ebp - 0x7c]
movaps xmm1, xmm3
movss xmm5, dword [ebp - 0x78]
addss xmm4, xmm0
addss xmm1, xmm0
movss dword [ebp - 0x128], xmm0
movaps xmm0, xmm5
movss dword [ebp - 0x13c], xmm5
addss xmm0, dword [edi + 0xd4]
movss dword [ebp - 0x90], xmm3
movss xmm2, dword [edi + 0xd4]
addss xmm4, xmm3
movss dword [ebp - 0x8c], xmm2
movss dword [ebp - 0x88], xmm1
movss dword [ebp - 0x84], 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 - 0x108], edi
movss dword [ebp - 0x48], xmm0
je 0x100584e8
mov ebx, dword [ebp - 0xf4]
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x54]
push ebx
push eax
call fcn.1002cd60
add esp, 0xc
test al, al
jne 0x100583fb
movss xmm0, dword [esi + 0x1554]
lea eax, [ebp - 0x54]
push ecx
movss dword [esp], xmm0
push eax
call fcn.1002d0d0
add esp, 8
call fcn.100299a0
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.1007c66c
mov esp, ebp
pop ebp
ret
lea eax, [esi + 0x164c]
push eax
push 3
call fcn.10031e70
movss xmm0, dword [esi + 0x1558]
add esp, 4
movss dword [esp], xmm0
push 6
call fcn.10031f40
movss xmm0, dword [esi + 0x155c]
add esp, 4
movss dword [esp], xmm0
push 7
call fcn.10031f40
lea eax, [esi + 0x1550]
push eax
push 1
call fcn.10031ec0
movss xmm1, dword [ebp - 0x88]
lea eax, [ebp - 0x148]
movss xmm0, dword [ebp - 0x84]
subss xmm1, dword [ebp - 0x90]
subss xmm0, dword [ebp - 0x8c]
push 0x10004
push 1
push eax
push ebx
push dword [ebp - 0x14c]
movss dword [ebp - 0x148], xmm1
movss dword [ebp - 0x144], xmm0
call fcn.10027150
push 3
mov bl, al
call fcn.100319c0
push 1
call fcn.10031970
add esp, 0x2c
test bl, bl
jne 0x100584b0
call fcn.100294d0
jmp 0x100583d8
mov ebx, dword [esi + 0x1a6c]
movss xmm0, dword [ebp - 0x128]
mov dword [ebp - 0x108], 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 - 0x128], xmm0
jmp 0x10058520
movss xmm0, dword [esi + 0x1554]
lea eax, [ebp - 0x54]
push ecx
movss dword [esp], xmm0
push eax
call fcn.1002d0d0
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0xf4]
lea eax, [ebp - 0x54]
push eax
call fcn.1002cd60
add esp, 0x14
test al, al
je 0x100583dd
push dword [ebp - 0xf4]
lea eax, [ebp - 0x90]
push eax
call fcn.1002cf20
add esp, 8
mov byte [ebp - 0xc1], al
test al, al
je 0x10058549
mov dword [esi + 0x1e60], 1
mov ebx, dword [0x100d5d4c]
xor ecx, ecx
mov eax, dword [ebp - 0xf4]
add ebx, 0x1f78
push eax
push edi
cmp dword [ebx], eax
cmovne ebx, ecx
mov dword [ebp - 0x120], ebx
call fcn.1002a830
add esp, 8
mov byte [ebp - 0xe3], al
test al, al
je 0x100585f2
cmp dword [esi + 0x1ce4], edi
jne 0x100585f2
mov ecx, dword [esi + 0x1cec]
cmp ecx, dword [edi + 0x1a4]
jne 0x100585f2
mov byte [ebp - 0xc2], 1
mov byte [ebp - 0xe1], 0
cmp byte [ebp - 0xc1], 0
je 0x100585b9
cmp byte [esi + 0x3d8], 0
mov byte [ebp - 0xc5], 1
jne 0x100585c0
mov byte [ebp - 0xc5], 0
mov eax, dword [esi + 0x1aa4]
mov ecx, dword [ebp - 0xf4]
cmp eax, ecx
je 0x1005860d
cmp dword [esi + 0x1bdc], ecx
je 0x100585e9
cmp dword [esi + 0x1bd0], ecx
jne 0x1005860d
cmp dword [esi + 0x1bf4], 3
jne 0x1005860d
mov byte [ebp - 0xc3], 1
jmp 0x10058614
mov byte [ebp - 0xc2], 0
test al, al
je 0x10058599
mov byte [ebp - 0xe1], 1
mov byte [ebp - 0xc2], 0
jmp 0x100585a0
mov byte [ebp - 0xc3], 0
cmp byte [ebp - 0xe0], 0
je 0x10058647
test ebx, ebx
je 0x10058647
test eax, eax
jne 0x10058647
mov ecx, dword [ebp - 0x108]
push eax
push str.SCROLLY
call fcn.1002aeb0
cmp dword [esi + 0x1adc], eax
jne 0x10058647
mov byte [ebp - 0xc4], 1
jmp 0x10058662
cmp byte [ebp - 0xe0], 0
mov byte [ebp - 0xc4], 0
je 0x10058680
mov byte [ebp - 0xc4], 0
test ebx, ebx
je 0x10058680
mov ecx, dword [ebp - 0x108]
push 0
push str.SCROLLY
call fcn.1002aeb0
cmp dword [esi + 0x1aa4], eax
jne 0x10058680
mov cl, 1
jmp 0x10058682
xor cl, cl
mov eax, dword [ebp - 0xf4]
mov dl, byte [ebp - 0xc3]
mov byte [ebp - 0xce], cl
mov byte [ebp - 0xe9], 0
cmp dword [esi + 0x1aa4], eax
je 0x100586dd
test byte [ebp + 0x1c], 0x10
jne 0x100586ad
test dl, dl
je 0x100586dd
mov eax, dword [ebp - 0xe0]
test al, al
jne 0x100586e3
mov byte [ebp - 0xd4], 1
movss xmm0, dword [0x100c668c]
movss dword [ebp - 0x124], xmm0
test ebx, ebx
je 0x10058701
xor al, 1
cmp byte [ebx + 0x53], al
je 0x10058701
mov al, 1
jmp 0x10058703
mov eax, dword [ebp - 0xe0]
mov byte [ebp - 0xd4], 0
test al, al
je 0x100586be
mov esi, dword [ebp - 0x108]
movss xmm0, dword [esi + 0x54]
mov esi, dword [ebp - 0xcc]
jmp 0x100586c6
xor al, al
cmp byte [ebp - 0xe3], 0
mov byte [ebp - 0xe2], al
mov dword [ebp - 0x12c], 0x63
mov dword [ebp - 0xf8], 1
jne 0x1005874e
cmp byte [ebp - 0xc5], 0
jne 0x1005874e
cmp byte [ebp - 0xc4], 0
jne 0x1005874e
test dl, dl
jne 0x1005874e
mov byte [ebp - 0xc4], dl
test cl, cl
jne 0x10058755
mov byte [ebp - 0xcd], cl
jmp 0x1005876a
mov byte [ebp - 0xc4], 1
mov ecx, dword [ebp - 0xf4]
mov byte [ebp - 0xcd], 1
cmp dword [esi + 0x1aa4], ecx
jne 0x10058772
test al, al
je 0x100588ea
lea ebx, [esi + 0x1f78]
mov esi, dword [ebp - 0xe8]
mov dword [ebx + 0xe68], 0xbe99999a
mov dword [ebp - 0x120], ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10058791
sub esi, ecx
lea ecx, [ebx + 0x24]
inc esi
push esi
call fcn.10037630
push esi
push dword [ebp - 0xe8]
push dword [ebx + 0x2c]
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [ebp + 0x14]
lea ecx, [ebx + 0xc]
add esp, 0xc
mov dword [ebp - 0x80], 0
lea eax, [esi + 1]
push eax
call fcn.1003fb10
push 0
lea ecx, [ebx + 0x18]
call fcn.10037630
lea eax, [ebp - 0x80]
mov byte [ebx + 0x30], 0
push eax
push 0
push dword [ebp - 0xe8]
push esi
push dword [ebx + 0x14]
call fcn.1002bed0
mov dword [ebx + 4], eax
add esp, 0x14
mov eax, dword [ebp - 0x80]
sub eax, dword [ebp - 0xe8]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0xf4]
cmp dword [ebx], eax
jne 0x10058820
cmp byte [ebp - 0xe2], 0
jne 0x10058820
mov ecx, ebx
call fcn.10056f10
jmp 0x100588ae
mov edx, dword [ebp - 0xe0]
mov dword [ebx], eax
xor eax, eax
mov word [ebx + 0xe5a], ax
mov dword [ebx + 0xe60], eax
mov eax, dword [ebp - 0x12c]
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 0x100588b4
mov edx, dword [ebp - 0xd4]
cmp byte [ebp - 0xc2], 0
movzx edx, dl
cmovne edx, dword [ebp - 0xf8]
mov dword [ebp - 0xd4], edx
mov edx, dword [ebp - 0xe0]
test dword [ebp + 0x1c], 0x2000
je 0x100588c1
mov byte [ebx + 0x48], 1
mov esi, dword [ebp - 0xcc]
test dl, dl
jne 0x100588ea
cmp byte [ebp - 0xe1], dl
jne 0x100588e3
cmp byte [ebp - 0xc5], dl
je 0x100588ea
cmp byte [esi + 0xfc], dl
je 0x100588ea
mov byte [ebp - 0xd4], 1
mov eax, dword [ebp - 0xf4]
cmp dword [esi + 0x1aa4], eax
mov esi, eax
je 0x100589a1
cmp byte [ebp - 0xc4], 0
je 0x100589a1
push edi
push esi
call fcn.10034630
push edi
push esi
call fcn.10034a80
push edi
call fcn.1002a690
mov edi, dword [ebp - 0xcc]
add esp, 0x14
mov edx, dword [ebp - 0xe0]
mov eax, dword [edi + 0x1ab8]
or eax, 3
mov dword [edi + 0x1ab8], eax
test dl, dl
jne 0x10058947
test byte [ebp + 0x1c], 0x80
je 0x10058950
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 0x10058987
or eax, 0x60
mov dword [edi + 0x1ac4], ecx
mov dword [edi + 0x1ac0], eax
test dword [ebp + 0x1c], 0x440
je 0x100589a7
or eax, 1
mov dword [edi + 0x1ac4], ecx
mov dword [edi + 0x1ac0], eax
jmp 0x100589a7
mov edi, dword [ebp - 0xcc]
cmp dword [edi + 0x1aa4], esi
jne 0x100589e6
test ebx, ebx
jne 0x100589b8
call fcn.100287b0
cmp dword [edi + 0x1aa4], esi
jne 0x100589e6
cmp byte [edi + 0x3d8], 0
je 0x100589f3
cmp byte [ebp - 0xcd], 0
jne 0x100589f3
cmp byte [ebp - 0xc4], 0
jne 0x100589f3
mov byte [ebp - 0xe9], 1
mov cl, 1
jmp 0x100589f9
test ebx, ebx
je 0x100589f7
cmp byte [ebp - 0xce], 0
je 0x100589f7
mov cl, 1
jmp 0x100589f9
xor cl, cl
mov byte [ebp - 0xd5], cl
test ebx, ebx
je 0x10058a16
mov eax, dword [ebx + 0x40]
cmp eax, dword [ebx + 0x44]
je 0x10058a16
test cl, cl
je 0x10058a16
mov edx, 1
jmp 0x10058a18
xor dl, dl
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x110], edx
mov byte [ebp - 0xe3], dl
mov byte [ebp - 0xe1], 0
mov byte [ebp - 0xe2], 0
test al, al
je 0x10058ab6
test ebx, ebx
je 0x10058ab6
test cl, cl
jne 0x10058a48
test dl, dl
je 0x10058abe
mov eax, dword [ebp + 0x14]
lea ecx, [ebx + 0xc]
inc eax
mov dword [ebp - 0x80], 0
push eax
call fcn.1003fb10
lea eax, [ebp - 0x80]
push eax
push 0
push dword [ebp - 0xe8]
push dword [ebx + 0xc]
push dword [ebx + 0x14]
call fcn.1002bed0
mov dword [ebx + 4], eax
add esp, 0x14
mov eax, dword [ebp - 0x80]
mov ecx, ebx
sub eax, dword [ebp - 0xe8]
mov dword [ebx + 8], eax
call fcn.10056f10
mov ecx, dword [ebx + 0x40]
xor edx, edx
cmp ecx, dword [ebx + 0x44]
movzx eax, byte [ebp - 0xe3]
mov esi, dword [ebp - 0xf4]
cmovne edx, eax
mov cl, byte [ebp - 0xd5]
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x110], edx
test cl, cl
jne 0x10058ac6
test dl, dl
jne 0x10058ac6
cmp dword [edi + 0x1aa4], esi
jne 0x10058ad7
test al, al
jne 0x10058ad7
test ebx, ebx
je 0x10058ad7
cmp byte [ebx + 0x30], al
je 0x10058ad7
mov al, 1
jmp 0x10058ad9
xor al, al
cmp dword [ebp - 0x130], 0
mov byte [ebp - 0xe3], al
je 0x10058b00
test al, al
je 0x10058af1
mov eax, dword [ebx + 0x20]
jmp 0x10058af7
mov eax, dword [ebp - 0xe8]
cmp byte [eax], 0
jne 0x10058b00
mov al, 1
jmp 0x10058b02
xor al, al
cmp byte [ebp - 0x138], 0
mov byte [ebp - 0xc5], al
je 0x10058b78
test al, al
jne 0x10058b78
mov ecx, dword [edi + 0x192c]
push 0x2a
call fcn.1003a8f0
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.10031ad0
add esp, 4
mov ecx, dword [ebp - 0xf4]
movss xmm0, dword [0x10083030]
mov dword [ebp - 0x144], 0
cmp dword [edi + 0x1aa4], ecx
jne 0x10058f52
mov eax, dword [ebx + 8]
mov edx, dword [ebp + 0x1c]
mov esi, dword [ebp - 0x104]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x34], eax
mov eax, dword [ebp - 0x114]
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 - 0xe0], 0
mov byte [edi + 0x1ab1], al
movss xmm7, dword [edi + 0xe4]
subss xmm7, dword [ebp - 0x90]
subss xmm7, dword [edi + 0x1550]
addss xmm7, dword [ebx + 0x38]
je 0x10058c33
mov eax, dword [ebp - 0x108]
movss xmm1, dword [edi + 0xe8]
subss xmm1, dword [eax + 0xd4]
subss xmm1, dword [edi + 0x1554]
jmp 0x10058c3f
movss xmm1, dword [edi + 0x1930]
mulss xmm1, xmm0
cmp byte [ebp - 0xd4], 0
mov al, byte [edi + 0xb1]
mov byte [ebp - 0xc2], al
jne 0x10058da7
mov cl, byte [ebp - 0xc1]
test cl, cl
je 0x10058c72
test al, al
jne 0x10058ce4
cmp byte [edi + 0x3dd], al
jne 0x10058da7
cmp byte [edi + 0x3d8], 0
je 0x10058d0d
cmp byte [ebx + 0xe6d], 0
jne 0x10058d0d
test cl, cl
je 0x10058dc8
cmp byte [ebx + 0x53], 0
je 0x10058cae
push 0
lea eax, [ebp - 0x74]
push ebx
push eax
call fcn.1005bb90
movss xmm1, dword [ebp - 0x68]
add esp, 0xc
sub esp, 8
movss dword [esp + 4], xmm1
movss dword [esp], xmm7
push ebx
call fcn.10060820
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 0x10058dc2
cmp byte [edi + 0x3dd], 0
je 0x10058c72
push 0x20000c
mov ecx, ebx
call fcn.1005b390
push 0x60000d
mov ecx, ebx
call fcn.1005b390
mov edx, dword [ebp + 0x1c]
jmp 0x10058dc2
cmp byte [edi + 0xec], 0
je 0x10058dc8
cmp byte [ebx + 0xe6d], 0
jne 0x10058dd1
movss xmm0, dword [edi + 0x374]
xorps xmm2, xmm2
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x10058d4c
movss xmm0, dword [edi + 0x378]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x10058dc8
cmp byte [ebx + 0x53], 0
je 0x10058d66
push 0
lea eax, [ebp - 0x74]
push ebx
push eax
call fcn.1005bb90
movss xmm1, dword [ebp - 0x68]
add esp, 0xc
mov eax, dword [ebx + 0x40]
cmp eax, dword [ebx + 0x44]
jne 0x10058d74
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.10060820
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 0x10058dc2
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 - 0xc2]
cmp byte [ebx + 0xe6d], 0
je 0x10058de1
cmp byte [edi + 0xec], 0
jne 0x10058de1
mov byte [ebx + 0xe6d], 0
cmp byte [edi + 0xfc], 0
je 0x10058df3
cmp byte [edi + 0xfe], 0
je 0x10058e00
test al, al
je 0x10058e09
cmp byte [edi + 0xff], 0
je 0x10058e09
mov byte [ebp - 0xc1], 1
jmp 0x10058e10
mov byte [ebp - 0xc1], 0
test edx, 0x400
je 0x10058fe8
mov eax, dword [0x100d5d4c]
mov eax, dword [eax + 0x34]
test eax, eax
js 0x10058fe8
push 1
push eax
call fcn.1002c9b0
mov ecx, dword [ebp - 0xf0]
add esp, 8
test al, al
mov al, byte [ebp - 0xc1]
je 0x10058eb7
test al, al
jne 0x10058eb7
cmp byte [edi + 0xfd], al
jne 0x10058eb7
test cl, cl
jne 0x10058eb7
mov ecx, dword [edi + 0x1510]
mov eax, dword [edi + 0x1508]
lea edx, [ecx + eax*2]
cmp ecx, edx
jae 0x10058e80
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
cmp ax, 9
je 0x10058eab
cmp ecx, edx
jb 0x10058e70
push dword [ebp - 0x114]
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], 9
push esi
push dword [ebp + 0x1c]
push eax
call fcn.1005b0a0
add esp, 0x10
test al, al
je 0x10058eab
push dword [ebp - 0x80]
mov ecx, ebx
call fcn.1005b390
mov ecx, dword [ebp - 0xf0]
mov al, byte [ebp - 0xc1]
mov edx, dword [ebp + 0x1c]
cmp dword [edi + 0x1508], 0
jle 0x10058f52
test al, al
jne 0x10058f45
test cl, cl
jne 0x10058f45
cmp byte [ebp - 0xc3], cl
jne 0x10058f45
xor esi, esi
nop dword [eax]
mov eax, dword [edi + 0x1510]
movzx eax, word [eax + esi*2]
mov dword [ebp - 0x80], eax
cmp eax, 9
jne 0x10058efb
cmp byte [edi + 0xfd], 0
jne 0x10058f39
push dword [ebp - 0x114]
lea eax, [ebp - 0x80]
push dword [ebp - 0x104]
push edx
push eax
call fcn.1005b0a0
add esp, 0x10
test al, al
je 0x10058f39
push dword [ebp - 0x80]
lea eax, [ebx + 0x3c]
push eax
push ebx
call fcn.10060eb0
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 0x10058ee0
push 0
lea ecx, [edi + 0x1508]
call fcn.1003fb10
mov eax, dword [ebp - 0xf4]
xor cl, cl
mov byte [ebp - 0xc1], cl
cmp dword [edi + 0x1aa4], eax
jne 0x1005a3cb
cmp byte [edi + 0x1ab0], cl
jne 0x10059e98
cmp byte [ebp - 0xe9], cl
jne 0x10059e98
movss xmm0, dword [ebp - 0x13c]
subss xmm0, dword [edi + 0x1554]
mov ecx, dword [ebp - 0xf8]
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 - 0xf8], ecx
cmovne esi, eax
mov al, byte [edi + 0xb1]
mov byte [ebp - 0x10b], al
test al, al
je 0x10058ff9
cmp dword [edi + 0x37c], 0xa
jne 0x10058ff9
mov byte [ebp - 0xce], 1
jmp 0x10059004
mov al, byte [ebp - 0xc1]
mov ecx, dword [ebp - 0xf0]
jmp 0x10058eba
mov byte [ebp - 0xce], 0
test al, al
je 0x1005902f
cmp byte [edi + 0xff], 0
mov al, byte [edi + 0xfe]
mov byte [ebp - 0xc4], al
je 0x10059042
cmp byte [edi + 0xfc], 0
jne 0x10059042
test al, al
jne 0x10059042
mov byte [ebp - 0xc2], 1
jmp 0x10059049
mov al, byte [edi + 0xfc]
mov byte [ebp - 0xc4], al
mov byte [ebp - 0xce], 0
mov byte [ebp - 0xc2], 0
mov eax, dword [ebp - 0xcc]
mov edi, dword [edi + 0x37c]
cmp byte [eax + 0xb1], 0
je 0x10059063
cmp edi, 8
jmp 0x10059066
cmp edi, 1
sete al
mov byte [ebp - 0xc3], al
test al, al
je 0x10059083
push 1
push 0x13
call fcn.1005b370
add esp, 8
test al, al
jne 0x10059098
cmp edi, 2
jne 0x100590c4
push 1
push 0xa
call fcn.1005b370
add esp, 8
test al, al
je 0x100590c4
cmp byte [ebp - 0xf0], 0
jne 0x100590c4
cmp byte [ebp - 0x138], 0
jne 0x100590c4
cmp byte [ebp - 0xe0], 0
je 0x100590bb
mov eax, dword [ebx + 0x40]
cmp eax, dword [ebx + 0x44]
je 0x100590c4
mov byte [ebp - 0xcd], 1
jmp 0x100590cb
mov byte [ebp - 0xcd], 0
cmp byte [ebp - 0xc3], 0
je 0x100590e4
push 1
push 0x11
call fcn.1005b370
add esp, 8
test al, al
jne 0x100590f8
cmp edi, 1
jne 0x1005911b
push edi
push 9
call fcn.1005b370
add esp, 8
test al, al
je 0x1005911b
cmp byte [ebp - 0x138], 0
jne 0x1005911b
cmp byte [ebp - 0xe0], 0
je 0x10059112
mov eax, dword [ebx + 0x40]
cmp eax, dword [ebx + 0x44]
je 0x1005911b
mov byte [ebp - 0x109], 1
jmp 0x10059122
mov byte [ebp - 0x109], 0
cmp byte [ebp - 0xc3], 0
je 0x1005913b
push 1
push 0x12
call fcn.1005b370
add esp, 8
test al, al
jne 0x10059150
cmp edi, 2
jne 0x10059160
push 1
push 9
call fcn.1005b370
add esp, 8
test al, al
je 0x10059160
cmp byte [ebp - 0xf0], 0
mov byte [ebp - 0x10a], 1
je 0x10059167
mov byte [ebp - 0x10a], 0
cmp byte [ebp - 0xc3], 0
je 0x1005919b
push 1
push 0x15
call fcn.1005b370
add esp, 8
test al, al
je 0x1005919b
cmp byte [ebp - 0xf0], 0
jne 0x1005919b
cmp byte [ebp - 0xdc], 0
je 0x1005919b
mov byte [ebp - 0xfd], 1
jmp 0x100591ab
xor al, al
mov byte [ebp - 0xfd], al
cmp byte [ebp - 0xc3], al
je 0x100591bb
push 1
push 0x14
call fcn.1005b370
add esp, 8
test al, al
jne 0x100591d4
cmp byte [ebp - 0xce], 0
je 0x100591ed
push 1
push 0x15
call fcn.1005b370
add esp, 8
test al, al
je 0x100591ed
cmp byte [ebp - 0xf0], 0
jne 0x100591ed
cmp byte [ebp - 0xdc], 0
mov byte [ebp - 0xce], 1
jne 0x100591f4
mov byte [ebp - 0xce], 0
push 1
push 1
call fcn.1005b370
add esp, 8
test al, al
je 0x1005925e
cmp byte [ebp - 0xc2], 0
je 0x10059214
mov eax, 0x200004
jmp 0x10059228
mov eax, 0x200000
mov ecx, 0x20000c
cmp byte [ebp - 0xc4], 0
cmovne eax, ecx
or eax, esi
push eax
mov ecx, ebx
call fcn.1005b390
mov edi, dword [ebp - 0xcc]
mov cl, byte [ebp - 0xc1]
mov eax, dword [ebx + 0x40]
cmp eax, dword [ebx + 0x44]
je 0x10059e82
cmp byte [ebp - 0xd5], 0
je 0x10059e82
mov al, 1
jmp 0x10059e84
push 1
push 2
call fcn.1005b370
add esp, 8
test al, al
je 0x10059288
cmp byte [ebp - 0xc2], 0
je 0x1005927e
mov eax, 0x200005
jmp 0x10059228
mov eax, 0x200001
lea ecx, [eax + 0xc]
jmp 0x1005921e
push 1
push 3
call fcn.1005b370
add esp, 8
test al, al
je 0x100592fc
cmp byte [ebp - 0xe0], 0
je 0x100592fc
mov edi, dword [ebp - 0xcc]
cmp byte [edi + 0xfc], 0
je 0x100592df
mov esi, dword [ebp - 0x108]
push ecx
movss xmm0, dword [esi + 0x54]
subss xmm0, dword [edi + 0x1930]
maxss xmm0, dword [0x10084400]
movss dword [esp], xmm0
push esi
call fcn.10034ff0
add esp, 8
jmp 0x10059238
movzx eax, byte [ebp - 0xc2]
mov ecx, ebx
lea eax, [eax*4 + 0x200002]
or eax, esi
push eax
call fcn.1005b390
jmp 0x10059238
push 1
push 4
call fcn.1005b370
add esp, 8
test al, al
je 0x10059389
cmp byte [ebp - 0xe0], 0
je 0x10059389
mov edi, dword [ebp - 0xcc]
cmp byte [edi + 0xfc], 0
je 0x1005936c
mov esi, dword [ebp - 0x108]
movss xmm0, dword [edi + 0x1930]
addss xmm0, dword [esi + 0x54]
movss dword [ebp - 0x80], xmm0
call fcn.1002b4c0
movss xmm0, dword [ebp - 0x80]
fstp dword [ebp - 0xdc]
minss xmm0, dword [ebp - 0xdc]
push ecx
movss dword [esp], xmm0
push esi
call fcn.10034ff0
add esp, 8
jmp 0x10059238
movzx eax, byte [ebp - 0xc2]
mov ecx, ebx
lea eax, [eax*4 + 0x200003]
or eax, esi
push eax
call fcn.1005b390
jmp 0x10059238
push 1
push 5
call fcn.1005b370
add esp, 8
test al, al
je 0x100593e2
cmp byte [ebp - 0xe0], 0
je 0x100593e2
or esi, 0x20000e
mov ecx, ebx
push esi
call fcn.1005b390
movd xmm0, dword [ebp - 0xf8]
mov edi, dword [ebp - 0xcc]
movss xmm1, dword [ebp - 0x124]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [edi + 0x1930]
subss xmm1, xmm0
movss dword [ebp - 0x124], xmm1
jmp 0x10059238
push 1
push 6
call fcn.1005b370
add esp, 8
test al, al
je 0x10059437
cmp byte [ebp - 0xe0], 0
je 0x10059437
or esi, 0x20000f
mov ecx, ebx
push esi
call fcn.1005b390
movd xmm0, dword [ebp - 0xf8]
mov edi, dword [ebp - 0xcc]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [edi + 0x1930]
addss xmm0, dword [ebp - 0x124]
movss dword [ebp - 0x124], xmm0
jmp 0x10059238
push 1
push 7
call fcn.1005b370
add esp, 8
test al, al
je 0x10059471
mov eax, esi
or eax, 0x200006
or esi, 0x200004
mov edi, dword [ebp - 0xcc]
mov ecx, ebx
cmp byte [edi + 0xfc], 0
cmovne esi, eax
push esi
call fcn.1005b390
jmp 0x10059238
push 1
push 8
call fcn.1005b370
add esp, 8
test al, al
je 0x10059490
mov eax, esi
or eax, 0x200007
or esi, 0x200005
jmp 0x10059454
push 1
push 0xa
call fcn.1005b370
add esp, 8
test al, al
je 0x100594b5
cmp byte [ebp - 0xf0], 0
jne 0x100594b5
or esi, 0x200008
push esi
jmp 0x1005922b
push 1
push 0xb
call fcn.1005b370
add esp, 8
test al, al
je 0x10059555
cmp byte [ebp - 0xf0], 0
jne 0x10059555
mov eax, dword [ebx + 0x40]
cmp eax, dword [ebx + 0x44]
jne 0x100594f3
cmp byte [ebp - 0xc4], 0
je 0x1005950c
push 0x60000c
mov ecx, ebx
call fcn.1005b390
mov edi, dword [ebp - 0xcc]
or esi, 0x200009
mov ecx, ebx
push esi
call fcn.1005b390
jmp 0x10059238
cmp byte [ebp - 0x10b], 0
je 0x100594f3
mov edi, dword [ebp - 0xcc]
cmp byte [edi + 0xff], 0
je 0x100594f9
cmp byte [edi + 0xfe], 0
jne 0x100594f9
cmp byte [edi + 0xfc], 0
jne 0x100594f9
push 0x600004
mov ecx, ebx
call fcn.1005b390
or esi, 0x200009
mov ecx, ebx
push esi
call fcn.1005b390
jmp 0x10059238
push 1
push 0xd
call fcn.1005b370
add esp, 8
test al, al
jne 0x10059e00
push 1
push 0xf
call fcn.1005b370
add esp, 8
test al, al
jne 0x10059e00
push 1
push 0xe
call fcn.1005b370
add esp, 8
test al, al
je 0x100595a0
mov edi, dword [ebp - 0xcc]
mov cl, 1
mov byte [ebp - 0xe9], cl
jmp 0x1005923e
mov al, byte [ebp - 0xfd]
test al, al
jne 0x10059ddf
cmp byte [ebp - 0xce], al
jne 0x10059ddf
cmp byte [ebp - 0xc3], al
je 0x100595f2
push 1
push 0x10
call fcn.1005b370
add esp, 8
test al, al
je 0x100595f2
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 0x10059232
mov al, byte [ebp - 0xcd]
test al, al
jne 0x10059aa1
cmp byte [ebp - 0x109], al
jne 0x10059aa1
cmp byte [ebp - 0x10a], al
je 0x10059232
call fcn.1002a930
mov esi, eax
test esi, esi
je 0x10059232
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10059630
sub ecx, edx
lea eax, [ecx*2 + 2]
push eax
call fcn.1002d750
xor edi, edi
mov dword [ebp - 0xdc], eax
add esp, 4
mov dword [ebp - 0x14], edi
cmp byte [esi], 0
je 0x100596b3
mov ebx, eax
nop dword [eax + eax]
push 0
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.1002bb50
add esp, 0xc
add esi, eax
cmp dword [ebp - 0x14], 0
je 0x100596a4
push dword [ebp - 0x114]
lea eax, [ebp - 0x14]
push dword [ebp - 0x104]
push dword [ebp + 0x1c]
push eax
call fcn.1005b0a0
add esp, 0x10
test al, al
je 0x1005969f
mov ax, word [ebp - 0x14]
mov word [ebx + edi*2], ax
inc edi
cmp byte [esi], 0
jne 0x10059660
mov ebx, dword [ebp - 0x120]
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x14], edi
xor ecx, ecx
mov word [eax + edi*2], cx
test edi, edi
jle 0x10059a93
mov ecx, dword [ebx + 0x44]
lea esi, [ebx + 0x3c]
mov edi, dword [esi + 4]
mov eax, dword [ebx + 4]
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0xfc], edi
cmp edi, ecx
je 0x1005972b
mov edx, edi
cmp edi, eax
jle 0x100596e8
mov dword [esi + 4], eax
mov edx, eax
mov edi, ecx
mov dword [ebp - 0xf8], edi
cmp ecx, eax
jle 0x100596ff
mov dword [esi + 8], eax
mov edi, eax
mov dword [ebp - 0xf8], eax
mov ecx, edi
mov dword [ebp - 0xd4], edi
mov edi, edx
mov dword [ebp - 0xfc], edi
cmp edx, dword [ebp - 0xf8]
jne 0x1005972b
mov ecx, dword [ebp - 0xf8]
mov dword [esi], edx
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0xfc], edx
mov edx, dword [esi]
mov dword [ebp - 0xf8], edx
cmp edx, eax
jle 0x1005973f
mov dword [esi], eax
mov dword [ebp - 0xf8], eax
mov eax, dword [ebx + 4]
cmp edi, ecx
je 0x1005979a
mov edx, edi
cmp edi, eax
jle 0x10059751
mov dword [esi + 4], eax
mov edx, eax
mov edi, ecx
mov dword [ebp - 0x80], edi
cmp ecx, eax
jle 0x10059762
mov dword [esi + 8], eax
mov edi, eax
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0xf8], ecx
mov ecx, edi
mov edi, edx
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0xfc], edi
cmp edx, dword [ebp - 0x80]
jne 0x1005979a
mov ecx, dword [ebp - 0x80]
mov dword [esi], edx
mov dword [ebp - 0xf8], edx
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0xfc], edi
cmp dword [ebp - 0xf8], eax
jle 0x100597a4
mov dword [esi], eax
cmp edi, ecx
je 0x100599cc
mov eax, dword [ebp - 0x12c]
add esi, 0x20
mov dword [esi + 0xe08], 0x3e7
mov word [esi + 0xe00], ax
cmp edi, ecx
jge 0x100598d4
sub ecx, edi
cmp word [esi + 0xdfe], 0x63
mov dword [ebp - 0xd4], ecx
jne 0x100597ef
push esi
call fcn.10060c90
mov ecx, dword [ebp - 0xd4]
add esp, 4
cmp ecx, 0x3e7
jle 0x1005980b
xor eax, eax
mov word [esi + 0xdfe], ax
mov dword [esi + 0xe04], eax
jmp 0x100598be
mov eax, dword [esi + 0xe04]
add eax, ecx
cmp eax, 0x3e7
jle 0x10059844
mov ebx, dword [ebp - 0xd4]
push esi
call fcn.10060c90
mov eax, dword [esi + 0xe04]
add esp, 4
add eax, ebx
cmp eax, 0x3e7
jg 0x10059820
mov ebx, dword [ebp - 0x120]
mov ecx, dword [ebp - 0xd4]
movzx eax, word [esi + 0xdfe]
movsx edx, ax
shl edx, 4
lea eax, [eax + 1]
mov word [esi + 0xdfe], ax
add edx, esi
je 0x100598be
mov dword [edx], edi
mov dword [edx + 4], ecx
mov dword [edx + 8], 0
test ecx, ecx
jne 0x10059878
mov dword [edx + 0xc], 0xffffffff
jmp 0x100598be
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 - 0x80], eax
test eax, eax
je 0x100598be
xor edx, edx
test ecx, ecx
jle 0x100598be
lea esi, [edi + edi]
mov edi, 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 0x100598a4
mov edi, dword [ebp - 0xfc]
push ecx
push edi
push ebx
call fcn.1005ba10
mov eax, dword [ebx + 0x40]
lea esi, [ebx + 0x3c]
mov dword [esi + 8], eax
jmp 0x100599bd
sub edi, ecx
cmp word [esi + 0xdfe], 0x63
jne 0x100598e9
push esi
call fcn.10060c90
add esp, 4
cmp edi, 0x3e7
jle 0x10059905
xor eax, eax
mov word [esi + 0xdfe], ax
mov dword [esi + 0xe04], eax
jmp 0x100599a6
mov eax, dword [esi + 0xe04]
add eax, edi
cmp eax, 0x3e7
jle 0x1005992c
push esi
call fcn.10060c90
mov eax, dword [esi + 0xe04]
add esp, 4
add eax, edi
cmp eax, 0x3e7
jg 0x10059914
movzx eax, word [esi + 0xdfe]
movsx edx, ax
shl edx, 4
lea eax, [eax + 1]
mov word [esi + 0xdfe], ax
add edx, esi
je 0x100599a6
mov ecx, dword [ebp - 0xd4]
mov dword [edx], ecx
mov dword [edx + 4], edi
mov dword [edx + 8], 0
test edi, edi
jne 0x10059966
mov dword [edx + 0xc], 0xffffffff
jmp 0x100599ac
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 - 0x80], eax
test eax, eax
je 0x100599ac
xor edx, edx
test edi, edi
jle 0x100599ac
lea esi, [ecx + ecx]
mov ecx, eax
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 0x10059992
mov ecx, dword [ebp - 0xd4]
push edi
push ecx
push ebx
call fcn.1005ba10
mov eax, dword [ebx + 0x44]
lea esi, [ebx + 0x3c]
mov dword [esi + 4], eax
mov ecx, esi
add esp, 0xc
mov byte [ecx + 0x16], 0
mov dword [esi], eax
mov byte [ecx + 0x16], 0
push dword [ebp - 0x14]
push dword [ebp - 0xdc]
push dword [esi]
push ebx
call fcn.1005ba80
add esp, 0x10
test al, al
je 0x10059a72
mov edi, dword [esi]
add esi, 0x20
mov eax, dword [ebp - 0x12c]
cmp word [esi + 0xdfe], 0x63
mov word [esi + 0xe00], ax
mov dword [esi + 0xe08], 0x3e7
jne 0x10059a17
push esi
call fcn.10060c90
add esp, 4
cmp dword [esi + 0xe04], 0x3e7
jle 0x10059a38
push esi
call fcn.10060c90
add esp, 4
cmp dword [esi + 0xe04], 0x3e7
jg 0x10059a23
movzx eax, word [esi + 0xdfe]
movsx ecx, ax
shl ecx, 4
lea eax, [eax + 1]
mov word [esi + 0xdfe], ax
mov eax, dword [ebp - 0x14]
add ecx, esi
je 0x10059a69
mov dword [ecx], edi
mov dword [ecx + 4], 0
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 0xffffffff
add dword [ebx + 0x3c], eax
mov byte [ebx + 0x52], 0
jmp 0x10059a86
movzx eax, word [esi + 0xe1e]
test ax, ax
je 0x10059a86
dec eax
mov word [esi + 0xe1e], ax
mov eax, dword [ebp - 0xdc]
mov byte [ebx + 0xe6c], 1
push eax
call fcn.1002d780
add esp, 4
jmp 0x10059232
mov edi, dword [ebp - 0xcc]
cmp dword [edi + 0xd4], 0
je 0x10059b27
mov eax, dword [ebx + 0x44]
mov ecx, dword [ebx + 0x40]
cmp ecx, eax
je 0x10059ac8
mov edx, eax
cmovge eax, ecx
cmovl edx, ecx
jmp 0x10059acd
mov eax, dword [ebx + 4]
xor edx, edx
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0xdc], edx
lea eax, [ecx + eax*2]
push eax
lea eax, [ecx + edx*2]
push eax
call fcn.1002be70
lea esi, [eax + 1]
push esi
call fcn.1002d750
mov edx, dword [ebx + 0x14]
mov edi, eax
mov eax, dword [ebp - 0x80]
lea ecx, [edx + eax*2]
mov eax, dword [ebp - 0xdc]
push ecx
lea ecx, [edx + eax*2]
push ecx
push esi
push edi
call fcn.1002c0b0
push edi
call fcn.10034700
push edi
call fcn.1002d780
mov al, byte [ebp - 0xcd]
add esp, 0x24
mov edi, dword [ebp - 0xcc]
test al, al
je 0x10059238
mov eax, dword [ebx + 0x40]
cmp eax, dword [ebx + 0x44]
jne 0x10059b4b
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 - 0xd4], ecx
mov dword [ebp - 0x80], edi
cmp edi, ecx
je 0x10059232
mov eax, dword [ebx + 4]
cmp edi, eax
jle 0x10059b7b
mov dword [edx + 4], eax
mov edi, eax
mov dword [ebp - 0x80], eax
cmp ecx, eax
jle 0x10059b8a
mov dword [edx + 8], eax
mov ecx, eax
mov dword [ebp - 0xd4], eax
cmp edi, ecx
jne 0x10059b90
mov dword [edx], edi
cmp dword [edx], eax
jle 0x10059b96
mov dword [edx], eax
cmp edi, ecx
je 0x10059dd6
mov eax, dword [ebp - 0x12c]
lea esi, [edx + 0x20]
mov dword [esi + 0xe08], 0x3e7
mov word [esi + 0xe00], ax
jge 0x10059cdc
sub ecx, edi
cmp word [esi + 0xdfe], 0x63
mov dword [ebp - 0xd4], ecx
jne 0x10059bdf
push esi
call fcn.10060c90
mov ecx, dword [ebp - 0xd4]
add esp, 4
cmp ecx, 0x3e7
jle 0x10059bfb
xor eax, eax
mov word [esi + 0xdfe], ax
mov dword [esi + 0xe04], eax
jmp 0x10059cb7
mov eax, dword [esi + 0xe04]
add eax, ecx
cmp eax, 0x3e7
jle 0x10059c34
mov ebx, dword [ebp - 0xd4]
push esi
call fcn.10060c90
mov eax, dword [esi + 0xe04]
add esp, 4
add eax, ebx
cmp eax, 0x3e7
jg 0x10059c10
mov ebx, dword [ebp - 0x120]
mov ecx, dword [ebp - 0xd4]
movzx eax, word [esi + 0xdfe]
movsx edx, ax
shl edx, 4
lea eax, [eax + 1]
mov word [esi + 0xdfe], ax
add edx, esi
je 0x10059cb7
mov dword [edx], edi
mov dword [edx + 4], ecx
mov dword [edx + 8], 0
test ecx, ecx
jne 0x10059c68
mov dword [edx + 0xc], 0xffffffff
jmp 0x10059cb7
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 - 0xdc], eax
test eax, eax
je 0x10059cb7
xor edx, edx
test ecx, ecx
jle 0x10059cb7
lea esi, [edi + edi]
mov edi, eax
nop word [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 0x10059ca0
mov edi, dword [ebp - 0x80]
push ecx
push edi
push ebx
call fcn.1005ba10
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 0x10059232
sub edi, ecx
cmp word [esi + 0xdfe], 0x63
jne 0x10059cf1
push esi
call fcn.10060c90
add esp, 4
cmp edi, 0x3e7
jle 0x10059d0d
xor eax, eax
mov word [esi + 0xdfe], ax
mov dword [esi + 0xe04], eax
jmp 0x10059db4
mov eax, dword [esi + 0xe04]
add eax, edi
cmp eax, 0x3e7
jle 0x10059d38
nop dword [eax]
push esi
call fcn.10060c90
mov eax, dword [esi + 0xe04]
add esp, 4
add eax, edi
cmp eax, 0x3e7
jg 0x10059d20
movzx eax, word [esi + 0xdfe]
movsx edx, ax
shl edx, 4
lea eax, [eax + 1]
mov word [esi + 0xdfe], ax
add edx, esi
je 0x10059db4
mov ecx, dword [ebp - 0xd4]
mov dword [edx], ecx
mov dword [edx + 4], edi
mov dword [edx + 8], 0
test edi, edi
jne 0x10059d72
mov dword [edx + 0xc], 0xffffffff
jmp 0x10059dba
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 - 0x80], eax
test eax, eax
je 0x10059dba
xor edx, edx
test edi, edi
jle 0x10059dba
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 0x10059da0
mov ecx, dword [ebp - 0xd4]
push edi
push ecx
push ebx
call fcn.1005ba10
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 0x10059232
movzx eax, al
mov ecx, ebx
xor eax, 1
add eax, 0x20000a
push eax
call fcn.1005b390
mov eax, dword [ebx + 0x3c]
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x40], eax
jmp 0x10059232
mov edx, dword [ebp + 0x1c]
mov eax, edx
mov edi, dword [ebp - 0xcc]
shr eax, 0xb
and al, 1
cmp byte [ebp - 0xe0], 0
je 0x10059e27
mov cl, byte [edi + 0xfc]
test al, al
je 0x10059e3a
test cl, cl
jne 0x10059e3e
mov byte [ebp - 0xe9], 1
mov byte [ebp - 0xe2], 1
jmp 0x10059238
test cl, cl
jne 0x10059e27
cmp byte [ebp - 0xf0], 0
jne 0x10059238
push dword [ebp - 0x114]
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], 0xa
push dword [ebp - 0x104]
push edx
push eax
call fcn.1005b0a0
add esp, 0x10
test al, al
je 0x10059238
push dword [ebp - 0x80]
mov ecx, ebx
call fcn.1005b390
jmp 0x10059238
xor al, al
mov edx, dword [ebp - 0x110]
or dl, al
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x110], edx
cmp dword [edi + 0x1aa4], eax
jne 0x1005a3cb
xor eax, eax
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xfc], eax
test cl, cl
je 0x1005a000
cmp byte [ebp - 0xf0], al
jne 0x10059fe8
mov esi, dword [ebx + 0x2c]
mov ecx, esi
mov eax, dword [ebp - 0xe8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10059ef5
test dl, dl
je 0x10059ef1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10059ef5
add eax, 2
add ecx, 2
test dl, dl
jne 0x10059ed5
xor eax, eax
jmp 0x10059efa
sbb eax, eax
or eax, 1
test eax, eax
je 0x10059fe8
mov eax, dword [ebx + 0x24]
mov ecx, esi
dec eax
mov dword [ebp - 0xdc], ecx
xor edi, edi
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x38], edi
mov dword [ebp - 4], edi
test eax, eax
jle 0x10059f62
lea esi, [eax + ecx]
push esi
push ecx
call fcn.1002bcc0
add esp, 8
lea ecx, [ebp - 0x40]
inc eax
push eax
call fcn.1003fb10
push edi
mov edi, dword [ebp - 0x38]
push esi
push dword [ebp - 0xdc]
mov esi, dword [ebp - 0x40]
push esi
push edi
call fcn.1002bed0
add esp, 0x14
lea eax, [esi - 1]
jmp 0x10059f64
xor eax, eax
mov esi, dword [ebx + 4]
push eax
push esi
mov dword [ebp - 0x80], eax
lea eax, [ebx + 0x5c]
push 0
push eax
call fcn.10060750
mov edx, eax
add esp, 0x10
test edx, edx
je 0x10059fa0
xor ecx, ecx
test esi, esi
jle 0x10059fa0
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 0x10059f90
push dword [ebx + 4]
push 0
push ebx
call fcn.1005ba10
mov esi, dword [ebp - 0x80]
add esp, 0xc
test esi, esi
jle 0x10059fcd
push esi
push edi
push 0
push ebx
call fcn.1005ba80
add esp, 0x10
test al, al
je 0x10059fcd
mov dword [ebx + 0x3c], esi
mov byte [ebx + 0x52], 0
mov dword [ebp - 4], 1
test edi, edi
je 0x10059fe1
push edi
call fcn.1002d780
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0xe2], 0
mov eax, dword [ebp + 0x1c]
je 0x1005a2d7
test al, 0x20
je 0x1005a2d7
cmp byte [ebp - 0xf0], 0
jne 0x1005a033
mov eax, dword [ebx + 0xc]
lea ecx, [ebx + 0x18]
mov byte [ebx + 0x30], 1
lea eax, [eax*4 + 1]
push eax
call fcn.10037630
push 0
push dword [ebx + 0x14]
push dword [ebx + 0x18]
push dword [ebx + 0x20]
call fcn.1002c0b0
add esp, 0x10
mov eax, dword [ebp + 0x1c]
test eax, 0x801c0
je 0x1005a284
xor esi, esi
lea edi, [esi + 0x16]
test al, 0x40
je 0x1005a063
push 1
push esi
call fcn.1005b370
add esp, 8
test al, al
mov eax, dword [ebp + 0x1c]
je 0x1005a063
lea esi, [edi + 0x2a]
xor edi, edi
jmp 0x1005a0c5
test al, al
jns 0x1005a0a1
push 1
push 3
call fcn.1005b370
add esp, 8
test al, al
je 0x1005a084
mov eax, dword [ebp + 0x1c]
mov esi, 0x80
lea edi, [esi - 0x7d]
jmp 0x1005a0c5
push 1
push 4
call fcn.1005b370
add esp, 8
test al, al
mov eax, dword [ebp + 0x1c]
je 0x1005a0a1
mov esi, 0x80
lea edi, [esi - 0x7c]
jmp 0x1005a0c5
test eax, 0x80000
je 0x1005a0b8
cmp byte [ebx + 0xe6e], 0
je 0x1005a0b8
mov esi, 0x80000
jmp 0x1005a0c5
test eax, 0x100
mov ecx, 0x100
cmovne esi, ecx
test esi, esi
je 0x1005a284
mov dword [ebp - 0xbc], eax
xor ecx, ecx
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0xac], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0xc0], esi
mov esi, dword [ebx + 0x14]
mov dword [ebp - 0xb4], 0
mov word [ebp - 0x9f], cx
mov byte [ebp - 0x9d], cl
lea eax, [esi + eax*2]
mov dword [ebp - 0xb0], edi
push eax
push esi
mov byte [ebp - 0xa0], cl
call fcn.1002be70
mov ecx, dword [ebx + 0x40]
mov edi, eax
mov dword [ebp - 0x9c], edi
lea ecx, [esi + ecx*2]
push ecx
push esi
call fcn.1002be70
mov ecx, dword [ebx + 0x44]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x98], eax
lea ecx, [esi + ecx*2]
push ecx
push esi
call fcn.1002be70
mov esi, eax
lea eax, [ebp - 0xc0]
push eax
mov dword [ebp - 0x94], esi
call dword [ebp - 0x104]
mov cl, byte [ebp - 0xa0]
add esp, 0x1c
mov edx, dword [ebp - 0x9c]
mov byte [ebp - 0xcd], cl
cmp edx, edi
jne 0x1005a192
test cl, cl
je 0x1005a1bb
mov ecx, dword [ebp - 0xac]
lea eax, [edx + ecx]
push eax
push ecx
call fcn.1002bcc0
mov edx, dword [ebp - 0x9c]
add esp, 8
mov cl, byte [ebp - 0xcd]
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0xe6c], 1
mov eax, dword [ebp - 0x98]
cmp eax, dword [ebp - 0x80]
jne 0x1005a1ca
test cl, cl
je 0x1005a1f6
cmp eax, edx
jne 0x1005a1d3
mov ecx, dword [ebx + 0x3c]
jmp 0x1005a1ed
mov ecx, dword [ebp - 0xac]
add eax, ecx
push eax
push ecx
call fcn.1002bcc0
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x98]
mov dword [ebx + 0x40], ecx
mov cl, byte [ebp - 0xcd]
mov edx, dword [ebp - 0x94]
cmp edx, esi
jne 0x1005a208
test cl, cl
je 0x1005a284
cmp edx, eax
jne 0x1005a211
mov eax, dword [ebx + 0x40]
jmp 0x1005a224
mov ecx, dword [ebp - 0xac]
lea eax, [edx + ecx]
push eax
push ecx
call fcn.1002bcc0
add esp, 8
cmp byte [ebp - 0xcd], 0
mov dword [ebx + 0x44], eax
je 0x1005a284
mov eax, dword [ebp - 0xa8]
mov edx, dword [ebp - 0x144]
cmp eax, edx
jle 0x1005a256
cmp byte [ebp - 0x140], 0
je 0x1005a256
lea ecx, [ebx + 0xc]
sub eax, edx
add eax, dword [ecx]
push eax
call fcn.1003fb10
push 0
push 0
push dword [ebp - 0xac]
push dword [ebx + 0xc]
push dword [ebx + 0x14]
call fcn.1002bed0
mov dword [ebx + 4], eax
add esp, 0x14
mov eax, dword [ebp - 0xa8]
mov dword [ebx + 8], eax
mov dword [ebx + 0xe68], 0xbe99999a
cmp byte [ebp - 0xf0], 0
mov edi, dword [ebp - 0xe8]
jne 0x1005a2df
mov esi, dword [ebx + 0x20]
mov ecx, edi
mov eax, esi
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005a2c0
test dl, dl
je 0x1005a2bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005a2c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005a2a0
xor eax, eax
jmp 0x1005a2c5
sbb eax, eax
or eax, 1
test eax, eax
mov eax, dword [ebp + 0x1c]
je 0x1005a2e2
mov ecx, dword [ebx + 8]
mov dword [ebp - 0xdc], esi
jmp 0x1005a2e8
mov edi, dword [ebp - 0xe8]
jmp 0x1005a2e2
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0xfc]
mov esi, dword [ebp - 0xdc]
test esi, esi
je 0x1005a3a7
cmp byte [ebp - 0x140], 0
je 0x1005a38a
mov dword [ebp - 0xbc], eax
xorps xmm0, xmm0
lea eax, [ecx + 1]
movlpd qword [ebp - 0xb4], xmm0
cmp dword [ebp + 0x14], eax
movlpd qword [ebp - 0xa0], xmm0
cmovge eax, dword [ebp + 0x14]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xc0]
push eax
movlpd qword [ebp - 0x98], xmm0
mov dword [ebp - 0xc0], 0x40000
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xa8], ecx
call dword [ebp - 0x104]
mov edx, dword [ebp - 0xa4]
add esp, 4
mov edi, dword [ebp - 0xac]
mov dword [ebp - 0xe8], edi
lea ecx, [edx - 1]
cmp dword [ebp - 0xa8], ecx
cmovl ecx, dword [ebp - 0xa8]
jmp 0x1005a38d
mov edx, dword [ebp + 0x14]
lea eax, [ecx + 1]
cmp eax, edx
cmovl edx, eax
push edx
push esi
push edi
call fcn.1002bb20
add esp, 0xc
mov byte [ebp - 0xe1], 1
mov edi, dword [ebp - 0xcc]
mov dword [ebx + 0xe70], 0
mov dword [ebx + 0xe74], 0
mov dword [ebx + 0xe78], 0
cmp byte [ebp - 0xe9], 0
mov ecx, dword [ebp - 0xf4]
je 0x1005a3ed
cmp dword [edi + 0x1aa4], ecx
jne 0x1005a3ed
call fcn.100287b0
mov ecx, dword [ebp - 0xf4]
cmp byte [ebp - 0xe0], 0
jne 0x1005a49e
push 1
push ecx
lea eax, [ebp - 0x90]
push eax
call fcn.100325e0
movss xmm0, dword [edi + 0x1558]
add esp, 8
movss dword [esp], xmm0
push 1
push ecx
mov dword [esp], 0x3f800000
push 7
call fcn.1002ab20
add esp, 8
push eax
push dword [ebp - 0x84]
push dword [ebp - 0x88]
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
call fcn.100323d0
movss xmm2, dword [ebp - 0x90]
add esp, 0x1c
movss xmm3, dword [ebp - 0x128]
movaps xmm0, xmm2
movss xmm1, dword [ebp - 0x8c]
addss xmm0, xmm3
movss dword [ebp - 0x2c], xmm2
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x24], xmm0
movaps xmm0, xmm1
addss xmm0, dword [ebp - 0x13c]
movss dword [ebp - 0x20], xmm0
addss xmm2, dword [edi + 0x1550]
addss xmm1, dword [edi + 0x1554]
jmp 0x1005a4ec
movss xmm1, dword [ebp - 0x8c]
movss xmm0, dword [ebp - 0x90]
movss xmm3, dword [ebp - 0x128]
mov eax, dword [ebp - 0x108]
movss dword [ebp - 0x2c], xmm0
addss xmm0, xmm3
movss dword [ebp - 0x28], xmm1
addss xmm1, dword [ebp - 0x13c]
movss dword [ebp - 0x24], xmm0
movss dword [ebp - 0x20], xmm1
movss xmm2, dword [eax + 0xd0]
movss xmm1, dword [eax + 0xd4]
cmp byte [ebp - 0xe3], 0
movss dword [ebp - 0x1c], xmm2
movss dword [ebp - 0x18], xmm1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
je 0x1005a516
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0xe8], eax
mov dh, byte [ebp - 0xc5]
mov dword [ebp - 0xd4], 0
test dh, dh
je 0x1005a558
mov esi, dword [ebp - 0x130]
mov ecx, esi
mov dword [ebp - 0xe8], esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005a540
sub ecx, edx
mov dh, byte [ebp - 0xc5]
lea eax, [ecx + esi]
mov dword [ebp - 0xd4], eax
mov al, byte [ebp - 0xd5]
mov ecx, dword [ebp - 0x110]
test al, al
jne 0x1005a669
test cl, cl
jne 0x1005a669
mov esi, dword [ebp - 0xe8]
cmp byte [ebp - 0xe0], cl
je 0x1005a5ca
mov dl, byte [esi]
lea ebx, [esi + 1]
xor ecx, ecx
test dl, dl
je 0x1005a5a2
nop dword [eax]
cmp dl, 0xa
lea eax, [ecx + 1]
mov dl, byte [ebx]
cmovne eax, ecx
inc ebx
mov ecx, eax
test dl, dl
jne 0x1005a590
mov al, byte [ebx - 1]
dec ebx
cmp al, 0xa
je 0x1005a5af
cmp al, 0xd
je 0x1005a5af
inc ecx
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [edi + 0x1930]
movss dword [ebp - 0x34], xmm3
movss dword [ebp - 0x30], xmm0
jmp 0x1005a611
test dh, dh
jne 0x1005a5fc
mov eax, dword [ebp - 0xf4]
cmp dword [edi + 0x1aa4], eax
jne 0x1005a5e3
mov ebx, dword [ebx + 8]
add ebx, esi
jmp 0x1005a602
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005a5e8
sub ecx, edx
mov dh, byte [ebp - 0xc5]
lea ebx, [esi + ecx]
jmp 0x1005a602
mov ebx, dword [ebp - 0xd4]
mov eax, ebx
sub eax, esi
cmp eax, 0x200000
jge 0x1005af24
push ecx
movzx eax, dh
mov dword [esp], 0x3f800000
push eax
call fcn.1002ab20
movss xmm0, dword [edi + 0x1930]
lea ecx, [ebp - 0x2c]
add esp, 8
xor edx, edx
cmp byte [ebp - 0xe0], dl
cmovne ecx, edx
push ecx
push ecx
mov dword [esp], edx
push ebx
push esi
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x108]
push ecx
movss dword [esp], xmm0
push dword [edi + 0x192c]
mov ecx, dword [eax + 0x284]
call fcn.10039e40
jmp 0x1005af24
test dh, dh
jne 0x1005a682
mov eax, dword [ebx + 8]
add eax, dword [ebp - 0xe8]
mov dword [ebp - 0xd4], eax
mov al, byte [ebp - 0xd5]
mov esi, dword [ebx + 0x14]
xorps xmm0, xmm0
mov edi, 0xfffffc18
mov dword [ebp - 0x14], esi
xor edx, edx
movss dword [ebp - 0x140], xmm0
movss dword [ebp - 0x130], xmm0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0x104], edi
test al, al
je 0x1005a6cc
mov eax, dword [ebx + 0x3c]
or edi, 0xffffffff
lea eax, [esi + eax*2]
mov dword [ebp - 0x80], eax
lea edx, [edi + 2]
test cl, cl
je 0x1005a6ee
mov ecx, dword [ebx + 0x44]
cmp dword [ebx + 0x40], ecx
mov dword [ebp - 0x104], 0xffffffff
cmovl ecx, dword [ebx + 0x40]
inc edx
lea eax, [esi + ecx*2]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xe0]
mov ecx, esi
movzx esi, word [esi]
movzx eax, al
add edx, eax
xor eax, eax
test si, si
je 0x1005a75b
xor ebx, ebx
cmp si, 0xa
jne 0x1005a73b
inc ebx
cmp edi, 0xffffffff
jne 0x1005a71f
cmp ecx, dword [ebp - 0x80]
jb 0x1005a71f
dec edx
mov edi, ebx
test edx, edx
jle 0x1005a749
cmp dword [ebp - 0x104], 0xffffffff
jne 0x1005a73b
cmp ecx, dword [ebp - 0xfc]
jb 0x1005a73b
dec edx
mov dword [ebp - 0x104], ebx
test edx, edx
jle 0x1005a749
movzx eax, word [ecx + 2]
add ecx, 2
mov esi, eax
test ax, ax
jne 0x1005a707
mov dword [ebp - 0xdc], ebx
mov ebx, dword [ebp - 0x120]
mov eax, dword [ebp - 0xdc]
push dword [ebp - 0x14]
inc eax
cmp edi, 0xffffffff
mov ecx, eax
mov dword [ebp - 0xdc], eax
cmovne ecx, edi
mov edi, dword [ebp - 0x80]
mov dword [ebp - 0x144], ecx
mov ecx, dword [ebp - 0x104]
cmp ecx, 0xffffffff
push edi
cmove ecx, eax
mov dword [ebp - 0x104], ecx
call fcn.1002bb00
mov ecx, dword [0x100d5d4c]
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 0x1005a7fc
nop dword [eax]
movzx eax, word [edx]
add edx, 2
mov ecx, eax
cmp eax, 0xa
jne 0x1005a7d6
maxss xmm1, xmm3
movaps xmm3, xmm6
jmp 0x1005a7f8
cmp ecx, 0xd
je 0x1005a7f8
mov ecx, eax
cmp ecx, dword [esi]
jge 0x1005a7eb
mov eax, dword [esi + 8]
movss xmm0, dword [eax + ecx*4]
jmp 0x1005a7f0
movss xmm0, dword [esi + 0xc]
mulss xmm0, xmm2
addss xmm3, xmm0
cmp edx, edi
jb 0x1005a7c0
movd xmm4, dword [ebp - 0x144]
maxss xmm3, xmm1
mov ecx, dword [ebp - 0xcc]
mov edi, dword [ebp - 0x104]
cvtdq2ps xmm4, xmm4
movss xmm2, dword [ecx + 0x1930]
mulss xmm4, xmm2
movss dword [ebp - 0x80], xmm3
movss dword [ebp - 0xf8], xmm4
test edi, edi
js 0x1005a8fc
push dword [ebp - 0x14]
push dword [ebp - 0xfc]
call fcn.1002bb00
mov ecx, dword [0x100d5d4c]
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 - 0xfc]
jae 0x1005a8c2
mov ebx, dword [ebp - 0xfc]
nop dword [eax + eax]
movzx eax, word [edx]
add edx, 2
mov ecx, eax
cmp eax, 0xa
jne 0x1005a896
maxss xmm1, xmm3
movaps xmm3, xmm6
jmp 0x1005a8b8
cmp ecx, 0xd
je 0x1005a8b8
mov ecx, eax
cmp ecx, dword [esi]
jge 0x1005a8ab
mov eax, dword [esi + 8]
movss xmm0, dword [eax + ecx*4]
jmp 0x1005a8b0
movss xmm0, dword [esi + 0xc]
mulss xmm0, xmm2
addss xmm3, xmm0
cmp edx, ebx
jb 0x1005a880
mov ebx, dword [ebp - 0x120]
mov ecx, dword [ebp - 0xcc]
maxss xmm3, xmm1
movss xmm4, dword [ebp - 0xf8]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss xmm2, dword [ecx + 0x1930]
mulss xmm0, xmm2
movss dword [ebp - 0x130], xmm3
movss xmm3, dword [ebp - 0x80]
movss dword [ebp - 0x140], xmm0
mov edx, dword [ebp - 0xe0]
movss xmm5, dword [ebp - 0x128]
test dl, dl
je 0x1005a927
movd xmm0, dword [ebp - 0xdc]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x34], xmm5
mulss xmm0, xmm2
movss dword [ebp - 0x30], xmm0
cmp byte [ebp - 0xd5], 0
je 0x1005aa31
cmp byte [ebx + 0xe6c], 0
je 0x1005aa31
test dword [ebp + 0x1c], 0x1000
jne 0x1005a991
movss xmm1, dword [ebx + 0x38]
movaps xmm2, xmm5
comiss xmm1, xmm3
mulss xmm2, dword [0x100c5b4c]
jbe 0x1005a96f
movaps xmm1, xmm3
movaps xmm0, xmm6
subss xmm1, xmm2
maxss xmm0, xmm1
jmp 0x1005a97f
movaps xmm0, xmm3
subss xmm0, xmm5
comiss xmm0, xmm1
jb 0x1005a998
addss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebx + 0x38], xmm0
jmp 0x1005a998
mov dword [ebx + 0x38], 0
test dl, dl
je 0x1005aa2a
movss xmm2, dword [ebp - 0x124]
movaps xmm0, xmm4
subss xmm0, dword [ecx + 0x1930]
movss xmm3, dword [ebp - 0x13c]
comiss xmm2, xmm0
jbe 0x1005a9c9
movaps xmm2, xmm6
maxss xmm2, xmm0
jmp 0x1005a9e5
movaps xmm0, xmm4
subss xmm0, xmm3
comiss xmm0, xmm2
jb 0x1005a9e5
movss xmm2, dword [ecx + 0x1554]
addss xmm2, xmm2
addss xmm2, xmm0
comiss xmm6, xmm2
movss xmm1, dword [ecx + 0x1554]
jbe 0x1005a9f7
movaps xmm1, xmm6
jmp 0x1005aa0c
addss xmm1, xmm1
addss xmm1, dword [ebp - 0x30]
subss xmm1, xmm3
maxss xmm1, xmm6
minss xmm1, xmm2
mov eax, dword [ebp - 0x108]
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 - 0x110], 0
movss xmm0, dword [ebx + 0x38]
movss dword [ebp - 0xdc], xmm0
je 0x1005acc1
mov edx, dword [ebx + 0x44]
mov eax, edx
mov ecx, dword [ebx + 0x40]
cmp ecx, edx
mov edi, dword [ebp - 0x14]
cmovl eax, ecx
cmovge edx, ecx
cmp byte [ebp - 0xd5], 0
lea esi, [edi + eax*2]
lea edi, [edi + edx*2]
je 0x1005aa77
movss xmm0, dword [0x10083068]
jmp 0x1005aa7f
movss xmm0, dword [0x100c6630]
push ecx
movss dword [esp], xmm0
push 0x2f
call fcn.1002ab20
add esp, 8
mov dword [ebp - 0x14], eax
cmp byte [ebp - 0xe0], 0
je 0x1005aab0
xorps xmm0, xmm0
movss dword [ebp - 0x118], xmm0
movss dword [ebp - 0x144], xmm0
jmp 0x1005aac3
movss xmm0, dword [0x10084644]
movss dword [ebp - 0x144], xmm0
xorps xmm0, xmm0
movss xmm5, dword [ebp - 0x18]
movss xmm3, dword [ebp - 0x1c]
addss xmm5, dword [ebp - 0x140]
addss xmm3, dword [ebp - 0x130]
subss xmm5, xmm0
subss xmm3, dword [ebp - 0xdc]
movss dword [ebp - 0x130], xmm5
cmp esi, edi
jae 0x1005acc1
movss xmm6, dword [ebp - 0x20]
movss xmm7, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xcc]
mov ebx, dword [ebp - 0x14]
nop dword [eax]
movaps xmm0, xmm6
addss xmm0, dword [ecx + 0x1930]
comiss xmm5, xmm0
ja 0x1005acbb
comiss xmm7, xmm5
jbe 0x1005ab4a
cmp esi, edi
jae 0x1005ac96
mov ax, word [esi]
add esi, 2
cmp ax, 0xa
je 0x1005ac96
cmp esi, edi
jb 0x1005ab31
jmp 0x1005acbb
mov eax, dword [0x100d5d4c]
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 0x1005abb6
nop
movzx eax, word [esi]
add esi, 2
mov ecx, eax
cmp eax, 0xa
je 0x1005aba3
cmp ecx, 0xd
je 0x1005ab9d
cmp ecx, dword [edx]
jge 0x1005ab90
mov eax, dword [edx + 8]
movss xmm0, dword [eax + ecx*4]
jmp 0x1005ab95
movss xmm0, dword [edx + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp esi, edi
jb 0x1005ab70
jmp 0x1005abad
xorps xmm4, xmm4
maxss xmm4, xmm1
xorps xmm1, xmm1
mov ecx, dword [ebp - 0xcc]
xorps xmm0, xmm0
maxss xmm1, xmm4
comiss xmm0, xmm1
jb 0x1005abef
mov eax, dword [ecx + 0x192c]
cmp dword [eax], 0x20
jle 0x1005abd7
mov eax, dword [eax + 8]
movss xmm0, dword [eax + 0x80]
jmp 0x1005abdc
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [0x10083030]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm2, dword [ebp - 0x118]
addss xmm1, xmm3
subss xmm2, dword [ecx + 0x1930]
movss xmm0, dword [ebp - 0x144]
addss xmm3, dword [0x10084400]
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 - 0x3c], xmm1
maxss xmm2, xmm7
movss dword [ebp - 0x44], xmm3
comiss xmm0, xmm7
movss dword [ebp - 0x40], xmm2
movss dword [ebp - 0x38], xmm0
jbe 0x1005ac96
comiss xmm6, xmm2
jbe 0x1005ac96
comiss xmm1, dword [ebp - 0x2c]
jbe 0x1005ac96
comiss xmm4, xmm3
jbe 0x1005ac96
push 0xf
push ecx
mov dword [esp], 0
lea eax, [ebp - 0x3c]
push ebx
push eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 0x284]
call fcn.10039b70
movss xmm6, dword [ebp - 0x20]
movss xmm7, dword [ebp - 0x28]
movss xmm5, dword [ebp - 0x130]
mov ecx, dword [ebp - 0xcc]
movss xmm3, dword [ebp - 0x1c]
addss xmm5, dword [ecx + 0x1930]
subss xmm3, dword [ebp - 0xdc]
movss dword [ebp - 0x130], xmm5
cmp esi, edi
jb 0x1005ab10
mov ebx, dword [ebp - 0x120]
cmp byte [ebp - 0xe0], 0
mov esi, dword [ebp - 0xd4]
jne 0x1005ace3
mov eax, esi
sub eax, dword [ebp - 0xe8]
cmp eax, 0x200000
jge 0x1005ad74
movzx eax, byte [ebp - 0xc5]
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.1002ab20
movss xmm0, dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
subss xmm0, dword [ebp - 0xdc]
mov edi, dword [ebp - 0x108]
add esp, 8
xor edx, edx
cmp byte [ebp - 0xe0], dl
cmovne ecx, edx
movss dword [ebp - 0x11c], xmm0
movss xmm0, dword [ebp - 0x18]
subss xmm0, dword [0x10084400]
push ecx
push ecx
mov dword [esp], edx
push esi
push dword [ebp - 0xe8]
mov esi, dword [ebp - 0xcc]
push eax
lea eax, [ebp - 0x11c]
movss dword [ebp - 0x118], xmm0
push eax
movss xmm0, dword [esi + 0x1930]
push ecx
mov ecx, dword [edi + 0x284]
movss dword [esp], xmm0
push dword [esi + 0x192c]
call fcn.10039e40
jmp 0x1005ad80
mov esi, dword [ebp - 0xcc]
mov edi, dword [ebp - 0x108]
cmp byte [ebp - 0xd5], 0
je 0x1005af18
movss xmm0, dword [esi + 0x18]
addss xmm0, dword [ebx + 0xe68]
movss dword [ebx + 0xe68], xmm0
cmp byte [esi + 0xb2], 0
je 0x1005adf2
xorps xmm1, xmm1
comiss xmm1, xmm0
jae 0x1005adf2
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x11c], xmm0
fld qword [ebp - 0x11c]
fld qword [0x100cad08]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
movss xmm0, dword [0x100c664c]
fstp qword [ebp - 0x11c]
movsd xmm1, qword [ebp - 0x11c]
cvtpd2ps xmm1, xmm1
comiss xmm0, xmm1
jae 0x1005adf2
xor al, al
jmp 0x1005adf4
mov al, 1
movss xmm0, dword [ebp - 0x18]
movss xmm1, dword [ebp - 0x1c]
movss xmm5, dword [0x10083068]
addss xmm0, dword [ebp - 0xf8]
addss xmm1, dword [ebp - 0x80]
subss xmm0, dword [0x10084400]
subss xmm1, dword [ebp - 0xdc]
movss dword [ebp - 0xdc], xmm0
movaps xmm2, xmm0
movss dword [ebp - 0x118], xmm1
movaps xmm4, xmm1
movss dword [ebp - 0x44], xmm1
movaps xmm3, xmm0
addss xmm4, xmm5
subss xmm2, dword [esi + 0x1930]
subss xmm3, dword [0x100c6764]
movss dword [ebp - 0x3c], xmm4
addss xmm2, dword [0x10083030]
movss dword [ebp - 0x38], xmm3
movss dword [ebp - 0x40], xmm2
test al, al
je 0x1005aeeb
comiss xmm3, dword [ebp - 0x28]
jbe 0x1005aeeb
movss xmm0, dword [ebp - 0x20]
comiss xmm0, xmm2
jbe 0x1005aee3
comiss xmm4, dword [ebp - 0x2c]
jbe 0x1005aee3
movss xmm0, dword [ebp - 0x24]
comiss xmm0, xmm1
jbe 0x1005aee3
sub esp, 8
movss dword [ebp - 0x134], xmm1
movss dword [ebp - 0x130], xmm3
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
push 0
call fcn.1002ab20
mov ecx, dword [edi + 0x284]
add esp, 8
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10038d00
movss xmm1, dword [ebp - 0x118]
movss xmm5, dword [0x10083068]
movss xmm0, dword [ebp - 0xdc]
cmp byte [ebp - 0xf0], 0
mov ebx, dword [ebp - 0xd4]
jne 0x1005af1e
subss xmm0, dword [esi + 0x1930]
subss xmm1, xmm5
movss dword [esi + 0x2eac], xmm0
movss dword [esi + 0x2ea8], xmm1
jmp 0x1005af1e
mov ebx, dword [ebp - 0xd4]
mov esi, dword [ebp - 0xe8]
cmp byte [ebp - 0x138], 0
je 0x1005af3b
cmp byte [ebp - 0xc5], 0
jne 0x1005af3b
call fcn.10031860
cmp byte [ebp - 0xe0], 0
je 0x1005afce
mov ecx, dword [0x100d5d4c]
mov eax, dword [ecx + 0x1a6c]
mov byte [eax + 0x84], 1
mov eax, dword [ecx + 0x1a6c]
cmp byte [eax + 0x87], 0
jne 0x1005afc4
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 - 0x6c], xmm0
movss xmm0, dword [eax + 0xd4]
lea eax, [ebp - 0x34]
push ecx
mov dword [esp], 0xbf800000
push eax
movss dword [ebp - 0x68], xmm0
movss dword [ebp - 0x64], xmm2
movss dword [ebp - 0x60], xmm1
call fcn.1002d120
push 0
lea eax, [ebp - 0x6c]
push 0
push eax
call fcn.1002cd60
add esp, 0x14
call fcn.100294d0
call fcn.100299a0
mov eax, dword [ebp - 0xcc]
cmp byte [eax + 0x2efc], 0
je 0x1005b003
cmp byte [ebp - 0x138], 0
je 0x1005afef
cmp byte [ebp - 0xc5], 0
je 0x1005b003
push ebx
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.1002d4e0
mov eax, dword [ebp - 0xcc]
add esp, 0xc
movss xmm0, dword [ebp - 0x5c]
comiss xmm0, dword [0x10084400]
jbe 0x1005b05f
movss xmm0, dword [ebp - 0x88]
addss xmm0, dword [eax + 0x1568]
push 1
push 0
push dword [ebp - 0x14c]
movss dword [ebp - 0x11c], xmm0
movss xmm0, dword [ebp - 0x8c]
addss xmm0, dword [eax + 0x1554]
movss dword [ebp - 0x118], xmm0
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
call fcn.10032810
add esp, 0x14
mov al, byte [ebp - 0xe1]
mov ebx, dword [ebp + 0x1c]
test al, al
je 0x1005b088
test ebx, 0x200000
jne 0x1005b088
push dword [ebp - 0xf4]
call fcn.1002d730
mov al, byte [ebp - 0xe1]
add esp, 4
movzx ecx, byte [ebp - 0xe2]
test bl, 0x20
movzx eax, al
cmovne eax, ecx
jmp 0x100583df