Function at 0x43b040
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c925b
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x5036e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x502294], 0
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x44], edx
mov byte [ebp - 0x3d], 0
je 0x43b147
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push 0x4d3574
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43b13a
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x3c]
push ecx
movups xmmword [ebp - 0x3c], xmm0
movups xmmword [ebp - 0x2c], xmm0
call eax
mov ax, word [ebp - 0x3c]
cmp ax, 9
je 0x43b130
cmp ax, 6
je 0x43b130
cmp ax, 0xc
je 0x43b130
push str.IsWow64Process2
push 0x4d3850
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x43b127
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x43b127
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x18], cx
sete al
mov dword [0x508554], eax
jmp 0x43b13a
xor eax, eax
mov dword [0x508554], eax
jmp 0x43b13a
mov dword [0x508554], 1
mov edx, dword [ebp - 0x44]
mov dword [0x502294], 0
cmp dword [0x508554], 0
mov ecx, 2
mov eax, 0x102
cmove eax, ecx
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x43b165
mov ecx, dword [esi]
push 0
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x43b281
call fcn.0046fbf0
mov ecx, eax
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x43b27c
push 0x6b
push str.d:jenkins.jenkinsworkspacepay_group_sys_clean_sys_clean_clientclient_sys_clean_srcwin_update_utils.cc
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], al
call fcn.0040ecb0
push 3
push 0x4d3b60
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
call fcn.0040ecb0
push 0x1fc
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x10c]
call fcn.0040a7e0
mov edi, eax
push str._error__delete_reg_key__root:
push edi
mov byte [ebp - 4], 2
call fcn.0040b5c0
add esp, 8
mov ecx, edi
push dword [ebp - 0x44]
call fcn.004144d0
push str.__open_reg_failed__path:
push edi
call fcn.0040b5c0
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x43b22b
mov esi, dword [esi]
test esi, esi
mov eax, str._null_
cmovne eax, esi
push eax
push edi
call fcn.00409890
push 0x4d639c
push edi
call fcn.0040b5c0
add esp, 0x10
mov ecx, edi
push dword [ebp - 0x14]
call fcn.00420070
call fcn.0046fbf0
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x10c]
call fcn.0040b820
lea ecx, [ebp - 0x5c]
call fcn.0040afe0
lea ecx, [ebp - 0x74]
call fcn.0040afe0
mov al, byte [ebp - 0x3d]
jmp 0x43b283
mov al, 1
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.004779e3
mov esp, ebp
pop ebp
ret