Function at 0x1004ae6c
Capabilities:
Delete registry key
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10080030
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18c
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1004b5e7
mov eax, dword [ebp + 8]
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0x8c], 9
mov dword [ebp - 0xdc], 3
mov dword [ebp - 0x44], 0xfd77ccca
mov dword [ebp - 0x140], 0xfffffff9
mov dword [ebp - 0x1c], 0
jmp 0x1004aed4
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x1004aee7
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x28], 0x1d925b0e
jmp 0x1004aecd
mov dword [ebp - 0x1c], 0
jmp 0x1004aef7
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1004af0d
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x120], 0xffffffff
jmp 0x1004aef0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x28], 0
jne 0x1004b072
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x28]
cmp dword [ebp - 0x8c], eax
jge 0x1004af39
mov dword [ebp - 0x80], 1
jmp 0x1004af3d
and dword [ebp - 0x80], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x28]
cmp dword [ebp - 0x80], eax
jg 0x1004af55
mov dword [ebp - 0x7c], 1
jmp 0x1004af59
and dword [ebp - 0x7c], 0
cmp dword [ebp - 0x7c], 0xcd2466e9
jbe 0x1004af6e
mov dword [ebp - 0xb4], 1
jmp 0x1004af75
and dword [ebp - 0xb4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x28]
cmp dword [ebp - 0xb4], eax
jne 0x1004af93
mov dword [ebp - 0x84], 1
jmp 0x1004af9a
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
jne 0x1004afc1
mov eax, 0x623b
test eax, eax
jne 0x1004afc1
and dword [ebp - 0xf8], 0
jmp 0x1004afcb
mov dword [ebp - 0xf8], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x28]
mov dword [ebp - 0x154], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x28]
mov dword [ebp - 0x17c], eax
mov eax, 0x4c55
inc eax
cmp eax, 0x5f40
jg 0x1004b004
mov dword [ebp - 0xbc], 1
jmp 0x1004b00b
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x8c]
imul eax, dword [ebp - 0xbc]
add eax, dword [ebp - 0x44]
jne 0x1004b02c
cmp dword [ebp - 0x44], 0
jne 0x1004b02c
and dword [ebp - 0x94], 0
jmp 0x1004b036
mov dword [ebp - 0x94], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x28]
cmp eax, dword [ebp - 0x94]
jl 0x1004b054
mov dword [ebp - 0xd4], 1
jmp 0x1004b05b
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xd4]
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0x44], eax
jne 0x1004b072
and dword [ebp - 0x9c], 0
jmp 0x1004b07c
mov dword [ebp - 0x9c], 1
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x9c]
mov dword [ebp + eax - 0x120], ecx
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x120], 0
je 0x1004b0d9
mov dword [ebp - 0x124], 0xe1054d81
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x1004b0c4
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowInfo]
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x124]
mov dword [ebp + eax - 0x120], ecx
jmp 0x1004b0ef
mov byte [ebp - 0x2b], 0
movzx eax, byte [ebp - 0x2b]
test eax, eax
je 0x1004b0ef
push 0
push 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov dword [ebp - 0x34], 0xfffffff8
mov dword [ebp - 0x40], 0xfffffff7
mov dword [ebp - 0x100], 0x5d06f629
mov dword [ebp - 0x34], 0xfffffffb
jmp 0x1004b117
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xfffffff8
jle 0x1004b282
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x108], 0xaf1e2cd8
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x40], 0xfffe
jne 0x1004b150
mov dword [ebp - 0xc4], 1
jmp 0x1004b157
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0xc4]
cmp eax, dword [ebp - 0x34]
jg 0x1004b171
mov dword [ebp - 0xec], 1
jmp 0x1004b178
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x148], eax
mov eax, 0xbf7c2f5a
sub eax, dword [ebp - 0x40]
neg eax
add eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x18]
jne 0x1004b1a9
cmp dword [ebp - 0x18], 0
imul eax, dword [ebp - 0x18], 0xdacb
cmp eax, 0xffff
jae 0x1004b1c3
mov dword [ebp - 0xa4], 1
jmp 0x1004b1ca
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xa4], eax
jg 0x1004b1e1
mov dword [ebp - 0xe4], 1
jmp 0x1004b1e8
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0xe4], eax
jl 0x1004b1ff
mov dword [ebp - 0xac], 1
jmp 0x1004b206
and dword [ebp - 0xac], 0
cmp dword [ebp - 0xac], 0x74006310
jg 0x1004b21e
mov dword [ebp - 0xcc], 1
jmp 0x1004b225
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0xcc]
jg 0x1004b23c
mov dword [ebp - 0x110], 1
jmp 0x1004b243
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x164], eax
cmp dword [ebp - 0x18], 0xffff
je 0x1004b264
mov dword [ebp - 0x118], 1
jmp 0x1004b26b
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x108], eax
jmp 0x1004b110
mov byte [ebp - 0x2f], 0
movzx eax, byte [ebp - 0x2f]
test eax, eax
je 0x1004b2a2
push 0x117c
push 0
push 0x1a01
push 0
call dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x10], 0x30f94f37
mov dword [ebp - 0x3c], 0x64de8cc1
mov dword [ebp - 0x24], 0
jmp 0x1004b2cc
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x1004b2df
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x14], 0xcf57
jmp 0x1004b2c5
mov dword [ebp - 0x24], 0
jmp 0x1004b2ef
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x1004b302
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x70], 0x52324067
jmp 0x1004b2e8
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x1004b318
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x10], 0
jmp 0x1004b328
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x1004b5cb
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x14], 0
je 0x1004b341
jmp 0x1004b5cb
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x14]
dec eax
dec eax
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ebp + ecx*4 - 0x14]
jne 0x1004b35c
mov dword [ebp - 0x78], 1
jmp 0x1004b360
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x78], eax
jge 0x1004b371
mov dword [ebp - 0x74], 1
jmp 0x1004b375
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x14]
cmp dword [ebp - 0x74], eax
jge 0x1004b38d
mov dword [ebp - 0x88], 1
jmp 0x1004b394
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x88], eax
je 0x1004b3ab
mov dword [ebp - 0x90], 1
jmp 0x1004b3b2
and dword [ebp - 0x90], 0
cmp dword [ebp - 0x90], 0
ja 0x1004b3c7
mov dword [ebp - 0x98], 1
jmp 0x1004b3ce
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x1004b3f0
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x14], 0
jne 0x1004b3f0
and dword [ebp - 0xa0], 0
jmp 0x1004b3fa
mov dword [ebp - 0xa0], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x14]
cmp dword [ebp - 0xa0], eax
je 0x1004b415
mov dword [ebp - 0xa8], 1
jmp 0x1004b41c
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xa8], eax
jge 0x1004b43c
mov eax, 0x7dfcc86f
test eax, eax
je 0x1004b43c
mov dword [ebp - 0xb0], 1
jmp 0x1004b443
and dword [ebp - 0xb0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
cmp eax, dword [ebp - 0xb0]
jne 0x1004b45e
mov dword [ebp - 0x6c], 1
jmp 0x1004b462
and dword [ebp - 0x6c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x6c]
mov dword [ebp + eax - 0x70], ecx
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x14]
add eax, dword [ebp - 0x6c]
je 0x1004b48d
cmp dword [ebp - 0x10], 0
je 0x1004b48d
mov dword [ebp - 0xb8], 1
jmp 0x1004b494
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x14]
cmp eax, dword [ebp - 0xb8]
jne 0x1004b4af
mov dword [ebp - 0xc0], 1
jmp 0x1004b4b6
and dword [ebp - 0xc0], 0
cmp dword [ebp - 0xc0], 0xffffffff
jae 0x1004b4cb
mov dword [ebp - 0xf4], 1
jmp 0x1004b4d2
and dword [ebp - 0xf4], 0
cmp dword [ebp - 0x10], 0
je 0x1004b4e4
mov dword [ebp - 0xc8], 1
jmp 0x1004b4eb
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc8]
sub ecx, dword [ebp + eax*4 - 0x14]
cmp ecx, 0xe2e0
jl 0x1004b50c
mov dword [ebp - 0xd0], 1
jmp 0x1004b513
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x14]
cmp dword [ebp - 0xd0], eax
jl 0x1004b52e
mov dword [ebp - 0xd8], 1
jmp 0x1004b535
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0x10]
add eax, dword [ebp + ecx*4 - 0x14]
neg eax
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ebp + ecx*4 - 0x14]
jle 0x1004b563
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x14], 0
jne 0x1004b563
and dword [ebp - 0xe0], 0
jmp 0x1004b56d
mov dword [ebp - 0xe0], 1
mov eax, dword [ebp - 0xe0]
neg eax
je 0x1004b5a2
mov dword [ebp - 0x3c], 0
jmp 0x1004b587
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jg 0x1004b5a0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x70]
sub eax, 3
mov ecx, dword [ebp - 0x10]
mov dword [ebp + ecx*4 - 0x70], eax
jmp 0x1004b580
jmp 0x1004b5c6
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x1004b5c6
push 0xd87
push 0
push 0
push 0
push 0x42c
push 0
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
jmp 0x1004b321
mov eax, dword [ebp - 0xfc]
movzx eax, byte [eax]
test eax, eax
je 0x1004b5e2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x1004b893
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x54], 0xffffffff
mov dword [ebp - 0x5c], 0
jmp 0x1004b619
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 3
jge 0x1004b62f
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x198], 0xd7f825e
jmp 0x1004b612
mov dword [ebp - 0x54], 0
jmp 0x1004b63f
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 2
jg 0x1004b7d7
mov dword [ebp - 0x64], 0x4b25b3b
mov dword [ebp - 0x15c], 0x7059141a
mov dword [ebp - 0x158], 0x8d303f02
mov dword [ebp - 0x138], 0x2d621ec2
mov dword [ebp - 0x13c], 0xfffffff7
mov dword [ebp - 0x144], 0xa0f0f5eb
push 1
lea ecx, [ebp - 0x130]
call fcn.10012956
and dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
jmp 0x1004b6a3
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x1004b6b9
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x184], 0x2c593c86
jmp 0x1004b69c
mov dword [ebp - 0x20], 0
jmp 0x1004b6c9
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x1004b6e2
push dword [ebp - 0x20]
lea ecx, [ebp - 0x130]
call fcn.100129c3
or dword [eax], 0xffffffff
jmp 0x1004b6c2
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x1004b6fc
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov dword [ebp - 0x64], 2
jmp 0x1004b70c
mov eax, dword [ebp - 0x64]
dec eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jl 0x1004b7c3
mov dword [ebp - 0x4c], 4
mov dword [ebp - 0x14c], 0xd0357257
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x4c], 0
jmp 0x1004b75f
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 2
jg 0x1004b79a
mov dword [ebp - 0x68], 5
mov dword [ebp - 0x68], 2
jmp 0x1004b77c
mov eax, dword [ebp - 0x68]
dec eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jl 0x1004b798
mov byte [ebp - 0x2c], 0
movzx eax, byte [ebp - 0x2c]
test eax, eax
je 0x1004b796
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
jmp 0x1004b775
jmp 0x1004b758
push 0
lea ecx, [ebp - 0x130]
call fcn.100129c3
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xe8]
mov dword [ecx], eax
jmp 0x1004b705
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.100129be
jmp 0x1004b638
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x58], 7
mov dword [ebp - 0x50], 0
jmp 0x1004b7fa
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 2
jge 0x1004b810
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x18c], 0x14a02569
jmp 0x1004b7f3
mov dword [ebp - 0x58], 1
jmp 0x1004b820
mov eax, dword [ebp - 0x58]
dec eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jl 0x1004b85d
mov dword [ebp - 0x60], 4
mov dword [ebp - 0x60], 0
jmp 0x1004b83d
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 1
jg 0x1004b85b
mov byte [ebp - 0x35], 0
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x1004b859
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
jmp 0x1004b836
jmp 0x1004b819
mov eax, dword [ebp - 0x48]
mov dword [eax], 0
jmp 0x1004b873
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x48]
mov dword [ecx], eax
mov eax, dword [ebp - 0x48]
cmp dword [eax], 3
jge 0x1004b893
mov eax, dword [ebp - 0x48]
push dword [eax]
mov ecx, dword [ebp - 0x114]
call fcn.100129c3
mov dword [eax], 0xadae8c9f
jmp 0x1004b868
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret