Function at 0x41b873
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push esi
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x41b8bc
lea eax, [ebp + 0xc]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
movzx eax, byte [eax]
test eax, eax
je 0x41b8aa
push 0
push 0x415
call dword [sym.imp.USER32.dll_GetClientRect]
jmp 0x41b8b7
push 0x644
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x41be05
lea eax, [ebp + 0x14]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa0], eax
push 2
lea ecx, [ebp - 0xb8]
call fcn.00410610
mov dword [ebp - 0x10], 0x79763266
mov dword [ebp - 0x20], 0
jmp 0x41b8fb
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x41b917
push dword [ebp - 0x20]
lea ecx, [ebp - 0xb8]
call fcn.004106b1
mov dword [eax], 0xfffffffd
jmp 0x41b8f4
mov dword [ebp - 0x10], 0
jmp 0x41b927
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jg 0x41b951
push dword [ebp - 0x10]
lea ecx, [ebp - 0xb8]
call fcn.004106b1
mov esi, eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0xb8]
call fcn.004106b1
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x41b920
lea ecx, [ebp - 0xb8]
call fcn.004106ac
mov eax, dword [ebp - 0xa4]
movzx eax, byte [eax]
test eax, eax
je 0x41bb66
push 1
lea ecx, [ebp - 0x34]
call fcn.00410610
mov dword [ebp - 0x28], 0
jmp 0x41b987
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jge 0x41b9a0
push dword [ebp - 0x28]
lea ecx, [ebp - 0x34]
call fcn.004106b1
mov dword [eax], 0xfb871c7b
jmp 0x41b980
push 0
lea ecx, [ebp - 0x34]
call fcn.004106b1
mov esi, eax
push 0
lea ecx, [ebp - 0x34]
call fcn.004106b1
mov ecx, dword [esi]
cmp ecx, dword [eax]
jg 0x41b9c5
mov dword [ebp - 0x60], 1
jmp 0x41b9c9
and dword [ebp - 0x60], 0
push 0
lea ecx, [ebp - 0x34]
call fcn.004106b1
mov ecx, dword [ebp - 0x60]
mov dword [eax], ecx
push 0
lea ecx, [ebp - 0x34]
call fcn.004106b1
push 0
lea ecx, [ebp - 0x34]
call fcn.004106b1
push 0
lea ecx, [ebp - 0x34]
call fcn.004106b1
cmp dword [eax], 0x85c9e53
je 0x41ba0a
mov dword [ebp - 0x8c], 1
jmp 0x41ba11
and dword [ebp - 0x8c], 0
imul eax, dword [ebp - 0x8c], 0
cmp eax, 0xb21a35ca
jbe 0x41ba4a
push 0
lea ecx, [ebp - 0x34]
call fcn.004106b1
cmp dword [eax], 0
je 0x41ba4a
push 0
lea ecx, [ebp - 0x34]
call fcn.004106b1
mov esi, eax
push 0
lea ecx, [ebp - 0x34]
call fcn.004106b1
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x41ba7c
mov dword [ebp - 0xac], 9
push 0
lea ecx, [ebp - 0x34]
call fcn.004106b1
mov eax, dword [eax]
mov dword [ebp - 0xac], eax
mov byte [ebp - 8], 0
movzx eax, byte [ebp - 8]
test eax, eax
je 0x41ba7c
push 0
push 0
call dword [sym.imp.GDI32.dll_GetNearestPaletteIndex]
lea ecx, [ebp - 0x34]
call fcn.004106ac
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xc], 0x834504cd
mov dword [ebp - 0xc8], 1
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0xc0], 1
mov dword [ebp - 0xbc], 1
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0xc], 3
jmp 0x41bad5
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x41bb07
mov byte [ebp - 7], 0
movzx eax, byte [ebp - 7]
test eax, eax
je 0x41baf6
push 0
push 0
push 0x11b5
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 0xc]
cmp dword [ebp + eax*4 - 0xc8], 0
je 0x41bb05
jmp 0x41bace
jmp 0x41bace
mov dword [ebp - 0xcc], 4
mov byte [ebp - 5], 0
movzx eax, byte [ebp - 5]
test eax, eax
je 0x41bb25
push 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov byte [ebp - 6], 0
movzx eax, byte [ebp - 6]
test eax, eax
je 0x41bb4d
push 0x24f4
push 0x1808
push 0x178b
push 0xd3d
push 0
call dword [sym.imp.USER32.dll_PeekMessageA]
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x80]
mov dword [ecx], eax
jmp 0x41be05
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 0x3df603fa
mov dword [ebp - 0x74], 0x13cef339
mov dword [ebp - 0x24], 0
jmp 0x41bb99
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x41bbac
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x18], 0x124f01c0
jmp 0x41bb92
mov dword [ebp - 4], 1
jmp 0x41bbbc
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x41bdeb
mov dword [ebp - 0x6c], 6
mov dword [ebp - 0x68], 0xa862
mov dword [ebp - 0x1c], 0
jmp 0x41bbe4
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x41bbfa
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x94], 0xfffffffa
jmp 0x41bbdd
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x18], 0
je 0x41bc1a
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x18], 0
je 0x41bc1a
mov dword [ebp - 0x44], 1
jmp 0x41bc1e
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xfffffff9
jb 0x41bc33
mov dword [ebp - 0x4c], 1
jmp 0x41bc37
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jne 0x41bc52
mov eax, 0x279e56e6
test eax, eax
jne 0x41bc52
and dword [ebp - 0x54], 0
jmp 0x41bc59
mov dword [ebp - 0x54], 1
imul eax, dword [ebp - 0x54], 0x6d5d
push 4
pop ecx
shl ecx, 0
imul eax, dword [ebp + ecx - 0x18]
neg eax
mov ecx, dword [ebp - 4]
cmp eax, dword [ebp + ecx*4 - 0x18]
jge 0x41bc86
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x18], 0
jne 0x41bc86
and dword [ebp - 0x7c], 0
jmp 0x41bc8d
mov dword [ebp - 0x7c], 1
cmp dword [ebp - 0x7c], 0xfffffffe
je 0x41bc9f
mov dword [ebp - 0x84], 1
jmp 0x41bca6
and dword [ebp - 0x84], 0
cmp dword [ebp - 0x84], 0x29ec6ea3
jl 0x41bcbb
mov dword [ebp - 0x3c], 1
jmp 0x41bcbf
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x3c]
sub eax, 0x7efe5121
je 0x41bccf
cmp dword [ebp - 0x68], 0
jne 0x41bcdf
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x18], 0
jne 0x41bcdf
and dword [ebp - 0x78], 0
jmp 0x41bce6
mov dword [ebp - 0x78], 1
imul eax, dword [ebp - 0x78], 0
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0x18]
test eax, eax
jne 0x41bd08
cmp dword [ebp - 0x68], 0
jne 0x41bd08
and dword [ebp - 0x88], 0
jmp 0x41bd12
mov dword [ebp - 0x88], 1
cmp dword [ebp - 0x88], 0x90ba5fc0
ja 0x41bd27
mov dword [ebp - 0x70], 1
jmp 0x41bd2b
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x70]
inc eax
mov ecx, dword [ebp - 4]
cmp eax, dword [ebp + ecx*4 - 0x18]
jge 0x41bd41
mov dword [ebp - 0x58], 1
jmp 0x41bd45
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x18]
cmp dword [ebp - 0x58], eax
jl 0x41bd5a
mov dword [ebp - 0x5c], 1
jmp 0x41bd5e
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x18]
cmp dword [ebp - 0x5c], eax
je 0x41bd73
mov dword [ebp - 0x64], 1
jmp 0x41bd77
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 4]
cmp eax, 0xc73e
jge 0x41bd8d
mov dword [ebp - 0x40], 1
jmp 0x41bd91
and dword [ebp - 0x40], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x18]
cmp dword [ebp - 0x40], eax
jge 0x41bda9
mov dword [ebp - 0x38], 1
jmp 0x41bdad
and dword [ebp - 0x38], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x38]
mov dword [ebp + eax - 0x18], ecx
cmp dword [ebp - 0x38], 0
je 0x41bdd2
mov eax, 0x8837
test eax, eax
je 0x41bdd2
mov dword [ebp - 0x48], 1
jmp 0x41bdd6
and dword [ebp - 0x48], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x48]
mov dword [ebp + eax - 0x94], ecx
jmp 0x41bbb5
push 0
mov ecx, dword [ebp - 0x50]
call fcn.004106b1
mov esi, eax
push 0
mov ecx, dword [ebp - 0x50]
call fcn.004106b1
mov ecx, dword [esi]
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret