Function at 0x100d7400
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012c3cf
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa04
mov eax, dword [0x1015e074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x620]
push eax
call fcn.100d6070
add esp, 4
mov ecx, dword [0x10183a60]
mov dword [ebp - 0x5b8], ecx
lea edx, [ebp - 0x620]
push edx
lea eax, [ebp - 0x1c0]
push eax
mov ecx, dword [ebp - 0x5b8]
call fcn.10123e10
lea ecx, [ebp - 0x1ec]
call fcn.1002f4c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x208]
call fcn.10003830
mov byte [ebp - 4], 2
mov ecx, dword [ebx + 8]
push ecx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x5bc], eax
lea edx, [ebp - 0x5bc]
push edx
lea eax, [ebp - 0x720]
push eax
mov ecx, 0x10177e78
call fcn.1002cee0
mov dword [ebp - 0x5c4], eax
lea ecx, [ebp - 0x7a0]
push ecx
mov ecx, 0x10177e78
call fcn.100048f0
mov dword [ebp - 0x5c0], eax
mov edx, dword [ebp - 0x5c0]
push edx
mov ecx, dword [ebp - 0x5c4]
call fcn.10004d90
movzx eax, al
test eax, eax
je 0x100d7551
mov ecx, dword [ebx + 8]
push ecx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x5cc], eax
xorps xmm0, xmm0
movss dword [ebp - 0x5c8], xmm0
lea edx, [ebp - 0x5c8]
push edx
lea eax, [ebp - 0x5cc]
push eax
lea ecx, [ebp - 0x7c0]
call fcn.1000de10
lea ecx, [ebp - 0x7c0]
push ecx
lea edx, [ebp - 0x9f8]
push edx
mov ecx, 0x10177e78
call fcn.1002d0c0
mov eax, dword [ebx + 8]
push eax
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x5dc], eax
lea ecx, [ebp - 0x5dc]
push ecx
lea edx, [ebp - 0x7a4]
push edx
mov ecx, 0x10177e68
call fcn.100298d0
mov dword [ebp - 0x5e4], eax
lea eax, [ebp - 0x7a8]
push eax
mov ecx, 0x10177e68
call fcn.100048f0
mov dword [ebp - 0x5e0], eax
mov ecx, dword [ebp - 0x5e0]
push ecx
mov ecx, dword [ebp - 0x5e4]
call fcn.10004d90
movzx edx, al
test edx, edx
je 0x100d75ff
mov eax, dword [ebx + 8]
push eax
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x5ec], eax
xorps xmm0, xmm0
movss dword [ebp - 0x5e8], xmm0
lea ecx, [ebp - 0x5e8]
push ecx
lea edx, [ebp - 0x5ec]
push edx
lea ecx, [ebp - 0x7c8]
call fcn.1000de10
lea eax, [ebp - 0x7c8]
push eax
lea ecx, [ebp - 0x980]
push ecx
mov ecx, 0x10177e68
call fcn.1002ba70
mov edx, dword [ebx + 8]
push edx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x5f0], eax
lea eax, [ebp - 0x5f0]
push eax
lea ecx, [ebp - 0x7ac]
push ecx
lea ecx, [ebp - 0x1ec]
call fcn.100298d0
mov dword [ebp - 0x5f8], eax
lea edx, [ebp - 0x7b0]
push edx
lea ecx, [ebp - 0x1ec]
call fcn.100048f0
mov dword [ebp - 0x5f4], eax
mov eax, dword [ebp - 0x5f4]
push eax
mov ecx, dword [ebp - 0x5f8]
call fcn.10004d90
movzx ecx, al
test ecx, ecx
je 0x100d7754
mov edx, dword [ebx + 8]
push edx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x600], eax
lea ecx, [ebp - 0x1f5]
call fcn.10002ed0
mov dword [ebp - 0x5fc], eax
push 0x10142fa3
lea ecx, [ebp - 0x90]
call fcn.100039e0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x90]
push ecx
lea ecx, [ebp - 0x990]
call fcn.10007190
mov edx, dword [eax]
mov dword [ebp - 0x5d8], edx
mov eax, dword [eax + 4]
mov dword [ebp - 0x5d4], eax
mov ecx, dword [ebp - 0x5fc]
push ecx
mov edx, dword [ebp - 0x5d4]
push edx
mov eax, dword [ebp - 0x5d8]
push eax
lea ecx, [ebp - 0x7f8]
call fcn.100223b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7f8]
push ecx
lea edx, [ebp - 0x600]
push edx
lea ecx, [ebp - 0x848]
call fcn.10030150
mov byte [ebp - 4], 5
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0x998]
push ecx
lea ecx, [ebp - 0x1ec]
call fcn.10030110
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x848]
call fcn.1002f3d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x7f8]
call fcn.10003850
mov byte [ebp - 4], 2
push fcn.10003900
push 1
push 0x18
lea edx, [ebp - 0x90]
push edx
call fcn.10089b4b
mov eax, dword [ebx + 8]
push eax
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x604], eax
lea ecx, [ebp - 0x604]
push ecx
lea edx, [ebp - 0x7b4]
push edx
mov ecx, 0x10177e70
call fcn.1002cee0
mov dword [ebp - 0x60c], eax
lea eax, [ebp - 0x7fc]
push eax
mov ecx, 0x10177e70
call fcn.100048f0
mov dword [ebp - 0x608], eax
mov ecx, dword [ebp - 0x608]
push ecx
mov ecx, dword [ebp - 0x60c]
call fcn.10004d90
movzx edx, al
test edx, edx
je 0x100d7808
mov eax, dword [ebx + 8]
push eax
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x610], eax
push 0x10142fd7
lea ecx, [ebp - 0x610]
push ecx
lea ecx, [ebp - 0xac]
call fcn.100301d0
mov byte [ebp - 4], 6
lea edx, [ebp - 0xac]
push edx
lea eax, [ebp - 0x9a0]
push eax
mov ecx, 0x10177e70
call fcn.10030190
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xac]
call fcn.10021100
mov ecx, dword [ebx + 8]
push ecx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x614], eax
lea edx, [ebp - 0x614]
push edx
lea eax, [ebp - 0x800]
push eax
lea ecx, [ebp - 0x208]
call fcn.1002cee0
mov dword [ebp - 0x29c], eax
lea ecx, [ebp - 0x804]
push ecx
lea ecx, [ebp - 0x208]
call fcn.100048f0
mov dword [ebp - 0x618], eax
mov edx, dword [ebp - 0x618]
push edx
mov ecx, dword [ebp - 0x29c]
call fcn.10004d90
movzx eax, al
test eax, eax
je 0x100d78b8
mov ecx, dword [ebx + 8]
push ecx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x2a4], eax
mov dword [ebp - 0x2a0], 0xffffffec
lea edx, [ebp - 0x2a0]
push edx
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x7d0]
call fcn.1000de10
lea ecx, [ebp - 0x7d0]
push ecx
lea edx, [ebp - 0x9a8]
push edx
lea ecx, [ebp - 0x208]
call fcn.1002d0c0
movss xmm0, dword [ebp - 0x1c0]
addss xmm0, dword [0x1014fc18]
movss dword [ebp - 0x1c0], xmm0
movzx eax, byte [ebx + 0x1c]
test eax, eax
je 0x100d78f0
movss xmm0, dword [ebp - 0x1bc]
addss xmm0, dword [0x1014fc14]
movss dword [ebp - 0x1bc], xmm0
mov dword [ebp - 0x2a8], 0x10e
mov ecx, dword [0x10183a60]
cvttss2si edx, dword [ecx + 0x100]
sub edx, 0x5a
mov dword [ebp - 0x2ac], edx
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x2ac]
push ecx
call fcn.10028200
add esp, 8
mov edx, dword [eax]
mov dword [ebp - 0x1b8], edx
mov dword [ebp - 0x808], 0x14
lea eax, [ebp - 0x80c]
push eax
call fcn.100fff50
add esp, 4
mov ecx, eax
call fcn.10003660
mov dword [ebp - 0x288], eax
mov ecx, dword [ebp - 0x288]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x2b0], eax
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x810], esp
push ecx
movss xmm0, dword [0x1014fc14]
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x1b8]
push ecx
movss dword [esp], xmm0
call fcn.10123ea0
sub esp, 8
mov esi, esp
mov dword [ebp - 0x814], esp
push ecx
movss xmm0, dword [0x1014fc10]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x9b0]
call fcn.10123ea0
push eax
push esi
lea ecx, [ebp - 0x1c0]
call fcn.10123dc0
mov ecx, dword [ebp - 0x288]
call dword [ebp - 0x2b0]
movzx ecx, al
test ecx, ecx
je 0x100d7a6f
lea edx, [ebp - 0x818]
push edx
call fcn.100fff50
add esp, 4
mov ecx, eax
call fcn.10003660
mov dword [ebp - 0x284], eax
mov eax, dword [ebp - 0x284]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x2b4], edx
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x81c], esp
mov eax, dword [0x10183a60]
add eax, 0x100
push eax
call fcn.10123d70
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x820], esp
mov edx, dword [0x10183a60]
add edx, 0xf8
push edx
call fcn.10123d70
mov ecx, dword [ebp - 0x284]
call dword [ebp - 0x2b4]
movzx eax, al
test eax, eax
je 0x100d7a6f
movzx ecx, byte [ebx + 0x1c]
test ecx, ecx
je 0x100d7a6f
mov dword [ebp - 0x280], 1
jmp 0x100d7a79
mov dword [ebp - 0x280], 0
mov dl, byte [ebp - 0x280]
mov byte [ebp - 0x1c1], dl
lea eax, [ebp - 0x824]
push eax
call fcn.100fff50
add esp, 4
mov ecx, eax
call fcn.10003660
mov dword [ebp - 0x27c], eax
mov ecx, dword [ebp - 0x27c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x2b8], eax
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x828], esp
imul edx, dword [ebx + 0x20], 0x14
cvtsi2ss xmm0, edx
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x1b8]
push ecx
movss dword [esp], xmm0
call fcn.10123ea0
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x82c], esp
lea eax, [ebp - 0x1c0]
push eax
call fcn.10123d70
mov ecx, dword [ebp - 0x27c]
call dword [ebp - 0x2b8]
movzx ecx, al
test ecx, ecx
je 0x100d7b90
lea edx, [ebp - 0x830]
push edx
call fcn.100fff50
add esp, 4
mov ecx, eax
call fcn.10003660
mov dword [ebp - 0x290], eax
mov eax, dword [ebp - 0x290]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x2bc], edx
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x834], esp
mov eax, dword [0x10183a60]
add eax, 0x100
push eax
call fcn.10123d70
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x838], esp
mov edx, dword [0x10183a60]
add edx, 0xf8
push edx
call fcn.10123d70
mov ecx, dword [ebp - 0x290]
call dword [ebp - 0x2bc]
movzx eax, al
test eax, eax
je 0x100d7b90
mov dword [ebp - 0x274], 1
jmp 0x100d7b9a
mov dword [ebp - 0x274], 0
mov cl, byte [ebp - 0x274]
mov byte [ebp - 0x1ce], cl
push 0xff
push 0x23
push 0x23
push 0x23
lea ecx, [ebp - 0x7b8]
call fcn.1000ea40
mov edx, dword [eax]
mov dword [ebp - 0x2c0], edx
mov eax, dword [ebp - 0x2c0]
mov dword [ebp - 0x2c4], eax
mov ecx, dword [ebp - 0x2c4]
push ecx
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x624], esp
imul edx, dword [ebx + 0x20], 0x14
cvtsi2ss xmm0, edx
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x1b8]
push ecx
movss dword [esp], xmm0
call fcn.10123ea0
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x628], esp
lea eax, [ebp - 0x1c0]
push eax
call fcn.10123d70
call fcn.10119510
add esp, 0x14
movss xmm0, dword [ebp - 0x1c0]
call fcn.10124ab0
mov dword [ebp - 0x44], eax
movss xmm0, dword [ebp - 0x1bc]
addss xmm0, dword [0x1014fb0c]
call fcn.10124ab0
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x1b8]
mov dword [ebp - 0x3c], ecx
imul edx, dword [ebx + 0x20], 0x14
sub edx, 2
mov dword [ebp - 0x38], edx
xorps xmm0, xmm0
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [0x1014fb0c]
movss dword [ebp - 0x30], xmm0
sub esp, 0x18
mov eax, esp
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
mov edx, dword [ebp - 0x40]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x3c]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x34]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x30]
mov dword [eax + 0x14], edx
call fcn.101193f0
add esp, 0x18
mov byte [ebp - 0x1cc], 0
mov byte [ebp - 0x1cd], 0
mov dword [ebp - 0x1d8], 0
jmp 0x100d7ccb
mov eax, dword [ebp - 0x1d8]
add eax, 1
mov dword [ebp - 0x1d8], eax
lea ecx, [ebx + 0xc]
call fcn.10021ff0
cmp dword [ebp - 0x1d8], eax
jae 0x100d854e
mov ecx, dword [ebp - 0x1d8]
push ecx
lea ecx, [ebx + 0xc]
call fcn.10021fc0
push eax
lea ecx, [ebp - 0x74]
call fcn.10003aa0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x62c]
push edx
lea ecx, [ebp - 0x74]
call fcn.10019d20
mov eax, dword [eax]
mov dword [ebp - 0x2c8], eax
mov ecx, dword [ebp - 0x2c8]
mov dword [ebp - 0x2d4], ecx
lea edx, [ebp - 0x630]
push edx
lea ecx, [ebp - 0x74]
call fcn.1002f0f0
mov eax, dword [eax]
mov dword [ebp - 0x2cc], eax
mov ecx, dword [ebp - 0x2cc]
mov dword [ebp - 0x2d8], ecx
lea edx, [ebp - 0x634]
push edx
lea ecx, [ebp - 0x74]
call fcn.10019d20
mov eax, dword [eax]
mov dword [ebp - 0x2d0], eax
mov ecx, dword [ebp - 0x2d0]
mov dword [ebp - 0x2dc], ecx
push 0x100942ad
mov edx, dword [ebp - 0x2d4]
push edx
mov eax, dword [ebp - 0x2d8]
push eax
mov ecx, dword [ebp - 0x2dc]
push ecx
lea edx, [ebp - 0x638]
push edx
call fcn.1002f240
add esp, 0x14
mov eax, dword [ebx + 8]
push eax
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x2e0], eax
lea ecx, [ebp - 0x2e0]
push ecx
mov ecx, 0x10177e70
call fcn.1002f530
push eax
lea ecx, [ebp - 0x5c]
call fcn.10003aa0
mov byte [ebp - 4], 8
lea edx, [ebp - 0x63c]
push edx
lea ecx, [ebp - 0x5c]
call fcn.10019d20
mov eax, dword [eax]
mov dword [ebp - 0x2e4], eax
mov ecx, dword [ebp - 0x2e4]
mov dword [ebp - 0x2f0], ecx
lea edx, [ebp - 0x640]
push edx
lea ecx, [ebp - 0x5c]
call fcn.1002f0f0
mov eax, dword [eax]
mov dword [ebp - 0x2e8], eax
mov ecx, dword [ebp - 0x2e8]
mov dword [ebp - 0x2f4], ecx
lea edx, [ebp - 0x644]
push edx
lea ecx, [ebp - 0x5c]
call fcn.10019d20
mov eax, dword [eax]
mov dword [ebp - 0x2ec], eax
mov ecx, dword [ebp - 0x2ec]
mov dword [ebp - 0x2f8], ecx
push 0x100942ad
mov edx, dword [ebp - 0x2f0]
push edx
mov eax, dword [ebp - 0x2f4]
push eax
mov ecx, dword [ebp - 0x2f8]
push ecx
lea edx, [ebp - 0x648]
push edx
call fcn.1002f240
add esp, 0x14
push 0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x74]
call fcn.1002f610
cmp eax, 0xffffffff
jne 0x100d7e90
lea ecx, [ebp - 0x5c]
call fcn.10017ab0
test eax, eax
jbe 0x100d7e90
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x5c]
call fcn.10003900
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x74]
call fcn.10003900
jmp 0x100d7cbc
mov ecx, dword [ebx + 8]
push ecx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x2fc], eax
lea edx, [ebp - 0x2fc]
push edx
lea ecx, [ebp - 0x1ec]
call fcn.1002f480
mov dword [ebp - 0x304], eax
mov eax, dword [ebp - 0x1d8]
push eax
lea ecx, [ebx + 0xc]
call fcn.10021fc0
mov dword [ebp - 0x300], eax
mov ecx, dword [ebp - 0x300]
push ecx
mov ecx, dword [ebp - 0x304]
call fcn.1002ea20
mov edx, dword [ebx + 8]
push edx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x308], eax
lea eax, [ebp - 0x308]
push eax
lea ecx, [ebp - 0x208]
call fcn.1002f3f0
mov dword [ebp - 0x270], eax
mov ecx, dword [ebp - 0x270]
mov edx, dword [ecx]
add edx, 0x14
mov eax, dword [ebp - 0x270]
mov dword [eax], edx
mov ecx, dword [ebx + 8]
push ecx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x30c], eax
lea edx, [ebp - 0x30c]
push edx
lea ecx, [ebp - 0x1ec]
call fcn.1002f480
mov ecx, eax
call fcn.10021ff0
cmp eax, dword [ebx + 0x20]
jbe 0x100d7f5a
mov dword [ebp - 0x268], 1
jmp 0x100d7f64
mov dword [ebp - 0x268], 0
mov al, byte [ebp - 0x268]
mov byte [ebp - 0x1d9], al
mov ecx, dword [ebx + 8]
push ecx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x310], eax
mov edx, dword [ebx + 8]
push edx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x314], eax
lea eax, [ebp - 0x310]
push eax
lea ecx, [ebp - 0x208]
call fcn.1002f3f0
cvtsi2ss xmm0, dword [eax]
lea ecx, [ebp - 0x314]
push ecx
mov ecx, 0x10177e78
movss dword [ebp - 0x318], xmm0
call fcn.1002f590
movss xmm0, dword [ebp - 0x318]
addss xmm0, dword [eax]
push ecx
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x9b8]
call fcn.10123ea0
push eax
lea edx, [ebp - 0x200]
push edx
lea ecx, [ebp - 0x1c0]
call fcn.10123e10
movzx eax, byte [ebp - 0x1d9]
test eax, eax
je 0x100d8013
mov dword [ebp - 0x264], 6
jmp 0x100d801d
mov dword [ebp - 0x264], 0
mov ecx, dword [ebp - 0x1b8]
sub ecx, dword [ebp - 0x264]
cvtsi2ss xmm0, ecx
push ecx
movss xmm1, dword [0x1014fc18]
movss dword [esp], xmm1
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x298]
call fcn.10123ea0
movss xmm0, dword [ebp - 0x1bc]
subss xmm0, dword [0x1014fc18]
movss xmm1, dword [ebp - 0x1fc]
comiss xmm1, xmm0
jb 0x100d8075
mov dword [ebp - 0x278], 1
jmp 0x100d807f
mov dword [ebp - 0x278], 0
mov dl, byte [ebp - 0x278]
mov byte [ebp - 0x1ca], dl
movss xmm0, dword [ebp - 0x1fc]
addss xmm0, dword [ebp - 0x294]
movss xmm1, dword [ebp - 0x1bc]
addss xmm1, dword [0x1014fc18]
mov eax, dword [ebx + 0x20]
sub eax, 1
imul ecx, eax, 0x14
cvtsi2ss xmm2, ecx
addss xmm1, xmm2
comiss xmm1, xmm0
jb 0x100d80cd
mov dword [ebp - 0x25c], 1
jmp 0x100d80d7
mov dword [ebp - 0x25c], 0
mov dl, byte [ebp - 0x25c]
mov byte [ebp - 0x1c9], dl
movzx eax, byte [ebp - 0x1ca]
test eax, eax
je 0x100d8105
movzx ecx, byte [ebp - 0x1c9]
test ecx, ecx
je 0x100d8105
mov dword [ebp - 0x258], 1
jmp 0x100d810f
mov dword [ebp - 0x258], 0
mov dl, byte [ebp - 0x258]
mov byte [ebp - 0x1cb], dl
movzx eax, byte [ebp - 0x1c9]
test eax, eax
jne 0x100d812d
mov byte [ebp - 0x1cc], 1
movzx ecx, byte [ebp - 0x1ca]
test ecx, ecx
jne 0x100d813f
mov byte [ebp - 0x1cd], 1
movzx edx, byte [ebp - 0x1ce]
test edx, edx
je 0x100d8313
movzx eax, byte [ebp - 0x1cb]
test eax, eax
je 0x100d8313
lea ecx, [ebp - 0x64c]
push ecx
call fcn.100fff50
add esp, 4
mov ecx, eax
call fcn.10003660
mov dword [ebp - 0x254], eax
mov edx, dword [ebp - 0x254]
mov eax, dword [edx]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x31c], ecx
sub esp, 8
mov esi, esp
mov dword [ebp - 0x650], esp
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1014fbd4]
movss dword [esp], xmm0
lea ecx, [ebp - 0x9c0]
call fcn.10123ea0
push eax
push esi
lea ecx, [ebp - 0x298]
call fcn.10123dc0
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x654], esp
lea edx, [ebp - 0x200]
push edx
call fcn.10123d70
mov ecx, dword [ebp - 0x254]
call dword [ebp - 0x31c]
movzx eax, al
test eax, eax
je 0x100d8313
movzx ecx, byte [ebp - 0x1c1]
test ecx, ecx
jne 0x100d8313
lea edx, [ebp - 0x658]
push edx
call fcn.100fff50
add esp, 4
mov ecx, eax
call fcn.10003660
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x24c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x320], edx
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x65c], esp
mov eax, dword [0x10183a60]
add eax, 0x100
push eax
call fcn.10123d70
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x660], esp
mov edx, dword [0x10183a60]
add edx, 0xf8
push edx
call fcn.10123d70
mov ecx, dword [ebp - 0x24c]
call dword [ebp - 0x320]
movzx eax, al
test eax, eax
je 0x100d8313
mov ecx, dword [0x10183a60]
cmp dword [ecx + 0x120], 0
jne 0x100d8313
push 0xff
push 0x2d
push 0x2d
push 0x2d
lea ecx, [ebp - 0x664]
call fcn.1000ea40
mov edx, dword [eax]
mov dword [ebp - 0x324], edx
mov eax, dword [ebp - 0x324]
mov dword [ebp - 0x328], eax
mov ecx, dword [ebp - 0x328]
push ecx
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x668], esp
lea edx, [ebp - 0x298]
push edx
call fcn.10123d70
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x66c], esp
lea eax, [ebp - 0x200]
push eax
call fcn.10123d70
call fcn.10119510
add esp, 0x14
push 1
call fcn.100dda10
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x100d8313
mov edx, dword [ebx + 0x18]
mov eax, dword [ebp - 0x1d8]
mov dword [edx], eax
movzx ecx, byte [ebp - 0x1cb]
test ecx, ecx
je 0x100d8531
mov edx, dword [ebx + 0x18]
mov eax, dword [edx]
cmp eax, dword [ebp - 0x1d8]
je 0x100d83e6
push 0xff
push 0xc8
push 0xc8
push 0xc8
lea ecx, [ebp - 0x670]
call fcn.1000ea40
mov ecx, dword [eax]
mov dword [ebp - 0x32c], ecx
mov edx, dword [ebp - 0x32c]
mov dword [ebp - 0x330], edx
push 0
mov eax, dword [ebp - 0x330]
push eax
sub esp, 8
mov esi, esp
mov dword [ebp - 0x674], esp
push ecx
movss xmm0, dword [0x1014fbcc]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1014fbf0]
movss dword [esp], xmm0
lea ecx, [ebp - 0x9c8]
call fcn.10123ea0
push eax
push esi
lea ecx, [ebp - 0x200]
call fcn.10123e10
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x678], esp
mov ecx, dword [ebp - 0x1d8]
push ecx
lea ecx, [ebx + 0xc]
call fcn.100281a0
mov ecx, eax
call fcn.1000ff40
push eax
mov ecx, esi
call fcn.100039e0
mov ecx, 0x10183af8
call fcn.10027f20
jmp 0x100d8531
push 0xff
push 0x1a
push 0x1a
push 0x1a
lea ecx, [ebp - 0x67c]
call fcn.1000ea40
mov edx, dword [eax]
mov dword [ebp - 0x334], edx
mov eax, dword [ebp - 0x334]
mov dword [ebp - 0x338], eax
mov ecx, dword [ebp - 0x338]
push ecx
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x680], esp
lea edx, [ebp - 0x298]
push edx
call fcn.10123d70
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x684], esp
lea eax, [ebp - 0x200]
push eax
call fcn.10123d70
call fcn.10119510
add esp, 0x14
lea ecx, [ebp - 0x688]
push ecx
mov ecx, dword [0x10177f68]
call fcn.100e1070
mov dword [ebp - 0x340], eax
mov edx, dword [0x10183a60]
movss xmm0, dword [0x1014fd00]
mulss xmm0, dword [edx + 0x18c]
cvttss2si eax, xmm0
mov dword [ebp - 0x33c], eax
push 1
push 0
mov ecx, dword [ebp - 0x33c]
push ecx
lea edx, [ebp - 0x68c]
push edx
mov ecx, dword [ebp - 0x340]
call fcn.10028880
mov eax, dword [eax]
mov dword [ebp - 0x344], eax
mov ecx, dword [ebp - 0x344]
mov dword [ebp - 0x348], ecx
push 0
mov edx, dword [ebp - 0x348]
push edx
sub esp, 8
mov esi, esp
mov dword [ebp - 0x690], esp
push ecx
movss xmm0, dword [0x1014fbcc]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1014fbf0]
movss dword [esp], xmm0
lea ecx, [ebp - 0x9d0]
call fcn.10123ea0
push eax
push esi
lea ecx, [ebp - 0x200]
call fcn.10123e10
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x694], esp
mov eax, dword [ebp - 0x1d8]
push eax
lea ecx, [ebx + 0xc]
call fcn.100281a0
mov ecx, eax
call fcn.1000ff40
push eax
mov ecx, esi
call fcn.100039e0
mov ecx, 0x10183af8
call fcn.10027f20
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x5c]
call fcn.10003900
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x74]
call fcn.10003900
jmp 0x100d7cbc
call fcn.10119350
movzx ecx, byte [ebp - 0x1cc]
test ecx, ecx
je 0x100d897d
mov edx, dword [ebx + 8]
push edx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x34c], eax
lea eax, [ebp - 0x34c]
push eax
lea ecx, [ebp - 0x1ec]
call fcn.1002f480
mov ecx, eax
call fcn.10021ff0
cmp eax, dword [ebx + 0x20]
jbe 0x100d897d
push 0xff
push 0
push 0
push 0
lea ecx, [ebp - 0x698]
call fcn.1000ea40
mov ecx, dword [eax]
mov dword [ebp - 0x350], ecx
mov edx, dword [ebp - 0x350]
mov dword [ebp - 0x354], edx
imul eax, dword [ebx + 0x20], 0x14
sub eax, 2
cvtsi2ss xmm0, eax
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x1b8]
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x9d8]
call fcn.10123ea0
push eax
lea ecx, [ebp - 0x9e0]
push ecx
lea ecx, [ebp - 0x1c0]
call fcn.10123e10
mov dword [ebp - 0x35c], eax
push ecx
movss xmm0, dword [0x1014fbf0]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1014fc0c]
movss dword [esp], xmm0
lea ecx, [ebp - 0x9e8]
call fcn.10123ea0
mov dword [ebp - 0x358], eax
mov edx, dword [ebp - 0x354]
push edx
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x69c], esp
push ecx
movss xmm0, dword [0x1014fb0c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1014fbd0]
movss dword [esp], xmm0
call fcn.10123ea0
sub esp, 8
mov eax, esp
mov dword [ebp - 0x6a0], esp
mov ecx, dword [ebp - 0x358]
push ecx
push eax
mov ecx, dword [ebp - 0x35c]
call fcn.10123dc0
call fcn.10119510
add esp, 0x14
push 0xff
push 0xcc
push 0xcc
push 0xcc
lea ecx, [ebp - 0x6a4]
call fcn.1000ea40
mov edx, dword [eax]
mov dword [ebp - 0x360], edx
mov eax, dword [ebp - 0x360]
mov dword [ebp - 0x364], eax
imul ecx, dword [ebx + 0x20], 0x14
sub ecx, 2
cvtsi2ss xmm0, ecx
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x1b8]
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x9f0]
call fcn.10123ea0
push eax
lea edx, [ebp - 0xa10]
push edx
lea ecx, [ebp - 0x1c0]
call fcn.10123e10
mov dword [ebp - 0x36c], eax
push ecx
movss xmm0, dword [0x1014fbec]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1014fc0c]
movss dword [esp], xmm0
lea ecx, [ebp - 0xa00]
call fcn.10123ea0
mov dword [ebp - 0x368], eax
mov eax, dword [ebp - 0x364]
push eax
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x6a8], esp
push ecx
movss xmm0, dword [0x1014fb0c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1014fbd0]
movss dword [esp], xmm0
call fcn.10123ea0
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x6ac], esp
mov edx, dword [ebp - 0x368]
push edx
push ecx
mov ecx, dword [ebp - 0x36c]
call fcn.10123dc0
call fcn.10119510
add esp, 0x14
push 0xff
push 0xcc
push 0xcc
push 0xcc
lea ecx, [ebp - 0x6b0]
call fcn.1000ea40
mov eax, dword [eax]
mov dword [ebp - 0x370], eax
mov ecx, dword [ebp - 0x370]
mov dword [ebp - 0x374], ecx
imul edx, dword [ebx + 0x20], 0x14
sub edx, 2
cvtsi2ss xmm0, edx
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x1b8]
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0xa08]
call fcn.10123ea0
push eax
lea eax, [ebp - 0x988]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.10123e10
mov dword [ebp - 0x37c], eax
push ecx
movss xmm0, dword [0x1014fbe8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1014fc08]
movss dword [esp], xmm0
lea ecx, [ebp - 0x850]
call fcn.10123ea0
mov dword [ebp - 0x378], eax
mov ecx, dword [ebp - 0x374]
push ecx
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x6b4], esp
push ecx
movss xmm0, dword [0x1014fb0c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1014fbac]
movss dword [esp], xmm0
call fcn.10123ea0
sub esp, 8
mov edx, esp
mov dword [ebp - 0x6b8], esp
mov eax, dword [ebp - 0x378]
push eax
push edx
mov ecx, dword [ebp - 0x37c]
call fcn.10123dc0
call fcn.10119510
add esp, 0x14
push 0xff
push 0xcc
push 0xcc
push 0xcc
lea ecx, [ebp - 0x6bc]
call fcn.1000ea40
mov ecx, dword [eax]
mov dword [ebp - 0x380], ecx
mov edx, dword [ebp - 0x380]
mov dword [ebp - 0x384], edx
imul eax, dword [ebx + 0x20], 0x14
sub eax, 2
cvtsi2ss xmm0, eax
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x1b8]
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x858]
call fcn.10123ea0
push eax
lea ecx, [ebp - 0x860]
push ecx
lea ecx, [ebp - 0x1c0]
call fcn.10123e10
mov dword [ebp - 0x38c], eax
push ecx
movss xmm0, dword [0x1014fbdc]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1014fc04]
movss dword [esp], xmm0
lea ecx, [ebp - 0x868]
call fcn.10123ea0
mov dword [ebp - 0x388], eax
mov edx, dword [ebp - 0x384]
push edx
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x6c0], esp
push ecx
movss xmm0, dword [0x1014fb0c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1014fb0c]
movss dword [esp], xmm0
call fcn.10123ea0
sub esp, 8
mov eax, esp
mov dword [ebp - 0x6c4], esp
mov ecx, dword [ebp - 0x388]
push ecx
push eax
mov ecx, dword [ebp - 0x38c]
call fcn.10123dc0
call fcn.10119510
add esp, 0x14
movzx edx, byte [ebp - 0x1cd]
test edx, edx
je 0x100d8daa
mov eax, dword [ebx + 8]
push eax
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x390], eax
lea ecx, [ebp - 0x390]
push ecx
mov ecx, 0x10177e78
call fcn.1002f590
movss xmm0, dword [0x1014fdb4]
comiss xmm0, dword [eax]
jb 0x100d8daa
push 0xff
push 0xcc
push 0xcc
push 0xcc
lea ecx, [ebp - 0x6c8]
call fcn.1000ea40
mov edx, dword [eax]
mov dword [ebp - 0x394], edx
mov eax, dword [ebp - 0x394]
mov dword [ebp - 0x398], eax
push ecx
movss xmm0, dword [0x1014fbdc]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x1b8]
sub ecx, 0x14
cvtsi2ss xmm0, ecx
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x870]
call fcn.10123ea0
push eax
lea edx, [ebp - 0x878]
push edx
lea ecx, [ebp - 0x1c0]
call fcn.10123e10
mov dword [ebp - 0x3a0], eax
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1014fbd0]
movss dword [esp], xmm0
lea ecx, [ebp - 0x880]
call fcn.10123ea0
mov dword [ebp - 0x39c], eax
mov eax, dword [ebp - 0x398]
push eax
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x6cc], esp
push ecx
movss xmm0, dword [0x1014fb0c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1014fb0c]
movss dword [esp], xmm0
call fcn.10123ea0
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x6d0], esp
mov edx, dword [ebp - 0x39c]
push edx
push ecx
mov ecx, dword [ebp - 0x3a0]
call fcn.10123e10
call fcn.10119510
add esp, 0x14
push 0xff
push 0xcc
push 0xcc
push 0xcc
lea ecx, [ebp - 0x6d4]
call fcn.1000ea40
mov eax, dword [eax]
mov dword [ebp - 0x3a4], eax
mov ecx, dword [ebp - 0x3a4]
mov dword [ebp - 0x3a8], ecx
push ecx
movss xmm0, dword [0x1014fbdc]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x1b8]
sub edx, 0x14
cvtsi2ss xmm0, edx
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x888]
call fcn.10123ea0
push eax
lea eax, [ebp - 0x890]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.10123e10
mov dword [ebp - 0x3b0], eax
push ecx
movss xmm0, dword [0x1014fb0c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1014fbcc]
movss dword [esp], xmm0
lea ecx, [ebp - 0x898]
call fcn.10123ea0
mov dword [ebp - 0x3ac], eax
mov ecx, dword [ebp - 0x3a8]
push ecx
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x6d8], esp
push ecx
movss xmm0, dword [0x1014fb0c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1014fbac]
movss dword [esp], xmm0
call fcn.10123ea0
sub esp, 8
mov edx, esp
mov dword [ebp - 0x6dc], esp
mov eax, dword [ebp - 0x3ac]
push eax
push edx
mov ecx, dword [ebp - 0x3b0]
call fcn.10123e10
call fcn.10119510
add esp, 0x14
push 0xff
push 0xcc
push 0xcc
push 0xcc
lea ecx, [ebp - 0x6e0]
call fcn.1000ea40
mov ecx, dword [eax]
mov dword [ebp - 0x3b4], ecx
mov edx, dword [ebp - 0x3b4]
mov dword [ebp - 0x3b8], edx
push ecx
movss xmm0, dword [0x1014fbdc]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x1b8]
sub eax, 0x14
cvtsi2ss xmm0, eax
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x8a0]
call fcn.10123ea0
push eax
lea ecx, [ebp - 0x8a8]
push ecx
lea ecx, [ebp - 0x1c0]
call fcn.10123e10
mov dword [ebp - 0x3c0], eax
push ecx
movss xmm0, dword [0x1014fb78]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1014fbac]
movss dword [esp], xmm0
lea ecx, [ebp - 0x8b0]
call fcn.10123ea0
mov dword [ebp - 0x3bc], eax
mov edx, dword [ebp - 0x3b8]
push edx
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x6e4], esp
push ecx
movss xmm0, dword [0x1014fb0c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1014fbd0]
movss dword [esp], xmm0
call fcn.10123ea0
sub esp, 8
mov eax, esp
mov dword [ebp - 0x6e8], esp
mov ecx, dword [ebp - 0x3bc]
push ecx
push eax
mov ecx, dword [ebp - 0x3c0]
call fcn.10123e10
call fcn.10119510
add esp, 0x14
push 0xff
push 0
push 0
push 0
lea ecx, [ebp - 0x6ec]
call fcn.1000ea40
mov edx, dword [eax]
mov dword [ebp - 0x3c4], edx
mov eax, dword [ebp - 0x3c4]
mov dword [ebp - 0x3c8], eax
push ecx
movss xmm0, dword [0x1014fbdc]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x1b8]
sub ecx, 0x14
cvtsi2ss xmm0, ecx
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x8b8]
call fcn.10123ea0
push eax
lea edx, [ebp - 0x8c0]
push edx
lea ecx, [ebp - 0x1c0]
call fcn.10123e10
mov dword [ebp - 0x3d0], eax
push ecx
movss xmm0, dword [0x1014fbac]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1014fbac]
movss dword [esp], xmm0
lea ecx, [ebp - 0x8c8]
call fcn.10123ea0
mov dword [ebp - 0x3cc], eax
mov eax, dword [ebp - 0x3c8]
push eax
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x6f0], esp
push ecx
movss xmm0, dword [0x1014fb0c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1014fbd0]
movss dword [esp], xmm0
call fcn.10123ea0
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x6f4], esp
mov edx, dword [ebp - 0x3cc]
push edx
push ecx
mov ecx, dword [ebp - 0x3d0]
call fcn.10123e10
call fcn.10119510
add esp, 0x14
mov dword [ebp - 0x1e4], 0xffffffff
mov dword [ebp - 0x1f0], 0xffffffff
mov eax, dword [ebx + 8]
push eax
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x3d4], eax
lea ecx, [ebp - 0x3d4]
push ecx
lea ecx, [ebp - 0x1ec]
call fcn.1002f480
mov ecx, eax
call fcn.10021ff0
cmp eax, dword [ebx + 0x20]
jbe 0x100d8fb1
mov edx, dword [ebx + 8]
push edx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x3d8], eax
mov eax, dword [ebx + 0x20]
add eax, 1
imul ecx, eax, 0x14
cvtsi2ss xmm0, ecx
lea edx, [ebp - 0x3d8]
push edx
lea ecx, [ebp - 0x1ec]
movss dword [ebp - 0x3dc], xmm0
call fcn.1002f480
mov ecx, eax
call fcn.10021ff0
add eax, 1
imul eax, eax, 0x14
mov dword [ebp - 0x244], eax
cvtsi2sd xmm0, dword [ebp - 0x244]
mov ecx, dword [ebp - 0x244]
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x1014fdf0]
movsd qword [ebp - 0x7d8], xmm0
cvtsd2ss xmm0, qword [ebp - 0x7d8]
mov edx, dword [ebx + 0x20]
add edx, 1
imul eax, edx, 0x14
cvtsi2ss xmm1, eax
divss xmm1, xmm0
movss xmm0, dword [ebp - 0x3dc]
mulss xmm1, xmm0
cvttss2si ecx, xmm1
mov dword [ebp - 0x1e4], ecx
imul edx, dword [ebx + 0x20], 0x14
sub edx, dword [ebp - 0x1e4]
cvtsi2ss xmm0, edx
subss xmm0, dword [0x1014fb78]
movss dword [ebp - 0x3f0], xmm0
movss xmm0, dword [0x1014fb78]
movss dword [ebp - 0x3f4], xmm0
mov eax, dword [ebx + 8]
push eax
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x3e4], eax
mov ecx, dword [ebx + 8]
push ecx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x3e0], eax
imul edx, dword [ebx + 0x20], 0x14
cvtsi2ss xmm0, edx
lea eax, [ebp - 0x3e0]
push eax
lea ecx, [ebp - 0x1ec]
movss dword [ebp - 0x3ec], xmm0
call fcn.1002f480
mov ecx, eax
call fcn.10021ff0
imul ecx, eax, 0x14
mov dword [ebp - 0x240], ecx
cvtsi2sd xmm0, dword [ebp - 0x240]
mov edx, dword [ebp - 0x240]
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x1014fdf0]
movsd qword [ebp - 0x7e0], xmm0
cvtsd2ss xmm0, qword [ebp - 0x7e0]
lea eax, [ebp - 0x3e4]
push eax
mov ecx, 0x10177e78
movss dword [ebp - 0x3e8], xmm0
call fcn.1002f590
movss xmm0, dword [eax]
xorps xmm0, xmmword [0x1014fe10]
movss xmm1, dword [ebp - 0x3e8]
divss xmm0, xmm1
movss xmm1, dword [ebp - 0x3ec]
mulss xmm0, xmm1
movss dword [ebp - 0x3f8], xmm0
lea ecx, [ebp - 0x3f0]
push ecx
lea edx, [ebp - 0x3f4]
push edx
lea eax, [ebp - 0x3f8]
push eax
call fcn.1002b980
add esp, 8
push eax
call fcn.1002b9a0
add esp, 8
cvttss2si ecx, dword [eax]
mov dword [ebp - 0x1f0], ecx
movzx edx, byte [ebp - 0x1ce]
test edx, edx
jne 0x100d9016
push 0x10145e68
mov eax, dword [ebx + 8]
push eax
lea ecx, [ebp - 0x124]
push ecx
call fcn.1002f170
add esp, 0xc
mov dword [ebp - 0x3fc], eax
mov edx, dword [ebp - 0x3fc]
mov dword [ebp - 0x400], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x1d4]
or eax, 1
mov dword [ebp - 0x1d4], eax
mov ecx, dword [ebp - 0x400]
push ecx
call fcn.100d60f0
add esp, 4
mov edx, dword [0x10183a60]
cmp dword [edx + 0x120], eax
jne 0x100d9064
mov eax, dword [ebx + 8]
push eax
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x404], eax
lea ecx, [ebp - 0x404]
push ecx
lea ecx, [ebp - 0x1ec]
call fcn.1002f480
mov ecx, eax
call fcn.10021ff0
cmp eax, dword [ebx + 0x20]
jbe 0x100d9064
cmp dword [ebp - 0x1e4], 0xffffffff
je 0x100d9064
cmp dword [ebp - 0x1f0], 0xffffffff
je 0x100d9064
mov dword [ebp - 0x26c], 1
jmp 0x100d906e
mov dword [ebp - 0x26c], 0
mov dl, byte [ebp - 0x26c]
mov byte [ebp - 0x1df], dl
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x1d4]
and eax, 1
je 0x100d909e
and dword [ebp - 0x1d4], 0xfffffffe
lea ecx, [ebp - 0x124]
call fcn.10003900
movzx ecx, byte [ebp - 0x1df]
test ecx, ecx
je 0x100d973c
mov edx, dword [0x10183a60]
cmp dword [edx + 0x120], 0
jne 0x100d9218
lea eax, [ebp - 0x6f8]
push eax
call fcn.100fff50
add esp, 4
mov ecx, eax
call fcn.10003660
mov dword [ebp - 0x248], eax
mov ecx, dword [ebp - 0x248]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x248]
mov eax, dword [edx + 0x28]
call eax
fstp dword [ebp - 0x408]
movss xmm0, dword [ebp - 0x408]
comiss xmm0, dword [0x1014f9c4]
jbe 0x100d9171
mov ecx, dword [ebx + 8]
push ecx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x40c], eax
lea edx, [ebp - 0x40c]
push edx
mov ecx, 0x10177e78
call fcn.1002f590
movss xmm0, dword [eax]
addss xmm0, dword [0x1014fc18]
movss dword [ebp - 0x414], xmm0
mov eax, dword [ebx + 8]
push eax
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x410], eax
lea ecx, [ebp - 0x410]
push ecx
mov ecx, 0x10177e78
call fcn.1002f590
movss xmm0, dword [ebp - 0x414]
movss dword [eax], xmm0
jmp 0x100d9218
lea edx, [ebp - 0x6fc]
push edx
call fcn.100fff50
add esp, 4
mov ecx, eax
call fcn.10003660
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x250]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x250]
mov eax, dword [edx + 0x28]
call eax
fstp dword [ebp - 0x418]
xorps xmm0, xmm0
comiss xmm0, dword [ebp - 0x418]
jbe 0x100d9218
mov ecx, dword [ebx + 8]
push ecx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x41c], eax
lea edx, [ebp - 0x41c]
push edx
mov ecx, 0x10177e78
call fcn.1002f590
movss xmm0, dword [eax]
subss xmm0, dword [0x1014fc18]
movss dword [ebp - 0x424], xmm0
mov eax, dword [ebx + 8]
push eax
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x420], eax
lea ecx, [ebp - 0x420]
push ecx
mov ecx, 0x10177e78
call fcn.1002f590
movss xmm0, dword [ebp - 0x424]
movss dword [eax], xmm0
lea edx, [ebp - 0x700]
push edx
call fcn.100fff50
add esp, 4
mov ecx, eax
call fcn.10003660
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x260]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x428], edx
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x704], esp
cvtsi2ss xmm0, dword [ebp - 0x1e4]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1014fbcc]
movss dword [esp], xmm0
call fcn.10123ea0
sub esp, 8
mov esi, esp
mov dword [ebp - 0x708], esp
mov eax, dword [ebp - 0x1f0]
add eax, 1
cvtsi2ss xmm0, eax
push ecx
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x1b8]
sub ecx, 5
cvtsi2ss xmm0, ecx
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x8d0]
call fcn.10123ea0
push eax
push esi
lea ecx, [ebp - 0x1c0]
call fcn.10123e10
mov ecx, dword [ebp - 0x260]
call dword [ebp - 0x428]
mov byte [ebp - 0x1da], al
lea edx, [ebp - 0x70c]
push edx
call fcn.100fff50
add esp, 4
mov ecx, eax
call fcn.10003660
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x28c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x42c], edx
lea eax, [ebp - 0x8d8]
push eax
mov ecx, dword [ebp - 0x28c]
call dword [ebp - 0x42c]
movss xmm0, dword [0x10183328]
subss xmm0, dword [eax + 4]
movss dword [ebp - 0x710], xmm0
mov ecx, dword [0x10183a60]
cmp dword [ecx + 0x120], 0
jne 0x100d93b9
movzx edx, byte [ebp - 0x1da]
test edx, edx
je 0x100d93b4
push 1
call fcn.100dda50
add esp, 4
movzx eax, al
test eax, eax
je 0x100d93b4
push 0x10145e54
mov ecx, dword [ebx + 8]
push ecx
lea edx, [ebp - 0x10c]
push edx
call fcn.1002f170
add esp, 0xc
mov dword [ebp - 0x430], eax
mov eax, dword [ebp - 0x430]
mov dword [ebp - 0x434], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x434]
push ecx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x438], eax
mov edx, dword [0x10183a60]
mov eax, dword [ebp - 0x438]
mov dword [edx + 0x120], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10c]
call fcn.10003900
jmp 0x100d9611
push 0x10145e58
mov ecx, dword [ebx + 8]
push ecx
lea edx, [ebp - 0xdc]
push edx
call fcn.1002f170
add esp, 0xc
mov dword [ebp - 0x43c], eax
mov eax, dword [ebp - 0x43c]
mov dword [ebp - 0x440], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x440]
push ecx
call fcn.100d60f0
add esp, 4
mov edx, dword [0x10183a60]
cmp dword [edx + 0x120], eax
jne 0x100d9410
mov dword [ebp - 0x20c], 1
jmp 0x100d941a
mov dword [ebp - 0x20c], 0
mov al, byte [ebp - 0x20c]
mov byte [ebp - 0x1db], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xdc]
call fcn.10003900
movzx ecx, byte [ebp - 0x1db]
test ecx, ecx
je 0x100d9611
push 1
call fcn.100dda50
add esp, 4
movzx edx, al
test edx, edx
je 0x100d95f6
xor eax, eax
mov byte [ebp - 0x1dc], al
imul ecx, dword [ebx + 0x20], 0x14
mov dword [ebp - 0x1f4], ecx
movss xmm0, dword [0x1014fc30]
movss dword [ebp - 0x448], xmm0
mov edx, dword [ebx + 8]
push edx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x444], eax
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x1ec]
call fcn.1002f480
mov ecx, eax
call fcn.10021ff0
imul ecx, eax, 0x14
mov edx, dword [ebp - 0x1f4]
lea eax, [ecx + edx - 0x18]
mov dword [ebp - 0x210], eax
cvtsi2sd xmm0, dword [ebp - 0x210]
mov ecx, dword [ebp - 0x210]
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x1014fdf0]
movsd qword [ebp - 0x7e8], xmm0
cvtsd2ss xmm0, qword [ebp - 0x7e8]
mov edx, dword [ebp - 0x1f4]
sub edx, 0x18
imul edx, dword [ebp - 0x1f4]
cvtsi2ss xmm1, edx
divss xmm1, xmm0
movss dword [ebp - 0x44c], xmm1
lea eax, [ebp - 0x448]
push eax
lea ecx, [ebp - 0x44c]
push ecx
call fcn.1002b980
add esp, 8
movss xmm0, dword [eax]
movss dword [ebp - 0x458], xmm0
mov edx, dword [ebx + 8]
push edx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x450], eax
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x1ec]
call fcn.1002f480
mov ecx, eax
call fcn.10021ff0
imul ecx, eax, 0x14
mov dword [ebp - 0x454], ecx
cvttss2si edx, dword [0x10183a6c]
mov dword [ebp - 0x45c], edx
mov eax, dword [ebp - 0x454]
push eax
push 0
cvtsi2ss xmm0, dword [ebp - 0x1f4]
subss xmm0, dword [ebp - 0x458]
cvttss2si ecx, xmm0
push ecx
push 0
mov edx, dword [ebp - 0x45c]
push edx
lea ecx, [ebp - 0x1dc]
call fcn.1002ce90
fstp dword [ebp - 0x468]
mov eax, dword [ebx + 8]
push eax
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x460], eax
lea ecx, [ebp - 0x460]
push ecx
mov ecx, 0x10177e78
call fcn.1002f590
mov dword [ebp - 0x214], eax
mov edx, dword [ebp - 0x214]
movss xmm0, dword [edx]
movss dword [ebp - 0x464], xmm0
movss xmm0, dword [ebp - 0x464]
addss xmm0, dword [ebp - 0x468]
mov eax, dword [ebp - 0x214]
movss dword [eax], xmm0
jmp 0x100d9611
xorps xmm0, xmm0
movss dword [0x10183328], xmm0
mov ecx, dword [0x10183a60]
mov dword [ecx + 0x120], 0
lea edx, [ebp - 0x714]
push edx
call fcn.100fff50
add esp, 4
mov ecx, eax
call fcn.10003660
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x46c], edx
lea eax, [ebp - 0x8e0]
push eax
mov ecx, dword [ebp - 0x218]
call dword [ebp - 0x46c]
movss xmm0, dword [eax + 4]
movss dword [0x10183328], xmm0
mov ecx, dword [0x10183a60]
mov byte [ecx + 0x188], 1
mov dword [ebp - 0x478], 0
mov edx, dword [ebx + 8]
push edx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x470], eax
imul esi, dword [ebx + 0x20], 0x14
lea eax, [ebp - 0x470]
push eax
lea ecx, [ebp - 0x1ec]
call fcn.1002f480
mov ecx, eax
call fcn.10021ff0
sub eax, 1
imul ecx, eax, 0x14
imul edx, ecx, 0xffffffff
add edx, esi
mov dword [ebp - 0x47c], edx
mov eax, dword [ebx + 8]
push eax
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x474], eax
lea ecx, [ebp - 0x474]
push ecx
mov ecx, 0x10177e78
call fcn.1002f590
cvttss2si edx, dword [eax]
mov dword [ebp - 0x480], edx
lea eax, [ebp - 0x478]
push eax
lea ecx, [ebp - 0x47c]
push ecx
lea edx, [ebp - 0x480]
push edx
call fcn.100289e0
add esp, 0xc
cvtsi2ss xmm0, dword [eax]
movss dword [ebp - 0x488], xmm0
mov eax, dword [ebx + 8]
push eax
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x484], eax
lea ecx, [ebp - 0x484]
push ecx
mov ecx, 0x10177e78
call fcn.1002f590
movss xmm0, dword [ebp - 0x488]
movss dword [eax], xmm0
jmp 0x100d9749
mov edx, dword [0x10183a60]
mov byte [edx + 0x188], 0
mov eax, dword [ebx + 8]
push eax
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x48c], eax
lea ecx, [ebp - 0x48c]
push ecx
lea ecx, [ebp - 0x1ec]
call fcn.1002f480
mov ecx, eax
call fcn.10021ff0
cmp eax, dword [ebx + 0x20]
jbe 0x100d9a50
cmp dword [ebp - 0x1e4], 0xffffffff
je 0x100d9a50
cmp dword [ebp - 0x1f0], 0xffffffff
je 0x100d9a50
push 0xff
push 0x2d
push 0x2d
push 0x2d
lea ecx, [ebp - 0x718]
call fcn.1000ea40
mov edx, dword [eax]
mov dword [ebp - 0x490], edx
mov eax, dword [ebp - 0x490]
mov dword [ebp - 0x494], eax
mov ecx, dword [ebp - 0x494]
push ecx
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x71c], esp
imul edx, dword [ebx + 0x20], 0x14
sub edx, 1
cvtsi2ss xmm0, edx
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1014fbd4]
movss dword [esp], xmm0
call fcn.10123ea0
sub esp, 8
mov esi, esp
mov dword [ebp - 0x7ec], esp
push ecx
movss xmm0, dword [0x1014fb0c]
movss dword [esp], xmm0
mov eax, dword [ebp - 0x1b8]
sub eax, 6
cvtsi2ss xmm0, eax
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x8e8]
call fcn.10123ea0
push eax
push esi
lea ecx, [ebp - 0x1c0]
call fcn.10123e10
call fcn.10119510
add esp, 0x14
lea ecx, [ebp - 0x724]
push ecx
call fcn.100fff50
add esp, 4
mov ecx, eax
call fcn.10003660
mov dword [ebp - 0x21c], eax
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x498], ecx
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x728], esp
cvtsi2ss xmm0, dword [ebp - 0x1e4]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1014fbcc]
movss dword [esp], xmm0
call fcn.10123ea0
sub esp, 8
mov esi, esp
mov dword [ebp - 0x72c], esp
mov edx, dword [ebp - 0x1f0]
add edx, 1
cvtsi2ss xmm0, edx
push ecx
movss dword [esp], xmm0
mov eax, dword [ebp - 0x1b8]
sub eax, 5
cvtsi2ss xmm0, eax
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x8f0]
call fcn.10123ea0
push eax
push esi
lea ecx, [ebp - 0x1c0]
call fcn.10123e10
mov ecx, dword [ebp - 0x21c]
call dword [ebp - 0x498]
movzx ecx, al
test ecx, ecx
jne 0x100d9972
push 0x10145e5c
mov edx, dword [ebx + 8]
push edx
lea eax, [ebp - 0xf4]
push eax
call fcn.1002f170
add esp, 0xc
mov dword [ebp - 0x49c], eax
mov ecx, dword [ebp - 0x49c]
mov dword [ebp - 0x4a0], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x1d4]
or edx, 2
mov dword [ebp - 0x1d4], edx
mov eax, dword [ebp - 0x4a0]
push eax
call fcn.100d60f0
add esp, 4
mov ecx, dword [0x10183a60]
cmp dword [ecx + 0x120], eax
je 0x100d9972
push 0xff
push 0x41
push 0x41
push 0x41
lea ecx, [ebp - 0x730]
call fcn.1000ea40
mov edx, dword [eax]
mov dword [ebp - 0x220], edx
jmp 0x100d9990
push 0xff
push 0x50
push 0x50
push 0x50
lea ecx, [ebp - 0x734]
call fcn.1000ea40
mov eax, dword [eax]
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x4a4], ecx
mov edx, dword [ebp - 0x4a4]
mov dword [ebp - 0x4a8], edx
mov eax, dword [ebp - 0x4a8]
push eax
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x738], esp
cvtsi2ss xmm0, dword [ebp - 0x1e4]
push ecx
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1014fbcc]
movss dword [esp], xmm0
call fcn.10123ea0
sub esp, 8
mov esi, esp
mov dword [ebp - 0x73c], esp
mov ecx, dword [ebp - 0x1f0]
add ecx, 1
cvtsi2ss xmm0, ecx
push ecx
movss dword [esp], xmm0
mov edx, dword [ebp - 0x1b8]
sub edx, 5
cvtsi2ss xmm0, edx
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x8f8]
call fcn.10123ea0
push eax
push esi
lea ecx, [ebp - 0x1c0]
call fcn.10123e10
call fcn.10119510
add esp, 0x14
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x1d4]
and eax, 2
je 0x100d9a50
and dword [ebp - 0x1d4], 0xfffffffd
lea ecx, [ebp - 0xf4]
call fcn.10003900
movzx ecx, byte [ebx + 0x1c]
test ecx, ecx
je 0x100da4fc
mov edx, dword [0x10183a60]
movss xmm0, dword [0x1014fd00]
mulss xmm0, dword [edx + 0x18c]
cvttss2si eax, xmm0
push eax
push 0x19
push 0x19
push 0x19
lea ecx, [ebp - 0x740]
call fcn.1000ea40
mov ecx, dword [eax]
mov dword [ebp - 0x4ac], ecx
mov edx, dword [ebp - 0x4ac]
mov dword [ebp - 0x4b0], edx
mov eax, dword [ebp - 0x4b0]
push eax
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x744], esp
push ecx
movss xmm0, dword [0x1014fc14]
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x1b8]
push ecx
movss dword [esp], xmm0
call fcn.10123ea0
sub esp, 8
mov esi, esp
mov dword [ebp - 0x748], esp
push ecx
movss xmm0, dword [0x1014fc10]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x900]
call fcn.10123ea0
push eax
push esi
lea ecx, [ebp - 0x1c0]
call fcn.10123dc0
call fcn.10119510
add esp, 0x14
mov ecx, dword [0x10183a60]
cmp dword [ecx + 0x120], 0
jne 0x100d9bfb
mov edx, dword [0x10183a60]
movzx eax, byte [edx + 0x187]
test eax, eax
je 0x100d9b42
mov ecx, dword [0x10183a60]
mov byte [ecx + 0x187], 0
movzx edx, byte [ebp - 0x1c1]
test edx, edx
je 0x100d9bf6
lea eax, [ebp - 0x74c]
push eax
call fcn.100fff50
add esp, 4
mov ecx, eax
call fcn.10003660
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x224]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x4b4], eax
push 1
mov ecx, dword [ebp - 0x224]
call dword [ebp - 0x4b4]
movzx ecx, al
test ecx, ecx
je 0x100d9bf6
push 0x10145e60
mov edx, dword [ebx + 8]
push edx
lea eax, [ebp - 0xc4]
push eax
call fcn.1002f170
add esp, 0xc
mov dword [ebp - 0x4b8], eax
mov ecx, dword [ebp - 0x4b8]
mov dword [ebp - 0x4bc], ecx
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x4bc]
push edx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x4c0], eax
mov eax, dword [0x10183a60]
mov ecx, dword [ebp - 0x4c0]
mov dword [eax + 0x120], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc4]
call fcn.10003900
jmp 0x100da2ae
push 0x10145e6c
mov edx, dword [ebx + 8]
push edx
lea eax, [ebp - 0x1b4]
push eax
call fcn.1002f170
add esp, 0xc
mov dword [ebp - 0x4c4], eax
mov ecx, dword [ebp - 0x4c4]
mov dword [ebp - 0x4c8], ecx
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x4c8]
push edx
call fcn.100d60f0
add esp, 4
mov ecx, dword [0x10183a60]
cmp dword [ecx + 0x120], eax
jne 0x100d9c52
mov dword [ebp - 0x228], 1
jmp 0x100d9c5c
mov dword [ebp - 0x228], 0
mov dl, byte [ebp - 0x228]
mov byte [ebp - 0x1dd], dl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1b4]
call fcn.10003900
movzx eax, byte [ebp - 0x1dd]
test eax, eax
je 0x100da2ae
mov ecx, dword [0x10183a60]
movzx edx, byte [ecx + 0x187]
test edx, edx
jne 0x100d9ca3
mov eax, dword [0x10183a60]
mov byte [eax + 0x187], 1
lea ecx, [ebp - 0x750]
push ecx
call fcn.100fff50
add esp, 4
mov ecx, eax
call fcn.10003660
mov dword [ebp - 0x22c], eax
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x4cc], ecx
push 1
mov ecx, dword [ebp - 0x22c]
call dword [ebp - 0x4cc]
movzx edx, al
test edx, edx
je 0x100d9d00
movzx eax, byte [ebp - 0x1c1]
test eax, eax
jne 0x100d9d00
mov ecx, dword [0x10183a60]
mov dword [ecx + 0x120], 0
mov dword [ebp - 0x1c8], 0
jmp 0x100d9d1b
mov edx, dword [ebp - 0x1c8]
add edx, 1
mov dword [ebp - 0x1c8], edx
cmp dword [ebp - 0x1c8], 0xff
jge 0x100da111
mov eax, dword [ebp - 0x1c8]
push eax
call fcn.100dda10
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x100d9fde
cmp dword [ebp - 0x1c8], 8
je 0x100d9edb
cmp dword [ebp - 0x1c8], 0x1b
je 0x100d9d64
cmp dword [ebp - 0x1c8], 0xd
jne 0x100d9d79
mov edx, dword [0x10183a60]
mov dword [edx + 0x120], 0
jmp 0x100d9ed6
cmp dword [ebp - 0x1c8], 0x41
jl 0x100d9e5f
cmp dword [ebp - 0x1c8], 0x5a
jg 0x100d9e5f
lea eax, [ebp - 0x754]
push eax
call fcn.100fff50
add esp, 4
mov ecx, eax
call fcn.10003660
mov dword [ebp - 0x230], eax
mov ecx, dword [ebp - 0x230]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x4d0], eax
push 0x10
mov ecx, dword [ebp - 0x230]
call dword [ebp - 0x4d0]
movzx ecx, al
test ecx, ecx
jne 0x100d9df5
push 0x14
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jne 0x100d9df5
mov eax, dword [ebp - 0x1c8]
add eax, 0x20
mov dword [ebp - 0x234], eax
jmp 0x100d9e01
mov ecx, dword [ebp - 0x1c8]
mov dword [ebp - 0x234], ecx
mov edx, dword [ebx + 8]
push edx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x4d4], eax
movzx eax, byte [ebp - 0x234]
push eax
lea ecx, [ebp - 0x4d4]
push ecx
mov ecx, 0x10177e70
call fcn.1002f530
mov ecx, eax
call fcn.10022e80
mov edx, dword [ebx + 8]
push edx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x4d8], eax
lea eax, [ebp - 0x4d8]
push eax
mov ecx, 0x10177e78
call fcn.1002f590
xorps xmm0, xmm0
movss dword [eax], xmm0
jmp 0x100d9ed6
cmp dword [ebp - 0x1c8], 0x30
jl 0x100d9e71
cmp dword [ebp - 0x1c8], 0x39
jle 0x100d9e7a
cmp dword [ebp - 0x1c8], 0x20
jne 0x100d9ed6
mov ecx, dword [ebx + 8]
push ecx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x4dc], eax
movzx edx, byte [ebp - 0x1c8]
push edx
lea eax, [ebp - 0x4dc]
push eax
mov ecx, 0x10177e70
call fcn.1002f530
mov ecx, eax
call fcn.10022e80
mov ecx, dword [ebx + 8]
push ecx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x4e0], eax
lea edx, [ebp - 0x4e0]
push edx
mov ecx, 0x10177e78
call fcn.1002f590
xorps xmm0, xmm0
movss dword [eax], xmm0
jmp 0x100d9fde
mov eax, dword [ebx + 8]
push eax
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x4e4], eax
lea ecx, [ebp - 0x4e4]
push ecx
mov ecx, 0x10177e70
call fcn.1002f530
mov dword [ebp - 0x4f0], eax
mov edx, dword [ebx + 8]
push edx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x4e8], eax
lea eax, [ebp - 0x4e8]
push eax
mov ecx, 0x10177e70
call fcn.1002f530
mov ecx, eax
call fcn.10017ab0
sub eax, 1
mov dword [ebp - 0x4ec], eax
mov ecx, dword [ebp - 0x4ec]
push ecx
push 0
lea edx, [ebp - 0x19c]
push edx
mov ecx, dword [ebp - 0x4f0]
call fcn.10029a00
mov dword [ebp - 0x4f4], eax
mov eax, dword [ebp - 0x4f4]
mov dword [ebp - 0x4f8], eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x4f8]
mov dword [ebp - 0x4fc], ecx
mov edx, dword [ebx + 8]
push edx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x500], eax
mov eax, dword [ebp - 0x4fc]
push eax
lea ecx, [ebp - 0x500]
push ecx
mov ecx, 0x10177e70
call fcn.1002f530
mov ecx, eax
call fcn.10029b10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x19c]
call fcn.10003900
mov edx, dword [ebx + 8]
push edx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x504], eax
lea eax, [ebp - 0x504]
push eax
mov ecx, 0x10177e78
call fcn.1002f590
xorps xmm0, xmm0
movss dword [eax], xmm0
push 0xa2
call fcn.100dda50
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x100da10c
push 8
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
test edx, edx
je 0x100da10c
mov eax, dword [ebx + 8]
push eax
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x508], eax
lea ecx, [ebp - 0x508]
push ecx
mov ecx, 0x10177e70
call fcn.1002f530
mov dword [ebp - 0x514], eax
mov edx, dword [ebx + 8]
push edx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x50c], eax
lea eax, [ebp - 0x50c]
push eax
mov ecx, 0x10177e70
call fcn.1002f530
mov ecx, eax
call fcn.10017ab0
sub eax, 1
mov dword [ebp - 0x510], eax
mov ecx, dword [ebp - 0x510]
push ecx
push 0
lea edx, [ebp - 0x184]
push edx
mov ecx, dword [ebp - 0x514]
call fcn.10029a00
mov dword [ebp - 0x518], eax
mov eax, dword [ebp - 0x518]
mov dword [ebp - 0x51c], eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x51c]
mov dword [ebp - 0x520], ecx
mov edx, dword [ebx + 8]
push edx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x524], eax
mov eax, dword [ebp - 0x520]
push eax
lea ecx, [ebp - 0x524]
push ecx
mov ecx, 0x10177e70
call fcn.1002f530
mov ecx, eax
call fcn.10029b10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x184]
call fcn.10003900
mov edx, dword [ebx + 8]
push edx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x528], eax
lea eax, [ebp - 0x528]
push eax
mov ecx, 0x10177e78
call fcn.1002f590
xorps xmm0, xmm0
movss dword [eax], xmm0
jmp 0x100d9d0c
push 8
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
test ecx, ecx
jne 0x100da166
mov ecx, 0x10181e04
call fcn.10003660
movss xmm0, dword [eax + 0x10]
movss dword [ebp - 0x530], xmm0
mov edx, dword [ebx + 8]
push edx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x52c], eax
lea eax, [ebp - 0x52c]
push eax
mov ecx, 0x10177e68
call fcn.1002f5d0
movss xmm0, dword [ebp - 0x530]
movss dword [eax], xmm0
mov ecx, dword [ebx + 8]
push ecx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x534], eax
lea edx, [ebp - 0x534]
push edx
mov ecx, 0x10177e68
call fcn.1002f5d0
mov esi, eax
mov ecx, 0x10181e04
call fcn.10003660
movss xmm0, dword [eax + 0x10]
subss xmm0, dword [esi]
comiss xmm0, dword [0x1014fab8]
jbe 0x100da2ae
mov eax, dword [ebx + 8]
push eax
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x538], eax
lea ecx, [ebp - 0x538]
push ecx
mov ecx, 0x10177e70
call fcn.1002f530
mov dword [ebp - 0x544], eax
mov edx, dword [ebx + 8]
push edx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x53c], eax
lea eax, [ebp - 0x53c]
push eax
mov ecx, 0x10177e70
call fcn.1002f530
mov ecx, eax
call fcn.10017ab0
sub eax, 1
mov dword [ebp - 0x540], eax
mov ecx, dword [ebp - 0x540]
push ecx
push 0
lea edx, [ebp - 0x16c]
push edx
mov ecx, dword [ebp - 0x544]
call fcn.10029a00
mov dword [ebp - 0x548], eax
mov eax, dword [ebp - 0x548]
mov dword [ebp - 0x54c], eax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x54c]
mov dword [ebp - 0x550], ecx
mov edx, dword [ebx + 8]
push edx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x554], eax
mov eax, dword [ebp - 0x550]
push eax
lea ecx, [ebp - 0x554]
push ecx
mov ecx, 0x10177e70
call fcn.1002f530
mov ecx, eax
call fcn.10029b10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x16c]
call fcn.10003900
mov edx, dword [ebx + 8]
push edx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x558], eax
lea eax, [ebp - 0x558]
push eax
mov ecx, 0x10177e78
call fcn.1002f590
xorps xmm0, xmm0
movss dword [eax], xmm0
movss xmm0, dword [ebp - 0x1c0]
call fcn.10124ab0
mov dword [ebp - 0x2c], eax
movss xmm0, dword [ebp - 0x1bc]
subss xmm0, dword [0x1014fc18]
call fcn.10124ab0
mov dword [ebp - 0x28], eax
push ecx
movss xmm0, dword [0x1014fc18]
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x1b8]
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x908]
call fcn.10123ea0
movss xmm0, dword [eax]
call fcn.10124ab0
mov dword [ebp - 0x24], eax
push ecx
movss xmm0, dword [0x1014fc18]
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x1b8]
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x910]
call fcn.10123ea0
movss xmm0, dword [eax + 4]
subss xmm0, dword [0x1014fb78]
call fcn.10124ab0
mov dword [ebp - 0x20], eax
xorps xmm0, xmm0
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [0x1014fb0c]
movss dword [ebp - 0x18], xmm0
sub esp, 0x18
mov ecx, esp
mov edx, dword [ebp - 0x2c]
mov dword [ecx], edx
mov eax, dword [ebp - 0x28]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x24]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x20]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 0x18]
mov dword [ecx + 0x14], eax
call fcn.101193f0
add esp, 0x18
push 0xff
push 0xc8
push 0xc8
push 0xc8
lea ecx, [ebp - 0x758]
call fcn.1000ea40
mov ecx, dword [eax]
mov dword [ebp - 0x55c], ecx
mov edx, dword [ebp - 0x55c]
mov dword [ebp - 0x568], edx
push str.search
mov eax, dword [ebx + 8]
push eax
lea ecx, [ebp - 0x13c]
push ecx
call fcn.1002f170
add esp, 0xc
mov dword [ebp - 0x560], eax
mov edx, dword [ebp - 0x560]
mov dword [ebp - 0x564], edx
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x564]
push eax
call fcn.100d60f0
add esp, 4
mov ecx, dword [0x10183a60]
cmp dword [ecx + 0x120], eax
jne 0x100da411
mov byte [ebp - 0x1cf], 0x5f
jmp 0x100da418
mov byte [ebp - 0x1cf], 0x20
mov edx, dword [ebx + 8]
push edx
call fcn.100d60f0
add esp, 4
mov dword [ebp - 0x56c], eax
push 0
mov eax, dword [ebp - 0x568]
push eax
sub esp, 8
mov esi, esp
mov dword [ebp - 0x75c], esp
push ecx
movss xmm0, dword [0x1014fc04]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1014fd9c]
movss dword [esp], xmm0
lea ecx, [ebp - 0x918]
call fcn.10123ea0
push eax
push esi
lea ecx, [ebp - 0x1c0]
call fcn.10123dc0
movzx ecx, byte [ebp - 0x1cf]
push ecx
lea edx, [ebp - 0x56c]
push edx
mov ecx, 0x10177e70
call fcn.1002f530
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.10030220
add esp, 0xc
mov dword [ebp - 0x570], eax
mov ecx, dword [ebp - 0x570]
mov dword [ebp - 0x574], ecx
mov byte [ebp - 4], 0x13
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x760], esp
mov ecx, dword [ebp - 0x574]
call fcn.1000ff40
push eax
mov ecx, esi
call fcn.100039e0
mov ecx, 0x10183af8
call fcn.10027f20
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x154]
call fcn.10003900
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x13c]
call fcn.10003900
call fcn.10119350
movzx edx, byte [ebx + 0x1c]
test edx, edx
je 0x100da865
push 0xff
push 0xa
push 0xa
push 0xa
lea ecx, [ebp - 0x764]
call fcn.1000ea40
mov eax, dword [eax]
mov dword [ebp - 0x578], eax
mov ecx, dword [ebp - 0x578]
mov dword [ebp - 0x57c], ecx
imul edx, dword [ebx + 0x20], 0x14
cvtsi2ss xmm0, edx
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x1b8]
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x920]
call fcn.10123ea0
mov dword [ebp - 0x584], eax
push ecx
movss xmm0, dword [0x1014fc10]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x928]
call fcn.10123ea0
mov dword [ebp - 0x580], eax
mov eax, dword [ebp - 0x57c]
push eax
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x768], esp
mov edx, dword [ebp - 0x580]
push edx
push ecx
mov ecx, dword [ebp - 0x584]
call fcn.10123e10
sub esp, 8
mov esi, esp
mov dword [ebp - 0x76c], esp
push ecx
movss xmm0, dword [0x1014fc10]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x930]
call fcn.10123ea0
push eax
push esi
lea ecx, [ebp - 0x1c0]
call fcn.10123dc0
call fcn.10119ae0
add esp, 0x14
push 0xff
push 0xa
push 0xa
push 0xa
lea ecx, [ebp - 0x770]
call fcn.1000ea40
mov eax, dword [eax]
mov dword [ebp - 0x588], eax
mov ecx, dword [ebp - 0x588]
mov dword [ebp - 0x58c], ecx
mov edx, dword [ebp - 0x58c]
push edx
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x774], esp
push ecx
movss xmm0, dword [0x1014fc14]
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x1b8]
push ecx
movss dword [esp], xmm0
call fcn.10123ea0
sub esp, 8
mov esi, esp
mov dword [ebp - 0x778], esp
push ecx
movss xmm0, dword [0x1014fc10]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x938]
call fcn.10123ea0
push eax
push esi
lea ecx, [ebp - 0x1c0]
call fcn.10123dc0
call fcn.10119ae0
add esp, 0x14
push 0xff
push 0x32
push 0x32
push 0x32
lea ecx, [ebp - 0x77c]
call fcn.1000ea40
mov eax, dword [eax]
mov dword [ebp - 0x590], eax
mov ecx, dword [ebp - 0x590]
mov dword [ebp - 0x594], ecx
push ecx
movss xmm0, dword [0x1014fc14]
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x1b8]
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x940]
call fcn.10123ea0
mov dword [ebp - 0x598], eax
push ecx
movss xmm0, dword [0x1014fc10]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x948]
call fcn.10123ea0
push eax
lea edx, [ebp - 0x950]
push edx
lea ecx, [ebp - 0x1c0]
call fcn.10123dc0
mov dword [ebp - 0x59c], eax
mov eax, dword [ebp - 0x594]
push eax
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x780], esp
push ecx
movss xmm0, dword [0x1014fb78]
movss dword [esp], xmm0
push ecx
mov ecx, dword [ebp - 0x598]
call fcn.10123cf0
sub esp, 8
mov edx, esp
mov dword [ebp - 0x784], esp
push ecx
movss xmm0, dword [0x1014fb0c]
movss dword [esp], xmm0
push edx
mov ecx, dword [ebp - 0x59c]
call fcn.10123d30
call fcn.10119ae0
add esp, 0x14
push 0xff
push 0x10
push 0x10
push 0x10
lea ecx, [ebp - 0x788]
call fcn.1000ea40
mov eax, dword [eax]
mov dword [ebp - 0x5a0], eax
mov ecx, dword [ebp - 0x5a0]
mov dword [ebp - 0x5a4], ecx
push ecx
movss xmm0, dword [0x1014fc14]
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x1b8]
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0x958]
call fcn.10123ea0
mov dword [ebp - 0x5a8], eax
push ecx
movss xmm0, dword [0x1014fc10]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x960]
call fcn.10123ea0
push eax
lea edx, [ebp - 0x968]
push edx
lea ecx, [ebp - 0x1c0]
call fcn.10123dc0
mov dword [ebp - 0x5ac], eax
mov eax, dword [ebp - 0x5a4]
push eax
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x78c], esp
push ecx
movss xmm0, dword [0x1014fbcc]
movss dword [esp], xmm0
push ecx
mov ecx, dword [ebp - 0x5a8]
call fcn.10123cf0
sub esp, 8
mov edx, esp
mov dword [ebp - 0x790], esp
push ecx
movss xmm0, dword [0x1014fb78]
movss dword [esp], xmm0
push edx
mov ecx, dword [ebp - 0x5ac]
call fcn.10123d30
call fcn.10119ae0
add esp, 0x14
jmp 0x100da8e1
push 0xff
push 0xa
push 0xa
push 0xa
lea ecx, [ebp - 0x794]
call fcn.1000ea40
mov eax, dword [eax]
mov dword [ebp - 0x5b0], eax
mov ecx, dword [ebp - 0x5b0]
mov dword [ebp - 0x5b4], ecx
mov edx, dword [ebp - 0x5b4]
push edx
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x798], esp
imul eax, dword [ebx + 0x20], 0x14
cvtsi2ss xmm0, eax
push ecx
movss dword [esp], xmm0
cvtsi2ss xmm0, dword [ebp - 0x1b8]
push ecx
movss dword [esp], xmm0
call fcn.10123ea0
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x79c], esp
lea edx, [ebp - 0x1c0]
push edx
call fcn.10123d70
call fcn.10119ae0
add esp, 0x14
movzx eax, byte [ebx + 0x1c]
test eax, eax
je 0x100da8f9
call fcn.10028180
add eax, 0x14
mov dword [ebp - 0x238], eax
jmp 0x100da904
call fcn.10028180
mov dword [ebp - 0x238], eax
imul ecx, dword [ebx + 0x20], 0x14
add ecx, dword [ebp - 0x238]
cvtsi2ss xmm0, ecx
push ecx
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x970]
call fcn.10123ea0
push eax
lea edx, [ebp - 0x978]
push edx
lea ecx, [ebp - 0x620]
call fcn.10123e10
push eax
call fcn.100d6110
add esp, 4
mov eax, dword [ebx + 8]
push eax
call fcn.100d60f0
add esp, 4
mov ecx, dword [0x10183a60]
cmp dword [ecx + 0x120], eax
jne 0x100da96e
mov dword [ebp - 0x23c], 1
jmp 0x100da978
mov dword [ebp - 0x23c], 0
mov dl, byte [ebp - 0x23c]
mov byte [ebp - 0x1de], dl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x208]
call fcn.10003570
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1ec]
call fcn.1002f3b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0xc]
call fcn.10003850
mov al, byte [ebp - 0x1de]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10089497
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret