Function at 0x10031dd0
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d4091
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x1011449c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
call fcn.1000a9c0
push 1
mov ecx, eax
call fcn.1006a020
call fcn.1000aae0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x44]
call fcn.1000a9c0
push 0
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.10067170
push str.LogComputerZ12.log
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10007150
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 1
jb 0x10031e55
mov eax, dword [eax]
push eax
call fcn.1005fdc0
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x10031e99
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10031e8f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10032460
push edx
push ecx
call fcn.10080302
add esp, 8
call fcn.1005f9c0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10031fd0
push 0x5c
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12_grab_versionhookhomepage_1145main.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.100058c0
push 3
push 0x100e21cc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.100058c0
mov byte [ebp - 4], 3
call fcn.1005f9c0
mov edi, eax
lea ecx, [ebp - 0x10c]
push 0x50
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10008480
mov esi, eax
push 0x100e43a0
push esi
mov byte [ebp - 4], 4
call fcn.10009b60
test ebx, ebx
mov ecx, 0x100e1fb4
cmovne ecx, ebx
push ecx
push esi
call fcn.10006ea0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x10c]
call fcn.10009f10
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x10031f86
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10031f7c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10032465
push edx
push ecx
call fcn.10080302
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x10031fd0
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10031fc6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003246a
push edx
push ecx
call fcn.10080302
add esp, 8
call fcn.10004570
mov ecx, eax
test ecx, ecx
je 0x1003246f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x68], eax
push 0x100de924
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 5
call fcn.10004280
test al, al
jne 0x1003200e
push 0
push 0x100de924
lea ecx, [ebp - 0x68]
call fcn.100046c0
mov byte [ebp - 4], 6
call fcn.10004570
mov ecx, eax
test ecx, ecx
je 0x10032479
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x64], eax
push 0x100e212c
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 7
call fcn.10004280
test al, al
jne 0x10032050
push 0xa
push 0x100e212c
lea ecx, [ebp - 0x64]
call fcn.100046c0
mov byte [ebp - 4], 8
call fcn.1000aae0
push 0
lea ecx, [ebp - 0x68]
push ecx
mov edx, dword [eax]
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x60]
push ecx
mov ecx, eax
call dword [edx + 0x18]
mov edx, dword [ebp - 0x64]
or ebx, 0xffffffff
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003208f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x68]
mov eax, ebx
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100320ad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.1005f9c0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100321e7
push 0x5c
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12_grab_versionhookhomepage_1145main.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.100058c0
push 3
push 0x100e21cc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.100058c0
mov byte [ebp - 4], 0xd
call fcn.1005f9c0
mov edi, eax
lea ecx, [ebp - 0x10c]
push 0x52
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10008480
mov esi, eax
push str.product_ex:
push esi
mov byte [ebp - 4], 0xe
call fcn.10009b60
mov ecx, dword [ebp - 0x60]
mov edx, 0x100e1fb4
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.10006ea0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x10c]
call fcn.10009f10
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xc
cmp edx, 0x10
jb 0x1003219d
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10032193
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10032483
push edx
push ecx
call fcn.10080302
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0xb
cmp edx, 0x10
jb 0x100321e7
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100321dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10032488
push edx
push ecx
call fcn.10080302
add esp, 8
mov eax, dword [ebp - 0x60]
cmp dword [eax - 0xc], 0
je 0x100323f0
lea eax, [ebp - 0x74]
push eax
call fcn.10054730
push 0x100e43b4
push eax
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0xf
push eax
call fcn.10027a20
add esp, 0x10
mov edx, dword [ebp - 0x74]
mov eax, ebx
mov byte [ebp - 4], 0x11
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10032231
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.1005f9c0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100322fd
push 0x5c
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12_grab_versionhookhomepage_1145main.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.100058c0
push 3
push 0x100e21cc
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.100058c0
mov byte [ebp - 4], 0x13
call fcn.1005f9c0
mov edi, eax
lea ecx, [ebp - 0x10c]
push 0x55
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10008480
mov esi, eax
push str.delete
push esi
mov byte [ebp - 4], 0x14
call fcn.10009b60
mov ecx, dword [ebp - 0x6c]
mov eax, 0x100e1fb4
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.10006ea0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x10c]
call fcn.10009f10
lea ecx, [ebp - 0x40]
call fcn.10003f50
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x11
call fcn.10003f50
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x1003248d
push eax
push dword [ebp - 0x6c]
call fcn.100af6f9
add esp, 8
test eax, eax
jne 0x10032373
lea ecx, [ebp - 0x59]
call fcn.10028020
push eax
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push 0
push 0
push 1
push str.url0
lea ecx, [ebp - 0x59]
call fcn.10028320
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push eax
push 0x80000001
call esi
push 4
lea eax, [ebp - 0x70]
mov dword [ebp - 0x70], 1
push eax
push 4
push str.user_unlock
lea ecx, [ebp - 0x59]
call fcn.100283c0
push eax
push 0x80000001
call esi
jmp 0x100323c6
push 0x100de924
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x60]
call fcn.1002f790
push 0x100e212c
lea ecx, [ebp - 0x70]
call fcn.10003e80
mov byte [ebp - 4], 0x15
call fcn.1000aae0
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x70]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x14]
mov edx, dword [ebp - 0x70]
mov eax, ebx
mov byte [ebp - 4], 0x11
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100323c6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.1000a9c0
mov ecx, eax
call fcn.1006b9d0
mov edx, dword [ebp - 0x6c]
mov eax, ebx
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100323f0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x60]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1003240c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x10032442
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10032438
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10032497
push edx
push ecx
call fcn.10080302
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10080681
mov esp, ebp
pop ebp
ret 4
call fcn.100aae05
call fcn.100aae05
call fcn.100aae05
push 0x80004005
call fcn.10004100
push 0x80004005
call fcn.10004100
call fcn.100aae05
call fcn.100aae05
push 0x80004005
call fcn.10004100
call fcn.100aae05
int3