Function at 0x5c7e90
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6671b9
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x738844]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.005e8a30
add esp, 0xc
mov byte [ebp - 0x261], 0
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x268], esi
test esi, esi
je 0x5c80f6
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call sub.KERNEL32.dll_K32GetProcessImageFileNameW
test eax, eax
je 0x5c80ef
cmp word [ebp - 0x218], 0
je 0x5c80ef
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00469a20
add esp, 8
test al, al
je 0x5c80e4
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
cmp dword [ebp - 0x234], 8
lea edx, [ebp - 0x248]
mov eax, dword [ebp - 0x238]
lea edi, [ebp - 0x248]
cmovae edx, dword [ebp - 0x248]
lea ecx, [ebp - 0x260]
cmovae edi, dword [ebp - 0x248]
mov byte [ebp - 4], 2
mov dword [ebp - 0x250], 0
lea eax, [edx + eax*2]
mov dword [ebp - 0x24c], 0xf
mov dword [ebp - 0x26c], eax
sub eax, edi
sar eax, 1
push eax
mov byte [ebp - 0x260], 0
call fcn.0045f6f0
push dword [ebp - 0x268]
lea ecx, [ebp - 0x260]
push dword [ebp - 0x26c]
push edi
call fcn.00452470
mov ecx, dword [ebp - 0x24c]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x21c], ecx
jae 0x5c8126
movups xmm0, xmmword [ebp - 0x260]
movq xmm1, qword [ebp - 0x220]
movups xmm2, xmmword [ebp - 0x230]
movq qword [ebp - 0x274], xmm1
mov edx, dword [ebp - 0x270]
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [ebp - 0x250]
movq qword [ebp - 0x220], xmm0
movq qword [ebp - 0x250], xmm1
movups xmmword [ebp - 0x284], xmm2
movups xmmword [ebp - 0x260], xmm2
cmp edx, 0x10
jb 0x5c8096
mov ecx, dword [ebp - 0x284]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c808c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c81b3
push edx
push ecx
call fcn.005d2f48
add esp, 8
cmp dword [ebp + 0x20], 0x10
lea ecx, [ebp + 0xc]
push dword [ebp + 0x1c]
cmovae ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 0x10
push ecx
cmovae eax, dword [ebp - 0x230]
push dword [ebp - 0x220]
push eax
call fcn.00455620
add esp, 0x10
lea ecx, [ebp - 0x230]
mov esi, eax
call fcn.0043d230
test esi, esi
mov esi, dword [ebp - 0x268]
sete byte [ebp - 0x261]
lea ecx, [ebp - 0x248]
call fcn.0043d140
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x5c818b
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c8181
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c81ae
jmp 0x5c8181
push dword [ebp - 0x250]
cmp ecx, 0x10
lea eax, [ebp - 0x260]
lea ecx, [ebp - 0x230]
cmovae eax, dword [ebp - 0x260]
push eax
call fcn.00453520
mov edx, dword [ebp - 0x24c]
cmp edx, 0x10
jb 0x5c8096
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c808c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c81b3
jmp 0x5c808c
push edx
push ecx
call fcn.005d2f48
add esp, 8
mov al, byte [ebp - 0x261]
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.005d2f07
mov esp, ebp
pop ebp
ret 0x1c
call fcn.005f1c34
call fcn.005f1c34
int3