Function at 0x1004aafd
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10075393
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x418
push esi
push edi
mov dword [ebp - 0x50], 0xfffa
mov dword [ebp - 0x368], 0xfffffff7
mov dword [ebp - 0x364], 0xfffffff7
mov dword [ebp - 0x360], 0xfffffff7
mov dword [ebp - 0x35c], 0xfffffff7
mov dword [ebp - 0xbc], 0
jmp 0x1004ab65
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 3
jge 0x1004ab81
mov eax, dword [ebp - 0xbc]
mov dword [ebp + eax*4 - 0x328], 0xa35f394
jmp 0x1004ab58
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x1b0], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x1b0]
mov dword [ebp + eax - 0x328], ecx
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x1b0]
mov dword [ebp + eax - 0x368], ecx
mov dword [ebp - 0x50], 0
jmp 0x1004abbf
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 2
jg 0x1004abf6
mov byte [ebp - 0x44], 0
movzx eax, byte [ebp - 0x44]
test eax, eax
je 0x1004abe0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowInfo]
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp + eax*4 - 0x328]
mov dword [ebp + ecx*4 - 0x328], eax
jmp 0x1004abb8
push 1
lea eax, [ebp - 0x424]
push eax
xor edx, edx
inc edx
xor ecx, ecx
call fcn.10047142
pop ecx
pop ecx
mov esi, eax
lea edi, [ebp - 0x410]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x410]
lea edi, [ebp - 0x2d8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x58], 0xffffffff
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x58], eax
jg 0x1004ac40
mov dword [ebp - 0x138], 1
jmp 0x1004ac47
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x388], eax
xor eax, eax
inc eax
cmp eax, 0x7a98
jne 0x1004ac66
mov dword [ebp - 0x244], 1
jmp 0x1004ac6d
and dword [ebp - 0x244], 0
mov eax, dword [ebp - 0x244]
sub eax, dword [ebp - 0x58]
imul eax, dword [ebp - 0x58]
cmp dword [ebp - 0x138], eax
jne 0x1004ac8e
mov dword [ebp - 0x1ec], 1
jmp 0x1004ac95
and dword [ebp - 0x1ec], 0
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x1ec], eax
je 0x1004acac
mov dword [ebp - 0xec], 1
jmp 0x1004acb3
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xec]
add eax, 0xfc4b
je 0x1004acd6
mov dword [ebp - 0x254], 0x868bb4a
mov dword [ebp - 0x254], 0xffffffff
jmp 0x1004acf2
mov byte [ebp - 0x49], 0
movzx eax, byte [ebp - 0x49]
test eax, eax
je 0x1004acf2
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov dword [ebp - 0x34], 0xb642c70b
push 1
lea ecx, [ebp - 0xdc]
call fcn.100157dc
and dword [ebp - 4], 0
mov dword [ebp - 0x1fc], 1
mov dword [ebp - 0x20c], 2
mov dword [ebp - 0x214], 0xb5a7dd9a
mov dword [ebp - 0x26c], 0xffffffff
mov dword [ebp - 0x18], 0
jmp 0x1004ad42
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x1004ad5e
push dword [ebp - 0x18]
lea ecx, [ebp - 0xdc]
call fcn.1001587a
mov dword [eax], 1
jmp 0x1004ad3b
mov dword [ebp - 0x18], 0
jmp 0x1004ad6e
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x1004ad81
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x1c], 0x377c
jmp 0x1004ad67
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
mov dword [ebp - 0x384], eax
push 0
lea ecx, [ebp - 0xdc]
call fcn.1001587a
or eax, 0xffffffff
add eax, 0x8fb8ceff
cmp eax, 0xd92426f3
je 0x1004adcb
push 0
lea ecx, [ebp - 0xdc]
call fcn.1001587a
cmp dword [eax], 0
je 0x1004adcb
mov dword [ebp - 0x1f4], 1
jmp 0x1004add2
and dword [ebp - 0x1f4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
cmp eax, dword [ebp - 0x1f4]
jge 0x1004adf0
mov dword [ebp - 0xf4], 1
jmp 0x1004adf7
and dword [ebp - 0xf4], 0
push 0
lea ecx, [ebp - 0xdc]
call fcn.1001587a
mov ecx, dword [ebp - 0xf4]
cmp ecx, dword [eax]
jge 0x1004ae1a
mov dword [ebp - 0xfc], 1
jmp 0x1004ae21
and dword [ebp - 0xfc], 0
mov dword [ebp - 0x1fc], 0xffffffff
mov esi, dword [ebp - 0x1fc]
imul esi, dword [ebp - 0xfc]
push 0
lea ecx, [ebp - 0xdc]
call fcn.1001587a
cmp esi, dword [eax]
jne 0x1004ae55
mov dword [ebp - 0x204], 1
jmp 0x1004ae5c
and dword [ebp - 0x204], 0
push 0
lea ecx, [ebp - 0xdc]
call fcn.1001587a
mov esi, dword [ebp - 0x204]
add esi, dword [eax]
push 0
lea ecx, [ebp - 0xdc]
call fcn.1001587a
cmp esi, dword [eax]
jg 0x1004ae8e
mov dword [ebp - 0x104], 1
jmp 0x1004ae95
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x20c], eax
mov esi, dword [ebp - 0x20c]
push 0
lea ecx, [ebp - 0xdc]
call fcn.1001587a
imul esi, dword [eax]
push 4
pop eax
imul eax, eax, 0
cmp esi, dword [ebp + eax - 0x1c]
jle 0x1004aecf
mov dword [ebp - 0x10c], 1
jmp 0x1004aed6
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x214], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
cmp dword [ebp - 0x214], eax
je 0x1004af00
mov dword [ebp - 0x114], 1
jmp 0x1004af07
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x114]
sub eax, 0xfff9
jne 0x1004af2a
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1c], 0
jne 0x1004af2a
and dword [ebp - 0x21c], 0
jmp 0x1004af34
mov dword [ebp - 0x21c], 1
push 0
lea ecx, [ebp - 0xdc]
call fcn.1001587a
mov eax, dword [eax]
cmp eax, dword [ebp - 0x21c]
je 0x1004af57
mov dword [ebp - 0x264], 1
jmp 0x1004af5e
and dword [ebp - 0x264], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
mov dword [ebp - 0x3cc], eax
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x1c]
cmp dword [ebp + eax - 0x1c], ecx
je 0x1004af94
push 0xfffffffffffffffc
pop eax
test eax, eax
jne 0x1004af94
and dword [ebp - 0x11c], 0
jmp 0x1004af9e
mov dword [ebp - 0x11c], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
cmp dword [ebp - 0x11c], eax
jg 0x1004afbc
mov dword [ebp - 0x224], 1
jmp 0x1004afc3
and dword [ebp - 0x224], 0
cmp dword [ebp - 0x224], 0xfaea
jle 0x1004afdb
mov dword [ebp - 0x124], 1
jmp 0x1004afe2
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x26c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.1001585e
mov dword [ebp - 0x100], 0xd6f1860e
mov dword [ebp - 0x2c], 0xb642c70b
mov dword [ebp - 0x1c0], 0xd6f1860e
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x2a0], 0xebd004dd
mov dword [ebp - 0x38c], 0xc29478c9
mov dword [ebp - 0x3d0], 0x67f5aee0
mov dword [ebp - 0x394], 0x59785734
mov dword [ebp - 0x274], 0xffffffff
mov dword [ebp - 0xc4], 0
jmp 0x1004b077
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 4
jge 0x1004b093
mov eax, dword [ebp - 0xc4]
mov dword [ebp + eax*4 - 0x3f0], 0x40424b96
jmp 0x1004b06a
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x2c], 0
jmp 0x1004b0a9
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffe5
jg 0x1004b35e
mov dword [ebp - 0x88], 0x961c0f80
mov dword [ebp - 0xb0], 0
push 1
lea ecx, [ebp - 0x310]
call fcn.100157dc
mov dword [ebp - 4], 1
mov dword [ebp - 0x23c], 0x94bf7d6
mov dword [ebp - 0x20], 0
jmp 0x1004b0f5
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x1004b10b
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0xc8], 0xd0176df7
jmp 0x1004b0ee
mov dword [ebp - 0x20], 0
jmp 0x1004b11b
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x1004b137
push dword [ebp - 0x20]
lea ecx, [ebp - 0x310]
call fcn.1001587a
mov dword [eax], 0xfffffffd
jmp 0x1004b114
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x2c], 0
je 0x1004b15b
cmp dword [ebp - 0x88], 0
je 0x1004b15b
mov dword [ebp - 0x134], 1
jmp 0x1004b162
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x274]
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0xc8]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0xc8]
jne 0x1004b191
mov dword [ebp - 0x22c], 1
jmp 0x1004b198
and dword [ebp - 0x22c], 0
cmp dword [ebp - 0x22c], 0x6243a5d8
jge 0x1004b1b0
mov dword [ebp - 0x12c], 1
jmp 0x1004b1b7
and dword [ebp - 0x12c], 0
push 0
lea ecx, [ebp - 0x310]
call fcn.1001587a
mov ecx, dword [ebp - 0x12c]
imul ecx, dword [eax]
cmp ecx, dword [ebp - 0x25c]
jle 0x1004b1e1
mov dword [ebp - 0x260], 1
jmp 0x1004b1e8
and dword [ebp - 0x260], 0
cmp dword [ebp - 0x88], 0xffffffff
jne 0x1004b1fd
mov dword [ebp - 0x234], 1
jmp 0x1004b204
and dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x88]
cmp dword [ebp - 0x234], eax
jg 0x1004b21e
mov dword [ebp - 0x29c], 1
jmp 0x1004b225
and dword [ebp - 0x29c], 0
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x3d4], eax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x39c], eax
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x3d8], eax
mov eax, dword [ebp - 0xb0]
dec eax
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0x134]
lea eax, [ecx + eax - 0x6845]
test eax, eax
jne 0x1004b286
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x3f0], 0
jne 0x1004b286
and dword [ebp - 0x140], 0
jmp 0x1004b290
mov dword [ebp - 0x140], 1
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x1c0]
add eax, dword [ebp - 0x140]
cmp eax, dword [ebp - 0x2a0]
jge 0x1004b2b9
mov dword [ebp - 0x240], 1
jmp 0x1004b2c0
and dword [ebp - 0x240], 0
cmp dword [ebp - 0x240], 0xa6d983a5
jae 0x1004b2d8
mov dword [ebp - 0x148], 1
jmp 0x1004b2df
and dword [ebp - 0x148], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3f0]
cmp dword [ebp - 0x148], eax
je 0x1004b300
mov dword [ebp - 0x1c8], 1
jmp 0x1004b307
and dword [ebp - 0x1c8], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x3f0]
cmp dword [ebp - 0x1c8], eax
jl 0x1004b32d
cmp dword [ebp - 0xb0], 0
jne 0x1004b32d
and dword [ebp - 0x150], 0
jmp 0x1004b337
mov dword [ebp - 0x150], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x150]
mov dword [ebp + eax - 0xc8], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x310]
call fcn.1001585e
jmp 0x1004b0a2
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x14], 0xfffffff6
push 4
lea ecx, [ebp - 0x78]
call fcn.100157dc
mov dword [ebp - 4], 2
mov dword [ebp - 0x64], 0x6702e633
mov dword [ebp - 0x1f0], 0
push 1
lea ecx, [ebp - 0x340]
call fcn.100157dc
mov byte [ebp - 4], 3
mov dword [ebp - 0x38], 0
jmp 0x1004b3bc
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 4
jge 0x1004b3d5
push dword [ebp - 0x38]
lea ecx, [ebp - 0x78]
call fcn.1001587a
mov dword [eax], 0xfffffffd
jmp 0x1004b3b5
mov dword [ebp - 0x38], 0
jmp 0x1004b3e5
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x1004b401
push dword [ebp - 0x38]
lea ecx, [ebp - 0x340]
call fcn.1001587a
mov dword [eax], 3
jmp 0x1004b3de
mov dword [ebp - 0x14], 0xfffffff6
jmp 0x1004b411
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xe
jne 0x1004b6d5
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x158], 0x1521fafb
mov dword [ebp - 0x228], 0xfffb
mov dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x40]
cmp dword [ebp - 0x40], eax
jle 0x1004b45b
mov dword [ebp - 0x1e0], 1
jmp 0x1004b462
and dword [ebp - 0x1e0], 0
cmp dword [ebp - 0x14], 0
jne 0x1004b511
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3ac], eax
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x14], eax
je 0x1004b489
mov dword [ebp - 0x208], 1
jmp 0x1004b490
and dword [ebp - 0x208], 0
push 0
lea ecx, [ebp - 0x78]
call fcn.1001587a
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x158], eax
mov esi, dword [ebp - 0x158]
push 0
lea ecx, [ebp - 0x78]
call fcn.1001587a
add esi, dword [eax]
mov dword [ebp - 0x64], esi
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x64], eax
jne 0x1004b4cc
mov dword [ebp - 0x1d0], 1
jmp 0x1004b4d3
and dword [ebp - 0x1d0], 0
mov eax, dword [ebp - 0x228]
cmp dword [ebp - 0x1d0], eax
jle 0x1004b4ed
mov dword [ebp - 0x160], 1
jmp 0x1004b4f4
and dword [ebp - 0x160], 0
push 0
lea ecx, [ebp - 0x78]
call fcn.1001587a
mov ecx, dword [ebp - 0x160]
cmp ecx, dword [eax]
je 0x1004b511
and dword [ebp - 0x168], 0
jmp 0x1004b51b
mov dword [ebp - 0x168], 1
mov eax, dword [ebp - 0x228]
add eax, dword [ebp - 0x168]
jne 0x1004b538
cmp dword [ebp - 0x6c], 0
jne 0x1004b538
and dword [ebp - 0x1d8], 0
jmp 0x1004b542
mov dword [ebp - 0x1d8], 1
push 0
lea ecx, [ebp - 0x78]
call fcn.1001587a
mov ecx, dword [ebp - 0x1d8]
add ecx, dword [eax]
jne 0x1004b562
mov dword [ebp - 0x170], 1
jmp 0x1004b569
and dword [ebp - 0x170], 0
push 0
lea ecx, [ebp - 0x78]
call fcn.1001587a
mov esi, dword [ebp - 0x170]
imul esi, dword [eax]
push 2
lea ecx, [ebp - 0x78]
call fcn.1001587a
cmp esi, dword [eax]
jg 0x1004b596
mov dword [ebp - 0x210], 1
jmp 0x1004b59d
and dword [ebp - 0x210], 0
mov eax, dword [ebp - 0x210]
sub eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x6c]
jne 0x1004b5b7
mov dword [ebp - 0x178], 1
jmp 0x1004b5be
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x178], eax
jl 0x1004b5d5
mov dword [ebp - 0x270], 1
jmp 0x1004b5dc
and dword [ebp - 0x270], 0
push 0
lea ecx, [ebp - 0x78]
call fcn.1001587a
mov eax, 0x34ce5fef
add eax, 0xfffffffa
cmp dword [ebp - 0x1e0], eax
jne 0x1004b602
mov dword [ebp - 0x180], 1
jmp 0x1004b609
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x60], 0
jmp 0x1004b628
mov eax, dword [ebp - 0x60]
dec eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0xfffffffe
jg 0x1004b6d0
mov dword [ebp - 0x2ec], 5
mov dword [ebp - 0x2e8], 5
mov dword [ebp - 0x2e4], 5
mov dword [ebp - 0x2e0], 5
lea ecx, [ebp - 0xcd]
call fcn.1000a413
push eax
lea eax, [ebp - 0x2dc]
push eax
lea eax, [ebp - 0x2ec]
push eax
lea ecx, [ebp - 0x418]
call fcn.10015889
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x3a8]
call fcn.10015838
mov byte [ebp - 4], 4
mov byte [ebp - 0x42], 0
movzx eax, byte [ebp - 0x42]
test eax, eax
je 0x1004b6aa
push 0x19a9
call dword [sym.imp.USER32.dll_GetQueueStatus]
push 1
lea ecx, [ebp - 0x3a8]
call fcn.1001587a
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3a8]
call fcn.1001585e
jmp 0x1004b621
jmp 0x1004b40a
cmp dword [ebp - 0x14], 0x9e864adb
jb 0x1004b6ea
mov dword [ebp - 0x238], 1
jmp 0x1004b6f1
and dword [ebp - 0x238], 0
cmp dword [ebp - 0x238], 0
je 0x1004b70a
xor eax, eax
je 0x1004b70a
mov dword [ebp - 0x1e8], 1
jmp 0x1004b711
and dword [ebp - 0x1e8], 0
push 3
lea ecx, [ebp - 0x78]
call fcn.1001587a
cmp dword [eax], 0
je 0x1004b748
push 2
lea ecx, [ebp - 0x78]
call fcn.1001587a
mov esi, eax
push 1
lea ecx, [ebp - 0x78]
call fcn.1001587a
mov ecx, dword [esi]
cmp ecx, dword [eax]
jge 0x1004b748
mov dword [ebp - 0x188], 1
jmp 0x1004b74f
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x64], eax
push 0
lea ecx, [ebp - 0x78]
call fcn.1001587a
push 0
lea ecx, [ebp - 0x78]
call fcn.1001587a
push 0xfffffffffffffff7
pop eax
test eax, eax
jne 0x1004b782
cmp dword [ebp - 0x64], 0
jne 0x1004b782
and dword [ebp - 0x190], 0
jmp 0x1004b78c
mov dword [ebp - 0x190], 1
mov eax, dword [ebp - 0x1e8]
cmp eax, dword [ebp - 0x190]
jl 0x1004b7ac
cmp dword [ebp - 0x64], 0
je 0x1004b7ac
mov dword [ebp - 0x218], 1
jmp 0x1004b7b3
and dword [ebp - 0x218], 0
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xfffffff6
jg 0x1004b7ce
mov dword [ebp - 0x198], 1
jmp 0x1004b7d5
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x198]
add eax, 0x1de25412
mov dword [ebp - 0x1f0], eax
mov esi, dword [ebp - 0x1f0]
push 3
lea ecx, [ebp - 0x78]
call fcn.1001587a
sub esi, dword [eax]
push 0
lea ecx, [ebp - 0x340]
call fcn.1001587a
mov dword [eax], esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x340]
call fcn.1001585e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.1001585e
mov dword [ebp - 0x258], 0xebd004dd
mov dword [ebp - 0x3f4], 0xc29478c9
mov dword [ebp - 0x370], 0x67f5aee0
mov dword [ebp - 0x374], 0x59785734
push 3
lea ecx, [ebp - 0x3b8]
call fcn.100157dc
mov dword [ebp - 4], 5
mov dword [ebp - 0x90], 0x39beb064
push 3
lea ecx, [ebp - 0x2f8]
call fcn.100157dc
mov byte [ebp - 4], 6
mov dword [ebp - 0x2a8], 7
mov dword [ebp - 0x380], 0xd9ed
mov dword [ebp - 0x24], 0
jmp 0x1004b89d
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x1004b8b9
push dword [ebp - 0x24]
lea ecx, [ebp - 0x3b8]
call fcn.1001587a
mov dword [eax], 0xbbca6318
jmp 0x1004b896
mov dword [ebp - 0x24], 0
jmp 0x1004b8c9
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x1004b8e5
push dword [ebp - 0x24]
lea ecx, [ebp - 0x2f8]
call fcn.1001587a
mov dword [eax], 0x9ae77ab3
jmp 0x1004b8c2
mov dword [ebp - 0x90], 2
jmp 0x1004b8fe
mov eax, dword [ebp - 0x90]
dec eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jl 0x1004b923
push 2
lea ecx, [ebp - 0x2f8]
call fcn.1001587a
and dword [eax], 0
mov dword [ebp - 0x2a8], 0
jmp 0x1004b8f1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2f8]
call fcn.1001585e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3b8]
call fcn.1001585e
mov dword [ebp - 0x2c0], 0xffffffff
mov dword [ebp - 0xc0], 0
jmp 0x1004b964
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 4
jge 0x1004b980
mov eax, dword [ebp - 0xc0]
mov dword [ebp + eax*4 - 0x404], 0x40424b96
jmp 0x1004b957
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x34], 0
jmp 0x1004b996
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffe5
jg 0x1004c5db
mov dword [ebp - 0xa4], 0x961c0f80
mov dword [ebp - 0x68], 0xfffffff8
mov dword [ebp - 0x98], 0xa137b189
mov dword [ebp - 0x174], 0xb61d
mov dword [ebp - 0x230], 0x715ee56e
mov dword [ebp - 0x278], 0xfffffff8
mov dword [ebp - 0x144], 6
push 3
lea ecx, [ebp - 0x31c]
call fcn.100157dc
mov dword [ebp - 4], 7
push 3
lea ecx, [ebp - 0x304]
call fcn.100157dc
mov byte [ebp - 4], 8
push 1
lea ecx, [ebp - 0x358]
call fcn.100157dc
mov byte [ebp - 4], 9
mov dword [ebp - 0x10], 0
jmp 0x1004ba29
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1004ba3f
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x284], 0x1836ccb0
jmp 0x1004ba22
mov dword [ebp - 0x10], 0
jmp 0x1004ba4f
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1004ba6b
push dword [ebp - 0x10]
lea ecx, [ebp - 0x31c]
call fcn.1001587a
mov dword [eax], 0x53d2ae45
jmp 0x1004ba48
mov dword [ebp - 0x10], 0
jmp 0x1004ba7b
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1004ba97
push dword [ebp - 0x10]
lea ecx, [ebp - 0x304]
call fcn.1001587a
mov dword [eax], 0xdfeee83a
jmp 0x1004ba74
mov dword [ebp - 0x10], 0
jmp 0x1004baa7
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1004bac3
push dword [ebp - 0x10]
lea ecx, [ebp - 0x358]
call fcn.1001587a
mov dword [eax], 0xb017290b
jmp 0x1004baa0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
cmp dword [ebp - 0x68], eax
jge 0x1004bae3
mov dword [ebp - 0x1a0], 1
jmp 0x1004baea
and dword [ebp - 0x1a0], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x1a0]
mov dword [ebp + eax - 0x284], ecx
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x98], eax
jle 0x1004bb13
mov dword [ebp - 0x1b8], 1
jmp 0x1004bb1a
and dword [ebp - 0x1b8], 0
mov dword [ebp - 0x230], 1
cmp dword [ebp - 0x230], 0
jb 0x1004bb39
mov dword [ebp - 0x1a8], 1
jmp 0x1004bb40
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x68]
imul eax, dword [ebp - 0x1a8]
cmp eax, 0x3de4
jge 0x1004bb5d
mov dword [ebp - 0x1f8], 1
jmp 0x1004bb64
and dword [ebp - 0x1f8], 0
cmp dword [ebp - 0x1f8], 0xfffffff7
jle 0x1004bb79
mov dword [ebp - 0xe0], 1
jmp 0x1004bb80
and dword [ebp - 0xe0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x284]
cmp dword [ebp - 0xe0], eax
jge 0x1004bba1
mov dword [ebp - 0x220], 1
jmp 0x1004bba8
and dword [ebp - 0x220], 0
mov eax, dword [ebp - 0x174]
cmp dword [ebp - 0x220], eax
je 0x1004bbc2
mov dword [ebp - 0x200], 1
jmp 0x1004bbc9
and dword [ebp - 0x200], 0
mov eax, dword [ebp - 0x1b8]
add eax, dword [ebp - 0x200]
cmp eax, dword [ebp - 0x98]
jl 0x1004bbe9
mov dword [ebp - 0x130], 1
jmp 0x1004bbf0
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x278]
cmp dword [ebp - 0x130], eax
jl 0x1004bc0a
mov dword [ebp - 0x13c], 1
jmp 0x1004bc11
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0xffff
jbe 0x1004bc35
mov dword [ebp - 0x14c], 1
jmp 0x1004bc3c
and dword [ebp - 0x14c], 0
push 0
lea ecx, [ebp - 0x31c]
call fcn.1001587a
mov ecx, dword [ebp - 0x14c]
cmp ecx, dword [eax]
jge 0x1004bc5f
mov dword [ebp - 0x154], 1
jmp 0x1004bc66
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x154], eax
jne 0x1004bc7d
mov dword [ebp - 0x15c], 1
jmp 0x1004bc84
and dword [ebp - 0x15c], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x284]
cmp dword [ebp - 0x15c], eax
jge 0x1004bcb1
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x284], 0
jne 0x1004bcb1
and dword [ebp - 0x164], 0
jmp 0x1004bcbb
mov dword [ebp - 0x164], 1
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x284]
cmp dword [ebp - 0x164], eax
je 0x1004bcdb
mov dword [ebp - 0x16c], 1
jmp 0x1004bce2
and dword [ebp - 0x16c], 0
push 1
lea ecx, [ebp - 0x304]
call fcn.1001587a
mov ecx, dword [ebp - 0x16c]
imul ecx, dword [eax]
cmp ecx, 0x4e5477a
jl 0x1004bd0c
mov dword [ebp - 0x17c], 1
jmp 0x1004bd13
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x174]
add eax, 0x50db
cmp eax, dword [ebp - 0x17c]
jne 0x1004bd32
mov dword [ebp - 0x184], 1
jmp 0x1004bd39
and dword [ebp - 0x184], 0
push 0
lea ecx, [ebp - 0x358]
call fcn.1001587a
mov ecx, dword [ebp - 0x184]
mov dword [eax], ecx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x358]
call fcn.1001585e
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x304]
call fcn.1001585e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x31c]
call fcn.1001585e
push 1
lea ecx, [ebp - 0x250]
call fcn.100157dc
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x7c], 0
jmp 0x1004bd9f
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 1
jge 0x1004bdbb
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x250]
call fcn.1001587a
mov dword [eax], 0x91a049fe
jmp 0x1004bd98
push 0
lea ecx, [ebp - 0x250]
call fcn.1001587a
and dword [eax], 0
jmp 0x1004bdf1
push 0
lea ecx, [ebp - 0x250]
call fcn.1001587a
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x18c]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x18c]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x250]
call fcn.1001587a
cmp dword [eax], 0xfffffffa
je 0x1004bea3
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0xa0], 0
jmp 0x1004be2a
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 2
jge 0x1004be46
mov eax, dword [ebp - 0xa0]
mov dword [ebp + eax*4 - 0x37c], 0x80c170c
jmp 0x1004be1d
push 4
pop eax
shl eax, 0
lea eax, [ebp + eax - 0x37c]
mov dword [ebp - 0x194], eax
push 0
lea ecx, [ebp - 0x250]
call fcn.1001587a
mov ecx, dword [ebp - 0x194]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x194]
mov eax, dword [eax]
mov dword [ebp - 0x2b0], eax
mov byte [ebp - 0x46], 0
movzx eax, byte [ebp - 0x46]
test eax, eax
je 0x1004be9e
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_EndPage]
jmp 0x1004bdcd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.1001585e
mov dword [ebp - 0xac], 0
mov dword [ebp - 0x28], 0x4a6847df
mov dword [ebp - 0xb8], 0
jmp 0x1004bedc
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 1
jge 0x1004bef5
mov eax, dword [ebp - 0xb8]
mov dword [ebp + eax*4 - 0x3c], 0x4ab274bf
jmp 0x1004becf
mov dword [ebp - 0x28], 0
jmp 0x1004bf05
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xa
jge 0x1004bf27
mov dword [ebp - 0x288], 0x43250e6d
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x288]
mov dword [ebp + eax - 0x3c], ecx
jmp 0x1004befe
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
mov dword [ebp - 0x36c], eax
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x28], eax
jg 0x1004bf4b
mov dword [ebp - 0x1ac], 1
jmp 0x1004bf52
and dword [ebp - 0x1ac], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x3c], 0
jne 0x1004bf6e
cmp dword [ebp - 0x28], 0
jne 0x1004bf6e
and dword [ebp - 0x19c], 0
jmp 0x1004bf78
mov dword [ebp - 0x19c], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
cmp eax, dword [ebp - 0x19c]
jle 0x1004bf96
mov dword [ebp - 0x1a4], 1
jmp 0x1004bf9d
and dword [ebp - 0x1a4], 0
cmp dword [ebp - 0x1a4], 0x30a4ccfd
jle 0x1004bfb5
mov dword [ebp - 0x1b4], 1
jmp 0x1004bfbc
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x1ac]
cmp eax, dword [ebp - 0x1b4]
je 0x1004bfd6
mov dword [ebp - 0x1bc], 1
jmp 0x1004bfdd
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x1bc]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x3c]
jl 0x1004bffe
mov dword [ebp - 0x2b8], 1
jmp 0x1004c005
and dword [ebp - 0x2b8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
mov dword [ebp - 0x390], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x3c], 0xd133
jne 0x1004c031
mov dword [ebp - 0x1c4], 1
jmp 0x1004c038
and dword [ebp - 0x1c4], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x1c4], eax
jl 0x1004c04f
mov dword [ebp - 0x1cc], 1
jmp 0x1004c056
and dword [ebp - 0x1cc], 0
imul eax, dword [ebp - 0x1cc], 0x39e2
test eax, eax
jne 0x1004c070
mov dword [ebp - 0x1d4], 1
jmp 0x1004c077
and dword [ebp - 0x1d4], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x1d4]
mov dword [ebp + eax - 0x3c], ecx
push 1
lea ecx, [ebp - 0x334]
call fcn.100157dc
mov dword [ebp - 4], 0xb
push 4
lea ecx, [ebp - 0x294]
call fcn.100157dc
mov byte [ebp - 4], 0xc
mov dword [ebp - 0xa8], 0
jmp 0x1004c0c5
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 4
jge 0x1004c0e7
push dword [ebp - 0xa8]
lea ecx, [ebp - 0x294]
call fcn.1001587a
mov dword [eax], 1
jmp 0x1004c0b8
push 2
lea ecx, [ebp - 0x294]
call fcn.1001587a
and dword [eax], 0
jmp 0x1004c11d
push 2
lea ecx, [ebp - 0x294]
call fcn.1001587a
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x1dc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1dc]
mov dword [ecx], eax
push 2
lea ecx, [ebp - 0x294]
call fcn.1001587a
cmp dword [eax], 1
je 0x1004c15b
mov byte [ebp - 0x41], 0
movzx eax, byte [ebp - 0x41]
test eax, eax
je 0x1004c159
push 0x6bb
push 0x23ff
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetPixel]
jmp 0x1004c0f9
mov byte [ebp - 0x48], 0
movzx eax, byte [ebp - 0x48]
test eax, eax
je 0x1004c16f
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x294]
call fcn.1001585e
mov dword [ebp - 0xf0], 0x94bf7d6
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x80], 0
jmp 0x1004c1a2
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 1
jge 0x1004c1b8
mov eax, dword [ebp - 0x80]
mov dword [ebp + eax*4 - 0x398], 0x55bb
jmp 0x1004c19b
mov dword [ebp - 0x84], 0
jmp 0x1004c1d1
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
jg 0x1004c203
mov byte [ebp - 0x43], 0
movzx eax, byte [ebp - 0x43]
test eax, eax
je 0x1004c201
push 0x72f
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_Polyline]
jmp 0x1004c1c4
mov dword [ebp - 0x30], 0
jmp 0x1004c213
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jge 0x1004c229
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0xcc], 0xd0176df7
jmp 0x1004c20c
push 2
lea ecx, [ebp - 0x2cc]
call fcn.100157dc
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x8c], 0
jmp 0x1004c25a
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 2
jge 0x1004c27c
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x2cc]
call fcn.1001587a
mov dword [eax], 0xfffffffb
jmp 0x1004c24d
mov dword [ebp - 0x5c], 0
jmp 0x1004c28c
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 1
jg 0x1004c2b6
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x2cc]
call fcn.1001587a
mov esi, eax
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x2cc]
call fcn.1001587a
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x1004c285
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2cc]
call fcn.1001585e
mov dword [ebp - 0x30], 0
jmp 0x1004c2d5
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jge 0x1004c2f1
push dword [ebp - 0x30]
lea ecx, [ebp - 0x334]
call fcn.1001587a
mov dword [eax], 0xfffffffd
jmp 0x1004c2ce
push 4
lea ecx, [ebp - 0x3c8]
call fcn.100157dc
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x9c], 0xfffffffc
mov dword [ebp - 0x94], 0
jmp 0x1004c325
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 4
jge 0x1004c344
push dword [ebp - 0x94]
lea ecx, [ebp - 0x3c8]
call fcn.1001587a
and dword [eax], 0
jmp 0x1004c318
mov dword [ebp - 0x9c], 3
jmp 0x1004c35d
mov eax, dword [ebp - 0x9c]
dec eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
jl 0x1004c39c
mov dword [ebp - 0x298], 0x3fbb4ebb
mov byte [ebp - 0x47], 0
movzx eax, byte [ebp - 0x47]
test eax, eax
je 0x1004c390
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_RealizePalette]
mov dword [ebp - 0x298], 0xefc07e17
jmp 0x1004c350
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x3c8]
call fcn.1001585e
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.100478ec
pop ecx
pop ecx
cmp dword [ebp - 0x34], 0
je 0x1004c3d8
cmp dword [ebp - 0xa4], 0
je 0x1004c3d8
mov dword [ebp - 0xf8], 1
jmp 0x1004c3df
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x2c0]
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0xcc]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0xcc]
jne 0x1004c40e
mov dword [ebp - 0x1e4], 1
jmp 0x1004c415
and dword [ebp - 0x1e4], 0
cmp dword [ebp - 0x1e4], 0x6243a5d8
jge 0x1004c42d
mov dword [ebp - 0xe4], 1
jmp 0x1004c434
and dword [ebp - 0xe4], 0
push 0
lea ecx, [ebp - 0x334]
call fcn.1001587a
mov ecx, dword [ebp - 0xe4]
imul ecx, dword [eax]
cmp ecx, dword [ebp - 0x2bc]
jle 0x1004c45e
mov dword [ebp - 0x2a4], 1
jmp 0x1004c465
and dword [ebp - 0x2a4], 0
cmp dword [ebp - 0xa4], 0xffffffff
jne 0x1004c47a
mov dword [ebp - 0xe8], 1
jmp 0x1004c481
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xa4]
cmp dword [ebp - 0xe8], eax
jg 0x1004c49b
mov dword [ebp - 0x2b4], 1
jmp 0x1004c4a2
and dword [ebp - 0x2b4], 0
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x3dc], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x3e0], eax
mov eax, dword [ebp - 0x2ac]
mov dword [ebp - 0x3bc], eax
mov eax, dword [ebp - 0xac]
dec eax
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xf8]
lea eax, [ecx + eax - 0x6845]
test eax, eax
jne 0x1004c503
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x404], 0
jne 0x1004c503
and dword [ebp - 0x108], 0
jmp 0x1004c50d
mov dword [ebp - 0x108], 1
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
add eax, dword [ebp - 0x108]
cmp eax, dword [ebp - 0x258]
jge 0x1004c536
mov dword [ebp - 0x110], 1
jmp 0x1004c53d
and dword [ebp - 0x110], 0
cmp dword [ebp - 0x110], 0xa6d983a5
jae 0x1004c555
mov dword [ebp - 0x118], 1
jmp 0x1004c55c
and dword [ebp - 0x118], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x404]
cmp dword [ebp - 0x118], eax
je 0x1004c57d
mov dword [ebp - 0x120], 1
jmp 0x1004c584
and dword [ebp - 0x120], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x404]
cmp dword [ebp - 0x120], eax
jl 0x1004c5aa
cmp dword [ebp - 0xac], 0
jne 0x1004c5aa
and dword [ebp - 0x128], 0
jmp 0x1004c5b4
mov dword [ebp - 0x128], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x128]
mov dword [ebp + eax - 0xcc], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x334]
call fcn.1001585e
jmp 0x1004b98f
mov dword [ebp - 0x54], 0x29a3df60
push 2
lea ecx, [ebp - 0x34c]
call fcn.100157dc
mov dword [ebp - 4], 0xf
mov dword [ebp - 0xb4], 0
jmp 0x1004c60f
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 2
jge 0x1004c631
push dword [ebp - 0xb4]
lea ecx, [ebp - 0x34c]
call fcn.1001587a
mov dword [eax], 0x19c5a654
jmp 0x1004c602
mov dword [ebp - 0x54], 0x124f01c0
mov esi, dword [ebp - 0x54]
push 1
lea ecx, [ebp - 0x34c]
call fcn.1001587a
mov dword [eax], esi
mov dword [ebp - 0x54], 0
jmp 0x1004c65a
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 1
jg 0x1004c687
mov byte [ebp - 0x45], 0
movzx eax, byte [ebp - 0x45]
test eax, eax
je 0x1004c685
push 0xd6
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetMapMode]
jmp 0x1004c653
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34c]
call fcn.1001585e
cmp dword [ebp - 0x2d8], 0
je 0x1004c6b3
push 2
push dword [ebp - 0x2d0]
push dword [ebp - 0x2d4]
call dword [ebp - 0x2d8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret