Function at 0x403c40
Capabilities:
Delete registry key
Persist via ginadll registry key
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530bd1
mov eax, dword fs:[0]
push eax
sub esp, 0xc18
mov eax, dword [0x656c90]
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 esi, dword [ebp + 8]
xor ebx, ebx
push 0x3ff
lea eax, [ebp - 0x80f]
push ebx
push eax
mov byte [ebp - 0x810], bl
call fcn.00506060
push 0x3ff
lea ecx, [ebp - 0x40f]
push ebx
push ecx
mov byte [ebp - 0x410], bl
call fcn.00506060
add esp, 0x18
lea ecx, [ebp - 0xc24]
call fcn.00522200
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0xc24]
mov dword [ebp - 4], ebx
call fcn.005223f6
test eax, eax
je 0x403cdd
push str.RzxMon
lea ecx, [ebp - 0xc24]
call fcn.005223c0
lea edx, [ebp - 0x410]
push esi
push edx
call fcn.004037b0
mov edi, eax
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.00403850
add esp, 0x10
or edi, eax
call fcn.0052251b
test eax, eax
je 0x403e0d
lea ecx, [ebp - 0xc18]
call fcn.00522200
push ebx
lea ecx, [ebp - 0x410]
push ebx
push ecx
mov byte [ebp - 4], 1
call fcn.0051f224
add esp, 0xc
push 1
push str.SOFTWAREMicrosoftWindowsCurrentVersionAuthenticationCredential_Providers_Backup
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0xc18]
call fcn.0052242a
test eax, eax
je 0x403e02
lea ecx, [ebp - 0xc18]
mov edi, 1
call fcn.005223d7
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
push str.SOFTWAREMicrosoftWindowsCurrentVersionAuthenticationCredential_Providers
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionAuthenticationCredential_Providers
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0xc18]
call fcn.0052222c
lea ecx, [ebp - 0xc18]
call fcn.005223d7
lea edx, [ebp - 0xc1c]
push edx
push 0xf003f
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionAuthenticationCredential_Providers
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403dd6
mov eax, dword [ebp - 0xc1c]
push ebx
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionAuthenticationCredential_Providers_Backup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHCopyKeyA]
test eax, eax
je 0x403de9
mov ecx, dword [ebp - 0xc1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0xc18]
mov byte [ebp - 4], bl
call fcn.005223f1
jmp 0x403ed3
mov edx, dword [ebp - 0xc1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SOFTWAREMicrosoftWindowsCurrentVersionAuthenticationCredential_Providers_Backup
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea eax, [ebp - 0x810]
jmp 0x403eb6
push ebx
lea ecx, [ebp - 0x810]
push ebx
push ecx
call fcn.0051f224
add esp, 0xc
lea ecx, [ebp - 0xc18]
call fcn.00522200
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0xc18]
mov byte [ebp - 4], 2
call fcn.005223f6
test eax, eax
je 0x403ec1
push 0x3ff
lea edx, [ebp - 0xc0f]
push ebx
push edx
mov byte [ebp - 0xc10], bl
call fcn.00506060
add esp, 0xc
push 0x400
lea eax, [ebp - 0xc10]
push eax
push str.GinaDll
lea ecx, [ebp - 0xc18]
call fcn.005222d5
lea ecx, [ebp - 0x410]
push ecx
lea edx, [ebp - 0xc10]
push edx
call fcn.00517129
add esp, 8
test eax, eax
jne 0x403eb0
push str.GinaDll
lea ecx, [ebp - 0xc18]
call fcn.005223c0
test eax, eax
je 0x403ec1
mov edi, 1
lea eax, [ebp - 0x410]
push ebx
push ebx
push eax
call fcn.0051f224
add esp, 0xc
lea ecx, [ebp - 0xc18]
mov byte [ebp - 4], bl
call fcn.005223f1
cmp edi, ebx
je 0x403edd
call fcn.004038f0
call fcn.00403a00
lea ecx, [ebp - 0xc24]
mov dword [ebp - 4], 0xffffffff
call fcn.005223f1
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.00506042
mov esp, ebp
pop ebp
ret