Function at 0x439c60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f09c
mov eax, dword fs:[0]
push eax
sub esp, 0x500
mov eax, dword [0x5ec374]
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 dword [ebp - 0x4d8], ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
mov esi, dword [ebp + 0xc]
push 0x208
push 0
push eax
mov dword [ebp - 0x4d0], edi
mov dword [ebp - 0x4d4], esi
mov dword [ebp - 0x430], 0
call fcn.005663c0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.005663c0
add esp, 0x18
mov dword [ebp - 0x424], 0x208
lea eax, [ebp - 0x430]
mov dword [ebp - 0x42c], 0x208
mov dword [ebp - 0x428], 0
push eax
mov eax, dword [ebp + 0x10]
movzx eax, al
xor eax, 1
inc eax
shl eax, 8
or eax, 0xb
push eax
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test ebx, ebx
jne 0x43a0ad
push eax
push eax
lea eax, [ebp - 0x428]
mov dword [ebp - 0x4cc], ebx
push eax
push ebx
lea eax, [ebp - 0x424]
mov dword [ebp - 0x424], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x43a09c
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x428]
push eax
push 0
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43a028
mov dword [ebp - 0x46c], eax
mov dword [ebp - 0x468], 7
mov word [ebp - 0x47c], ax
mov dword [ebp - 0x450], eax
mov dword [ebp - 0x44c], 7
mov word [ebp - 0x460], ax
mov dword [ebp - 0x438], eax
mov dword [ebp - 0x434], 7
mov word [ebp - 0x448], ax
mov dword [ebp - 4], eax
mov eax, esi
mov dword [ebp - 0x480], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x439de5
sub eax, edx
lea ecx, [ebp - 0x47c]
sar eax, 1
push eax
push esi
call fcn.0040c920
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x218]
mov byte [ebp - 0x464], al
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x439e13
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x460]
call fcn.0040c920
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x439e40
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x448]
call fcn.0040c920
cmp dword [ebp - 0x434], 8
lea ecx, [ebp - 0x448]
mov edx, dword [ebp - 0x448]
lea edi, [ebp - 0x448]
mov eax, dword [ebp - 0x438]
lea ebx, [ebp - 0x448]
cmovae ecx, edx
cmovae edi, edx
cmovae ebx, edx
xor esi, esi
xor edx, edx
lea eax, [ecx + eax*2]
mov ecx, eax
sub ecx, edi
inc ecx
shr ecx, 1
cmp edi, eax
cmova ecx, edx
mov dword [ebp - 0x4dc], ecx
test ecx, ecx
je 0x439ecc
sub ebx, edi
nop
movzx eax, word [edi]
push eax
call fcn.0057a082
inc esi
mov word [ebx + edi], ax
add esp, 4
lea edi, [edi + 2]
cmp esi, dword [ebp - 0x4dc]
jne 0x439eb0
mov esi, dword [ebp - 0x4d8]
lea eax, [ebp - 0x480]
push eax
mov edi, dword [esi + 0x2f0]
lea ecx, [esi + 0x2f0]
mov ebx, dword [edi + 4]
push ebx
push edi
call fcn.00418590
mov edx, dword [esi + 0x2f4]
mov ecx, eax
mov eax, 0x2e8ba2d
sub eax, edx
cmp eax, 1
jb 0x43a217
lea eax, [edx + 1]
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x2f4], eax
mov dword [edi + 4], ecx
mov dword [ebx], ecx
mov edx, dword [ebp - 0x434]
cmp edx, 8
jb 0x439f5c
mov ecx, dword [ebp - 0x448]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x439f52
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a212
push edx
push ecx
call fcn.0045673f
add esp, 8
mov edx, dword [ebp - 0x44c]
xor eax, eax
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 7
mov word [ebp - 0x448], ax
cmp edx, 8
jb 0x439fb9
mov ecx, dword [ebp - 0x460]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x439faf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a212
push edx
push ecx
call fcn.0045673f
add esp, 8
mov edx, dword [ebp - 0x468]
xor eax, eax
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 7
mov word [ebp - 0x460], ax
cmp edx, 8
jb 0x43a016
mov ecx, dword [ebp - 0x47c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43a00c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a212
push edx
push ecx
call fcn.0045673f
add esp, 8
mov edi, dword [ebp - 0x4d0]
mov esi, dword [ebp - 0x4d4]
mov ebx, dword [ebp - 0x4cc]
push 0x208
lea eax, [ebp - 0x218]
inc ebx
push 0
push eax
mov dword [ebp - 0x4cc], ebx
call fcn.005663c0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.005663c0
add esp, 0x18
mov dword [ebp - 0x424], 0x104
lea eax, [ebp - 0x428]
mov dword [ebp - 0x42c], 0x208
push 0
push 0
push eax
push 0
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x439d60
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43a1e8
call fcn.0047f7a0
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x43a1e8
push 0x6a
push str.d:jenkins.jenkinsworkspacegroup_clean_software_pm_software_pm_software_pm_ui_src_software_pm_ui_wnd.cc
lea ecx, [ebp - 0x50c]
mov dword [ebp - 0x4fc], eax
mov dword [ebp - 0x4f8], 0xf
mov byte [ebp - 0x50c], al
call fcn.0040c820
push 3
push 0x5ab0b4
lea ecx, [ebp - 0x4f4]
mov dword [ebp - 4], 1
mov dword [ebp - 0x4e4], 0
mov dword [ebp - 0x4e0], 0xf
mov byte [ebp - 0x4f4], 0
call fcn.0040c820
mov byte [ebp - 4], 2
call fcn.0047f7a0
mov edi, eax
lea ecx, [ebp - 0x4c8]
push 0xde3
lea eax, [ebp - 0x50c]
push eax
lea eax, [ebp - 0x4f4]
push eax
call fcn.00405890
mov esi, eax
push str.open_hkey:
push esi
mov byte [ebp - 4], 3
call fcn.00406c40
add esp, 8
mov ecx, esi
push dword [ebp - 0x4d0]
call fcn.00414b50
push str.__lpSubKey:
push esi
call fcn.00406c40
mov ecx, dword [ebp - 0x4d4]
mov eax, str._null_
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.00403140
push str.__is_wow64:
push esi
call fcn.00406c40
add esp, 0x18
mov ecx, esi
push dword [ebp + 0x10]
call fcn.0041e6e0
push str._key_failed__err_:
push esi
call fcn.00406c40
add esp, 8
mov ecx, esi
push ebx
call fcn.00406aa0
mov edx, dword [edi]
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x4c8]
call fcn.00406f60
lea ecx, [ebp - 0x4f4]
call fcn.004064a0
lea ecx, [ebp - 0x50c]
call fcn.004064a0
mov eax, dword [ebp - 0x4d8]
mov eax, dword [eax + 0x2f4]
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.0045674d
mov esp, ebp
pop ebp
ret 0xc
call fcn.0056a5ea
push str.list_T__too_long
call fcn.00451983
int3