Function at 0x1004d930
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x100db040]
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 0x1004edb5
movzx edi, word [eax + 0x7e]
lea ecx, [eax + 0x38]
imul esi, edi, 0x74
mov dword [ebp - 0x30], ecx
cmp dword [esi + 0x106b9e50], 0
je 0x1004edb0
cmp byte [eax + 0x328], 0
je 0x1004edb0
mov ecx, dword [eax + 0x368]
cmp ecx, 0xc3
je 0x1004edb0
cmp ecx, 0xc4
je 0x1004edb0
cmp ecx, 0xc5
je 0x1004edb0
cmp byte [eax + 0x34c], 2
jne 0x1004d5cc
push eax
call fcn.1004eeb0
jmp 0x1004edb0
cmp byte [eax + 0xe], 0
jne 0x1004d5df
cmp dword [0x102c4e38], 0
jne 0x1004edb0
mov ecx, dword [0x118edf8]
cmp ecx, 0x12
jl 0x1004d5fc
cmp ecx, 0x17
jle 0x1004edb0
cmp ecx, 0x35
je 0x1004edb0
cmp byte [eax + 0x15], 0x20
je 0x1004edb0
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 [0x100d1ce4]
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 [0x102c4e34]
sub ecx, 0x2a
mov dword [ebp - 0x28], ecx
cmp edx, 1
jne 0x1004d723
push edx
mov eax, 0x62f75b
call eax
movd xmm0, dword [ebp - 0x2c]
movzx eax, word [esi + 0x106b9e3a]
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 [0x100d1c80]
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 [0x100d1c04]
movss dword [esp], xmm0
push dword [eax + 0x10276e9c]
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 [0x102c4e34]
lea eax, [ecx + 0x19]
cmp dword [0x8b156ec], eax
jl 0x1004edb0
movd xmm1, dword [0x8b156ec]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
addss xmm0, dword [0x100d1c9c]
comiss xmm0, xmm1
jb 0x1004edb0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [0x8b156f0]
add eax, 0x14
cmp ecx, eax
jl 0x1004edb0
mov eax, dword [ebp - 0x2c]
add eax, 0x55
cmp ecx, eax
jge 0x1004edb0
cmp dword [0x102c4d98], 4
je 0x1004d8e1
cmp edx, 1
jne 0x1004d8e1
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 + 0x106b9e78]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100ceac0
push 0
push 3
push 0x46
add eax, 0xffffffb5
push eax
mov eax, dword [ebp - 0x28]
add eax, 7
push eax
push 0xff19bdff
push 0x106b9e18
call fcn.1004f380
movd xmm0, dword [ebp - 0x2c]
add esp, 0x38
movzx eax, word [esi + 0x106b9e3a]
cvtdq2ps xmm0, xmm0
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
lea eax, [eax + eax*2]
subss xmm0, dword [0x100d1c80]
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 [0x100d1c04]
movss dword [esp], xmm0
push dword [eax + 0x10276e9c]
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 [0x102c4e44], 0
je 0x1004d8fb
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1004edb0
push 1
mov eax, 0x62f75b
call eax
movzx eax, word [esi + 0x106b9e38]
add esp, 4
dec eax
mov dword [ebp - 8], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x18], xmm0
cmp eax, 0x61
ja case.0x1004d929.3
movzx eax, byte [eax + 0x1004ee4c]
jmp dword [eax*4 + 0x1004ee04]
push 0x19
jmp 0x1004d994
push 0x685
jmp 0x1004d994
push 0x15
jmp 0x1004d994
push 0x1a
jmp 0x1004d994
push 0x684
jmp 0x1004d994
push 0x16
jmp 0x1004d994
push 0x1b
jmp 0x1004d994
push 0x686
jmp 0x1004d994
push 0x17
jmp 0x1004d994
push 0x687
jmp 0x1004d994
push 0x18
jmp 0x1004d994
push 0x688
jmp 0x1004d994
push 0x697
jmp 0x1004d994
push 0x698
jmp 0x1004d994
push 0x699
jmp 0x1004d994
push 0xc4e
jmp 0x1004d994
push 0xc4f
jmp 0x1004d994
push 0x14
mov ecx, 0x8499de0
mov eax, 0x436d31
call eax
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10011730
mov eax, dword [0x102c4d98]
add esp, 8
cmp eax, 2
jne 0x1004decd
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, 0x101888b0
call fcn.1003ad30
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 0x106b9e18
call fcn.1004f380
add esp, 0x20
mov ecx, 0x101888b0
push 0xb5
call fcn.1003ad30
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 0x106b9e18
call fcn.1004f380
add esp, 0x20
mov ecx, 0x101888b0
push 0xb6
call fcn.1003ad30
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 0x106b9e18
call fcn.1004f380
add esp, 0x20
mov ecx, 0x101888b0
push 0xb7
call fcn.1003ad30
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 0x106b9e18
call fcn.1004f380
add esp, 0x20
mov ecx, 0x101888b0
push 0xb8
call fcn.1003ad30
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 0x106b9e18
call fcn.1004f380
add esp, 0x20
mov ecx, 0x101888b0
push 0xb9
call fcn.1003ad30
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 0x106b9e18
call fcn.1004f380
add esp, 0x20
mov ecx, 0x101888b0
push 0xba
call fcn.1003ad30
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 0x106b9e18
call fcn.1004f380
movzx eax, word [esi + 0x106b9e1e]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100cf708
push 0
push 1
push 0x28
add eax, 0x1c
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x55
push eax
push 0xff19bdff
push 0x106b9e18
call fcn.1004f380
add esp, 0x44
push dword [esi + 0x106b9e24]
push 0x100cf708
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 0x106b9e18
call fcn.1004f380
mov eax, dword [ebp - 0x2c]
add esp, 0x24
add eax, 0x30
push dword [esi + 0x106b9e30]
push 0x100cf708
push 0
push 1
push 0x28
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x55
push eax
push 0xff19bdff
push 0x106b9e18
call fcn.1004f380
mov eax, dword [ebp - 0x2c]
add esp, 0x24
add eax, 0x3a
push dword [esi + 0x106b9e28]
push 0x100cf708
push 0
push 1
push 0x28
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x55
push eax
push 0xff19bdff
push 0x106b9e18
call fcn.1004f380
mov eax, dword [ebp - 0x2c]
add esp, 0x24
add eax, 0x44
push dword [esi + 0x106b9e2c]
push 0x100cf708
push 0
push 1
push 0x28
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x55
push eax
push 0xff19bdff
push 0x106b9e18
call fcn.1004f380
mov eax, dword [ebp - 0x2c]
add esp, 0x24
add eax, 0x4e
push dword [esi + 0x106b9e34]
push 0x100cf708
push 0
push 1
push 0x28
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x55
push eax
push 0xff19bdff
push 0x106b9e18
call fcn.1004f380
xor edi, edi
add esp, 0x24
cmp dword [0x102c4e3c], edi
je 0x1004dd2b
push 0x8b
mov ecx, 0x101888b0
call fcn.1003ad30
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 0x106b9e18
call fcn.1004f380
movzx eax, word [esi + 0x106b9e1a]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100ceb78
push edi
push 1
push 0x25
add eax, 0x1c
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x9b
push eax
push 0xffffffffffffffff
push 0x106b9e18
call fcn.1004f380
add esp, 0x44
jmp 0x1004dd30
mov edi, 0xfffffff6
cmp dword [0x102c4e40], 0
je 0x1004dd9e
push 0x44
mov ecx, 0x101888b0
call fcn.1003ad30
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 0x106b9e18
call fcn.1004f380
movzx eax, word [esi + 0x106b9e1c]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100ceb78
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 0x106b9e18
call fcn.1004f380
add esp, 0x44
jmp 0x1004dda1
sub edi, 0xa
push 0xbb
mov ecx, 0x101888b0
call fcn.1003ad30
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 0x106b9e18
call fcn.1004f380
add esp, 0x20
mov ecx, 0x101888b0
push 0xbc
call fcn.1003ad30
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 0x106b9e18
call fcn.1004f380
movzx eax, word [esi + 0x106b9e20]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100ceb78
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 0x106b9e18
call fcn.1004f380
movzx eax, word [esi + 0x106b9e22]
add esp, 0x44
push eax
mov eax, dword [ebp - 0x2c]
push 0x100ceb78
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 0x106b9e18
call fcn.1004f380
add esp, 0x24
lea eax, [esi + 0x106b9e3c]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100ceac0
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 0x106b9e18
call fcn.1004f380
add esp, 0x24
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100ceac0
push 0
add eax, 0x4e
push 1
add eax, edi
push 0x50
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x73
jmp 0x1004e589
cmp eax, 1
jne 0x1004e24d
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, 0x101888b0
call fcn.1003ad30
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 0x106b9e18
call fcn.1004f380
movzx eax, word [esi + 0x106b9e1e]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100cf708
push 0
push 1
push 0x2d
add eax, 0x1c
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x6b
push eax
push 0xff19bdff
push 0x106b9e18
call fcn.1004f380
xor edi, edi
add esp, 0x44
cmp dword [0x102c4e3c], edi
je 0x1004e01d
push 0x8b
mov ecx, 0x101888b0
call fcn.1003ad30
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 0x106b9e18
call fcn.1004f380
movzx eax, word [esi + 0x106b9e1a]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100ceb78
push edi
push 1
push 0x25
add eax, 0x26
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x6b
push eax
push 0xff19bdff
push 0x106b9e18
call fcn.1004f380
add esp, 0x44
jmp 0x1004e022
mov edi, 0xfffffff6
cmp dword [0x102c4e40], 0
je 0x1004e091
push 0x44
mov ecx, 0x101888b0
call fcn.1003ad30
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 0x106b9e18
call fcn.1004f380
movzx eax, word [esi + 0x106b9e1c]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100ceb78
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 0x106b9e18
call fcn.1004f380
add esp, 0x44
jmp 0x1004e094
sub edi, 0xa
push 0xbb
mov ecx, 0x101888b0
call fcn.1003ad30
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 0x106b9e18
call fcn.1004f380
add esp, 0x20
mov ecx, 0x101888b0
push 0xbc
call fcn.1003ad30
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 0x106b9e18
call fcn.1004f380
movzx eax, word [esi + 0x106b9e20]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100ceb78
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 0x106b9e18
call fcn.1004f380
movzx eax, word [esi + 0x106b9e22]
add esp, 0x44
push eax
mov eax, dword [ebp - 0x2c]
push 0x100ceb78
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 0x106b9e18
call fcn.1004f380
add esp, 0x24
lea eax, [esi + 0x106b9e3c]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100ceac0
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 0x106b9e18
call fcn.1004f380
add esp, 0x24
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100ceac0
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 0x106b9e18
call fcn.1004f380
add esp, 0x24
lea eax, [esi + 0x106b9e78]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100ceac0
push 0
push 3
push 0x32
add eax, 0x17
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x91
push eax
push 0xff19bdff
push 0x106b9e18
call fcn.1004f380
mov eax, dword [ebp - 0x2c]
add esp, 0x24
add eax, 0x58
push dword [ebp - 0x30]
push 0x100ceac0
push 0
push 3
push 0x32
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x91
push eax
push 0xff19bdff
push 0x106b9e18
call fcn.1004f380
mov eax, dword [ebp - 0x28]
add eax, 0x91
movd xmm1, eax
mov eax, dword [ebp - 0x2c]
add eax, 0x27
movd xmm2, eax
movsx eax, word [esi + 0x106b9e3a]
jmp 0x1004ecb6
cmp eax, 3
jne 0x1004e5a1
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, 0x101888b0
call fcn.1003ad30
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 0x106b9e18
call fcn.1004f380
add esp, 0x20
mov ecx, 0x101888b0
push 0xb5
call fcn.1003ad30
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 0x106b9e18
call fcn.1004f380
xor esi, esi
add esp, 0x20
cmp dword [0x102c4e3c], esi
je 0x1004e3ae
push 0x8b
mov ecx, 0x101888b0
call fcn.1003ad30
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 0x106b9e18
call fcn.1004f380
imul eax, edi, 0x74
movzx eax, word [eax + 0x106b9e1a]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100ceb78
push esi
push 1
push 0x25
add eax, 0x12
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x57
push eax
push 0xff19bdff
push 0x106b9e18
call fcn.1004f380
add esp, 0x44
jmp 0x1004e3b3
mov esi, 0xfffffff6
cmp dword [0x102c4e40], 0
je 0x1004e425
push 0x44
mov ecx, 0x101888b0
call fcn.1003ad30
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 0x106b9e18
call fcn.1004f380
imul eax, edi, 0x74
movzx eax, word [eax + 0x106b9e1c]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100ceb78
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 0x106b9e18
call fcn.1004f380
add esp, 0x44
jmp 0x1004e428
sub esi, 0xa
push 0xbb
mov ecx, 0x101888b0
call fcn.1003ad30
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 0x106b9e18
call fcn.1004f380
add esp, 0x20
mov ecx, 0x101888b0
push 0xbc
call fcn.1003ad30
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 0x106b9e18
call fcn.1004f380
imul eax, edi, 0x74
movzx eax, word [eax + 0x106b9e1e]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100cf708
push 0
push 1
push 0x2d
add eax, 8
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x57
push eax
push 0xff19bdff
push 0x106b9e18
call fcn.1004f380
add esp, 0x44
imul eax, edi, 0x74
movzx eax, word [eax + 0x106b9e20]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100ceb78
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 0x106b9e18
call fcn.1004f380
imul eax, edi, 0x74
add esp, 0x24
movzx eax, word [eax + 0x106b9e22]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100ceb78
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 0x106b9e18
call fcn.1004f380
add esp, 0x24
imul eax, edi, 0x74
add eax, 0x106b9e3c
push eax
mov eax, dword [ebp - 0x2c]
push 0x100ceac0
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 0x106b9e18
call fcn.1004f380
add esp, 0x24
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100ceac0
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 0x106b9e18
call fcn.1004f380
add esp, 0x24
jmp 0x1004ed8c
cmp eax, 4
jne 0x1004e6ed
mov eax, dword [0x102c4e34]
cmp eax, 2
je 0x1004ed8c
cmp eax, 3
je 0x1004ed8c
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, 0x106b9e78
push eax
mov eax, dword [ebp - 0x2c]
push 0x100ceac0
push 0
push 3
push 0x46
add eax, 0xffffffb5
push eax
mov eax, dword [ebp - 0x28]
add eax, 7
push eax
push 0xff19bdff
push 0x106b9e18
call fcn.1004f380
movd xmm0, dword [ebp - 0x2c]
add esp, 0x38
cvtdq2ps xmm0, xmm0
mov dword [esp], 0
push 1
push 1
subss xmm0, dword [0x100d1c80]
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 + 0x106b9e3a]
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 [0x100d1c04]
movss dword [esp], xmm0
push dword [eax + 0x10276e9c]
jmp 0x1004ed82
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, 0x101888b0
call fcn.1003ad30
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 0x106b9e18
call fcn.1004f380
add esp, 0x20
mov ecx, 0x101888b0
push 0xb5
call fcn.1003ad30
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 0x106b9e18
call fcn.1004f380
add esp, 0x20
mov ecx, 0x101888b0
push 0xb6
call fcn.1003ad30
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 0x106b9e18
call fcn.1004f380
add esp, 0x20
mov ecx, 0x101888b0
push 0xb7
call fcn.1003ad30
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 0x106b9e18
call fcn.1004f380
add esp, 0x20
mov ecx, 0x101888b0
push 0xb8
call fcn.1003ad30
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 0x106b9e18
call fcn.1004f380
add esp, 0x20
mov ecx, 0x101888b0
push 0xb9
call fcn.1003ad30
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 0x106b9e18
call fcn.1004f380
add esp, 0x20
mov ecx, 0x101888b0
push 0xba
call fcn.1003ad30
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 0x106b9e18
call fcn.1004f380
imul eax, edi, 0x74
movzx eax, word [eax + 0x106b9e1e]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100cf708
push 0
push 1
push 0x28
add eax, 0x1c
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x55
push eax
push 0xff19bdff
push 0x106b9e18
call fcn.1004f380
add esp, 0x44
imul eax, edi, 0x74
push dword [eax + 0x106b9e24]
mov eax, dword [ebp - 0x2c]
push 0x100cf708
push 0
push 1
push 0x28
add eax, 0x26
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x55
push eax
push 0xff19bdff
push 0x106b9e18
call fcn.1004f380
add esp, 0x24
imul eax, edi, 0x74
push dword [eax + 0x106b9e30]
mov eax, dword [ebp - 0x2c]
push 0x100cf708
push 0
push 1
push 0x28
add eax, 0x30
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x55
push eax
push 0xff19bdff
push 0x106b9e18
call fcn.1004f380
add esp, 0x24
imul eax, edi, 0x74
push dword [eax + 0x106b9e28]
mov eax, dword [ebp - 0x2c]
push 0x100cf708
push 0
push 1
push 0x28
add eax, 0x3a
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x55
push eax
push 0xff19bdff
push 0x106b9e18
call fcn.1004f380
add esp, 0x24
imul eax, edi, 0x74
push dword [eax + 0x106b9e2c]
mov eax, dword [ebp - 0x2c]
push 0x100cf708
push 0
push 1
push 0x28
add eax, 0x44
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x55
push eax
push 0xff19bdff
push 0x106b9e18
call fcn.1004f380
add esp, 0x24
imul eax, edi, 0x74
push dword [eax + 0x106b9e34]
mov eax, dword [ebp - 0x2c]
push 0x100cf708
push 0
push 1
push 0x28
add eax, 0x4e
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x55
push eax
push 0xff19bdff
push 0x106b9e18
call fcn.1004f380
xor esi, esi
add esp, 0x24
cmp dword [0x102c4e3c], esi
je 0x1004ea75
push 0x8b
mov ecx, 0x101888b0
call fcn.1003ad30
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 0x106b9e18
call fcn.1004f380
imul eax, edi, 0x74
movzx eax, word [eax + 0x106b9e1a]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100ceb78
push esi
push 1
push 0x25
add eax, 0x1c
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x9b
push eax
push 0xff19bdff
push 0x106b9e18
call fcn.1004f380
add esp, 0x44
jmp 0x1004ea7a
mov esi, 0xfffffff6
cmp dword [0x102c4e40], 0
je 0x1004eaee
push 0x44
mov ecx, 0x101888b0
call fcn.1003ad30
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 0x106b9e18
call fcn.1004f380
imul eax, edi, 0x74
movzx eax, word [eax + 0x106b9e1c]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100ceb78
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 0x106b9e18
call fcn.1004f380
add esp, 0x44
jmp 0x1004eaf1
sub esi, 0xa
push 0xbb
mov ecx, 0x101888b0
call fcn.1003ad30
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 0x106b9e18
call fcn.1004f380
add esp, 0x20
mov ecx, 0x101888b0
push 0xbc
call fcn.1003ad30
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 0x106b9e18
call fcn.1004f380
imul eax, edi, 0x74
movzx eax, word [eax + 0x106b9e20]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100ceb78
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 0x106b9e18
call fcn.1004f380
add esp, 0x44
imul eax, edi, 0x74
movzx eax, word [eax + 0x106b9e22]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100ceb78
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 0x106b9e18
call fcn.1004f380
add esp, 0x24
imul eax, edi, 0x74
add eax, 0x106b9e3c
push eax
mov eax, dword [ebp - 0x2c]
push 0x100ceac0
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 0x106b9e18
call fcn.1004f380
add esp, 0x24
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x2c]
push 0x100ceac0
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 0x106b9e18
call fcn.1004f380
add esp, 0x24
imul eax, edi, 0x74
add eax, 0x106b9e78
push eax
mov eax, dword [ebp - 0x2c]
push 0x100ceac0
push 0
push 3
push 0x32
add eax, 0x12
push eax
mov eax, dword [ebp - 0x28]
add eax, 0xbe
push eax
push 0xff19bdff
push 0x106b9e18
call fcn.1004f380
mov eax, dword [ebp - 0x2c]
add esp, 0x24
add eax, 0x4e
push dword [ebp - 0x30]
push 0x100ceac0
push 0
push 3
push 0x32
push eax
mov eax, dword [ebp - 0x28]
add eax, 0xbe
push eax
push 0xff19bdff
push 0x106b9e18
call fcn.1004f380
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
movsx eax, word [eax + 0x106b9e3a]
movss xmm3, dword [0x100d1f00]
inc eax
add esp, 0x24
cvtdq2ps xmm2, xmm2
lea ecx, [eax + eax*2]
shl ecx, 5
cvtdq2ps xmm1, xmm1
movss xmm0, dword [ecx + 0x10276e48]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x1004ecf0
movss xmm0, dword [ecx + 0x10276e4c]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x1004ed26
movaps xmm0, xmm1
addss xmm0, dword [ecx + 0x10276e40]
movss dword [ecx + 0x10276e50], xmm0
movaps xmm0, xmm2
addss xmm0, dword [ecx + 0x10276e44]
movss dword [ecx + 0x10276e48], xmm1
movss dword [ecx + 0x10276e54], xmm0
movss dword [ecx + 0x10276e4c], xmm2
movss xmm0, dword [ecx + 0x10276e44]
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 + 0x10276e40]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm2
movss dword [esp], xmm1
push dword [ecx + 0x10276e3c]
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 0x1004d558
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.100a0150
mov esp, ebp
pop ebp
ret