Function at 0x42a5c0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4bca
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0x4d6390]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x250], ecx
mov dword [ebp - 0x284], eax
cmp dword [0x4d602c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x24c], 0
je 0x42a701
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push 0x4ab5f0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42a6f1
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
lea ecx, [ebp - 0x248]
push ecx
movups xmmword [ebp - 0x248], xmm0
movups xmmword [ebp - 0x238], xmm0
call eax
mov ax, word [ebp - 0x248]
cmp ax, 9
je 0x42a6e7
cmp ax, 6
je 0x42a6e7
cmp ax, 0xc
je 0x42a6e7
push str.IsWow64Process2
push 0x4ab8c0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x42a6de
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x42a6de
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x220], cx
sete al
mov dword [0x4dc08c], eax
jmp 0x42a6f1
xor eax, eax
mov dword [0x4dc08c], eax
jmp 0x42a6f1
mov dword [0x4dc08c], 1
mov ecx, dword [ebp - 0x250]
mov dword [0x4d602c], 0
cmp dword [0x4dc08c], 0
mov eax, 0x20119
mov edx, 0x20019
cmove eax, edx
cmp dword [esi + 0x14], 8
jb 0x42a71d
mov esi, dword [esi]
lea edx, [ebp - 0x24c]
push edx
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42a9ab
mov esi, dword [ebp - 0x24c]
test esi, esi
je 0x42a9ab
push 0x208
xor edi, edi
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.00479790
add esp, 0xc
mov dword [ebp - 0x21c], 0x104
lea eax, [ebp - 0x21c]
push edi
push edi
push edi
push edi
push eax
lea eax, [ebp - 0x218]
push eax
push edi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
call esi
test eax, eax
jne 0x42aa86
nop word [eax + eax]
inc edi
mov dword [ebp - 0x258], 0
xor eax, eax
mov dword [ebp - 0x250], edi
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a7c0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x268]
call fcn.0040a200
push dword [ebp - 0x284]
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 4
push eax
push dword [ebp - 0x24c]
lea eax, [ebp - 0x23c]
push eax
call fcn.0042b6a0
add esp, 0x10
mov edx, dword [ebp - 0x254]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x42a84c
mov ecx, dword [ebp - 0x268]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a842
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42aad4
push edx
push ecx
call fcn.0045801e
add esp, 8
xor eax, eax
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
cmp dword [ebp - 0x22c], eax
je 0x42a91d
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x26c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x280], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a895
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x280]
call fcn.0040a200
mov ecx, dword [ebp + 0x38]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x42aad9
mov eax, dword [ecx]
lea edx, [ebp - 0x23c]
push edx
lea edx, [ebp - 0x280]
push edx
call dword [eax + 8]
mov edx, dword [ebp - 0x26c]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x42a91d
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a913
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42aad4
push edx
push ecx
call fcn.0045801e
add esp, 8
mov edx, dword [ebp - 0x228]
lea edi, [ebp - 0x218]
xor eax, eax
mov dword [ebp - 0x21c], 0x104
mov byte [ebp - 4], al
mov ecx, 0x82
rep stosd dword es:[edi], eax
cmp edx, 8
jb 0x42a979
mov ecx, dword [ebp - 0x23c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a96f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42aad4
push edx
push ecx
call fcn.0045801e
add esp, 8
mov edi, dword [ebp - 0x250]
lea eax, [ebp - 0x21c]
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x218]
push eax
push edi
push dword [ebp - 0x24c]
call esi
test eax, eax
je 0x42a790
jmp 0x42aa86
call fcn.00433d90
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42aa86
push 0x55
push str.d:jenkins.jenkinsworkspacepay_groupdll_repairdll_repairdll_repair_srcutils.cc
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], 0xf
mov byte [ebp - 0x268], al
call fcn.0040a100
push 3
push 0x4abab4
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 1
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 0xf
mov byte [ebp - 0x280], 0
call fcn.0040a100
mov byte [ebp - 4], 2
call fcn.00433d90
mov edi, eax
lea ecx, [ebp - 0x31c]
push 0x1ac
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.00405130
mov esi, eax
push str.open_reg_key_fail
push esi
mov byte [ebp - 4], 3
call fcn.004060d0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x31c]
call fcn.00406330
lea ecx, [ebp - 0x280]
call fcn.00405aa0
lea ecx, [ebp - 0x268]
call fcn.00405aa0
mov eax, dword [ebp - 0x24c]
test eax, eax
je 0x42aaa1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x24c], 0
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x42aab9
mov edx, dword [ecx]
lea eax, [ebp + 0x14]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
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.004582e2
mov esp, ebp
pop ebp
ret
call fcn.0047cbf9
call fcn.0042dba2
int3