Function at 0x1004fb50
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x100fa040]
xor eax, ebp
mov dword [ebp - 8], eax
movzx edx, byte [0x1050c9a5]
xor ecx, ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x48], edi
test edx, edx
je 0x1004fb94
mov esi, dword [0xe61e18]
nop dword [eax]
movzx eax, byte [ecx + 0x1050ca20]
cmp eax, esi
je 0x10051125
inc ecx
cmp ecx, edx
jl 0x1004fb80
movzx eax, word [edi + 0x7e]
imul ebx, eax, 0x74
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ebx
cmp dword [ebx + 0x1050cae8], 0
je 0x10051125
cmp byte [edi + 0xe], 0
jne 0x1004fbc1
cmp dword [0x102c723c], 0
jne 0x10051125
fld qword [0x100f18a8]
sub esp, 8
fstp qword [esp]
call fcn.100e2340
mov ecx, dword [ebp + 0xc]
add esp, 8
fstp qword [ebp - 0x44]
cvttsd2si eax, qword [ebp - 0x44]
mov edi, dword [ebp + 0x10]
mov edx, dword [0x102c7238]
sub edi, 0x46
sub ecx, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [0x100f1748]
cvttsd2si esi, xmm0
mov dword [ebp - 0x38], esi
cmp edx, 1
jne 0x1004fd0a
sub esp, 0xc
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call dword [sym.imp.OPENGL32.dll_glColor3f]
push 1
mov eax, 0x635fd0
call eax
add esp, 4
mov eax, 0x636070
call eax
mov eax, dword [ebp - 0x48]
push 0
movd xmm1, esi
push 1
movzx eax, word [eax + 0x7e]
imul eax, eax, 0x74
movd xmm2, edi
cvtdq2ps xmm1, xmm1
push 1
sub esp, 0x20
cvtdq2ps xmm2, xmm2
movzx eax, word [eax + 0x1050cad2]
mov dword [esp + 0x1c], 0x3f800000
mov dword [esp + 0x18], 0x3f800000
mov dword [esp + 0x14], 0
movaps xmm0, xmm1
mov dword [esp + 0x10], 0
subss xmm2, dword [0x100f1d78]
addss xmm0, dword [0x100f1cfc]
lea eax, [eax + eax*2]
mov dword [esp + 0xc], 0x42700000
shl eax, 5
mov dword [esp + 8], 0x42700000
movss dword [esp + 4], xmm2
movss dword [esp], xmm0
push dword [eax + 0x102a231c]
mov eax, 0x637c60
movss dword [ebp - 0x40], xmm1
call eax
mov eax, 0x635f50
call eax
mov eax, 0x635f50
call eax
add esp, 0x24
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call dword [sym.imp.OPENGL32.dll_glColor3f]
mov edx, dword [0x102c7238]
movss xmm0, dword [ebp - 0x40]
jmp 0x1004fd16
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x40], xmm0
mov ecx, dword [0x879340c]
lea eax, [esi + 0xa]
cmp ecx, eax
jl 0x100510fc
addss xmm0, dword [0x100f1db4]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
jb 0x100510fc
mov ecx, dword [0x8793410]
lea eax, [edi + 0x28]
cmp ecx, eax
jl 0x100510fc
lea eax, [edi + 0x82]
cmp ecx, eax
jge 0x100510fc
cmp dword [0x102c71a0], 4
je 0x1004fe97
cmp edx, 1
jne 0x1004fe97
push edx
mov eax, 0x635fd0
call eax
mov dword [esp], 0x3f4ccccd
sub esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.OPENGL32.dll_glColor4f]
mov eax, dword [ebp - 0x38]
lea esi, [edi - 0x3d]
push 0
sub esp, 0x14
movd xmm0, esi
cvtdq2ps xmm0, xmm0
add eax, 2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41200000
mov dword [esp + 8], 0x42960000
movss dword [esp + 4], xmm0
movd xmm0, eax
mov eax, 0x6378a0
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call eax
mov eax, 0x636070
call eax
lea eax, [ebx + 0x1050cb10]
push eax
push 0x100ee240
push 3
push 0x46
push esi
mov esi, dword [ebp - 0x38]
lea eax, [esi + 7]
push eax
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
movzx eax, word [ebx + 0x1050cad2]
add esp, 0x38
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push 0
push 1
push 1
sub esp, 0x20
lea eax, [eax + eax*2]
subss xmm0, dword [0x100f1d78]
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
movss xmm0, dword [ebp - 0x40]
addss xmm0, dword [0x100f1cfc]
movss dword [esp], xmm0
push dword [eax + 0x102a231c]
mov eax, 0x637c60
call eax
add esp, 0x30
cmp dword [0x102c7248], 0
movd xmm0, edi
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [0x100f1868]
cvttsd2si edi, xmm0
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mov dword [ebp - 0x3c], edi
addsd xmm0, qword [0x100f1838]
cvttsd2si ebx, xmm0
mov dword [ebp - 0x34], ebx
je 0x1004fedf
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x10051125
push 1
mov eax, 0x635fd0
call eax
mov eax, dword [ebp - 0x30]
add esp, 4
xorps xmm0, xmm0
mov dword [ebp - 0x10], 0
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0xc], 0
movzx eax, word [eax + 0x1050cad0]
push eax
push 0
movq qword [ebp - 0x18], xmm0
call fcn.100bea80
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10051630
mov eax, dword [0x102c71a0]
add esp, 8
cmp eax, 2
jne 0x100503c2
sub esp, 0x10
mov dword [esp + 0xc], 0x3f4ccccd
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.OPENGL32.dll_glColor4f]
lea eax, [edi - 8]
movd xmm0, eax
lea eax, [ebx + 0x28]
push 0
sub esp, 0x14
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x42a00000
mov dword [esp + 8], 0x43070000
movss dword [esp + 4], xmm0
movd xmm0, eax
mov eax, 0x6378a0
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call eax
add esp, 0x18
mov eax, 0x636070
call eax
mov eax, dword [ebp - 0x30]
lea esi, [ebx + 0x3c]
mov ecx, 0x101b3888
lea eax, [eax + 0x1050cb10]
push eax
push 0xb4
call fcn.10042340
push eax
push str._s__s
push 3
push 0x5a
lea eax, [edi - 4]
push eax
push esi
push 0xff2d5fe1
push 0x1050cab0
call fcn.10051550
add esp, 0x24
lea ebx, [edi + 8]
mov ecx, 0x101b3888
mov dword [ebp - 0x40], ebx
push 0xb5
call fcn.10042340
push eax
push 1
push 0xf
push ebx
push esi
push 0xffffffffffffffff
push 0x1050cab0
call fcn.10051550
add esp, 0x1c
lea ebx, [edi + 0x12]
mov ecx, 0x101b3888
push 0xb6
call fcn.10042340
push eax
push 1
push 0xf
push ebx
push esi
push 0xffffffffffffffff
push 0x1050cab0
call fcn.10051550
add esp, 0x1c
lea ebx, [edi + 0x1c]
mov ecx, 0x101b3888
push 0xb7
call fcn.10042340
push eax
push 1
push 0xf
push ebx
push esi
push 0xffffffffffffffff
push 0x1050cab0
call fcn.10051550
add esp, 0x1c
lea ebx, [edi + 0x26]
mov ecx, 0x101b3888
push 0xb8
call fcn.10042340
push eax
push 1
push 0xf
push ebx
push esi
push 0xffffffffffffffff
push 0x1050cab0
call fcn.10051550
add esp, 0x1c
lea ebx, [edi + 0x30]
mov ecx, 0x101b3888
push 0xb9
call fcn.10042340
push eax
push 1
push 0xf
push ebx
push esi
push 0xffffffffffffffff
push 0x1050cab0
call fcn.10051550
add esp, 0x1c
mov ecx, 0x101b3888
add edi, 0x3a
push 0xba
call fcn.10042340
push eax
push 1
push 0xf
push edi
push esi
push 0xffffffffffffffff
push 0x1050cab0
call fcn.10051550
mov eax, dword [ebp - 0x30]
add esp, 0x1c
mov esi, dword [ebp - 0x34]
add esi, 0x50
movzx eax, word [eax + 0x1050cab6]
push eax
push 0x100ef75c
push 1
push 0x2d
push dword [ebp - 0x40]
push esi
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
mov eax, dword [ebp - 0x30]
push dword [eax + 0x1050cabc]
mov eax, dword [ebp - 0x3c]
push 0x100ef75c
push 1
push 0x2d
add eax, 0x12
push eax
push esi
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
mov eax, dword [ebp - 0x30]
add esp, 0x40
push dword [eax + 0x1050cac8]
mov eax, dword [ebp - 0x3c]
push 0x100ef75c
push 1
push 0x2d
add eax, 0x1c
push eax
push esi
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
mov eax, dword [ebp - 0x30]
push dword [eax + 0x1050cac0]
push 0x100ef75c
mov eax, dword [ebp - 0x3c]
push 1
push 0x2d
add eax, 0x26
push eax
push esi
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
mov eax, dword [ebp - 0x30]
add esp, 0x40
push dword [eax + 0x1050cac4]
push 0x100ef75c
push 1
push 0x2d
push ebx
push esi
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
mov eax, dword [ebp - 0x30]
push dword [eax + 0x1050cacc]
push 0x100ef75c
push 1
push 0x2d
push edi
push esi
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
xor esi, esi
add esp, 0x40
mov dword [ebp - 0x38], esi
cmp dword [0x102c7240], esi
je 0x1005023f
mov ebx, dword [ebp - 0x34]
mov ecx, 0x101b3888
push 0x8b
lea edi, [ebx + 0x78]
mov dword [ebp - 0x34], edi
call fcn.10042340
push eax
push 1
push 0x19
push dword [ebp - 0x40]
push edi
push 0xffffffffffffffff
push 0x1050cab0
call fcn.10051550
mov edi, dword [ebp - 0x30]
add esp, 0x1c
add ebx, 0x93
mov dword [ebp - 0x2c], ebx
movzx eax, word [edi + 0x1050cab2]
push eax
push 0x100ee338
push 1
push 0x25
push dword [ebp - 0x40]
push ebx
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
add esp, 0x20
jmp 0x1005025b
mov eax, dword [ebp - 0x34]
mov esi, 0xfffffff6
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x38], esi
lea ecx, [eax + 0x78]
add eax, 0x93
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x2c], eax
cmp dword [0x102c7244], 0
mov ebx, dword [ebp - 0x3c]
je 0x100502bc
add esi, 0x12
mov ecx, 0x101b3888
push 0x44
add esi, ebx
call fcn.10042340
push eax
push 1
push 0x19
push esi
push dword [ebp - 0x34]
push 0xffffffffffffffff
push 0x1050cab0
call fcn.10051550
movzx eax, word [edi + 0x1050cab4]
add esp, 0x1c
push eax
push 0x100ee338
push 1
push 0x25
push esi
push dword [ebp - 0x2c]
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
mov esi, dword [ebp - 0x38]
add esp, 0x20
jmp 0x100502c2
sub esi, 0xa
mov dword [ebp - 0x38], esi
lea edi, [ebx + 0x1c]
mov ecx, 0x101b3888
push 0xbb
add edi, esi
call fcn.10042340
push eax
push 1
push 0x19
push edi
push dword [ebp - 0x34]
push 0xffffffffffffffff
push 0x1050cab0
call fcn.10051550
add esp, 0x1c
add esi, 0x26
mov ecx, 0x101b3888
add esi, ebx
push 0xbc
call fcn.10042340
push eax
push 1
push 0x19
push esi
push dword [ebp - 0x34]
push 0xffffffffffffffff
push 0x1050cab0
call fcn.10051550
mov eax, dword [ebp - 0x30]
add esp, 0x1c
movzx eax, word [eax + 0x1050cab8]
push eax
push 0x100ee338
push 1
push 0x25
push edi
push dword [ebp - 0x2c]
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
mov edi, dword [ebp - 0x30]
movzx eax, word [edi + 0x1050caba]
push eax
push 0x100ee338
push 1
push 0x25
push esi
push dword [ebp - 0x2c]
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
mov esi, dword [ebp - 0x38]
lea eax, [edi + 0x1050cad4]
mov edi, dword [ebp - 0x34]
add esp, 0x40
push eax
push 0x100ee240
push 1
push 0x3c
lea eax, [esi + 0x30]
add eax, ebx
push eax
push edi
push 0xff77df01
push 0x1050cab0
call fcn.10051550
lea eax, [ebp - 0x28]
push eax
push 0x100ee240
push 1
push 0x3c
lea eax, [esi + 0x3a]
add eax, ebx
push eax
push edi
push 0xff1969ff
push 0x1050cab0
call fcn.10051550
add esp, 0x40
jmp 0x100510fc
cmp eax, 1
jne 0x100506e2
sub esp, 0x10
mov dword [esp + 0xc], 0x3f4ccccd
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.OPENGL32.dll_glColor4f]
lea eax, [edi - 8]
movd xmm0, eax
lea eax, [ebx + 0x28]
push 0
sub esp, 0x14
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x42a00000
mov dword [esp + 8], 0x42f00000
movss dword [esp + 4], xmm0
movd xmm0, eax
mov eax, 0x6378a0
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call eax
add esp, 0x18
mov eax, 0x636070
call eax
lea esi, [ebx + 0x32]
mov ecx, 0x101b3888
push 0xb5
mov dword [ebp - 0x40], esi
call fcn.10042340
push eax
push 1
push 0xf
lea eax, [edi - 2]
push eax
push esi
push 0xffffffffffffffff
push 0x1050cab0
call fcn.10051550
xor esi, esi
add esp, 0x1c
mov dword [ebp - 0x38], esi
cmp dword [0x102c7240], esi
je 0x100504d8
push 0x8b
mov ecx, 0x101b3888
lea esi, [edi + 8]
call fcn.10042340
push eax
push 1
push 0x19
push esi
lea eax, [ebx + 0x32]
push eax
push 0xffffffffffffffff
push 0x1050cab0
call fcn.10051550
add esp, 0x1c
lea ecx, [ebx + 0x57]
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
movzx eax, word [ebx + 0x1050cab2]
push eax
push 0x100ee338
push 1
push 0x25
push esi
push ecx
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
add esp, 0x20
xor esi, esi
jmp 0x100504e9
lea eax, [ebx + 0x57]
mov esi, 0xfffffff6
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x2c], eax
cmp dword [0x102c7244], 0
je 0x10050547
add esi, 0x12
mov ecx, 0x101b3888
push 0x44
add esi, edi
call fcn.10042340
push eax
push 1
push 0x19
push esi
push dword [ebp - 0x40]
push 0xffffffffffffffff
push 0x1050cab0
call fcn.10051550
movzx eax, word [ebx + 0x1050cab4]
add esp, 0x1c
push eax
push 0x100ee338
push 1
push 0x25
push esi
push dword [ebp - 0x2c]
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
mov esi, dword [ebp - 0x38]
add esp, 0x20
jmp 0x1005054d
sub esi, 0xa
mov dword [ebp - 0x38], esi
add edi, 0x1c
mov ecx, 0x101b3888
push 0xbb
add edi, esi
call fcn.10042340
push eax
push 1
push 0x19
push edi
push dword [ebp - 0x40]
push 0xffffffffffffffff
push 0x1050cab0
call fcn.10051550
mov ebx, dword [ebp - 0x3c]
add esp, 0x1c
add esi, 0x26
mov ecx, 0x101b3888
add esi, ebx
push 0xbc
call fcn.10042340
push eax
push 1
push 0x19
push esi
push dword [ebp - 0x40]
push 0xffffffffffffffff
push 0x1050cab0
call fcn.10051550
mov eax, dword [ebp - 0x30]
add esp, 0x1c
movzx eax, word [eax + 0x1050cab6]
push eax
push 0x100ef75c
push 1
push 0x2d
lea eax, [ebx - 2]
push eax
push dword [ebp - 0x2c]
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
mov eax, dword [ebp - 0x30]
movzx eax, word [eax + 0x1050cab8]
push eax
push 0x100ee338
push 1
push 0x25
push edi
push dword [ebp - 0x2c]
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
mov edi, dword [ebp - 0x30]
add esp, 0x40
movzx eax, word [edi + 0x1050caba]
push eax
push 0x100ee338
push 1
push 0x25
push esi
push dword [ebp - 0x2c]
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
mov esi, dword [ebp - 0x38]
lea eax, [edi + 0x1050cad4]
mov edi, dword [ebp - 0x40]
push eax
push 0x100ee240
push 1
push 0x3c
lea eax, [ebx + 0x30]
add eax, esi
push eax
push edi
push 0xff77df01
push 0x1050cab0
call fcn.10051550
add esp, 0x40
lea eax, [ebp - 0x28]
push eax
push 0x100ee240
push 1
push 0x3c
lea eax, [esi + 0x3a]
add eax, ebx
push eax
push edi
push 0xff1969ff
push 0x1050cab0
call fcn.10051550
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
lea eax, [eax + 0x1050cb10]
push eax
push 0x100ee240
push 3
push 0x46
lea eax, [ebx - 5]
push eax
lea esi, [edi + 0x64]
push esi
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
mov eax, dword [ebp - 0x48]
add esp, 0x40
add eax, 0x38
push eax
push 0x100ee240
push 3
push 0x46
lea eax, [ebx + 0x3b]
push eax
push esi
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
lea eax, [edi + 0x6e]
add esp, 0x20
movd xmm1, eax
lea eax, [ebx + 9]
movd xmm2, eax
mov eax, dword [ebp - 0x30]
jmp 0x10051026
cmp eax, 3
jne 0x100509cd
sub esp, 0x10
mov dword [esp + 0xc], 0x3f4ccccd
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.OPENGL32.dll_glColor4f]
lea eax, [edi - 5]
movd xmm0, eax
lea esi, [ebx + 0x28]
push 0
sub esp, 0x14
mov eax, 0x6378a0
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x42aa0000
mov dword [esp + 8], 0x42a00000
movss dword [esp + 4], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call eax
add esp, 0x18
mov eax, 0x636070
call eax
push 0xbe
mov ecx, 0x101b3888
call fcn.10042340
push eax
push 3
push 0x50
lea eax, [edi - 4]
push eax
push esi
push 0xffcc6699
push 0x1050cab0
call fcn.10051550
add esp, 0x1c
lea eax, [edi + 8]
lea esi, [ebx + 0x32]
mov dword [ebp - 0x48], eax
mov ecx, 0x101b3888
mov dword [ebp - 0x38], esi
push 0xb5
call fcn.10042340
push eax
push 1
push 0xf
lea eax, [edi + 8]
push eax
push esi
push 0xffffffffffffffff
push 0x1050cab0
call fcn.10051550
xor esi, esi
add esp, 0x1c
mov dword [ebp - 0x40], esi
cmp dword [0x102c7240], esi
je 0x10050827
push 0x8b
mov ecx, 0x101b3888
lea esi, [edi + 0x12]
call fcn.10042340
push eax
push 1
push 0x19
push esi
lea eax, [ebx + 0x32]
push eax
push 0xffffffffffffffff
push 0x1050cab0
call fcn.10051550
imul eax, dword [ebp - 0x2c], 0x74
add esp, 0x1c
movzx eax, word [eax + 0x1050cab2]
push eax
push 0x100ee338
push 1
push 0x25
push esi
lea eax, [ebx + 0x57]
push eax
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
add esp, 0x20
xor esi, esi
jmp 0x1005082f
mov esi, 0xfffffff6
mov dword [ebp - 0x40], esi
cmp dword [0x102c7244], 0
je 0x10050893
add esi, 0x1c
mov ecx, 0x101b3888
push 0x44
add esi, edi
call fcn.10042340
push eax
push 1
push 0x19
push esi
lea eax, [ebx + 0x32]
push eax
push 0xffffffffffffffff
push 0x1050cab0
call fcn.10051550
imul eax, dword [ebp - 0x2c], 0x74
add esp, 0x1c
movzx eax, word [eax + 0x1050cab4]
push eax
push 0x100ee338
push 1
push 0x25
push esi
lea eax, [ebx + 0x57]
push eax
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
mov esi, dword [ebp - 0x40]
add esp, 0x20
jmp 0x10050899
sub esi, 0xa
mov dword [ebp - 0x40], esi
lea ebx, [edi + 0x26]
mov ecx, 0x101b3888
push 0xbb
add ebx, esi
call fcn.10042340
push eax
push 1
push 0x19
push ebx
push dword [ebp - 0x38]
push 0xffffffffffffffff
push 0x1050cab0
call fcn.10051550
add esp, 0x1c
add edi, 0x30
mov ecx, 0x101b3888
add edi, esi
push 0xbc
call fcn.10042340
push eax
push 1
push 0x19
push edi
push dword [ebp - 0x38]
push 0xffffffffffffffff
push 0x1050cab0
call fcn.10051550
imul eax, dword [ebp - 0x2c], 0x74
add esp, 0x1c
mov esi, dword [ebp - 0x34]
add esi, 0x57
movzx eax, word [eax + 0x1050cab6]
push eax
push 0x100ef75c
push 1
push 0x2d
push dword [ebp - 0x48]
push esi
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
imul eax, dword [ebp - 0x2c], 0x74
movzx eax, word [eax + 0x1050cab8]
push eax
push 0x100ee338
push 1
push 0x25
push ebx
push esi
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
imul eax, dword [ebp - 0x2c], 0x74
add esp, 0x40
movzx eax, word [eax + 0x1050caba]
push eax
push 0x100ee338
push 1
push 0x25
push edi
push esi
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
imul eax, dword [ebp - 0x2c], 0x74
mov ebx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x38]
add eax, 0x1050cad4
push eax
push 0x100ee240
push 1
push 0x3c
lea eax, [ebx + 0x3a]
add eax, dword [ebp - 0x40]
push eax
push edi
push 0xff77df01
push 0x1050cab0
call fcn.10051550
add esp, 0x40
lea eax, [ebp - 0x28]
push eax
push 0x100ee240
push 1
push 0x3c
lea eax, [ebx + 0x44]
add eax, dword [ebp - 0x40]
push eax
push edi
push 0xff1969ff
push 0x1050cab0
call fcn.10051550
add esp, 0x20
jmp 0x100510fc
cmp eax, 4
jne 0x10050b30
mov eax, dword [0x102c7238]
cmp eax, 2
je 0x100510fc
cmp eax, 3
je 0x100510fc
movd xmm0, edi
sub esp, 0x10
cvtdq2pd xmm0, xmm0
mov dword [esp + 0xc], 0x3f4ccccd
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
subsd xmm0, qword [0x100f1868]
cvttsd2si ebx, xmm0
movd xmm0, dword [ebp - 0x34]
cvtdq2pd xmm0, xmm0
subsd xmm0, qword [0x100f1838]
cvttsd2si edi, xmm0
call dword [sym.imp.OPENGL32.dll_glColor4f]
lea esi, [ebx - 0x3d]
push 0
sub esp, 0x14
lea eax, [edi + 2]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41200000
mov dword [esp + 8], 0x42960000
movss dword [esp + 4], xmm0
movd xmm0, eax
mov eax, 0x6378a0
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call eax
mov eax, 0x636070
call eax
imul eax, dword [ebp - 0x2c], 0x74
add eax, 0x1050cb10
push eax
push 0x100ee240
push 3
push 0x46
push esi
lea eax, [edi + 7]
push eax
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
imul eax, dword [ebp - 0x2c], 0x74
add esp, 0x38
movd xmm0, ebx
movd xmm1, edi
cvtdq2ps xmm0, xmm0
push 0
push 1
push 1
sub esp, 0x20
movzx eax, word [eax + 0x1050cad2]
subss xmm0, dword [0x100f1d78]
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x1c], 0x3f800000
mov dword [esp + 0x18], 0x3f800000
lea eax, [eax + eax*2]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x42700000
addss xmm1, dword [0x100f1cfc]
mov dword [esp + 8], 0x42700000
shl eax, 5
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
push dword [eax + 0x102a231c]
jmp 0x100510f2
sub esp, 0x10
mov dword [esp + 0xc], 0x3f4ccccd
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.OPENGL32.dll_glColor4f]
lea eax, [edi - 8]
movd xmm0, eax
lea eax, [ebx + 0x28]
push 0
sub esp, 0x14
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x42a00000
mov dword [esp + 8], 0x43390000
movss dword [esp + 4], xmm0
movd xmm0, eax
mov eax, 0x6378a0
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call eax
add esp, 0x18
mov eax, 0x636070
call eax
push 0xbd
mov ecx, 0x101b3888
lea esi, [ebx + 0x3c]
call fcn.10042340
push eax
push 3
push 0x69
lea eax, [edi - 6]
push eax
push esi
push 0xff2d5fe1
push 0x1050cab0
call fcn.10051550
add esp, 0x1c
lea ebx, [edi + 8]
mov ecx, 0x101b3888
mov dword [ebp - 0x40], ebx
push 0xb5
call fcn.10042340
push eax
push 1
push 0xf
push ebx
push esi
push 0xffffffffffffffff
push 0x1050cab0
call fcn.10051550
add esp, 0x1c
lea ebx, [edi + 0x12]
mov ecx, 0x101b3888
push 0xb6
call fcn.10042340
push eax
push 1
push 0xf
push ebx
push esi
push 0xffffffffffffffff
push 0x1050cab0
call fcn.10051550
add esp, 0x1c
lea ebx, [edi + 0x1c]
mov ecx, 0x101b3888
push 0xb7
call fcn.10042340
push eax
push 1
push 0xf
push ebx
push esi
push 0xffffffffffffffff
push 0x1050cab0
call fcn.10051550
add esp, 0x1c
lea ebx, [edi + 0x26]
mov ecx, 0x101b3888
push 0xb8
call fcn.10042340
push eax
push 1
push 0xf
push ebx
push esi
push 0xffffffffffffffff
push 0x1050cab0
call fcn.10051550
add esp, 0x1c
lea ebx, [edi + 0x30]
mov ecx, 0x101b3888
push 0xb9
call fcn.10042340
push eax
push 1
push 0xf
push ebx
push esi
push 0xffffffffffffffff
push 0x1050cab0
call fcn.10051550
add esp, 0x1c
mov ecx, 0x101b3888
add edi, 0x3a
push 0xba
call fcn.10042340
push eax
push 1
push 0xf
push edi
push esi
push 0xffffffffffffffff
push 0x1050cab0
call fcn.10051550
imul eax, dword [ebp - 0x2c], 0x74
add esp, 0x1c
mov esi, dword [ebp - 0x34]
add esi, 0x50
movzx eax, word [eax + 0x1050cab6]
push eax
push 0x100ef75c
push 1
push 0x2d
push dword [ebp - 0x40]
push esi
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
imul eax, dword [ebp - 0x2c], 0x74
push dword [eax + 0x1050cabc]
mov eax, dword [ebp - 0x3c]
push 0x100ef75c
push 1
push 0x2d
add eax, 0x12
push eax
push esi
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
imul eax, dword [ebp - 0x2c], 0x74
add esp, 0x40
push dword [eax + 0x1050cac8]
mov eax, dword [ebp - 0x3c]
push 0x100ef75c
push 1
push 0x2d
add eax, 0x1c
push eax
push esi
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
imul eax, dword [ebp - 0x2c], 0x74
push dword [eax + 0x1050cac0]
mov eax, dword [ebp - 0x3c]
push 0x100ef75c
push 1
push 0x2d
add eax, 0x26
push eax
push esi
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
imul eax, dword [ebp - 0x2c], 0x74
add esp, 0x40
push dword [eax + 0x1050cac4]
push 0x100ef75c
push 1
push 0x2d
push ebx
push esi
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
imul eax, dword [ebp - 0x2c], 0x74
push dword [eax + 0x1050cacc]
push 0x100ef75c
push 1
push 0x2d
push edi
push esi
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
xor esi, esi
add esp, 0x40
mov dword [ebp - 0x30], esi
cmp dword [0x102c7240], esi
je 0x10050e2f
push 0x8b
mov ecx, 0x101b3888
call fcn.10042340
mov ebx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x40]
push eax
push 1
push 0x19
push edi
lea eax, [ebx + 0x78]
push eax
push 0xffffffffffffffff
push 0x1050cab0
call fcn.10051550
imul eax, dword [ebp - 0x2c], 0x74
add esp, 0x1c
movzx eax, word [eax + 0x1050cab2]
push eax
push 0x100ee338
push 1
push 0x25
push edi
lea eax, [ebx + 0x93]
push eax
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
add esp, 0x20
jmp 0x10050e3a
mov ebx, dword [ebp - 0x34]
mov esi, 0xfffffff6
mov dword [ebp - 0x30], esi
cmp dword [0x102c7244], 0
mov edi, dword [ebp - 0x3c]
je 0x10050ea4
add esi, 0x12
mov ecx, 0x101b3888
push 0x44
add esi, edi
call fcn.10042340
push eax
push 1
push 0x19
push esi
lea eax, [ebx + 0x78]
push eax
push 0xffffffffffffffff
push 0x1050cab0
call fcn.10051550
imul eax, dword [ebp - 0x2c], 0x74
add esp, 0x1c
movzx eax, word [eax + 0x1050cab4]
push eax
push 0x100ee338
push 1
push 0x25
push esi
lea eax, [ebx + 0x93]
push eax
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
mov esi, dword [ebp - 0x30]
add esp, 0x20
jmp 0x10050eaa
sub esi, 0xa
mov dword [ebp - 0x30], esi
lea ebx, [esi + 0x1c]
mov ecx, 0x101b3888
mov esi, dword [ebp - 0x34]
add ebx, edi
push 0xbb
add esi, 0x78
call fcn.10042340
push eax
push 1
push 0x19
push ebx
push esi
push 0xffffffffffffffff
push 0x1050cab0
call fcn.10051550
mov eax, dword [ebp - 0x30]
add esp, 0x1c
add eax, 0x26
mov ecx, 0x101b3888
add edi, eax
push 0xbc
call fcn.10042340
push eax
push 1
push 0x19
push edi
push esi
push 0xffffffffffffffff
push 0x1050cab0
call fcn.10051550
imul eax, dword [ebp - 0x2c], 0x74
add esp, 0x1c
mov esi, dword [ebp - 0x34]
add esi, 0x93
movzx eax, word [eax + 0x1050cab8]
push eax
push 0x100ee338
push 1
push 0x25
push ebx
push esi
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
imul eax, dword [ebp - 0x2c], 0x74
movzx eax, word [eax + 0x1050caba]
push eax
push 0x100ee338
push 1
push 0x25
push edi
push esi
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
imul eax, dword [ebp - 0x2c], 0x74
add esp, 0x40
mov edi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x3c]
add eax, 0x1050cad4
lea esi, [edi + 0x78]
push eax
mov eax, dword [ebp - 0x30]
push 0x100ee240
push 1
push 0x3c
add eax, 0x30
add eax, ebx
push eax
push esi
push 0xff77df01
push 0x1050cab0
call fcn.10051550
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x30]
push 0x100ee240
push 1
add eax, 0x3a
push 0x3c
add eax, ebx
push eax
push esi
push 0xff1969ff
push 0x1050cab0
call fcn.10051550
imul eax, dword [ebp - 0x2c], 0x74
lea esi, [edi + 0x85]
add esp, 0x40
add eax, 0x1050cb10
push eax
push 0x100ee240
push 3
push 0x7e
lea eax, [ebx - 5]
push eax
push esi
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
mov eax, dword [ebp - 0x48]
add eax, 0x38
push eax
push 0x100ee240
push 3
push 0x7e
lea eax, [ebx + 0x3b]
push eax
push esi
push 0xff19bdff
push 0x1050cab0
call fcn.10051550
lea eax, [edi + 0xaa]
add esp, 0x40
movd xmm1, eax
lea eax, [ebx + 9]
movd xmm2, eax
imul eax, dword [ebp - 0x2c], 0x74
mov ax, word [eax + 0x1050cad2]
movss xmm3, dword [0x100f2170]
inc ax
cwde
cvtdq2ps xmm2, xmm2
lea ecx, [eax + eax*2]
shl ecx, 5
cvtdq2ps xmm1, xmm1
movss xmm0, dword [ecx + 0x102a22c8]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x10051066
movss xmm0, dword [ecx + 0x102a22cc]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x1005109c
movaps xmm0, xmm1
addss xmm0, dword [ecx + 0x102a22c0]
movss dword [ecx + 0x102a22d0], xmm0
movaps xmm0, xmm2
addss xmm0, dword [ecx + 0x102a22c4]
movss dword [ecx + 0x102a22c8], xmm1
movss dword [ecx + 0x102a22d4], xmm0
movss dword [ecx + 0x102a22cc], xmm2
movss xmm0, dword [ecx + 0x102a22c4]
push 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 + 0x102a22c0]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm2
movss dword [esp], xmm1
push dword [ecx + 0x102a22bc]
mov eax, 0x637c60
call eax
add esp, 0x30
mov ebx, 0x635f50
call ebx
call ebx
sub esp, 0xc
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call dword [sym.imp.OPENGL32.dll_glColor3f]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100c0b64
mov esp, ebp
pop ebp
ret 0xc