Function at 0x10051660
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d3a11
mov eax, dword fs:[0]
push eax
sub esp, 0x934
mov eax, dword [0x1010f404]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x940], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x934], esi
mov dword [ebp - 0x92c], edi
call fcn.1005e780
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10051875
push 0x5d
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12_grab_versionhookhomepage_1145utils.cpp
lea ecx, [ebp - 0x8c4]
mov dword [ebp - 0x8b4], edi
mov dword [ebp - 0x8b0], 0xf
mov byte [ebp - 0x8c4], al
call fcn.100057a0
push 3
push 0x100de1bc
lea ecx, [ebp - 0x8dc]
mov dword [ebp - 4], 1
mov dword [ebp - 0x8cc], edi
mov dword [ebp - 0x8c8], 0xf
mov byte [ebp - 0x8dc], 0
call fcn.100057a0
mov byte [ebp - 4], 2
call fcn.1005e780
push str.try_get_oem_ver
mov edi, eax
lea eax, [ebp - 0x930]
push 0
push eax
call fcn.1005e4e0
mov eax, 2
add esp, 0xc
mov dword [ebp - 0x92c], eax
push 0x227
lea eax, [ebp - 0x8c4]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x8dc]
push eax
lea ecx, [ebp - 0xa8]
call fcn.10008360
mov esi, eax
push dword [ebp - 0x930]
mov byte [ebp - 4], 4
push esi
call fcn.10009a40
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.10009f30
mov edx, dword [ebp - 0x930]
or eax, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100517b7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x8c8]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x100517f5
mov ecx, dword [ebp - 0x8dc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100517eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052156
push edx
push ecx
call fcn.1007d115
add esp, 8
mov edx, dword [ebp - 0x8b0]
mov dword [ebp - 0x8cc], 0
mov dword [ebp - 0x8c8], 0xf
mov byte [ebp - 0x8dc], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1005184e
mov ecx, dword [ebp - 0x8c4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10051844
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005215b
push edx
push ecx
call fcn.1007d115
add esp, 8
mov esi, dword [ebp - 0x934]
mov edi, dword [ebp - 0x92c]
mov dword [ebp - 0x8b4], 0
mov dword [ebp - 0x8b0], 0xf
mov byte [ebp - 0x8c4], 0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [0x10112d50]
or edi, 1
mov dword [ebp - 4], eax
mov dword [ebp - 0x92c], edi
test ecx, ecx
jne 0x10051a3a
push 0x1010edb8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10112d50], 0
jne 0x100518f2
push 4
call fcn.1007d4b8
add esp, 4
mov dword [ebp - 0x928], eax
mov dword [ebp - 4], 5
test eax, eax
je 0x100518e0
mov ecx, eax
call fcn.10064900
mov ecx, dword [ebp - 0x928]
jmp 0x100518e2
xor ecx, ecx
mov byte [ebp - 4], 0
xchg dword [ebp - 0x928], eax
mov dword [0x10112d50], ecx
push 0x1010edb8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x10112d50]
test ecx, ecx
jne 0x10051a3a
call fcn.1005e780
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10052135
push 0x5d
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12_grab_versionhookhomepage_1145utils.cpp
lea ecx, [ebp - 0x924]
mov dword [ebp - 0x914], eax
mov dword [ebp - 0x910], 0xf
mov byte [ebp - 0x924], al
call fcn.100057a0
push 3
push 0x100de1bc
lea ecx, [ebp - 0x90c]
mov dword [ebp - 4], 6
mov dword [ebp - 0x8fc], 0
mov dword [ebp - 0x8f8], 0xf
mov byte [ebp - 0x90c], 0
call fcn.100057a0
mov byte [ebp - 4], 7
call fcn.1005e780
push str.product_fail
mov edi, eax
lea eax, [ebp - 0x928]
push 0
push eax
call fcn.1005e4e0
mov eax, dword [ebp - 0x92c]
add esp, 0xc
or eax, 4
mov dword [ebp - 0x92c], eax
push 0x22d
lea eax, [ebp - 0x924]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x90c]
push eax
lea ecx, [ebp - 0x144]
call fcn.10008360
mov esi, eax
push dword [ebp - 0x928]
mov byte [ebp - 4], 9
push esi
call fcn.10009a40
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x144]
call fcn.10009f30
mov edx, dword [ebp - 0x928]
or eax, 0xffffffff
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10051a1f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x90c]
call fcn.10003e30
lea ecx, [ebp - 0x924]
call fcn.10003e30
jmp 0x10052135
lea eax, [ebp - 0x8f4]
push eax
call fcn.10068520
mov dword [ebp - 4], 0xa
call fcn.1005e780
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10051c1b
push 0x5d
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12_grab_versionhookhomepage_1145utils.cpp
lea ecx, [ebp - 0x8dc]
mov dword [ebp - 0x8cc], eax
mov dword [ebp - 0x8c8], 0xf
mov byte [ebp - 0x8dc], al
call fcn.100057a0
push 3
push 0x100de1bc
lea ecx, [ebp - 0x8c4]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x8b4], 0
mov dword [ebp - 0x8b0], 0xf
mov byte [ebp - 0x8c4], 0
call fcn.100057a0
mov byte [ebp - 4], 0xc
call fcn.1005e780
cmp dword [ebp - 0x8e0], 8
lea ecx, [ebp - 0x8f4]
mov edi, eax
lea eax, [ebp - 0x928]
cmovae ecx, dword [ebp - 0x8f4]
push ecx
push str.current_pid:__s
push 1
push eax
call fcn.1005e3a0
mov eax, dword [ebp - 0x92c]
add esp, 0x10
or eax, 8
mov dword [ebp - 0x92c], eax
push 0x231
lea eax, [ebp - 0x8dc]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x8c4]
push eax
lea ecx, [ebp - 0x144]
call fcn.10008360
mov esi, eax
mov eax, dword [ebp - 0x928]
mov ecx, 0x100ddfb4
test eax, eax
mov byte [ebp - 4], 0xe
cmovne ecx, eax
push ecx
push esi
call fcn.10006d80
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x144]
call fcn.10009f30
mov edx, dword [ebp - 0x928]
or eax, 0xffffffff
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10051b7e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x8b0]
mov byte [ebp - 4], 0xb
cmp edx, 0x10
jb 0x10051bbc
mov ecx, dword [ebp - 0x8c4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10051bb2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052160
push edx
push ecx
call fcn.1007d115
add esp, 8
mov edx, dword [ebp - 0x8c8]
mov dword [ebp - 0x8b4], 0
mov dword [ebp - 0x8b0], 0xf
mov byte [ebp - 0x8c4], 0
mov byte [ebp - 4], 0xa
cmp edx, 0x10
jb 0x10051c15
mov ecx, dword [ebp - 0x8dc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10051c0b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052165
push edx
push ecx
call fcn.1007d115
add esp, 8
mov edi, dword [ebp - 0x92c]
push str.bizhi
lea ecx, [ebp - 0x8f4]
mov dword [ebp - 0x938], edi
call fcn.10054230
test al, al
jne 0x10051c45
lea ecx, [ebp - 0x8f4]
call fcn.10008cf0
jmp 0x10052135
xor eax, eax
mov dword [ebp - 0x94], 0x4f0053
mov word [ebp - 0x14], ax
mov ecx, 0x101152e8
mov dword [ebp - 0x90], 0x540046
mov dword [ebp - 0x8c], 0x410057
lea edx, [eax + 0x42]
mov dword [ebp - 0x88], 0x450052
lea eax, [ebp - 0x94]
mov dword [ebp - 0x84], 0x4d005c
sub eax, ecx
mov dword [ebp - 0x80], 0x630069
mov dword [ebp - 0x7c], 0x6f0072
mov esi, eax
mov dword [ebp - 0x78], 0x6f0073
mov dword [ebp - 0x74], 0x740066
mov dword [ebp - 0x70], 0x57005c
mov dword [ebp - 0x6c], 0x6e0069
mov dword [ebp - 0x68], 0x6f0064
mov dword [ebp - 0x64], 0x730077
mov dword [ebp - 0x60], 0x43005c
mov dword [ebp - 0x5c], 0x720075
mov dword [ebp - 0x58], 0x650072
mov dword [ebp - 0x54], 0x74006e
mov dword [ebp - 0x50], 0x650056
mov dword [ebp - 0x4c], 0x730072
mov dword [ebp - 0x48], 0x6f0069
mov dword [ebp - 0x44], 0x5c006e
mov dword [ebp - 0x40], 0x700041
mov dword [ebp - 0x3c], 0x200070
mov dword [ebp - 0x38], 0x610050
mov dword [ebp - 0x34], 0x680074
mov dword [ebp - 0x30], 0x5c0073
mov dword [ebp - 0x2c], 0x360033
mov dword [ebp - 0x28], 0x770030
mov dword [ebp - 0x24], 0x610070
mov dword [ebp - 0x20], 0x700070
mov dword [ebp - 0x1c], 0x65002e
mov dword [ebp - 0x18], 0x650078
nop dword [eax]
lea eax, [edx + 0x7fffffbc]
test eax, eax
je 0x10051d6e
movzx eax, word [ecx + esi]
test ax, ax
je 0x10051d6e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x10051d50
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov eax, 7
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x928], eax
or edi, 0x10
mov dword [ebp - 0x8b0], eax
xor eax, eax
mov word [ebp - 0x8c4], ax
lea eax, [ebp - 0x930]
push eax
push 0x20219
push ecx
push 0x101152e8
push 0x80000002
mov dword [ebp - 0x930], ecx
mov dword [ebp - 0x8b4], ecx
mov dword [ebp - 0x92c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [ebp - 0x934]
test eax, eax
jne 0x10051e65
mov edi, dword [ebp - 0x930]
test edi, edi
je 0x10051e76
push 0x802
lea eax, [ebp - 0x8ac]
push 0
push eax
call fcn.100a3d80
add esp, 0xc
mov dword [ebp - 0x93c], 0x800
lea eax, [ebp - 0x93c]
push eax
lea eax, [ebp - 0x8ac]
push eax
push 0
push 0xffff
push str.oem_f
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x10051e65
lea ecx, [ebp - 0x8ac]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10051e37
sub ecx, edx
lea eax, [ebp - 0x8ac]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x8c4]
call fcn.10011730
mov eax, dword [ebp - 0x8b0]
mov dword [ebp - 0x928], eax
mov eax, dword [ebp - 0x930]
test eax, eax
je 0x10051e76
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x8c4]
cmp esi, eax
je 0x10051eee
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x10051eb9
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x10051eaf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052156
mov eax, edx
push ecx
push eax
call fcn.1007d115
add esp, 8
movups xmm0, xmmword [ebp - 0x8c4]
mov dword [esi + 0x10], 0
xor ecx, ecx
mov dword [esi + 0x14], 7
mov eax, 7
movups xmmword [esi], xmm0
mov word [ebp - 0x8c4], cx
movq xmm0, qword [ebp - 0x8b4]
movq qword [esi + 0x10], xmm0
jmp 0x10051ef4
mov eax, dword [ebp - 0x928]
mov edi, dword [ebp - 0x938]
and edi, 0xffffffef
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x92c], edi
cmp eax, 8
jb 0x10051f41
mov ecx, dword [ebp - 0x8c4]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10051f37
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005216a
push edx
push ecx
call fcn.1007d115
add esp, 8
call fcn.1005e780
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100520f9
push 0x5d
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12_grab_versionhookhomepage_1145utils.cpp
lea ecx, [ebp - 0x8dc]
mov dword [ebp - 0x8cc], eax
mov dword [ebp - 0x8c8], 0xf
mov byte [ebp - 0x8dc], al
call fcn.100057a0
push 3
push 0x100de1bc
lea ecx, [ebp - 0x8c4]
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x8b4], 0
mov dword [ebp - 0x8b0], 0xf
mov byte [ebp - 0x8c4], 0
call fcn.100057a0
mov byte [ebp - 4], 0x11
call fcn.1005e780
cmp dword [esi + 0x14], 8
mov ecx, esi
mov dword [ebp - 0x938], eax
jb 0x10051fcf
mov ecx, dword [esi]
push ecx
push str.oem_value:__s
lea eax, [ebp - 0x928]
push 1
push eax
call fcn.1005e3a0
or edi, 0x20
add esp, 0x10
mov dword [ebp - 0x92c], edi
push 0x23a
lea eax, [ebp - 0x8dc]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x8c4]
push eax
lea ecx, [ebp - 0x144]
call fcn.10008360
mov esi, eax
mov eax, dword [ebp - 0x928]
mov ecx, 0x100ddfb4
test eax, eax
mov byte [ebp - 4], 0x13
cmovne ecx, eax
push ecx
push esi
call fcn.10006d80
mov ecx, dword [ebp - 0x938]
add esp, 8
mov eax, dword [ecx]
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x144]
call fcn.10009f30
mov edx, dword [ebp - 0x928]
or eax, 0xffffffff
mov byte [ebp - 4], 0x11
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1005206a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x8b0]
cmp edx, 0x10
jb 0x100520a4
mov ecx, dword [ebp - 0x8c4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005209a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005216f
push edx
push ecx
call fcn.1007d115
add esp, 8
mov edx, dword [ebp - 0x8c8]
mov dword [ebp - 0x8b4], 0
mov dword [ebp - 0x8b0], 0xf
mov byte [ebp - 0x8c4], 0
cmp edx, 0x10
jb 0x100520f9
mov ecx, dword [ebp - 0x8dc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100520ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052174
push edx
push ecx
call fcn.1007d115
add esp, 8
mov edx, dword [ebp - 0x8e0]
cmp edx, 8
jb 0x10052135
mov ecx, dword [ebp - 0x8f4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1005212b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052179
push edx
push ecx
call fcn.1007d115
add esp, 8
mov eax, dword [ebp - 0x934]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007d494
mov esp, ebp
pop ebp
ret
call fcn.100a7ba5
call fcn.100a7ba5
call fcn.100a7ba5
call fcn.100a7ba5
call fcn.100a7ba5
call fcn.100a7ba5
call fcn.100a7ba5
call fcn.100a7ba5
int3