Function at 0x1004105c
Capabilities:
Accept command line arguments
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100654c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x74
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100411a6
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], 0x738c
mov dword [ebp - 0x3c], 0x1000af98
cmp dword [ebp - 0x34], 0x771a
jle 0x1004114b
and dword [ebp - 0x1c], 0
jmp 0x100410b8
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x916
jge 0x10041139
and dword [ebp - 0x20], 0
jmp 0x100410ce
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4203
jge 0x10041134
and dword [ebp - 0x14], 0
jmp 0x100410e4
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x2190
jge 0x10041132
and dword [ebp - 0x18], 0
jmp 0x100410fa
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x659c
jge 0x10041130
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
shl edx, cl
mov ecx, eax
shl edx, cl
mov eax, edx
cdq
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
push dword [ebp - 0x60]
push dword [ebp - 0x64]
mov ecx, 0x1060def8
call fcn.1001a86e
jmp 0x100410f3
jmp 0x100410dd
jmp 0x100410c7
jmp 0x100410b1
push 0
push 0x1494
push 0x1a6a
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x34], 0x7057
jge 0x1004116b
mov edx, dword [ebp - 0x3c]
mov ecx, 0x1060def8
call fcn.1001cd79
jmp 0x10041187
or dword [ebp - 4], 0xffffffff
jmp 0x10041191
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push 1
call fcn.10041309
add esp, 0xc
jmp 0x100412f8
lea eax, [ebp + 0x18]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x100411cb
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x100412f8
mov dword [ebp - 0x38], 0xeb7
mov dword [ebp - 0x54], 0x1000aff8
cmp dword [ebp - 0x38], 0x11fc
jle 0x1004129d
and dword [ebp - 0x30], 0
jmp 0x100411f3
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x1ca6
jge 0x10041293
and dword [ebp - 0x24], 0
jmp 0x1004120d
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x13e3
jge 0x1004128e
and dword [ebp - 0x28], 0
jmp 0x10041223
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x315f
jge 0x10041289
and dword [ebp - 0x2c], 0
jmp 0x10041239
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x2481
jge 0x10041287
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x28]
and eax, dword [ebp - 0x2c]
xor eax, dword [ebp - 0x30]
cdq
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x84]
call fcn.1000d25a
pop ecx
pop ecx
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
call fcn.1001a84e
push eax
call fcn.1004f3d6
pop ecx
lea ecx, [ebp - 0x84]
call fcn.1001a844
jmp 0x10041232
jmp 0x1004121c
jmp 0x10041206
jmp 0x100411ec
push 0
push 0
call dword [sym.imp.USER32.dll_LoadMenuW]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x38], 0xad3
jge 0x100412bc
push dword [ebp - 0x54]
call fcn.1004f3d6
pop ecx
jmp 0x100412d8
or dword [ebp - 4], 0xffffffff
jmp 0x100412e2
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x100412f8
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret