Function at 0x57c620
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67baa9
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x75e7a4]
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.00628ae0
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 0x57c886
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call sub.KERNEL32.dll_K32GetProcessImageFileNameW
test eax, eax
je 0x57c87f
cmp word [ebp - 0x218], 0
je 0x57c87f
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.0046d810
add esp, 8
test al, al
je 0x57c874
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.004642b0
push dword [ebp - 0x268]
lea ecx, [ebp - 0x260]
push dword [ebp - 0x26c]
push edi
call fcn.0045c360
mov ecx, dword [ebp - 0x24c]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x21c], ecx
jae 0x57c8b6
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 0x57c826
mov ecx, dword [ebp - 0x284]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x57c81c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x57c943
push edx
push ecx
call fcn.006129d7
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.004568a0
add esp, 0x10
lea ecx, [ebp - 0x230]
mov esi, eax
call fcn.00440270
test esi, esi
mov esi, dword [ebp - 0x268]
sete byte [ebp - 0x261]
lea ecx, [ebp - 0x248]
call fcn.00440180
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x57c91b
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x57c911
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x57c93e
jmp 0x57c911
push dword [ebp - 0x250]
cmp ecx, 0x10
lea eax, [ebp - 0x260]
lea ecx, [ebp - 0x230]
cmovae eax, dword [ebp - 0x260]
push eax
call fcn.00455da0
mov edx, dword [ebp - 0x24c]
cmp edx, 0x10
jb 0x57c826
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x57c81c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x57c943
jmp 0x57c81c
push edx
push ecx
call fcn.006129d7
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.00612996
mov esp, ebp
pop ebp
ret 0x1c
call fcn.006321a4
call fcn.006321a4
int3