Function at 0x10049461
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov dword [ebp - 8], 0x6951ad38
mov dword [ebp - 4], 0x44426282
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0x89aa5088
mov dword [ebp - 0x34], 1
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xc], 0
jmp 0x100494a7
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jge 0x100494ba
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x10], 0x4c6a37d7
jmp 0x100494a0
mov dword [ebp - 0xc], 0
jmp 0x100494ca
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 4
jge 0x100494e0
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0xb0], 0xffffffff
jmp 0x100494c3
mov eax, dword [ebp - 8]
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 8], 0
jne 0x100495ee
cmp dword [ebp - 8], 0
je 0x100495d2
cmp dword [ebp - 8], 1
jl 0x1004950c
mov dword [ebp - 0x5c], 1
jmp 0x10049510
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x5c]
imul eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x3c]
mov dword [ebp + eax - 0x10], ecx
cmp dword [ebp - 0x3c], 0xfffe
ja 0x10049539
mov dword [ebp - 0x7c], 1
jmp 0x1004953d
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x7c], eax
jle 0x1004954e
mov dword [ebp - 0x44], 1
jmp 0x10049552
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 4]
sub eax, dword [ebp - 8]
je 0x10049568
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x10], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x10], 0
jne 0x10049583
xor eax, eax
inc eax
jne 0x10049583
and dword [ebp - 0x94], 0
jmp 0x1004958d
mov dword [ebp - 0x94], 1
mov eax, dword [ebp - 0x94]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x100495ae
cmp dword [ebp - 0x2c], 0
jne 0x100495ae
and dword [ebp - 0x4c], 0
jmp 0x100495b5
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0x4c]
test eax, eax
jne 0x100495c6
cmp dword [ebp - 4], 0
je 0x100495d2
mov dword [ebp - 0x84], 1
jmp 0x100495d9
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x84]
neg eax
cmp eax, 0xafe44fa3
jae 0x100495ee
and dword [ebp - 0x54], 0
jmp 0x100495f5
mov dword [ebp - 0x54], 1
cmp dword [ebp - 0x54], 0xb187b35f
jb 0x1004960a
mov dword [ebp - 0x9c], 1
jmp 0x10049611
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x34]
neg eax
cmp eax, dword [ebp - 8]
je 0x10049637
mov dword [ebp - 0x98], 1
jmp 0x1004963e
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x98], eax
je 0x10049652
mov dword [ebp - 0x64], 1
jmp 0x10049656
and dword [ebp - 0x64], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x64]
mov dword [ebp + eax - 0xb0], ecx
mov dword [ebp - 4], 0
jmp 0x10049676
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x100497b8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ebp + ecx*4 - 0x10]
cmp dword [ebp + eax*4 - 0x10], ecx
jne 0x1004969c
mov dword [ebp - 0x90], 1
jmp 0x100496a3
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x90]
mov dword [ebp + eax*4 - 0xb0], ecx
mov eax, dword [ebp - 0xa0]
sub eax, 7
neg eax
mov ecx, dword [ebp - 4]
cmp eax, dword [ebp + ecx*4 - 0xb0]
jne 0x100496d3
mov dword [ebp - 0x6c], 1
jmp 0x100496d7
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0xb0]
cmp eax, dword [ebp - 0x6c]
jge 0x100496f2
mov dword [ebp - 0x88], 1
jmp 0x100496f9
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x10]
cmp dword [ebp - 0x88], eax
jl 0x10049711
mov dword [ebp - 0x74], 1
jmp 0x10049715
and dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 0xffffffff
je 0x10049727
mov dword [ebp - 0x8c], 1
jmp 0x1004972e
and dword [ebp - 0x8c], 0
cmp dword [ebp - 0x8c], 0xfda8
jl 0x10049743
mov dword [ebp - 0x24], 1
jmp 0x10049747
and dword [ebp - 0x24], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x24]
mov dword [ebp + eax - 0x10], ecx
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0xb0]
cmp dword [ebp - 0x24], eax
jge 0x10049772
mov eax, 0xa44bab92
test eax, eax
jne 0x10049772
and dword [ebp - 0x38], 0
jmp 0x10049779
mov dword [ebp - 0x38], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xb0]
imul eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x28]
jne 0x1004979f
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x10], 0
jne 0x1004979f
and dword [ebp - 0x40], 0
jmp 0x100497a6
mov dword [ebp - 0x40], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0xb0], ecx
jmp 0x1004966f
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10049802
mov dword [ebp - 0xb8], 0xfffffffa
mov byte [ebp - 0x12], 0
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x100497e1
push 0xf1c
call dword [sym.imp.USER32.dll_GetSysColorBrush]
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x100497f5
push 0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1004995c
mov dword [ebp - 0x30], 0xffff
mov dword [ebp - 0x18], 0x94b2ab76
mov dword [ebp - 0x80], 0xa70051ef
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x20], 0
jmp 0x1004982e
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x10049844
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0xc8], 1
jmp 0x10049827
cmp dword [ebp - 0x18], 0
je 0x100498a9
cmp dword [ebp - 0x18], 0xec4f3f7e
jb 0x1004985c
mov dword [ebp - 0x48], 1
jmp 0x10049860
and dword [ebp - 0x48], 0
cmp dword [ebp - 0x48], 0x56e7
jne 0x10049872
mov dword [ebp - 0x50], 1
jmp 0x10049876
and dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 0xfffffff8
jne 0x10049888
mov dword [ebp - 0xb4], 1
jmp 0x1004988f
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x30]
je 0x100498a9
mov dword [ebp - 0x58], 1
jmp 0x100498ad
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x58], eax
jg 0x100498be
mov dword [ebp - 0x60], 1
jmp 0x100498c2
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x60]
jle 0x100498d3
mov dword [ebp - 0x68], 1
jmp 0x100498d7
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x68], eax
jne 0x100498e8
mov dword [ebp - 0x70], 1
jmp 0x100498ec
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x70]
jne 0x100498fd
mov dword [ebp - 0x78], 1
jmp 0x10049901
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x1c], 1
jmp 0x1004991d
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x10049951
mov byte [ebp - 0x13], 0
movzx eax, byte [ebp - 0x13]
test eax, eax
je 0x1004994f
push 0
push 0x1747
push 0x1cc6
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
jmp 0x10049916
push 0x1922
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret