Function at 0x490111
Capabilities:
Create thread
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x198
mov dword [ebp - 0x188], ecx
mov dword [ebp - 0x164], 0x517c70
mov dword [ebp - 0x160], 0x51885a
lea eax, [ebp - 0x15c]
lea edx, [ebp - 0x18]
mov dword [eax], edx
mov edx, 0x4917bd
mov dword [eax + 4], edx
mov dword [eax + 8], esp
lea eax, [ebp - 0x17c]
mov dword [esp], eax
call fcn.004aa3a0
call fcn.004a9df0
mov dword [0x67b560], 0
mov dword [0x67b564], 0
mov dword [0x67b568], 0xffffffff
mov dword [0x67b56c], 0xffffffff
mov dword [0x67b570], 0
mov dword [0x67b574], 0xffffffff
mov dword [0x67b578], 0xffffffff
mov dword [0x67b57c], 0xffffffff
mov dword [0xa12758], 0
jmp 0x490254
mov eax, dword [0xa12758]
shl eax, 5
add eax, 0x67b4e0
mov dword [eax], 1
mov eax, dword [0xa12758]
shl eax, 5
add eax, 0x67b4e0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov eax, dword [0xa12758]
shl eax, 5
add eax, 0x67b4f0
mov dword [eax], 0
mov eax, dword [0xa12758]
shl eax, 5
add eax, 0x67b4f0
mov dword [eax + 4], 0
mov eax, dword [0xa12758]
shl eax, 5
add eax, 0x67b4f0
mov dword [eax + 8], 0
mov eax, dword [0xa12758]
shl eax, 5
add eax, 0x67b4f0
mov dword [eax + 0xc], 0
mov eax, dword [0xa12758]
add eax, 1
mov dword [0xa12758], eax
mov eax, dword [0xa12758]
cmp eax, 2
setle al
test al, al
jne 0x4901ca
mov dword [ebp - 0x178], 1
call fcn.00401713
mov eax, dword [0x67b4d0]
test eax, eax
je 0x490289
mov dword [0x51a06c], 0
mov eax, dword [0x67b4cc]
test eax, eax
je 0x49029c
mov eax, dword [0x67b4cc]
mov dword [0x67b4ac], eax
mov dword [esp], 0x1c
call fcn.00436d07
mov dword [0x695cd4], eax
mov dword [esp], 8
call fcn.00436d07
mov dword [0x67b550], eax
mov dword [esp], 0x14
call fcn.00436d07
mov dword [0x67b554], eax
mov dword [esp], 0x14
call fcn.00436d07
mov dword [0xa11af4], eax
mov dword [esp], 0x48
mov dword [ebp - 0x178], 1
call fcn.00436d99
mov dword [0x67b584], eax
mov dword [esp], 0x70
call fcn.00436d07
mov dword [0x67b598], eax
mov eax, dword [0x695cd4]
mov dword [esp], eax
call fcn.00436dd2
mov dword [0x695cd8], eax
mov eax, dword [0x695cd8]
mov dword [0x695cdc], eax
mov edx, dword [0x695cdc]
mov eax, dword [0x695cd4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00437280
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [eax + 4], 0xffff
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
lea edx, [eax + 1]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov dword [esp + 4], eax
mov dword [esp], 1
call sub.msvcrt.dll_calloc
mov edx, eax
mov eax, dword [ebp - 0x20]
mov dword [eax], edx
mov eax, dword [0x676b4c]
test eax, eax
jne 0x490383
call fcn.00465443
mov eax, dword [0x676b78]
test eax, eax
je 0x490396
mov dword [0x67b644], 1
mov eax, dword [0x676b74]
test eax, eax
je 0x4903e4
mov dword [esp], 0x3e8
call sub.msvcrt.dll_malloc
mov dword [ebp - 0x24], eax
mov dword [esp + 4], 0x100
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetConsoleProcessList]
mov dword [ebp - 0x178], 1
call eax
sub esp, 8
cmp eax, 1
sete al
test al, al
je 0x4903e4
mov dword [0x67b640], 1
mov eax, dword [0x676b9c]
add eax, 0x28
mov dword [eax + 0x14], 0x3b00
mov eax, dword [0x676b9c]
add eax, 0x50
mov dword [eax + 0x14], 0x3c00
mov eax, dword [0x676b9c]
add eax, 0x78
mov dword [eax + 0x14], 0x3d00
mov eax, dword [0x676b9c]
add eax, 0xa0
mov dword [eax + 0x14], 0x3e00
mov eax, dword [0x676b9c]
add eax, 0xc8
mov dword [eax + 0x14], 0x3f00
mov eax, dword [0x676b9c]
add eax, 0xf0
mov dword [eax + 0x14], 0x4000
mov eax, dword [0x676b9c]
add eax, 0x118
mov dword [eax + 0x14], 0x4100
mov eax, dword [0x676b9c]
add eax, 0x140
mov dword [eax + 0x14], 0x4200
mov eax, dword [0x676b9c]
add eax, 0x168
mov dword [eax + 0x14], 0x4300
mov eax, dword [0x676b9c]
add eax, 0x190
mov dword [eax + 0x14], 0x4400
mov eax, dword [0x676b9c]
add eax, 0x1b8
mov dword [eax + 0x14], 0x4800
mov eax, dword [0x676b9c]
add eax, 0x1b8
mov dword [eax + 0x18], 0x187a8
mov eax, dword [0x676b9c]
add eax, 0x1e0
mov dword [eax + 0x14], 0x4b00
mov eax, dword [0x676b9c]
add eax, 0x1e0
mov dword [eax + 0x18], 0x187a4
mov eax, dword [0x676b9c]
add eax, 0x208
mov dword [eax + 0x14], 0x4d00
mov eax, dword [0x676b9c]
add eax, 0x208
mov dword [eax + 0x18], 0x187a6
mov eax, dword [0x676b9c]
add eax, 0x230
mov dword [eax + 0x14], 0x5000
mov eax, dword [0x676b9c]
add eax, 0x230
mov dword [eax + 0x18], 0x187a2
mov eax, dword [0x676b9c]
add eax, 0x4b0
mov dword [eax + 0x14], 0x8500
mov eax, dword [0x676b9c]
add eax, 0x4d8
mov dword [eax + 0x14], 0x8600
mov eax, dword [0x676bac]
mov byte [eax], 1
mov eax, dword [0x676bac]
mov dword [eax + 4], 0
mov eax, dword [0x676bac]
mov byte [eax + 0x11], 0
mov eax, dword [0x676bac]
mov byte [eax + 0x10], 0
mov eax, dword [sym.imp.msvcrt.dll__environ]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
test eax, eax
setne al
add dword [ebp - 0x1c], 4
test al, al
jne 0x490562
mov edx, dword [ebp - 0x1c]
mov eax, dword [sym.imp.msvcrt.dll__environ]
mov eax, dword [eax]
mov ecx, edx
sub ecx, eax
mov eax, ecx
sar eax, 2
mov dword [0xa11954], eax
mov eax, dword [0x67b654]
add eax, 0x20
mov dword [eax], 8
mov eax, dword [0x67b654]
add eax, 0x38
mov dword [eax], 8
mov eax, dword [0x67b654]
add eax, 0x40
mov dword [eax], 8
mov eax, dword [0x67b650]
add eax, 0x20
mov dword [eax], 8
mov eax, dword [0x67b650]
add eax, 0x38
mov dword [eax], 0xe
mov eax, dword [0x67b650]
add eax, 0x40
mov dword [eax], 0x10
mov eax, dword [0x67b658]
add eax, 0x20
mov dword [eax], 0x10
mov eax, dword [0x67b658]
add eax, 0x38
mov dword [eax], 0x10
mov eax, dword [0x67b658]
add eax, 0x40
mov dword [eax], 0x10
mov eax, dword [0x67b654]
add eax, 0x24
mov dword [eax], 0x10
mov eax, dword [0x67b654]
add eax, 0x3c
mov dword [eax], 0x10
mov eax, dword [0x67b654]
add eax, 0x44
mov dword [eax], 0x10
mov eax, dword [0x67b650]
add eax, 0x24
mov dword [eax], 8
mov eax, dword [0x67b650]
add eax, 0x3c
mov dword [eax], 0xe
mov eax, dword [0x67b650]
add eax, 0x44
mov dword [eax], 0x10
mov eax, dword [0x67b658]
add eax, 0x24
mov dword [eax], 0x10
mov eax, dword [0x67b658]
add eax, 0x3c
mov dword [eax], 0x10
mov eax, dword [0x67b658]
add eax, 0x44
mov dword [eax], 0x10
mov eax, dword [0x68c004]
mov dword [esp + 8], 0xb0000
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov dword [ebp - 0x178], 1
call fcn.00439308
mov dword [0xa1275c], eax
mov edx, dword [0x68c004]
mov eax, dword [0xa1275c]
imul eax, eax, 0xb0
add eax, edx
mov byte [eax + 0x10], 0
call fcn.00439308
mov dword [0xa1275c], eax
mov edx, dword [0x68c004]
mov eax, dword [0xa1275c]
imul eax, eax, 0xb0
add eax, edx
mov byte [eax + 0x10], 0
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0x695ce0
call sub.msvcrt.dll_memset
mov dword [0x695d40], 0x695ce0
mov dword [0x695d44], 0x695ce8
mov dword [0x695d48], 0x695cec
mov dword [0x695d4c], 0x695ce4
mov dword [0x695d50], 0x695ce1
mov dword [0x695d54], 0x695ce9
mov dword [0x695d58], 0x695ced
mov dword [0x695d5c], 0x695ce5
mov dword [0x695d60], 0x695ce0
mov dword [0x695d64], 0x695ce8
mov dword [0x695d68], 0x695cec
mov dword [0x695d6c], 0x695ce4
mov dword [0x695d70], 0x695cfc
mov dword [0x695d74], 0x695cf8
mov dword [0x695d78], 0x695cf0
mov dword [0x695d7c], 0x695cf4
mov dword [0x695d80], 0x695ce0
mov dword [0x695d84], 0x695ce8
mov dword [0x695d88], 0x695cec
mov dword [0x695d8c], 0x695ce4
mov dword [0x695d90], 0x695cfc
mov dword [0x695d94], 0x695cf8
mov dword [0x695d98], 0x695cf0
mov dword [0x695d9c], 0x695cf4
mov dword [0x695da0], 0x695d06
mov dword [0x695da4], 0x695d00
mov dword [0x695da8], 0x695d02
mov dword [0x695dac], 0x695d04
mov dword [0x695db0], 0x695d08
mov dword [0x695db4], 0x695d0a
mov dword [0xa12758], 0
jmp 0x49085e
mov eax, dword [0xa12758]
mov byte [eax + 0xa10e80], 0x20
mov eax, dword [0xa12758]
add eax, 1
mov dword [0xa12758], eax
mov eax, dword [0xa12758]
cmp eax, 0x1f
setle al
test al, al
jne 0x490845
mov byte [0xa11000], 0x81
mov dword [0x695e20], 0x100000
mov eax, dword [0x695e20]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov dword [0x676294], eax
mov eax, dword [0x676294]
mov dword [0x676298], eax
mov edx, dword [0x676294]
mov eax, dword [0x695e20]
add eax, edx
mov dword [0x67629c], eax
mov dword [esp + 8], 0x10fff3
mov dword [esp + 4], 0
mov dword [esp], 0x5662a0
call sub.msvcrt.dll_memset
mov dword [esp + 8], 0x10000
mov dword [esp + 4], 0
mov dword [esp], 0x9f4060
call sub.msvcrt.dll_memset
mov eax, 0x5662a0
add eax, 0x500
mov dword [0x566264], eax
mov eax, dword [0x51a00c]
sub eax, 8
mov dword [0x51a00c], eax
mov eax, dword [0x566264]
mov edx, eax
mov eax, dword [0x51a00c]
add eax, edx
mov dword [0x566274], eax
mov eax, dword [0x566274]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x178], 1
call fcn.00443904
mov dword [0x566290], eax
mov dword [esp + 4], 0
mov dword [esp], 1
call fcn.00443904
mov dword [0xa04060], eax
mov eax, dword [0xa04060]
mov eax, dword [eax]
mov byte [eax], 0x20
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00443cae
mov dword [0xa11b34], eax
call fcn.0048f17b
mov edx, eax
mov eax, dword [0xa11b34]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00443e15
mov eax, 0xa124c8
movzx eax, byte [eax]
test al, al
jne 0x4909da
mov dword [esp], 0xa124c8
call fcn.00517830
test eax, eax
setne al
test al, al
je 0x4909da
mov dword [esp], 0x10000
call sub.msvcrt.dll_malloc
mov dword [0xa12760], eax
mov dword [esp], 0xa124c8
call fcn.005179d0
mov eax, dword [0xa12760]
mov dword [esp + 8], 0x10000
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 0x178], 1
call eax
sub esp, 0xc
mov eax, dword [0xa12760]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov dword [0xa12758], eax
mov eax, dword [0xa12758]
sub eax, 1
mov dword [0xa12764], eax
jmp 0x490a9b
mov edx, dword [0xa12760]
mov eax, dword [0xa12764]
add eax, edx
movzx eax, byte [eax]
movsx eax, al
mov dword [0xa1275c], eax
mov eax, dword [0xa1275c]
cmp eax, 0x5c
je 0x490a5d
mov eax, dword [0xa1275c]
cmp eax, 0x2f
je 0x490a5d
mov eax, dword [0xa1275c]
cmp eax, 0x3a
jne 0x490a8e
mov eax, dword [0xa1275c]
cmp eax, 0x3a
jne 0x490a7c
mov eax, dword [0xa12760]
mov edx, dword [0xa12764]
add edx, 1
add eax, edx
mov byte [eax], 0
jmp 0x490aad
mov edx, dword [0xa12760]
mov eax, dword [0xa12764]
add eax, edx
mov byte [eax], 0
jmp 0x490aad
mov eax, dword [0xa12764]
sub eax, 1
mov dword [0xa12764], eax
mov eax, dword [0xa12764]
not eax
shr eax, 0x1f
test al, al
jne 0x490a27
mov eax, dword [0xa12760]
mov dword [esp], eax
mov dword [ebp - 0x178], 1
call sub.msvcrt.dll__chdir
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00443cae
mov dword [0xa11b38], eax
call fcn.0048f17b
mov edx, eax
mov eax, dword [0xa11b38]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00443e15
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00443cae
mov dword [0x68b6bc], eax
mov dword [esp + 4], 0x14
mov dword [esp], str.Unknown_Opcode_____
call fcn.00443b2b
mov edx, eax
mov eax, dword [0x68b6bc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00443e15
mov ecx, dword [ebp - 0x188]
mov eax, dword [ecx]
mov dword [0xa12758], eax
mov eax, dword [0xa12758]
cmp eax, 1
jle 0x490ce7
mov dword [0xa12764], 0
mov dword [0xa12758], 1
jmp 0x490bb8
mov eax, dword [0xa12758]
lea edx, [eax*4]
mov ecx, dword [ebp - 0x188]
mov eax, dword [ecx + 4]
add eax, edx
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edx, dword [0xa12764]
add eax, edx
mov dword [0xa12764], eax
mov eax, dword [0xa12758]
cmp eax, 1
je 0x490bab
mov eax, dword [0xa12764]
add eax, 1
mov dword [0xa12764], eax
mov eax, dword [0xa12758]
add eax, 1
mov dword [0xa12758], eax
mov edx, dword [0xa12758]
mov ecx, dword [ebp - 0x188]
mov eax, dword [ecx]
cmp edx, eax
setl al
test al, al
jne 0x490b66
mov eax, dword [0xa12764]
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [ebp - 0x178], 1
call fcn.00443cae
mov dword [0xa11104], eax
mov dword [0xa12768], 0
mov dword [0xa12758], 1
jmp 0x490cca
mov eax, dword [0xa12758]
cmp eax, 1
je 0x490c34
mov eax, dword [0xa11104]
mov edx, dword [eax]
mov eax, dword [0xa12768]
add eax, edx
mov byte [eax], 0x20
mov eax, dword [0xa12768]
add eax, 1
mov dword [0xa12768], eax
mov eax, dword [0xa12758]
lea edx, [eax*4]
mov ecx, dword [ebp - 0x188]
mov eax, dword [ecx + 4]
add eax, edx
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edx, dword [0xa12758]
lea ecx, [edx*4]
mov ebx, dword [ebp - 0x188]
mov edx, dword [ebx + 4]
add edx, ecx
mov edx, dword [edx]
mov ecx, dword [0xa11104]
mov ebx, dword [ecx]
mov ecx, dword [0xa12768]
add ecx, ebx
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], ecx
call sub.msvcrt.dll_memcpy
mov eax, dword [0xa12758]
lea edx, [eax*4]
mov ecx, dword [ebp - 0x188]
mov eax, dword [ecx + 4]
add eax, edx
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edx, dword [0xa12768]
add eax, edx
mov dword [0xa12768], eax
mov eax, dword [0xa12758]
add eax, 1
mov dword [0xa12758], eax
mov edx, dword [0xa12758]
mov ecx, dword [ebp - 0x188]
mov eax, dword [ecx]
cmp edx, eax
setl al
test al, al
jne 0x490c0c
jmp 0x490d0a
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x178], 1
call fcn.00443cae
mov dword [0xa11104], eax
mov ecx, dword [ebp - 0x188]
mov eax, dword [ecx]
mov dword [0xa1110c], eax
mov ecx, dword [ebp - 0x188]
mov eax, dword [ecx + 4]
mov dword [0xa11108], eax
lea eax, [ebp - 0x40]
mov dword [esp], eax
call fcn.004abea0
mov eax, dword [ebp - 0x40]
cmp eax, 0xffffffff
je 0x490d54
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call fcn.004abea0
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
cmp edx, eax
sete al
test al, al
jne 0x490d38
jmp 0x490d5b
mov dword [ebp - 0x3c], 0
call fcn.00437ee3
mov dword [0x695e04], eax
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call fcn.004abeb0
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x490db9
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 8]
imul edx, eax, 0xe10
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
shl eax, 2
mov ecx, eax
shl ecx, 4
mov ebx, ecx
sub ebx, eax
mov eax, ebx
add edx, eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
add eax, edx
mov dword [0x695e00], eax
mov eax, dword [0x695e00]
imul eax, eax, 0x3e8
mov dword [0x695e00], eax
jmp 0x490dc3
mov dword [0x695e00], 0
mov dword [esp], 0x91
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [ebp - 0x178], 1
call eax
sub esp, 4
cwde
and eax, 1
test eax, eax
setne al
test al, al
je 0x490df7
mov dword [esp], 0x30d4b
call fcn.0043847f
mov dword [esp], 0x91
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [ebp - 0x178], 1
call eax
sub esp, 4
shr ax, 0xf
test al, al
je 0x490e30
mov dword [0x68b668], 0x12e
mov dword [esp], 0x187ce
call fcn.0043878e
mov dword [esp], 0xa0
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [ebp - 0x178], 1
call eax
sub esp, 4
shr ax, 0xf
test al, al
je 0x490e69
mov dword [0x68b668], 0x130
mov dword [esp], 0x187d0
call fcn.0043878e
mov dword [esp], 0xa1
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [ebp - 0x178], 1
call eax
sub esp, 4
shr ax, 0xf
test al, al
je 0x490ea2
mov dword [0x68b668], 0x12f
mov dword [esp], 0x187cf
call fcn.0043878e
mov dword [esp], 0xa2
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [ebp - 0x178], 1
call eax
sub esp, 4
shr ax, 0xf
test al, al
je 0x490edb
mov dword [0x68b668], 0x132
mov dword [esp], 0x187d2
call fcn.0043878e
mov dword [esp], 0xa3
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [ebp - 0x178], 1
call eax
sub esp, 4
shr ax, 0xf
test al, al
je 0x490f14
mov dword [0x68b668], 0x131
mov dword [esp], 0x187d1
call fcn.0043878e
mov dword [esp], 0xa4
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [ebp - 0x178], 1
call eax
sub esp, 4
shr ax, 0xf
test al, al
je 0x490f4d
mov dword [0x68b668], 0x134
mov dword [esp], 0x187d4
call fcn.0043878e
mov dword [esp], 0xa5
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [ebp - 0x178], 1
call eax
sub esp, 4
shr ax, 0xf
test al, al
je 0x490f86
mov dword [0x68b668], 0x133
mov dword [esp], 0x187d3
call fcn.0043878e
mov dword [esp], 0x14
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [ebp - 0x178], 1
call eax
sub esp, 4
cwde
and eax, 1
test eax, eax
setne al
test al, al
je 0x490fc4
mov dword [0x68b668], 0x12d
mov dword [esp], 0x187cd
call fcn.0043878e
mov dword [esp], 0x90
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [ebp - 0x178], 1
call eax
sub esp, 4
cwde
and eax, 1
test eax, eax
setne al
test al, al
je 0x491002
mov dword [0x68b668], 0x12c
mov dword [esp], 0x187cc
call fcn.0043878e
mov dword [ebp - 0x178], 1
call fcn.004940eb
mov eax, dword [0x68b660]
mov dword [0x68b664], eax
mov byte [0x5666ba], 0x1e
mov byte [0x5666bb], 0
mov byte [0x5666bc], 0x1e
mov byte [0x5666bd], 0
lea eax, [ebp - 0x13c]
mov ecx, eax
call fcn.004fe140
mov eax, dword [0x51a520]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x549380
mov dword [esp], 0x68bb00
call sub.msvcrt.dll_memcpy
mov dword [0xa12758], 0
jmp 0x491099
mov eax, dword [0xa12758]
mov edx, dword [0xa12758]
mov edx, dword [edx*4 + 0x68bb00]
or edx, 0xff000000
mov dword [eax*4 + 0x68bb00], edx
mov eax, dword [0xa12758]
add eax, 1
mov dword [0xa12758], eax
mov eax, dword [0xa12758]
cmp eax, 0xff
setle al
test al, al
jne 0x49106d
mov eax, dword [0x51a524]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x549780
mov dword [esp], 0x68bf00
call sub.msvcrt.dll_memcpy
mov dword [0xa12758], 0
jmp 0x4910ff
mov eax, dword [0xa12758]
mov edx, dword [0xa12758]
mov edx, dword [edx*4 + 0x68bf00]
or edx, 0xff000000
mov dword [eax*4 + 0x68bf00], edx
mov eax, dword [0xa12758]
add eax, 1
mov dword [0xa12758], eax
mov eax, dword [0xa12758]
cmp eax, 0x3f
setle al
test al, al
jne 0x4910d3
mov dword [0xa045a0], 0
mov dword [0xa045a4], 0
mov dword [0xa045a8], 0
mov dword [0xa045ac], 0x808080
mov dword [0xa045b0], 0x808080
mov dword [0xa045b4], 0x808080
mov dword [0xa045b8], 0xffffff
mov dword [0xa045bc], 0xffffff
mov dword [0xa045c0], 0xffffff
mov dword [0xa045c4], 0
mov dword [0xa045c8], 0x808080
mov dword [0xa045cc], 0xffffff
mov dword [0xa045d0], 0
mov dword [0xa045d4], 0x808080
mov dword [0xa045d8], 0xffffff
mov dword [0xa045dc], 0
mov dword [0xa045e0], 0x808080
mov dword [0xa045e4], 0xffffff
mov eax, dword [0x51a518]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x53d380
mov dword [esp], 0xa04600
call sub.msvcrt.dll_memcpy
mov eax, dword [0x51a51c]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x541380
mov dword [esp], 0xa08600
call sub.msvcrt.dll_memcpy
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x178], 2
call fcn.00448597
mov dword [0x51a52c], 1
mov eax, dword [0x676b74]
test eax, eax
je 0x491299
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x19
mov dword [esp], 0x50
call fcn.0046abfd
mov dword [0x51a2e0], eax
mov eax, dword [0x51a2e0]
neg eax
mov dword [0xa12758], eax
mov edx, dword [0x68c004]
mov eax, dword [0xa12758]
imul eax, eax, 0xb0
add eax, edx
mov byte [eax + 0x12], 1
mov edx, dword [0x51a07c]
mov eax, dword [0x51a078]
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0x20
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [ebp - 0x178], 2
call fcn.0046abfd
mov dword [0xa1236c], eax
mov edx, dword [0x51a078]
mov eax, dword [0x51a07c]
imul eax, edx
shl eax, 2
mov edx, eax
mov ecx, dword [0x68c004]
mov eax, dword [0xa1236c]
imul eax, eax, 0xffffff50
add eax, ecx
mov eax, dword [eax + 0x40]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x536bc0
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [0x51a084]
mov eax, dword [0x51a080]
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0x20
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0046abfd
mov dword [0xa12370], eax
mov edx, dword [0x51a080]
mov eax, dword [0x51a084]
imul eax, edx
shl eax, 2
mov edx, eax
mov ecx, dword [0x68c004]
mov eax, dword [0xa12370]
imul eax, eax, 0xffffff50
add eax, ecx
mov eax, dword [eax + 0x40]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x536fc0
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov dword [0xa12758], 0
mov eax, dword [0xa12758]
add eax, 1
mov dword [0xa12758], eax
mov edx, dword [0x676b8c]
mov eax, dword [0xa12758]
imul eax, eax, 0x160
add eax, edx
mov dword [eax + 4], 2
mov edx, dword [0x676b8c]
mov eax, dword [0xa12758]
imul eax, eax, 0x160
add eax, edx
mov dword [eax + 8], str._KEYBOARD__BUTTON_
mov edx, dword [0x676b8c]
mov eax, dword [0xa12758]
imul eax, eax, 0x160
add eax, edx
mov dword [eax + 0x10], 0x200
mov edx, dword [0x676b8c]
mov eax, dword [0xa12758]
imul eax, eax, 0x160
add eax, edx
mov dword [eax + 0x138], str.Keyboard
mov edx, dword [0x676b8c]
mov eax, dword [0xa12758]
imul eax, eax, 0x160
add eax, edx
mov dword [esp], eax
call fcn.0040305b
mov eax, dword [0xa12758]
add eax, 1
mov dword [0xa12758], eax
mov edx, dword [0x676b8c]
mov eax, dword [0xa12758]
imul eax, eax, 0x160
add eax, edx
mov dword [eax + 4], 3
mov edx, dword [0x676b8c]
mov eax, dword [0xa12758]
imul eax, eax, 0x160
add eax, edx
mov dword [eax + 8], str._MOUSE__BUTTON__AXIS__WHEEL_
mov edx, dword [0x676b8c]
mov eax, dword [0xa12758]
imul eax, eax, 0x160
add eax, edx
mov dword [eax + 0x10], 3
mov edx, dword [0x676b8c]
mov eax, dword [0xa12758]
imul eax, eax, 0x160
add eax, edx
mov dword [eax + 0x14], 2
mov edx, dword [0x676b8c]
mov eax, dword [0xa12758]
imul eax, eax, 0x160
add eax, edx
mov dword [eax + 0x18], 3
mov edx, dword [0x676b8c]
mov eax, dword [0xa12758]
imul eax, eax, 0x160
add eax, edx
mov dword [eax + 0x138], str.Mouse
mov edx, dword [0x676b8c]
mov eax, dword [0xa12758]
imul eax, eax, 0x160
add eax, edx
mov dword [esp], eax
call fcn.0040305b
mov eax, dword [0xa12758]
mov dword [0x676b88], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x4053d2
mov eax, dword [sym.imp.msvcrt.dll__beginthread]
call eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_SetThreadPriority]
call eax
sub esp, 8
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x404286
mov eax, dword [sym.imp.msvcrt.dll__beginthread]
call eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_SetThreadPriority]
call eax
sub esp, 8
mov dword [0x695df8], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x49180b
mov eax, dword [sym.imp.msvcrt.dll__beginthread]
call eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_SetThreadPriority]
call eax
sub esp, 8
mov eax, dword [0x67b644]
test eax, eax
jne 0x4915ca
mov dword [0x67b498], 1
jmp 0x4915ca
mov dword [esp], 0x64
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x178], 2
call eax
sub esp, 4
jmp 0x4915cb
nop
mov eax, dword [0x67b498]
test eax, eax
sete al
test al, al
jne 0x4915ad
mov ecx, dword [ebp - 0x188]
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x188]
mov dword [esp], ecx
mov dword [ebp - 0x178], 2
call fcn.004082f0
mov dword [esp], 0x12
call fcn.00497860
mov dword [esp + 4], 0x190
mov dword [esp], 0x280
call fcn.00497830
mov dword [esp], 0x190
call fcn.0049c350
test eax, eax
sete al
test al, al
je 0x49163f
mov dword [esp], 1
call sub.msvcrt.dll_exit
mov eax, dword [0x67b4a0]
test eax, eax
jne 0x491660
mov dword [esp], str.Untitled
mov dword [ebp - 0x178], 2
call fcn.00408312
jmp 0x491677
mov eax, dword [0x67b4a0]
mov dword [esp], eax
mov dword [ebp - 0x178], 2
call fcn.00408312
mov dword [0x67b494], 1
mov dword [ebp - 0x178], 2
call fcn.0042dca9
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x4916af
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call fcn.0042dc59
sub esp, 4
mov dword [esp], eax
call fcn.00438967
mov dword [esp], str.GL_EXT_framebuffer_object
call fcn.0042dcc9
sub esp, 4
test al, al
setne al
test al, al
je 0x4916d1
mov dword [0x67b468], 1
mov dword [esp], 0x48cce7
mov dword [ebp - 0x178], 2
call fcn.0049b390
mov dword [esp + 8], 0
mov dword [esp + 4], 0x489f6b
mov dword [esp], 8
call fcn.0049b4e0
mov dword [esp], 0x489d03
call fcn.0049b430
mov dword [esp], 0x489d25
call fcn.0049b5b0
mov dword [esp], 0x489f35
call fcn.0049b470
mov dword [esp], 0x489f50
call fcn.0049b5f0
mov dword [esp], 0x48e96b
call fcn.0049b6f0
mov dword [esp], fcn.0048e9b7
call fcn.0049b770
mov dword [esp], 0x48ef4f
call fcn.0049b7b0
mov dword [esp], 0x48a212
call fcn.0049b3f0
mov dword [esp], 0x48ef69
call fcn.0049b730
call fcn.0049d160
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x178], 1
mov ecx, eax
call fcn.004fe840
mov eax, 0
mov dword [ebp - 0x180], eax
jmp 0x4917eb
lea eax, [ebp - 0x17c]
mov dword [esp], eax
call fcn.004aa460
mov eax, dword [ebp - 0x180]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret