Function at 0x410cc0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x488a47
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x4b2288]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b2288]
xor eax, esp
push eax
lea eax, [esp + 0x180]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x190]
mov edi, dword [esp + 0x194]
xor ebx, ebx
push 0x103
lea eax, [esp + 0x7d]
push ebx
push eax
mov esi, ecx
mov byte [esp + 0x84], bl
call fcn.0045a0f0
add esp, 0xc
mov dword [esp + 0x24], ebx
push 0x48fb7c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18c], ebx
call fcn.0040d280
push 0x48fb7c
lea ecx, [esp + 0x24]
mov byte [esp + 0x18c], 1
call fcn.0040d280
push ebx
lea ecx, [esi + 0x3f4]
push 0x48fb7c
mov byte [esp + 0x190], 2
call fcn.00404640
push 9
push str.getParam_
lea ecx, [esp + 0x20]
call fcn.00409930
push 6
push str.wbMac
lea ecx, [esp + 0x20]
call fcn.0040a320
cmp edi, ebx
jne 0x410d97
xor eax, eax
jmp 0x410dab
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x410da0
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x20]
call fcn.0040a320
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov edi, esp
push eax
call fcn.00408cd0
add eax, 0x10
add esp, 4
mov ecx, ebp
mov dword [edi], eax
call fcn.00413960
cmp eax, ebx
je 0x411177
mov edi, dword [esp + 0x20]
lea edx, [esp + 0x78]
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
cmp cl, bl
jne 0x410df2
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x410e03
sub eax, edx
push eax
push edi
lea ecx, [esi + 0x1b4]
call fcn.00404640
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push str.SOFTWARELockCP
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x40], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x411177
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x78]
push ecx
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
lea edx, [esp + 0x7c]
push edx
push 1
push ebx
push 0x490b7c
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 1
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push 0x48fc28
mov byte [ecx + 4], bl
call fcn.00404640
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x70]
call fcn.0040fff0
mov ecx, dword [esp + 0x50]
cmp ecx, ebx
mov byte [esp + 0x188], 3
je 0x41116e
mov edi, dword [esp + 0x54]
mov ebp, edi
sub ebp, ecx
mov eax, 0x92492493
imul ebp
add edx, ebp
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 6
jl 0x410f9e
push 5
lea ecx, [esp + 0x50]
call fcn.00407ce0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00404330
call fcn.00409a60
add esp, 0x1c
mov ebp, 1
push ebp
lea ecx, [esp + 0x50]
mov dword [esi + 0x238], eax
mov dword [esi + 0x240], ebp
call fcn.00407ce0
push 0xffffffffffffffff
push ebx
lea edi, [esi + 0x1d0]
push eax
mov ecx, edi
call fcn.00404330
push 7
push ebx
push 0x49071c
mov ecx, edi
call fcn.004035c0
cmp eax, 0xffffffff
je 0x410f96
mov eax, dword [esi + 0x1e4]
push eax
push 7
lea ecx, [esp + 0x38]
push ecx
mov ecx, edi
mov dword [esi + 0x248], ebp
call fcn.0040b320
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x1ec]
mov byte [esp + 0x194], 4
call fcn.00404330
lea ecx, [esp + 0x30]
mov byte [esp + 0x188], 3
call fcn.00403f50
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
cmp ecx, ebx
je 0x41116e
mov ebp, edi
sub ebp, ecx
mov eax, 0x92492493
imul ebp
add edx, ebp
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 7
jl 0x411002
push 6
lea ecx, [esp + 0x50]
call fcn.00407ce0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00404330
call fcn.00409a60
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
add esp, 0x1c
mov dword [esi + 0x23c], eax
cmp ecx, ebx
je 0x41116e
mov ebp, edi
sub ebp, ecx
mov eax, 0x92492493
imul ebp
add edx, ebp
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 9
jl 0x411060
push 8
lea ecx, [esp + 0x50]
call fcn.00407ce0
push 0xffffffffffffffff
push ebx
lea edi, [esi + 0x378]
push eax
mov ecx, edi
call fcn.00404330
cmp dword [edi + 0x18], 0x10
jb 0x41104d
mov edi, dword [edi + 4]
jmp 0x411050
add edi, 4
push edi
mov ecx, esi
call fcn.00406730
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
cmp ecx, ebx
je 0x41116e
mov ebp, edi
sub ebp, ecx
mov eax, 0x92492493
imul ebp
add edx, ebp
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xa
jl 0x4110a6
push 9
lea ecx, [esp + 0x50]
call fcn.00407ce0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x3f4]
call fcn.00404330
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
cmp ecx, ebx
je 0x41116e
mov ebp, edi
sub ebp, ecx
mov eax, 0x92492493
imul ebp
add edx, ebp
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xb
jl 0x41116e
add eax, 0xfffffff5
xor ebp, ebp
cmp eax, ebx
mov dword [esp + 0x14], eax
jl 0x41116e
lea edx, [esi + 0x368]
add esi, 0x350
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], edx
mov esi, 0xfc
jmp 0x411108
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
cmp ecx, ebx
mov eax, dword [esp + 0x1c]
push ebx
push eax
je 0x41112e
sub edi, ecx
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [ebp + 9]
cmp edx, eax
jb 0x411137
call fcn.00459b57
mov ecx, dword [esp + 0x58]
sub esp, 0x1c
lea eax, [esi + ecx]
mov ecx, esp
mov dword [esp + 0x50], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00404330
mov ecx, dword [esp + 0x4c]
call fcn.0040f1e0
add ebp, 1
add esi, 0x1c
cmp ebp, dword [esp + 0x14]
jle 0x411100
lea ecx, [esp + 0x4c]
call fcn.0040edb0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x188], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41119f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x188], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4111c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x4111d5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.00459426
add esp, 0x178
ret 8