Function at 0x57a500
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63a9a9
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x6f8b74]
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.005b7c20
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 0x57a766
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call sub.KERNEL32.dll_K32GetProcessImageFileNameW
test eax, eax
je 0x57a75f
cmp word [ebp - 0x218], 0
je 0x57a75f
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.004564b0
add esp, 8
test al, al
je 0x57a754
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.00449b70
push dword [ebp - 0x268]
lea ecx, [ebp - 0x260]
push dword [ebp - 0x26c]
push edi
call fcn.00445940
mov ecx, dword [ebp - 0x24c]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x21c], ecx
jae 0x57a796
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 0x57a706
mov ecx, dword [ebp - 0x284]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x57a6fc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x57a823
push edx
push ecx
call fcn.005b5296
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.004485f0
add esp, 0x10
lea ecx, [ebp - 0x230]
mov esi, eax
call fcn.00435a90
test esi, esi
mov esi, dword [ebp - 0x268]
sete byte [ebp - 0x261]
lea ecx, [ebp - 0x248]
call fcn.004359a0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x57a7fb
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x57a7f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x57a81e
jmp 0x57a7f1
push dword [ebp - 0x250]
cmp ecx, 0x10
lea eax, [ebp - 0x260]
lea ecx, [ebp - 0x230]
cmovae eax, dword [ebp - 0x260]
push eax
call fcn.00446290
mov edx, dword [ebp - 0x24c]
cmp edx, 0x10
jb 0x57a706
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x57a6fc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x57a823
jmp 0x57a6fc
push edx
push ecx
call fcn.005b5296
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.005b56fe
mov esp, ebp
pop ebp
ret 0x1c
call fcn.005c116d
call fcn.005c116d
int3