Function at 0x4096c0
Capabilities:
Accept command line arguments
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 0x64], 0x98ada
mov dword [ebp - 0x50], 0xb2469
mov dword [ebp - 0x60], 0x6a45
mov dword [ebp - 0x18], 0xc57ff
mov dword [ebp - 0x10], 0x43450
mov dword [ebp - 0x20], 0xb96bb
mov dword [ebp - 0x5c], 0x91112
mov dword [ebp - 0x48], 0xaaa26
mov dword [ebp - 0x44], 0xbc472
mov dword [ebp - 0x54], 0x69bd9
mov dword [ebp - 0x38], 0x4ffb9
mov dword [ebp - 0x14], 0x7bed6
mov dword [ebp - 0x28], 0x5d391
mov dword [ebp - 0x30], 0xea2eb
mov dword [ebp - 0x58], 0x30e2a
mov dword [ebp - 0x4c], 0x8a540
mov dword [ebp - 0x2c], 0x892b6
mov dword [ebp - 8], 0xcd5bc
mov dword [ebp - 0x1c], 0xd5ed4
mov dword [ebp - 0xc], 0x3df3b
mov dword [ebp - 0x24], 0x75d19
mov dword [ebp - 0x34], 0x4598a
mov dword [ebp - 4], 0xd9c7e
mov dword [ebp - 0x3c], 0x5fda5
mov dword [ebp - 0x40], 0x101e2
mov eax, dword [ebp - 0x38]
xor eax, 0x7dd06
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x14]
or ecx, dword [ebp - 0x14]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0xc]
add edx, 0x84528
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0x44], 0xe6a04
jne 0x40985f
mov eax, dword [ebp - 0x10]
and eax, 0x7fb11
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x3c]
or ecx, 0xa761c
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x34]
sub edx, 0xf0624
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x50]
sub eax, 0x8fedc
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x48], 0x7dfe7
je 0x40985f
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp - 0x28]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x28]
or edx, dword [ebp - 0x5c]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x2c]
sub eax, 0xea1e6
mov dword [ebp - 0x2c], eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [ebp - 0x18]
add ecx, 0xb85f6
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0xc]
and edx, 0xab1ac
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x54]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 8]
and ecx, dword [ebp - 0x2c]
mov dword [ebp - 8], ecx
cmp dword [ebp - 0x28], 0x840c0
jle 0x40985f
mov edx, dword [ebp - 0x44]
or edx, 0x61544
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 8]
or eax, 0x9aa56
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x18]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x60]
add edx, 0xa0a18
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x10]
and ecx, dword [ebp - 0x48]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 4]
add edx, 0x9c01c
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 0xe1f74
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x38]
and ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 4]
add edx, 0xc7bb9
mov dword [ebp - 4], edx
cmp dword [ebp - 0x44], 0x304dc
je 0x40999f
mov eax, dword [ebp - 0x28]
sub eax, 0x343dc
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x5c]
xor ecx, dword [ebp - 0x34]
mov dword [ebp - 0x5c], ecx
cmp dword [ebp - 0xc], 0xca310
jle 0x40999f
mov edx, dword [ebp - 0x58]
xor edx, 0xb22b8
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
xor ecx, 0x296c2
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x38]
or edx, 0x98499
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 8]
and eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x3c], 0xaaf90
je 0x40999f
mov ecx, dword [ebp - 0x58]
and ecx, dword [ebp - 0x18]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x18]
sub edx, 0xf1f38
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x24]
xor eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ecx, dword [ebp - 0x48]
sub ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x48], ecx
cmp dword [ebp - 0x4c], 0xb4083
je 0x40999f
mov edx, dword [ebp - 4]
or edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0xc]
add eax, 0x12fb0
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x54]
and ecx, 0xb236
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x30]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x20]
and eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x48]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x54]
add edx, 0x8c7a8
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 8]
or eax, 0x75af7
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x4c]
sub ecx, 1
mov dword [ebp - 0x4c], ecx
cmp dword [ebp - 0x1c], 0xd5ed5
jl 0x409775
cmp dword [ebp - 0x40], 0x101e3
jge 0x409b42
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x4c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x30]
add eax, 0x7a3f3
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x18]
or ecx, 0xeb9f9
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
and edx, 0x171d7
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x30]
or eax, 0x4143a
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x6c402
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 4], 0x3feb7
je 0x409a98
mov edx, dword [ebp - 4]
and edx, dword [ebp - 0x40]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x14]
xor ecx, 0x5f738
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
or edx, dword [ebp - 0x24]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 8], 0x78bb4
jle 0x409a98
mov eax, dword [ebp - 0x2c]
or eax, 0x90fc4
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x24]
or ecx, 0x67f1d
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x50]
add edx, 0x1df3
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x1c]
sub edx, 0xfde5
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x24]
or eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x64]
add ecx, 0xa580b
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x28]
sub edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x18]
xor ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x3c]
sub edx, dword [ebp - 0x60]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
and eax, 0xc4bb8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x48], 0xf0f68
jle 0x409b3d
mov ecx, dword [ebp - 0x14]
or ecx, dword [ebp - 0x40]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x4c]
and edx, 0x3c60b
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x24]
or eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
nop
cmp dword [ebp - 0xc], 0xe802d
jne 0x409b3d
mov ecx, dword [ebp - 0x1c]
or ecx, dword [ebp - 4]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x10]
sub edx, 0x5819d
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x14]
and eax, dword [ebp - 0x40]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x20]
and ecx, 0x20c4f
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 0x34]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x48]
or eax, dword [ebp - 0x20]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x28]
and ecx, 0x7dc27
mov dword [ebp - 0x28], ecx
jmp 0x4099ac
mov edx, dword [ebp - 0x10]
add edx, 0x37ff2
push edx
mov eax, dword [ebp - 4]
add eax, 0x437de
push eax
mov ecx, dword [ebp - 0x5c]
sub ecx, 0x1a958
push ecx
mov edx, dword [ebp - 0x40]
add edx, 0xc3e2d
push edx
mov eax, dword [ebp - 0x2c]
add eax, 0x90297
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x4e423
push ecx
mov edx, dword [ebp - 0x20]
add edx, 0x234ec
push edx
mov eax, dword [ebp - 0x1c]
add eax, 0x2ddb5
push eax
mov ecx, dword [ebp - 8]
sub ecx, 0xc51ee
push ecx
mov edx, dword [ebp - 0x38]
add edx, 0x17c12d
push edx
call fcn.0041a900
add esp, 0x28
cmp dword [ebp - 0x2c], 0xffffeff7
jge 0x409cd7
mov eax, dword [ebp - 0x10]
sub eax, 0x38dad
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
or ecx, 0x8fcd2
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x50]
or edx, 0xa6a5
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x24]
xor ecx, 0x4b79f
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 8]
sub edx, 0x5b3df
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x38]
or ecx, 0x8bb16
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0x30]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x34]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x14]
sub edx, 0x9e685
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x34], 0x113ff
jle 0x409cd2
mov eax, dword [ebp - 0x20]
or eax, 0x44d94
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 8]
and ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x58]
xor edx, 0x27795
mov dword [ebp - 0x58], edx
cmp dword [ebp - 8], 0x73e4d
jge 0x409cd2
mov eax, dword [ebp - 0x28]
sub eax, 0x95e8c
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x34]
xor ecx, dword [ebp - 4]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x30]
add edx, 0xde347
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0xc]
add eax, 0xcd5d9
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0xa6ed9
jge 0x409cd2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebp - 0x30]
or ecx, dword [ebp - 0x44]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x20]
sub edx, 0xd08ec
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x1c]
or ecx, 0x58309
mov dword [ebp - 0x1c], ecx
jmp 0x409bab
mov edx, dword [ebp - 0x34]
and edx, dword [ebp - 0x50]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x64]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x10]
and ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 4]
xor edx, dword [ebp - 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x50]
xor eax, dword [ebp - 0x34]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x20]
and ecx, dword [ebp - 0x40]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x34]
xor edx, 0x80cca
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x5c], 0xab9ce
jne 0x409db9
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x44]
xor ecx, dword [ebp - 0x28]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0xc]
add edx, 0xb5b81
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0x24], 0x6c2a6
jne 0x409db9
mov eax, dword [ebp - 0x54]
and eax, 0x60693
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x28]
and ecx, 0x52049
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x40]
or ecx, dword [ebp - 0x10]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x3c]
sub edx, 0x994e8
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x40]
or ecx, dword [ebp - 0x58]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x2c]
and edx, 0xdcff4
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x44]
or eax, dword [ebp - 0x5c]
mov dword [ebp - 0x44], eax
call dword [sym.imp.USER32.dll_GetDC]
nop
mov esp, ebp
pop ebp
ret