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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ca011
mov eax, dword fs:[0]
push eax
sub esp, 0x934
mov eax, dword [0x1010445c]
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.100537a0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10046555
push 0x52
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12hookhomepage_normalutils.cpp
lea ecx, [ebp - 0x8c4]
mov dword [ebp - 0x8b4], edi
mov dword [ebp - 0x8b0], 0xf
mov byte [ebp - 0x8c4], al
call fcn.10007b10
push 3
push 0x100d2cb0
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.10007b10
mov byte [ebp - 4], 2
call fcn.100537a0
push str.try_get_oem_ver
mov edi, eax
lea eax, [ebp - 0x930]
push 0
push eax
call fcn.10053500
mov eax, 2
add esp, 0xc
mov dword [ebp - 0x92c], eax
push 0x1d3
lea eax, [ebp - 0x8c4]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x8dc]
push eax
lea ecx, [ebp - 0xa8]
call fcn.100042c0
mov esi, eax
push dword [ebp - 0x930]
mov byte [ebp - 4], 4
push esi
call fcn.100053b0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.100054e0
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 0x10046497
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 0x100464d5
mov ecx, dword [ebp - 0x8dc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100464cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046e36
push edx
push ecx
call fcn.10074e52
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 0x1004652e
mov ecx, dword [ebp - 0x8c4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10046524
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046e3b
push edx
push ecx
call fcn.10074e52
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 [0x101086f8]
or edi, 1
mov dword [ebp - 4], eax
mov dword [ebp - 0x92c], edi
test ecx, ecx
jne 0x1004671a
push 0x10103e64
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x101086f8], 0
jne 0x100465d2
push 4
call fcn.100751e7
add esp, 4
mov dword [ebp - 0x928], eax
mov dword [ebp - 4], 5
test eax, eax
je 0x100465c0
mov ecx, eax
call fcn.1005b530
mov ecx, dword [ebp - 0x928]
jmp 0x100465c2
xor ecx, ecx
mov byte [ebp - 4], 0
xchg dword [ebp - 0x928], eax
mov dword [0x101086f8], ecx
push 0x10103e64
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x101086f8]
test ecx, ecx
jne 0x1004671a
call fcn.100537a0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10046e15
push 0x52
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12hookhomepage_normalutils.cpp
lea ecx, [ebp - 0x924]
mov dword [ebp - 0x914], eax
mov dword [ebp - 0x910], 0xf
mov byte [ebp - 0x924], al
call fcn.10007b10
push 3
push 0x100d2cb0
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.10007b10
mov byte [ebp - 4], 7
call fcn.100537a0
push str.product_fail
mov edi, eax
lea eax, [ebp - 0x928]
push 0
push eax
call fcn.10053500
mov eax, dword [ebp - 0x92c]
add esp, 0xc
or eax, 4
mov dword [ebp - 0x92c], eax
push 0x1d9
lea eax, [ebp - 0x924]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x90c]
push eax
lea ecx, [ebp - 0x144]
call fcn.100042c0
mov esi, eax
push dword [ebp - 0x928]
mov byte [ebp - 4], 9
push esi
call fcn.100053b0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x144]
call fcn.100054e0
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 0x100466ff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x90c]
call fcn.10004d30
lea ecx, [ebp - 0x924]
call fcn.10004d30
jmp 0x10046e15
lea eax, [ebp - 0x8f4]
push eax
call fcn.1005f100
mov dword [ebp - 4], 0xa
call fcn.100537a0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100468fb
push 0x52
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12hookhomepage_normalutils.cpp
lea ecx, [ebp - 0x8dc]
mov dword [ebp - 0x8cc], eax
mov dword [ebp - 0x8c8], 0xf
mov byte [ebp - 0x8dc], al
call fcn.10007b10
push 3
push 0x100d2cb0
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.10007b10
mov byte [ebp - 4], 0xc
call fcn.100537a0
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.100533c0
mov eax, dword [ebp - 0x92c]
add esp, 0x10
or eax, 8
mov dword [ebp - 0x92c], eax
push 0x1dd
lea eax, [ebp - 0x8dc]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x8c4]
push eax
lea ecx, [ebp - 0x144]
call fcn.100042c0
mov esi, eax
mov eax, dword [ebp - 0x928]
mov ecx, 0x100d2be4
test eax, eax
mov byte [ebp - 4], 0xe
cmovne ecx, eax
push ecx
push esi
call fcn.100031d0
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x144]
call fcn.100054e0
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 0x1004685e
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 0x1004689c
mov ecx, dword [ebp - 0x8c4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10046892
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046e40
push edx
push ecx
call fcn.10074e52
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 0x100468f5
mov ecx, dword [ebp - 0x8dc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100468eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046e45
push edx
push ecx
call fcn.10074e52
add esp, 8
mov edi, dword [ebp - 0x92c]
push str.bizhi
lea ecx, [ebp - 0x8f4]
mov dword [ebp - 0x938], edi
call fcn.10048e00
test al, al
jne 0x10046925
lea ecx, [ebp - 0x8f4]
call fcn.10004d80
jmp 0x10046e15
xor eax, eax
mov dword [ebp - 0x94], 0x4f0053
mov word [ebp - 0x14], ax
mov ecx, 0x10109f40
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 0x10046a4e
movzx eax, word [ecx + esi]
test ax, ax
je 0x10046a4e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x10046a30
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 0x10109f40
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 0x10046b45
mov edi, dword [ebp - 0x930]
test edi, edi
je 0x10046b56
push 0x802
lea eax, [ebp - 0x8ac]
push 0
push eax
call fcn.1009c2f0
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 0x10046b45
lea ecx, [ebp - 0x8ac]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10046b17
sub ecx, edx
lea eax, [ebp - 0x8ac]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x8c4]
call fcn.10014220
mov eax, dword [ebp - 0x8b0]
mov dword [ebp - 0x928], eax
mov eax, dword [ebp - 0x930]
test eax, eax
je 0x10046b56
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x8c4]
cmp esi, eax
je 0x10046bce
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x10046b99
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x10046b8f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046e36
mov eax, edx
push ecx
push eax
call fcn.10074e52
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 0x10046bd4
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 0x10046c21
mov ecx, dword [ebp - 0x8c4]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10046c17
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046e4a
push edx
push ecx
call fcn.10074e52
add esp, 8
call fcn.100537a0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10046dd9
push 0x52
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12hookhomepage_normalutils.cpp
lea ecx, [ebp - 0x8dc]
mov dword [ebp - 0x8cc], eax
mov dword [ebp - 0x8c8], 0xf
mov byte [ebp - 0x8dc], al
call fcn.10007b10
push 3
push 0x100d2cb0
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.10007b10
mov byte [ebp - 4], 0x11
call fcn.100537a0
cmp dword [esi + 0x14], 8
mov ecx, esi
mov dword [ebp - 0x938], eax
jb 0x10046caf
mov ecx, dword [esi]
push ecx
push str.oem_value:__s
lea eax, [ebp - 0x928]
push 1
push eax
call fcn.100533c0
or edi, 0x20
add esp, 0x10
mov dword [ebp - 0x92c], edi
push 0x1e6
lea eax, [ebp - 0x8dc]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x8c4]
push eax
lea ecx, [ebp - 0x144]
call fcn.100042c0
mov esi, eax
mov eax, dword [ebp - 0x928]
mov ecx, 0x100d2be4
test eax, eax
mov byte [ebp - 4], 0x13
cmovne ecx, eax
push ecx
push esi
call fcn.100031d0
mov ecx, dword [ebp - 0x938]
add esp, 8
mov eax, dword [ecx]
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x144]
call fcn.100054e0
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 0x10046d4a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x8b0]
cmp edx, 0x10
jb 0x10046d84
mov ecx, dword [ebp - 0x8c4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10046d7a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046e4f
push edx
push ecx
call fcn.10074e52
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 0x10046dd9
mov ecx, dword [ebp - 0x8dc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10046dcf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046e54
push edx
push ecx
call fcn.10074e52
add esp, 8
mov edx, dword [ebp - 0x8e0]
cmp edx, 8
jb 0x10046e15
mov ecx, dword [ebp - 0x8f4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10046e0b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046e59
push edx
push ecx
call fcn.10074e52
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.100751d1
mov esp, ebp
pop ebp
ret
call fcn.1009fa75
call fcn.1009fa75
call fcn.1009fa75
call fcn.1009fa75
call fcn.1009fa75
call fcn.1009fa75
call fcn.1009fa75
call fcn.1009fa75
int3