Function at 0x43c710
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cbc24
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x5036e8]
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 edi, dword [ebp + 8]
xor edx, edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov dword [ebp - 0x2c], ecx
mov word [edi], dx
xorps xmm0, xmm0
mov dword [ebp - 0x38], edx
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], edx
lea edx, [ebp - 0x40]
mov dword [ebp - 4], 1
push edx
push eax
push ecx
call fcn.0043d0d0
add esp, 0xc
test al, al
je 0x43c9f0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x43c7ac
mov eax, dword [esi]
mov ebx, dword [ebp - 0x40]
lea ecx, [ebp - 0x24]
push ecx
push 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x24], 0
push ecx
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43cb87
cmp dword [ebp - 0x14], 7
jne 0x43cb87
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x31]
push ecx
lea ecx, [ebp - 0x14]
shr eax, 1
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x24], eax
push eax
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.0043a3c0
cmp dword [esi + 0x14], 8
mov edx, esi
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x30], ecx
jb 0x43c81f
mov edx, dword [esi]
mov eax, dword [ebp - 0x24]
test ecx, ecx
je 0x43c834
cmp eax, 2
jae 0x43c834
mov dword [ebp - 0x28], 0x7a
jmp 0x43c89b
add eax, eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push ecx
lea eax, [ebp - 0x14]
push eax
push 0
push edx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov dword [ebp - 0x28], ebx
test ebx, ebx
jne 0x43c89b
cmp dword [ebp - 0x14], 7
jne 0x43c894
mov ecx, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x24]
test ecx, ecx
je 0x43ca01
test bl, 1
jne 0x43c894
mov eax, ebx
shr eax, 1
cmp eax, 1
jb 0x43c894
cmp word [ecx + eax*2 - 2], 0
jne 0x43c894
cmp eax, 1
jbe 0x43ca01
cmp word [ecx + eax*2 - 4], 0
je 0x43ca01
mov dword [ebp - 0x28], 0xd
call fcn.0046fbf0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x43c9a4
push 0x6b
push str.d:jenkins.jenkinsworkspacepay_group_sys_clean_sys_clean_clientclient_sys_clean_srcwin_update_utils.cc
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], al
call fcn.0040ecb0
push 3
push 0x4d3b60
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
call fcn.0040ecb0
push 0x174
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x114]
call fcn.0040a7e0
mov ebx, eax
push str._error__get_multi_sz_value_failed__root:
push ebx
mov byte [ebp - 4], 5
call fcn.0040b5c0
add esp, 8
mov ecx, ebx
push dword [ebp - 0x2c]
call fcn.004144d0
push str.__path:
push ebx
call fcn.0040b5c0
push str.__key:
push ebx
call fcn.0040b5c0
add esp, 0x10
cmp dword [esi + 0x14], 8
jb 0x43c953
mov esi, dword [esi]
test esi, esi
mov eax, str._null_
cmovne eax, esi
push eax
push ebx
call fcn.00409890
push str.__err:
push ebx
call fcn.0040b5c0
add esp, 0x10
mov ecx, ebx
push dword [ebp - 0x28]
call fcn.00420070
call fcn.0046fbf0
push ebx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x114]
call fcn.0040b820
lea ecx, [ebp - 0x64]
call fcn.0040afe0
lea ecx, [ebp - 0x7c]
call fcn.0040afe0
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x43c9f0
mov ecx, dword [ebp - 0x18]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x43c9d1
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43cbb0
push ecx
push edx
call fcn.0047771f
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x43cb92
push eax
jmp 0x43cb8c
mov eax, dword [ebp - 0x20]
mov edx, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x28], eax
mov eax, edx
shr ebx, 1
sub eax, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x44], edx
cmp ebx, eax
ja 0x43ca50
lea eax, [ecx + ebx]
mov esi, edi
mov dword [ebp - 0x14], eax
mov dword [edi + 0x10], eax
cmp edx, 8
jb 0x43ca2f
mov esi, dword [edi]
lea eax, [ebx + ebx]
push eax
push dword [ebp - 0x28]
lea eax, [esi + ecx*2]
push eax
call fcn.00498ba0
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x43cb51
mov eax, SysReAllocString
sub eax, ecx
cmp eax, ebx
jb 0x43cbb5
lea eax, [ecx + ebx]
mov esi, eax
mov dword [ebp - 0x24], eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x43ca79
mov esi, SysReAllocString
jmp 0x43ca97
mov ecx, edx
mov eax, SysReAllocString
shr ecx, 1
sub eax, ecx
cmp edx, eax
jbe 0x43ca8f
mov esi, SysReAllocString
jmp 0x43ca97
lea eax, [edx + ecx]
cmp esi, eax
cmovb esi, eax
xor ecx, ecx
mov eax, esi
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
mov ecx, edi
call fcn.0040e5f0
mov dword [edi + 0x14], esi
mov ecx, eax
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
add esi, esi
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x14], ecx
mov dword [edi + 0x10], eax
push esi
jb 0x43cb29
mov eax, dword [edi]
push eax
push ecx
mov dword [ebp - 0x2c], eax
call fcn.00498620
lea eax, [ebx + ebx]
mov ebx, dword [ebp - 0x14]
push eax
push dword [ebp - 0x28]
lea eax, [ebx + esi]
push eax
call fcn.00498620
mov eax, dword [ebp - 0x24]
xor ecx, ecx
add esp, 0x18
mov word [ebx + eax*2], cx
mov eax, dword [ebp - 0x44]
lea ecx, [eax*2 + 2]
mov eax, dword [ebp - 0x2c]
cmp ecx, 0x1000
jb 0x43cb1d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43cbb0
mov eax, edx
push ecx
push eax
call fcn.0047771f
add esp, 8
jmp 0x43cb4f
push edi
push ecx
call fcn.00498620
lea eax, [ebx + ebx]
mov ebx, dword [ebp - 0x14]
push eax
push dword [ebp - 0x28]
lea eax, [ebx + esi]
push eax
call fcn.00498620
mov eax, dword [ebp - 0x24]
add esp, 0x18
xor ecx, ecx
mov word [ebx + eax*2], cx
mov dword [edi], ebx
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x43cb84
mov ecx, dword [ebp - 0x18]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x43cb7a
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43cbba
push ecx
push edx
call fcn.0047771f
add esp, 8
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x43cb92
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
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.004779e3
mov esp, ebp
pop ebp
ret
call fcn.0049c69a
call fcn.0040e570
call fcn.0049c69a
int3