Function at 0x41ae88
Capabilities:
Compare security identifiers
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
push esi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x41b634
mov dword [ebp - 0x64], 0xfffffffc
mov dword [ebp - 0x70], 0
jmp 0x41aeb5
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 1
jge 0x41aecb
mov eax, dword [ebp - 0x70]
mov dword [ebp + eax*4 - 0x22c], 4
jmp 0x41aeae
mov dword [ebp - 0x64], 0
jmp 0x41aedb
mov eax, dword [ebp - 0x64]
dec eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jl 0x41af28
mov byte [ebp - 0x32], 0
movzx eax, byte [ebp - 0x32]
test eax, eax
je 0x41af06
push 0x26cd
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]
mov byte [ebp - 0x23], 0
movzx eax, byte [ebp - 0x23]
test eax, eax
je 0x41af26
push 0
push 0x1316
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
jmp 0x41aed4
mov byte [ebp - 0x39], 0
movzx eax, byte [ebp - 0x39]
test eax, eax
je 0x41af41
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x190], eax
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x28], 0xd8bc0d13
mov dword [ebp - 0xb4], 1
push 1
lea ecx, [ebp - 0x1fc]
call fcn.0040f233
mov dword [ebp - 0x1c4], 0xfffffff8
mov dword [ebp - 8], 0
jmp 0x41af89
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jge 0x41af9f
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x184], 0x3250e6da
jmp 0x41af82
mov dword [ebp - 8], 0
jmp 0x41afaf
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jge 0x41afcb
push dword [ebp - 8]
lea ecx, [ebp - 0x1fc]
call fcn.0040f321
mov dword [eax], 0xbdae4f9d
jmp 0x41afa8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x224], eax
imul eax, dword [ebp - 0xc], 0
cmp eax, dword [ebp - 0xc]
jle 0x41aff2
mov dword [ebp - 0x134], 1
jmp 0x41aff9
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x134]
sub eax, dword [ebp - 0xc]
cmp eax, 0xffffffff
jb 0x41b013
mov dword [ebp - 0x9c], 1
jmp 0x41b01a
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x9c], eax
jne 0x41b031
mov dword [ebp - 0x11c], 1
jmp 0x41b038
and dword [ebp - 0x11c], 0
cmp dword [ebp - 0x11c], 0
je 0x41b053
cmp dword [ebp - 0xc], 0
je 0x41b053
mov dword [ebp - 0xa4], 1
jmp 0x41b05a
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x28], eax
imul eax, dword [ebp - 0x28], 0xfffb
test eax, eax
jne 0x41b07a
mov dword [ebp - 0xac], 1
jmp 0x41b081
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x124], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x124]
mov dword [ebp + eax - 0x184], ecx
mov eax, dword [ebp - 0x124]
cmp eax, dword [ebp - 0xac]
jg 0x41b0b7
mov dword [ebp - 0x12c], 1
jmp 0x41b0be
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0xb4]
jne 0x41b0e4
cmp dword [ebp - 0x28], 0
jne 0x41b0e4
and dword [ebp - 0x13c], 0
jmp 0x41b0ee
mov dword [ebp - 0x13c], 1
push 0
lea ecx, [ebp - 0x1fc]
call fcn.0040f321
mov ecx, dword [ebp - 0x13c]
mov dword [eax], ecx
mov dword [ebp - 0x28], 0xffffffe9
jmp 0x41b113
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xfffffff6
jne 0x41b126
cmp dword [ebp - 0x1c4], 0
je 0x41b124
jmp 0x41b126
jmp 0x41b10c
lea ecx, [ebp - 0x1fc]
call fcn.0040f305
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x54], 0xfffffffe
mov dword [ebp - 0x58], 0xfffffff9
push 4
lea ecx, [ebp - 0x1f0]
call fcn.0040f233
mov dword [ebp - 0x1b8], 0xfffffffb
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x78], 0
jmp 0x41b17c
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 4
jge 0x41b198
push dword [ebp - 0x78]
lea ecx, [ebp - 0x1f0]
call fcn.0040f321
mov dword [eax], 0xfa017779
jmp 0x41b175
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x41b1ac
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov dword [ebp - 0x54], 6
jmp 0x41b1bc
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xffffffee
jne 0x41b362
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0x19c], 1
push 2
lea ecx, [ebp - 0x1e4]
call fcn.0040f233
mov dword [ebp - 0xd4], 0xfffffffc
mov dword [ebp - 0x6c], 0
jmp 0x41b1fe
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 2
jge 0x41b21a
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x1e4]
call fcn.0040f321
mov dword [eax], 0xf4442628
jmp 0x41b1f7
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0xbc], eax
push 0
lea ecx, [ebp - 0x1f0]
call fcn.0040f321
mov ecx, dword [ebp - 0xbc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0xbc]
jle 0x41b25b
mov dword [ebp - 0x1bc], 1
jmp 0x41b262
and dword [ebp - 0x1bc], 0
cmp dword [ebp - 0x44], 0xec29
je 0x41b277
mov dword [ebp - 0x144], 1
jmp 0x41b27e
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x44], eax
jg 0x41b29e
mov dword [ebp - 0xc4], 1
jmp 0x41b2a5
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0xc4], eax
jge 0x41b2bc
mov dword [ebp - 0x14c], 1
jmp 0x41b2c3
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x14c]
cmp eax, 1
jne 0x41b2da
mov eax, 0x7d7c869b
test eax, eax
jne 0x41b2e9
cmp dword [ebp - 0x58], 0
jne 0x41b2e9
and dword [ebp - 0xcc], 0
jmp 0x41b2f3
mov dword [ebp - 0xcc], 1
cmp dword [ebp - 0xcc], 0xeec54165
je 0x41b308
mov dword [ebp - 0x7c], 1
jmp 0x41b30c
and dword [ebp - 0x7c], 0
push 1
lea ecx, [ebp - 0x1e4]
call fcn.0040f321
mov ecx, dword [ebp - 0x7c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x7c], eax
jne 0x41b332
mov dword [ebp - 0x154], 1
jmp 0x41b339
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0xd4]
dec eax
mov dword [ebp - 0xd4], eax
lea ecx, [ebp - 0x1e4]
call fcn.0040f305
jmp 0x41b1b5
lea ecx, [ebp - 0x1f0]
call fcn.0040f305
mov eax, dword [ebp - 0x198]
movzx eax, byte [eax]
test eax, eax
je 0x41b446
push 4
lea ecx, [ebp - 0x208]
call fcn.0040f233
mov dword [ebp - 0x48], 0xa32b1cec
mov dword [ebp - 0x74], 0
jmp 0x41b3a2
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 4
jge 0x41b3bb
push dword [ebp - 0x74]
lea ecx, [ebp - 0x208]
call fcn.0040f321
or dword [eax], 0xffffffff
jmp 0x41b39b
mov dword [ebp - 0x48], 3
jmp 0x41b3cb
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jl 0x41b41c
mov dword [ebp - 0x50], 0x48f69f7f
mov dword [ebp - 0x50], 0
jmp 0x41b3e8
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 4
jge 0x41b404
push dword [ebp - 0x50]
lea ecx, [ebp - 0x208]
call fcn.0040f321
mov dword [eax], 6
jmp 0x41b3e1
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x41b41a
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
jmp 0x41b3c4
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x208]
call fcn.0040f305
push 0x26cd
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]
mov dword [ebp - 0x60], 0xffffffff
or dword [ebp - 0x1d8], 0xffffffff
or dword [ebp - 0x1d4], 0xffffffff
or dword [ebp - 0x1d0], 0xffffffff
or dword [ebp - 0x1cc], 0xffffffff
lea ecx, [ebp - 0x81]
call fcn.0040f330
push eax
lea eax, [ebp - 0x1c8]
push eax
lea eax, [ebp - 0x1d8]
push eax
lea ecx, [ebp - 0x248]
call fcn.0040f333
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x178]
call fcn.0040f2df
mov dword [ebp - 0x15c], 0xb0a3531
mov dword [ebp - 0x80], 0xa13b2885
mov dword [ebp - 0xe4], 0xb2f14481
mov dword [ebp - 0x1a0], 0xe22401db
mov dword [ebp - 0x220], 0xffffffff
mov dword [ebp - 0x16c], 0x738f5859
mov dword [ebp - 0x5c], 0
jmp 0x41b4e7
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 2
jge 0x41b4fd
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x21c], 0
jmp 0x41b4e0
cmp dword [ebp - 0x60], 0
je 0x41b5cc
cmp dword [ebp - 0x60], 0
je 0x41b52c
push 3
lea ecx, [ebp - 0x178]
call fcn.0040f321
cmp dword [eax], 0
je 0x41b52c
push 2
lea ecx, [ebp - 0x178]
call fcn.0040f321
push 3
lea ecx, [ebp - 0x178]
call fcn.0040f321
mov eax, dword [eax]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x80], eax
mov esi, dword [ebp - 0x80]
push 3
lea ecx, [ebp - 0x178]
call fcn.0040f321
cmp esi, dword [eax]
jle 0x41b56a
mov dword [ebp - 0xdc], 1
jmp 0x41b571
and dword [ebp - 0xdc], 0
push 3
lea ecx, [ebp - 0x178]
call fcn.0040f321
mov eax, dword [eax]
sub eax, dword [ebp - 0xdc]
cmp eax, 0x512a
jne 0x41b599
mov dword [ebp - 0x164], 1
jmp 0x41b5a0
and dword [ebp - 0x164], 0
mov esi, dword [ebp - 0x60]
add esi, dword [ebp - 0x164]
push 3
lea ecx, [ebp - 0x178]
call fcn.0040f321
add esi, dword [eax]
mov dword [ebp - 0xe4], esi
je 0x41b5cc
mov dword [ebp - 0x8c], 1
jmp 0x41b5d3
and dword [ebp - 0x8c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x8c]
mov dword [ebp + eax - 0x21c], ecx
cmp dword [ebp - 0x8c], 0xbf0b
jge 0x41b5fe
mov dword [ebp - 0x1b0], 1
jmp 0x41b605
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x16c]
dec eax
mov dword [ebp - 0x16c], eax
lea ecx, [ebp - 0x178]
call fcn.0040f305
jmp 0x41be19
mov dword [ebp - 0x240], 0x61928c17
mov dword [ebp - 0x23c], 0x61928c17
mov dword [ebp - 0x238], 0x61928c17
mov dword [ebp - 0x234], 0x61928c17
mov dword [ebp - 0x68], 0xffffffff
mov dword [ebp - 0x68], 0
jmp 0x41b673
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 3
jg 0x41b6a5
mov byte [ebp - 0x20], 0
movzx eax, byte [ebp - 0x20]
test eax, eax
je 0x41b6a3
push 0xf7f
push 0x1565
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
jmp 0x41b66c
mov byte [ebp - 0x22], 0
movzx eax, byte [ebp - 0x22]
test eax, eax
je 0x41b6c0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x10], 0
jmp 0x41b6d9
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x41b6ef
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x180], 0x713b
jmp 0x41b6d2
mov dword [ebp - 0x10], 0
jmp 0x41b6ff
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x41b712
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x4c], 0xd4081c29
jmp 0x41b6f8
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x4c], 1
jmp 0x41b737
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x4c]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x4c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x4c], 0
jl 0x41b9c5
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x30], 0
jmp 0x41b75f
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jg 0x41b9c0
mov dword [ebp - 4], 0x59b8bc58
mov dword [ebp - 0x138], 1
mov dword [ebp - 0x150], 1
mov dword [ebp - 0x1a8], 0x70feea3
mov dword [ebp - 4], 1
jmp 0x41b79e
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x41b9a5
mov dword [ebp - 0x1c], 0xe8f21009
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x41b7db
push 0
push 0xe85
push 0x12f9
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetCharWidth32A]
mov dword [ebp - 0x1c], 0
jmp 0x41b7eb
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jg 0x41b9a0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 0xfffffff9
ja 0x41b813
mov dword [ebp - 0xf0], 1
jmp 0x41b81a
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0xf0]
cmp eax, 0x1639956a
jle 0x41b836
mov dword [ebp - 0x94], 1
jmp 0x41b83d
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x94], eax
jg 0x41b854
mov dword [ebp - 0xf8], 1
jmp 0x41b85b
and dword [ebp - 0xf8], 0
cmp dword [ebp - 0xf8], 0xe428
jg 0x41b873
mov dword [ebp - 0x100], 1
jmp 0x41b87a
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
sub eax, dword [ebp - 0x100]
cmp dword [ebp - 0x1c], eax
je 0x41b8a0
mov dword [ebp - 0x1c0], 1
jmp 0x41b8a7
and dword [ebp - 0x1c0], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x1c]
cmp eax, 0xb91300d
je 0x41b8c9
mov dword [ebp - 0x160], 1
jmp 0x41b8d0
and dword [ebp - 0x160], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x4c]
cmp dword [ebp - 0x160], eax
jge 0x41b8ee
mov dword [ebp - 0x108], 1
jmp 0x41b8f5
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x180]
cmp eax, dword [ebp - 0x108]
je 0x41b913
mov dword [ebp - 0x140], 1
jmp 0x41b91a
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x140], eax
jl 0x41b931
mov dword [ebp - 0x110], 1
jmp 0x41b938
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 4]
add eax, dword [ebp + ecx*4 - 0x180]
cmp eax, 0x1597618d
jne 0x41b95f
mov dword [ebp - 0x158], 1
jmp 0x41b966
and dword [ebp - 0x158], 0
cmp dword [ebp - 0x158], 0
jne 0x41b988
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x180], 0
je 0x41b988
mov dword [ebp - 0x118], 1
jmp 0x41b98f
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x1a8], eax
jmp 0x41b7e4
jmp 0x41b797
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x4c]
cmp dword [ebp + eax*4 - 0x180], 0
je 0x41b9bb
jmp 0x41b9c0
jmp 0x41b758
jmp 0x41b722
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x38], 0x8cff0ea7
mov dword [ebp - 0x88], 2
mov dword [ebp - 0x18c], 0x52e4a6b2
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x41ba09
push 0
push 0x1136
push 0x1646
push 0
call dword [sym.imp.GDI32.dll_GetPaletteEntries]
mov dword [ebp - 0x38], 0x1a
jmp 0x41ba19
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffeb
jge 0x41bbdd
mov dword [ebp - 0x18], 0x3ee76373
mov byte [ebp - 0x33], 0
movzx eax, byte [ebp - 0x33]
test eax, eax
je 0x41ba47
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
cmp dword [ebp - 0x38], 0
jne 0x41ba59
mov dword [ebp - 0xe8], 1
jmp 0x41ba60
and dword [ebp - 0xe8], 0
cmp dword [ebp - 0x18], 0xd4a55f07
je 0x41ba75
mov dword [ebp - 0x120], 1
jmp 0x41ba7c
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x18], eax
jl 0x41ba8a
cmp dword [ebp - 0x18], 0
jne 0x41ba9c
mov eax, 0xe2db
test eax, eax
jne 0x41ba9c
and dword [ebp - 0x148], 0
jmp 0x41baa6
mov dword [ebp - 0x148], 1
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x148]
jl 0x41babd
mov dword [ebp - 0x168], 1
jmp 0x41bac4
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x120]
cmp eax, dword [ebp - 0x168]
jne 0x41bade
mov dword [ebp - 0x128], 1
jmp 0x41bae5
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x128], eax
jge 0x41bafc
mov dword [ebp - 0x130], 1
jmp 0x41bb03
and dword [ebp - 0x130], 0
cmp dword [ebp - 0x130], 0x856c
jl 0x41bb1b
mov dword [ebp - 0xec], 1
jmp 0x41bb22
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xe8]
cmp eax, dword [ebp - 0xec]
je 0x41bb3c
mov dword [ebp - 0xf4], 1
jmp 0x41bb43
and dword [ebp - 0xf4], 0
imul eax, dword [ebp - 0xf4], 0x3989
imul eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x18]
cmp eax, 1
jae 0x41bb65
mov dword [ebp - 0xfc], 1
jmp 0x41bb6c
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x88]
cmp dword [ebp - 0xfc], eax
jge 0x41bb86
mov dword [ebp - 0x104], 1
jmp 0x41bb8d
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xd5228033
jne 0x41bba6
cmp dword [ebp - 0x88], 0
mov eax, 0xfff9
imul eax, eax, 0xdb88
cmp eax, dword [ebp - 0x88]
jge 0x41bbc5
mov dword [ebp - 0x10c], 1
jmp 0x41bbcc
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x18c], eax
jmp 0x41ba12
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x40], 0x8cff0ea7
mov dword [ebp - 0x90], 2
mov dword [ebp - 0x188], 0x52e4a6b2
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x41bc24
push 0
push 0x1136
push 0x1646
push 0
call dword [sym.imp.GDI32.dll_GetPaletteEntries]
mov dword [ebp - 0x40], 0x1a
jmp 0x41bc34
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffeb
jge 0x41bdf8
mov dword [ebp - 0x14], 0x3ee76373
mov byte [ebp - 0x31], 0
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x41bc62
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
cmp dword [ebp - 0x40], 0
jne 0x41bc74
mov dword [ebp - 0xb8], 1
jmp 0x41bc7b
and dword [ebp - 0xb8], 0
cmp dword [ebp - 0x14], 0xd4a55f07
je 0x41bc90
mov dword [ebp - 0x98], 1
jmp 0x41bc97
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x14], eax
jl 0x41bca5
cmp dword [ebp - 0x14], 0
jne 0x41bcb7
mov eax, 0xe2db
test eax, eax
jne 0x41bcb7
and dword [ebp - 0x114], 0
jmp 0x41bcc1
mov dword [ebp - 0x114], 1
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x114]
jl 0x41bcd8
mov dword [ebp - 0xa0], 1
jmp 0x41bcdf
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x98]
cmp eax, dword [ebp - 0xa0]
jne 0x41bcf9
mov dword [ebp - 0xa8], 1
jmp 0x41bd00
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0xa8], eax
jge 0x41bd17
mov dword [ebp - 0xb0], 1
jmp 0x41bd1e
and dword [ebp - 0xb0], 0
cmp dword [ebp - 0xb0], 0x856c
jl 0x41bd36
mov dword [ebp - 0xc0], 1
jmp 0x41bd3d
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xb8]
cmp eax, dword [ebp - 0xc0]
je 0x41bd57
mov dword [ebp - 0xc8], 1
jmp 0x41bd5e
and dword [ebp - 0xc8], 0
imul eax, dword [ebp - 0xc8], 0x3989
imul eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x14]
cmp eax, 1
jae 0x41bd80
mov dword [ebp - 0xd0], 1
jmp 0x41bd87
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x90]
cmp dword [ebp - 0xd0], eax
jge 0x41bda1
mov dword [ebp - 0xd8], 1
jmp 0x41bda8
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xd5228033
jne 0x41bdc1
cmp dword [ebp - 0x90], 0
mov eax, 0xfff9
imul eax, eax, 0xdb88
cmp eax, dword [ebp - 0x90]
jge 0x41bde0
mov dword [ebp - 0xe0], 1
jmp 0x41bde7
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x188], eax
jmp 0x41bc2d
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x1ac]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1b4]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov dword [ecx + 8], eax
pop esi
mov esp, ebp
pop ebp
ret