Function at 0x10046610
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x100c6040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.OPENGL32.dll_glColor4f]
xor eax, eax
push esi
push edi
mov dword [ebp - 0x34], eax
mov edx, 0x43734e
mov esi, 0x9265d0
push eax
call edx
mov ecx, eax
call esi
test eax, eax
je 0x10047e97
movzx edi, word [eax + 0x7e]
lea ecx, [eax + 0x38]
imul esi, edi, 0x74
mov dword [ebp - 0x30], ecx
cmp dword [esi + 0x106a5930], 0
je 0x10047e92
cmp byte [eax + 0x328], 0
je 0x10047e92
mov ecx, dword [eax + 0x368]
cmp ecx, 0xc3
je 0x10047e92
cmp ecx, 0xc4
je 0x10047e92
cmp ecx, 0xc5
je 0x10047e92
cmp byte [eax + 0x34c], 2
jne 0x100466ac
push eax
call fcn.10047f90
jmp 0x10047e92
cmp byte [eax + 0xe], 0
jne 0x100466bf
cmp dword [0x1028acbc], 0
jne 0x10047e92
mov ecx, dword [0x118edf8]
cmp ecx, 0x12
jl 0x100466dc
cmp ecx, 0x17
jle 0x10047e92
cmp ecx, 0x35
je 0x10047e92
cmp byte [eax + 0x15], 0x20
je 0x10047e92
movss xmm0, dword [eax + 0x434]
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [eax + 0x438]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [eax + 0x43c]
addss xmm0, dword [eax + 0x418]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
addss xmm0, dword [0x100bcb00]
lea eax, [ebp - 0x24]
push eax
mov eax, 0x62f279
movss dword [ebp - 0x1c], xmm0
call eax
mov ecx, dword [ebp - 0x28]
add esp, 0xc
mov edx, dword [0x1028acb8]
sub ecx, 0x2a
mov dword [ebp - 0x28], ecx
cmp edx, 1
jne 0x10046803
push edx
mov eax, 0x62f75b
call eax
movd xmm0, dword [ebp - 0x2c]
movzx eax, word [esi + 0x106a591a]
mov dword [esp], 0
push 1
cvtdq2ps xmm0, xmm0
push 1
sub esp, 0x20
lea eax, [eax + eax*2]
shl eax, 5
subss xmm0, dword [0x100bcaa4]
mov dword [esp + 0x1c], 0x3f800000
mov dword [esp + 0x18], 0x3f800000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x42700000
mov dword [esp + 8], 0x42700000
movss dword [esp + 4], xmm0
movd xmm0, dword [ebp - 0x28]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x100bca1c]
movss dword [esp], xmm0
push dword [eax + 0x1023cdbc]
mov eax, 0x631289
call eax
add esp, 0x20
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call ebx
mov ecx, dword [ebp - 0x28]
mov edx, dword [0x1028acb8]
lea eax, [ecx + 0x19]
cmp dword [0x8b156ec], eax
jl 0x10047e92
movd xmm1, dword [0x8b156ec]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
addss xmm0, dword [0x100bcac0]
comiss xmm0, xmm1
jb 0x10047e92
mov eax, dword [ebp - 0x2c]
mov ecx, dword [0x8b156f0]
add eax, 0x14
cmp ecx, eax
jl 0x10047e92
mov eax, dword [ebp - 0x2c]
add eax, 0x55
cmp ecx, eax
jge 0x10047e92
cmp dword [0x1028ac20], 4
je 0x100469c1
cmp edx, 1
jne 0x100469c1
push edx
mov eax, 0x62f75b
call eax
mov dword [esp], 0x3f4ccccd
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call ebx
mov eax, dword [ebp - 0x2c]
add eax, 0xffffffb4
push 0
sub esp, 0x14
movd xmm0, eax
mov eax, dword [ebp - 0x28]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x10], 0
add eax, 2
mov dword [esp + 0xc], 0x41200000
mov dword [esp + 8], 0x42960000
movss dword [esp + 4], xmm0
movd xmm0, eax
mov eax, 0x630f0a
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call eax
mov eax, 0x62f7f0
call eax
lea eax, [esi + 0x106a5958]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100b9b30
push 0
push 3
push 0x46
add eax, 0xffffffb5
push eax
mov eax, dword [ebp - 0x28]
add eax, 7
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
movd xmm0, dword [ebp - 0x2c]
add esp, 0x38
movzx eax, word [esi + 0x106a591a]
cvtdq2ps xmm0, xmm0
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
lea eax, [eax + eax*2]
subss xmm0, dword [0x100bcaa4]
shl eax, 5
mov dword [esp + 0x1c], 0x3f800000
mov dword [esp + 0x18], 0x3f800000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x42700000
mov dword [esp + 8], 0x42700000
movss dword [esp + 4], xmm0
movd xmm0, dword [ebp - 0x28]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x100bca1c]
movss dword [esp], xmm0
push dword [eax + 0x1023cdbc]
mov eax, 0x631289
call eax
add esp, 0x20
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call ebx
cmp dword [0x1028acc8], 0
je 0x100469db
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x10047e92
push 1
mov eax, 0x62f75b
call eax
movzx eax, word [esi + 0x106a5918]
add esp, 4
dec eax
mov dword [ebp - 8], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x18], xmm0
cmp eax, 0x61
ja case.0x10046a09.3
movzx eax, byte [eax + 0x10047f2c]
jmp dword [eax*4 + 0x10047ee4]
push 0x19
jmp 0x10046a74
push 0x685
jmp 0x10046a74
push 0x15
jmp 0x10046a74
push 0x1a
jmp 0x10046a74
push 0x684
jmp 0x10046a74
push 0x16
jmp 0x10046a74
push 0x1b
jmp 0x10046a74
push 0x686
jmp 0x10046a74
push 0x17
jmp 0x10046a74
push 0x687
jmp 0x10046a74
push 0x18
jmp 0x10046a74
push 0x688
jmp 0x10046a74
push 0x697
jmp 0x10046a74
push 0x698
jmp 0x10046a74
push 0x699
jmp 0x10046a74
push 0xc4e
jmp 0x10046a74
push 0xc4f
jmp 0x10046a74
push 0x14
mov ecx, 0x8499de0
mov eax, 0x436d31
call eax
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10011430
mov eax, dword [0x1028ac20]
add esp, 8
cmp eax, 2
jne 0x10046fad
sub esp, 0x10
mov dword [esp + 0xc], 0x3f4ccccd
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call ebx
mov eax, dword [ebp - 0x2c]
add eax, 0xc
push 0
sub esp, 0x14
movd xmm0, eax
mov eax, dword [ebp - 0x28]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x10], 0
add eax, 0x2d
mov dword [esp + 0xc], 0x42a00000
mov dword [esp + 8], 0x43110000
movss dword [esp + 4], xmm0
movd xmm0, eax
mov eax, 0x630f0a
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call eax
add esp, 0x18
mov eax, 0x62f7f0
call eax
push 0xb4
mov ecx, 0x10173658
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x2c]
push 0
push 3
push 0x69
add eax, 0x10
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x42
push eax
push 0xffcc6699
push 0x106a58f8
call fcn.10048460
add esp, 0x20
mov ecx, 0x10173658
push 0xb5
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x2c]
push 0
push 1
push 0x1b
add eax, 0x1c
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x37
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
add esp, 0x20
mov ecx, 0x10173658
push 0xb6
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x2c]
push 0
push 1
push 0x14
add eax, 0x26
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x37
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
add esp, 0x20
mov ecx, 0x10173658
push 0xb7
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x2c]
push 0
push 1
push 0x14
add eax, 0x30
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x37
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
add esp, 0x20
mov ecx, 0x10173658
push 0xb8
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x2c]
push 0
push 1
push 0x14
add eax, 0x3a
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x37
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
add esp, 0x20
mov ecx, 0x10173658
push 0xb9
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x2c]
push 0
push 1
push 0x14
add eax, 0x44
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x37
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
add esp, 0x20
mov ecx, 0x10173658
push 0xba
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x2c]
push 0
push 1
push 0x17
add eax, 0x4e
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x37
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
movzx eax, word [esi + 0x106a58fe]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100ba730
push 0
push 1
push 0x28
add eax, 0x1c
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x55
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
add esp, 0x44
push dword [esi + 0x106a5904]
push 0x100ba730
mov eax, dword [ebp - 0x2c]
push 0
push 1
push 0x28
add eax, 0x26
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x55
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
mov eax, dword [ebp - 0x2c]
add esp, 0x24
add eax, 0x30
push dword [esi + 0x106a5910]
push 0x100ba730
push 0
push 1
push 0x28
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x55
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
mov eax, dword [ebp - 0x2c]
add esp, 0x24
add eax, 0x3a
push dword [esi + 0x106a5908]
push 0x100ba730
push 0
push 1
push 0x28
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x55
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
mov eax, dword [ebp - 0x2c]
add esp, 0x24
add eax, 0x44
push dword [esi + 0x106a590c]
push 0x100ba730
push 0
push 1
push 0x28
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x55
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
mov eax, dword [ebp - 0x2c]
add esp, 0x24
add eax, 0x4e
push dword [esi + 0x106a5914]
push 0x100ba730
push 0
push 1
push 0x28
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x55
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
xor edi, edi
add esp, 0x24
cmp dword [0x1028acc0], edi
je 0x10046e0b
push 0x8b
mov ecx, 0x10173658
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x2c]
push edi
push 1
push 0x19
add eax, 0x1c
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x73
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
movzx eax, word [esi + 0x106a58fa]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100b9be8
push edi
push 1
push 0x25
add eax, 0x1c
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x9b
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
add esp, 0x44
jmp 0x10046e10
mov edi, 0xfffffff6
cmp dword [0x1028acc4], 0
je 0x10046e7e
push 0x44
mov ecx, 0x10173658
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x2c]
push 0
push 1
add eax, 0x26
push 0x19
add eax, edi
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x73
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
movzx eax, word [esi + 0x106a58fc]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100b9be8
push 0
push 1
add eax, 0x26
push 0x25
add eax, edi
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x9b
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
add esp, 0x44
jmp 0x10046e81
sub edi, 0xa
push 0xbb
mov ecx, 0x10173658
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x2c]
push 0
push 1
add eax, 0x30
push 0x23
add eax, edi
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x73
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
add esp, 0x20
mov ecx, 0x10173658
push 0xbc
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x2c]
push 0
push 1
add eax, 0x3a
push 0x23
add eax, edi
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x73
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
movzx eax, word [esi + 0x106a5900]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100b9be8
push 0
push 1
add eax, 0x30
push 0x2d
add eax, edi
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x9b
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
movzx eax, word [esi + 0x106a5902]
add esp, 0x44
push eax
mov eax, dword [ebp - 0x2c]
push 0x100b9be8
push 0
push 1
add eax, 0x3a
push 0x2d
add eax, edi
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x9b
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
add esp, 0x24
lea eax, [esi + 0x106a591c]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100b9b30
push 1
add eax, 0x44
push 1
add eax, edi
push 0x50
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x73
push eax
push 0xff77df01
push 0x106a58f8
call fcn.10048460
add esp, 0x24
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100b9b30
push 0
add eax, 0x4e
push 1
add eax, edi
push 0x50
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x73
jmp 0x10047669
cmp eax, 1
jne 0x1004732d
sub esp, 0x10
mov dword [esp + 0xc], 0x3f4ccccd
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call ebx
mov eax, dword [ebp - 0x2c]
add eax, 0xc
push 0
sub esp, 0x14
movd xmm0, eax
mov eax, dword [ebp - 0x28]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x10], 0
add eax, 0x3c
mov dword [esp + 0xc], 0x42b40000
mov dword [esp + 8], 0x430c0000
movss dword [esp + 4], xmm0
movd xmm0, eax
mov eax, 0x630f0a
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call eax
add esp, 0x18
mov eax, 0x62f7f0
call eax
push 0xb5
mov ecx, 0x10173658
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x2c]
push 0
push 1
push 0x23
add eax, 0x1c
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x46
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
movzx eax, word [esi + 0x106a58fe]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100ba730
push 0
push 1
push 0x2d
add eax, 0x1c
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x6b
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
xor edi, edi
add esp, 0x44
cmp dword [0x1028acc0], edi
je 0x100470fd
push 0x8b
mov ecx, 0x10173658
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x2c]
push edi
push 1
push 0x19
add eax, 0x26
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x46
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
movzx eax, word [esi + 0x106a58fa]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100b9be8
push edi
push 1
push 0x25
add eax, 0x26
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x6b
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
add esp, 0x44
jmp 0x10047102
mov edi, 0xfffffff6
cmp dword [0x1028acc4], 0
je 0x10047171
push 0x44
mov ecx, 0x10173658
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x2c]
push 0
push 1
add eax, 0x30
push 0x19
add eax, edi
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x46
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
movzx eax, word [esi + 0x106a58fc]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100b9be8
push 0
push 1
add eax, 0x30
push 0x25
add eax, edi
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x6b
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
add esp, 0x44
jmp 0x10047174
sub edi, 0xa
push 0xbb
mov ecx, 0x10173658
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x2c]
push 0
push 1
add eax, 0x3a
push 0x23
add eax, edi
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x46
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
add esp, 0x20
mov ecx, 0x10173658
push 0xbc
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x2c]
push 0
push 1
add eax, 0x44
push 0x23
add eax, edi
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x46
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
movzx eax, word [esi + 0x106a5900]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100b9be8
push 0
push 1
add eax, 0x3a
push 0x25
add eax, edi
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x6b
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
movzx eax, word [esi + 0x106a5902]
add esp, 0x44
push eax
mov eax, dword [ebp - 0x2c]
push 0x100b9be8
push 0
push 1
add eax, 0x44
push 0x25
add eax, edi
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x6b
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
add esp, 0x24
lea eax, [esi + 0x106a591c]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100b9b30
push 0
add eax, 0x4e
push 1
add eax, edi
push 0x3c
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x46
push eax
push 0xff77df01
push 0x106a58f8
call fcn.10048460
add esp, 0x24
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100b9b30
push 0
push 1
add eax, 0x58
push 0x3c
add eax, edi
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x46
push eax
push 0xff1969ff
push 0x106a58f8
call fcn.10048460
add esp, 0x24
lea eax, [esi + 0x106a5958]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100b9b30
push 0
push 3
push 0x32
add eax, 0x17
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x91
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
mov eax, dword [ebp - 0x2c]
add esp, 0x24
add eax, 0x58
push dword [ebp - 0x30]
push 0x100b9b30
push 0
push 3
push 0x32
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x91
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
mov eax, dword [ebp - 0x28]
add eax, 0x91
movd xmm1, eax
mov eax, dword [ebp - 0x2c]
add eax, 0x27
movd xmm2, eax
mov ax, word [esi + 0x106a591a]
jmp 0x10047d96
cmp eax, 3
jne 0x10047681
add dword [ebp - 0x28], 0x2a
sub esp, 0x10
add dword [ebp - 0x2c], 0xf
mov dword [esp + 0xc], 0x3f4ccccd
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call ebx
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffffb
push 0
sub esp, 0x14
movd xmm0, eax
mov eax, dword [ebp - 0x28]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x10], 0
add eax, 0x28
mov dword [esp + 0xc], 0x42aa0000
mov dword [esp + 8], 0x42a00000
movss dword [esp + 4], xmm0
movd xmm0, eax
mov eax, 0x630f0a
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call eax
add esp, 0x18
mov eax, 0x62f7f0
call eax
push 0xbe
mov ecx, 0x10173658
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x2c]
push 0
push 3
push 0x50
add eax, 0xfffffffc
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x28
push eax
push 0xffcc6699
push 0x106a58f8
call fcn.10048460
add esp, 0x20
mov ecx, 0x10173658
push 0xb5
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x2c]
push 0
push 1
push 0xf
add eax, 8
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x32
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
xor esi, esi
add esp, 0x20
cmp dword [0x1028acc0], esi
je 0x1004748e
push 0x8b
mov ecx, 0x10173658
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x2c]
push esi
push 1
push 0x19
add eax, 0x12
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x32
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
imul eax, edi, 0x74
movzx eax, word [eax + 0x106a58fa]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100b9be8
push esi
push 1
push 0x25
add eax, 0x12
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x57
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
add esp, 0x44
jmp 0x10047493
mov esi, 0xfffffff6
cmp dword [0x1028acc4], 0
je 0x10047505
push 0x44
mov ecx, 0x10173658
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x2c]
push 0
push 1
add eax, 0x1c
push 0x19
add eax, esi
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x32
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
imul eax, edi, 0x74
movzx eax, word [eax + 0x106a58fc]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100b9be8
push 0
push 1
add eax, 0x1c
push 0x25
add eax, esi
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x57
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
add esp, 0x44
jmp 0x10047508
sub esi, 0xa
push 0xbb
mov ecx, 0x10173658
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x2c]
push 0
push 1
add eax, 0x26
push 0x19
add eax, esi
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x32
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
add esp, 0x20
mov ecx, 0x10173658
push 0xbc
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x2c]
push 0
push 1
add eax, 0x30
push 0x19
add eax, esi
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x32
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
imul eax, edi, 0x74
movzx eax, word [eax + 0x106a58fe]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100ba730
push 0
push 1
push 0x2d
add eax, 8
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x57
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
add esp, 0x44
imul eax, edi, 0x74
movzx eax, word [eax + 0x106a5900]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100b9be8
push 0
push 1
add eax, 0x26
push 0x25
add eax, esi
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x57
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
imul eax, edi, 0x74
add esp, 0x24
movzx eax, word [eax + 0x106a5902]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100b9be8
push 0
push 1
add eax, 0x30
push 0x25
add eax, esi
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x57
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
add esp, 0x24
imul eax, edi, 0x74
add eax, 0x106a591c
push eax
mov eax, dword [ebp - 0x2c]
push 0x100b9b30
push 0
push 1
add eax, 0x3a
push 0x3c
add eax, esi
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x32
push eax
push 0xff77df01
push 0x106a58f8
call fcn.10048460
add esp, 0x24
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100b9b30
push 0
add eax, 0x44
push 1
add eax, esi
push 0x3c
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x32
push eax
push 0xff1969ff
push 0x106a58f8
call fcn.10048460
add esp, 0x24
jmp 0x10047e6e
cmp eax, 4
jne 0x100477cd
mov eax, dword [0x1028acb8]
cmp eax, 2
je 0x10047e6e
cmp eax, 3
je 0x10047e6e
sub esp, 0x10
mov dword [esp + 0xc], 0x3f4ccccd
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call ebx
mov eax, dword [ebp - 0x2c]
add eax, 0xffffffb4
push 0
sub esp, 0x14
movd xmm0, eax
mov eax, dword [ebp - 0x28]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x10], 0
add eax, 2
mov dword [esp + 0xc], 0x41200000
mov dword [esp + 8], 0x42960000
movss dword [esp + 4], xmm0
movd xmm0, eax
mov eax, 0x630f0a
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call eax
mov eax, 0x62f7f0
call eax
imul eax, edi, 0x74
add eax, 0x106a5958
push eax
mov eax, dword [ebp - 0x2c]
push 0x100b9b30
push 0
push 3
push 0x46
add eax, 0xffffffb5
push eax
mov eax, dword [ebp - 0x28]
add eax, 7
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
movd xmm0, dword [ebp - 0x2c]
add esp, 0x38
cvtdq2ps xmm0, xmm0
mov dword [esp], 0
push 1
push 1
subss xmm0, dword [0x100bcaa4]
sub esp, 0x20
imul eax, edi, 0x74
mov dword [esp + 0x1c], 0x3f800000
mov dword [esp + 0x18], 0x3f800000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
movzx eax, word [eax + 0x106a591a]
mov dword [esp + 0xc], 0x42700000
mov dword [esp + 8], 0x42700000
movss dword [esp + 4], xmm0
movd xmm0, dword [ebp - 0x28]
lea eax, [eax + eax*2]
cvtdq2ps xmm0, xmm0
shl eax, 5
addss xmm0, dword [0x100bca1c]
movss dword [esp], xmm0
push dword [eax + 0x1023cdbc]
jmp 0x10047e64
sub esp, 0x10
mov dword [esp + 0xc], 0x3f4ccccd
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call ebx
mov eax, dword [ebp - 0x2c]
add eax, 0xc
push 0
sub esp, 0x14
movd xmm0, eax
mov eax, dword [ebp - 0x28]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x10], 0
add eax, 0x2d
mov dword [esp + 0xc], 0x42a00000
mov dword [esp + 8], 0x43480000
movss dword [esp + 4], xmm0
movd xmm0, eax
mov eax, 0x630f0a
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call eax
add esp, 0x18
mov eax, 0x62f7f0
call eax
push 0xbd
mov ecx, 0x10173658
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x2c]
push 0
push 3
push 0x69
add eax, 0x10
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x4b
push eax
push 0xffcc6699
push 0x106a58f8
call fcn.10048460
add esp, 0x20
mov ecx, 0x10173658
push 0xb5
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x2c]
push 0
push 1
push 0x1b
add eax, 0x1c
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x37
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
add esp, 0x20
mov ecx, 0x10173658
push 0xb6
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x2c]
push 0
push 1
push 0x14
add eax, 0x26
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x37
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
add esp, 0x20
mov ecx, 0x10173658
push 0xb7
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x2c]
push 0
push 1
push 0x14
add eax, 0x30
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x37
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
add esp, 0x20
mov ecx, 0x10173658
push 0xb8
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x2c]
push 0
push 1
push 0x14
add eax, 0x3a
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x37
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
add esp, 0x20
mov ecx, 0x10173658
push 0xb9
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x2c]
push 0
push 1
push 0x14
add eax, 0x44
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x37
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
add esp, 0x20
mov ecx, 0x10173658
push 0xba
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x2c]
push 0
push 1
push 0x17
add eax, 0x4e
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x37
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
imul eax, edi, 0x74
movzx eax, word [eax + 0x106a58fe]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100ba730
push 0
push 1
push 0x28
add eax, 0x1c
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x55
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
add esp, 0x44
imul eax, edi, 0x74
push dword [eax + 0x106a5904]
mov eax, dword [ebp - 0x2c]
push 0x100ba730
push 0
push 1
push 0x28
add eax, 0x26
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x55
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
add esp, 0x24
imul eax, edi, 0x74
push dword [eax + 0x106a5910]
mov eax, dword [ebp - 0x2c]
push 0x100ba730
push 0
push 1
push 0x28
add eax, 0x30
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x55
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
add esp, 0x24
imul eax, edi, 0x74
push dword [eax + 0x106a5908]
mov eax, dword [ebp - 0x2c]
push 0x100ba730
push 0
push 1
push 0x28
add eax, 0x3a
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x55
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
add esp, 0x24
imul eax, edi, 0x74
push dword [eax + 0x106a590c]
mov eax, dword [ebp - 0x2c]
push 0x100ba730
push 0
push 1
push 0x28
add eax, 0x44
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x55
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
add esp, 0x24
imul eax, edi, 0x74
push dword [eax + 0x106a5914]
mov eax, dword [ebp - 0x2c]
push 0x100ba730
push 0
push 1
push 0x28
add eax, 0x4e
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x55
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
xor esi, esi
add esp, 0x24
cmp dword [0x1028acc0], esi
je 0x10047b55
push 0x8b
mov ecx, 0x10173658
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x2c]
push esi
push 1
push 0x19
add eax, 0x1c
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x73
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
imul eax, edi, 0x74
movzx eax, word [eax + 0x106a58fa]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100b9be8
push esi
push 1
push 0x25
add eax, 0x1c
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x9b
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
add esp, 0x44
jmp 0x10047b5a
mov esi, 0xfffffff6
cmp dword [0x1028acc4], 0
je 0x10047bce
push 0x44
mov ecx, 0x10173658
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x2c]
push 0
push 1
add eax, 0x26
push 0x19
add eax, esi
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x73
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
imul eax, edi, 0x74
movzx eax, word [eax + 0x106a58fc]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100b9be8
push 0
push 1
add eax, 0x26
push 0x25
add eax, esi
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x9b
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
add esp, 0x44
jmp 0x10047bd1
sub esi, 0xa
push 0xbb
mov ecx, 0x10173658
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x2c]
push 0
push 1
add eax, 0x30
push 0x23
add eax, esi
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x73
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
add esp, 0x20
mov ecx, 0x10173658
push 0xbc
call fcn.10036b80
push eax
mov eax, dword [ebp - 0x2c]
push 0
push 1
add eax, 0x3a
push 0x23
add eax, esi
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x73
push eax
push 0xffffffffffffffff
push 0x106a58f8
call fcn.10048460
imul eax, edi, 0x74
movzx eax, word [eax + 0x106a5900]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100b9be8
push 0
push 1
add eax, 0x30
push 0x2d
add eax, esi
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x9b
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
add esp, 0x44
imul eax, edi, 0x74
movzx eax, word [eax + 0x106a5902]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100b9be8
push 0
push 1
add eax, 0x3a
push 0x2d
add eax, esi
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x9b
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
add esp, 0x24
imul eax, edi, 0x74
add eax, 0x106a591c
push eax
mov eax, dword [ebp - 0x2c]
push 0x100b9b30
push 1
push 1
add eax, 0x44
push 0x50
add eax, esi
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x73
push eax
push 0xff77df01
push 0x106a58f8
call fcn.10048460
add esp, 0x24
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100b9b30
push 0
push 1
add eax, 0x4e
push 0x50
add eax, esi
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x73
push eax
push 0xff1969ff
push 0x106a58f8
call fcn.10048460
add esp, 0x24
imul eax, edi, 0x74
add eax, 0x106a5958
push eax
mov eax, dword [ebp - 0x2c]
push 0x100b9b30
push 0
push 3
push 0x32
add eax, 0x12
push eax
mov eax, dword [ebp - 0x28]
add eax, 0xbe
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
mov eax, dword [ebp - 0x2c]
add esp, 0x24
add eax, 0x4e
push dword [ebp - 0x30]
push 0x100b9b30
push 0
push 3
push 0x32
push eax
mov eax, dword [ebp - 0x28]
add eax, 0xbe
push eax
push 0xff19bdff
push 0x106a58f8
call fcn.10048460
mov eax, dword [ebp - 0x28]
add eax, 0xbe
movd xmm1, eax
mov eax, dword [ebp - 0x2c]
add eax, 0x1c
movd xmm2, eax
imul eax, edi, 0x74
mov ax, word [eax + 0x106a591a]
movss xmm3, dword [0x100bccf0]
inc ax
cwde
add esp, 0x24
cvtdq2ps xmm2, xmm2
lea ecx, [eax + eax*2]
shl ecx, 5
cvtdq2ps xmm1, xmm1
movss xmm0, dword [ecx + 0x1023cd68]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x10047dd2
movss xmm0, dword [ecx + 0x1023cd6c]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x10047e08
movaps xmm0, xmm1
addss xmm0, dword [ecx + 0x1023cd60]
movss dword [ecx + 0x1023cd70], xmm0
movaps xmm0, xmm2
addss xmm0, dword [ecx + 0x1023cd64]
movss dword [ecx + 0x1023cd68], xmm1
movss dword [ecx + 0x1023cd74], xmm0
movss dword [ecx + 0x1023cd6c], xmm2
movss xmm0, dword [ecx + 0x1023cd64]
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f800000
mov dword [esp + 0x18], 0x3f800000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ecx + 0x1023cd60]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm2
movss dword [esp], xmm1
push dword [ecx + 0x1023cd5c]
mov eax, 0x631289
call eax
add esp, 0x30
sub esp, 0x10
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call ebx
mov esi, 0x9265d0
mov eax, dword [ebp - 0x34]
mov edx, 0x43734e
inc eax
mov dword [ebp - 0x34], eax
cmp eax, 0x190
jl 0x10046638
sub esp, 0x10
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008c0ce
mov esp, ebp
pop ebp
ret