Function at 0x4f3bd0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599c84
mov eax, dword fs:[0]
push eax
sub esp, 0x4f0
mov eax, dword [0x615720]
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]
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
mov dword [ebp - 0x43c], 7
mov dword [ebp - 0x440], eax
mov word [ebp - 0x450], ax
push dword [ebp + 0xc]
mov byte [ebp - 4], 2
push eax
push 0x400
mov word [ebp - 0x420], ax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4f3c8e
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
jne 0x4f3c7c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4f3c8e
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x450]
call fcn.004e9a20
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x450]
push eax
call fcn.004ebc00
lea eax, [ebp - 0x4fc]
push eax
call fcn.004e7db0
mov esi, eax
add esp, 0x1c
lea eax, [ebp - 0x438]
cmp eax, esi
je 0x4f3d10
cmp dword [ebp - 0x424], 8
jb 0x4f3ce7
push dword [ebp - 0x438]
call fcn.0055be79
add esp, 4
xor eax, eax
mov dword [ebp - 0x424], 7
push esi
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
call fcn.004ebad0
cmp dword [ebp - 0x4e8], 8
jb 0x4f3d27
push dword [ebp - 0x4fc]
call fcn.0055be79
add esp, 4
xor eax, eax
mov dword [ebp - 0x4e8], 7
mov dword [ebp - 0x4ec], 0
mov word [ebp - 0x4fc], ax
cmp word [edi], ax
jne 0x4f3d4d
xor ecx, ecx
jmp 0x4f3d61
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4f3d52
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x4fc]
call fcn.004e9ac0
lea edx, [ebp - 0x4fc]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x438]
call fcn.004e5370
test al, al
mov byte [ebp - 4], 2
sete bl
cmp dword [ebp - 0x4e8], 8
jb 0x4f3da3
push dword [ebp - 0x4fc]
call fcn.0055be79
add esp, 4
test bl, bl
je 0x4f3dae
xor esi, esi
jmp 0x4f4004
lea ecx, [ebp - 0x4e0]
call fcn.004f3a70
push 0x90
lea eax, [ebp - 0x4e0]
mov byte [ebp - 4], 4
push 0
push eax
call fcn.0055ebc0
add esp, 0xc
lea ecx, [ebp - 0x438]
cmp dword [ebp - 0x424], 8
cmovae ecx, dword [ebp - 0x438]
call fcn.004f3020
test eax, eax
jne 0x4f3e4a
lea eax, [ebp + 0x10]
push str.warninglist
push eax
call fcn.004f4270
add esp, 8
test al, al
je 0x4f3e0f
mov esi, 1
jmp 0x4f3ff9
lea eax, [ebp + 0x10]
push str.blacklist
push eax
call fcn.004f4270
add esp, 8
test al, al
je 0x4f3e2e
mov esi, 2
jmp 0x4f3ff9
lea eax, [ebp + 0x10]
push str.whitelist
push eax
call fcn.004f4270
add esp, 8
test al, al
je 0x4f3e4a
xor esi, esi
jmp 0x4f3ff9
cmp dword [ebp - 0x424], 8
lea ecx, [ebp - 0x4e0]
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push ecx
push eax
call fcn.004f32e0
add esp, 8
lea ecx, [ebp - 0x498]
push 0xc
push str._nNwmQRWQ
push dword [ebp - 0x488]
push 0
call fcn.004ebec0
test eax, eax
jne 0x4f3eb0
push 0x27
push str.Symantec_Class_3_SHA256_Code_Signing_CA
push dword [ebp - 0x458]
lea ecx, [ebp - 0x468]
push eax
call fcn.004ebec0
test eax, eax
jne 0x4f3eb0
xor esi, esi
jmp 0x4f3ff9
push 0xc
push 0x5f84b8
push dword [ebp - 0x488]
lea ecx, [ebp - 0x498]
push 0
call fcn.004ebec0
test eax, eax
jne 0x4f3f05
lea eax, [ebp - 0x468]
push str.Symantec_Class_3_SHA256_Code_Signing_CA
push eax
call fcn.004ee610
add esp, 8
test al, al
jne 0x4f3efe
lea eax, [ebp - 0x468]
push str.DigiCert_SHA2_Assured_ID_Code_Signing_CA
push eax
call fcn.004ee610
add esp, 8
test al, al
je 0x4f3f05
xor esi, esi
jmp 0x4f3ff9
push 0x2d
push 0x5f8530
push dword [ebp - 0x488]
lea ecx, [ebp - 0x498]
push 0
call fcn.004ebec0
test eax, eax
jne 0x4f3f42
lea eax, [ebp - 0x468]
push str.DigiCert_Trusted_G4_Code_Signing_RSA4096_SHA384_2021_CA1
push eax
call fcn.004ee610
add esp, 8
test al, al
je 0x4f3f42
xor esi, esi
jmp 0x4f3ff9
lea eax, [ebp - 0x498]
push str.Google_Inc
push eax
call fcn.004ee610
add esp, 8
test al, al
je 0x4f3f79
lea eax, [ebp - 0x468]
push str.Symantec_Class_3_SHA256_Code_Signing_CA
push eax
call fcn.004ee610
add esp, 8
test al, al
je 0x4f3f79
xor esi, esi
jmp 0x4f3ff9
lea eax, [ebp - 0x498]
push str.Microsoft_Corporation
push eax
call fcn.004ee610
add esp, 8
test al, al
je 0x4f3fad
lea eax, [ebp - 0x468]
push str.Microsoft_Code_Signing_PCA_2010
push eax
call fcn.004ee610
add esp, 8
test al, al
je 0x4f3fad
xor esi, esi
jmp 0x4f3ff9
lea eax, [ebp - 0x498]
push str.Mozilla_Corporation
push eax
call fcn.004ee610
add esp, 8
test al, al
je 0x4f3fe1
lea eax, [ebp - 0x468]
push str.DigiCert_SHA2_Assured_ID_Code_Signing_CA
push eax
call fcn.004ee610
add esp, 8
test al, al
je 0x4f3fe1
xor esi, esi
jmp 0x4f3ff9
sub esp, 0x18
lea eax, [ebp + 0x10]
mov ecx, esp
push eax
call fcn.004e8f30
call fcn.004f41b0
add esp, 0x18
mov esi, eax
lea ecx, [ebp - 0x4e0]
call fcn.004f3ae0
cmp dword [ebp - 0x43c], 8
jb 0x4f401b
push dword [ebp - 0x450]
call fcn.0055be79
add esp, 4
xor eax, eax
mov dword [ebp - 0x43c], 7
cmp dword [ebp - 0x424], 8
mov dword [ebp - 0x440], 0
mov word [ebp - 0x450], ax
jb 0x4f404f
push dword [ebp - 0x438]
call fcn.0055be79
add esp, 4
xor eax, eax
mov dword [ebp - 0x424], 7
lea ecx, [ebp + 0x10]
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
call fcn.004f40a0
mov eax, esi
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.0055e4ed
mov esp, ebp
pop ebp
ret