Function at 0x4527c0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588e71
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x5f11e4]
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 eax, dword [ebp + 8]
mov esi, dword [eax]
mov edi, dword [eax + 4]
cmp esi, edi
je 0x452a40
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00504ee0
add esp, 0xc
cmp esi, edi
je 0x452a40
lea ebx, [esi + 0x24]
nop
push dword [esi]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x270], eax
test eax, eax
je 0x452a2e
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x22c]
push ecx
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x23c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov eax, dword [ebp - 0x23c]
lea edi, [ebp - 0x21c]
mov dword [ebx - 8], eax
mov ecx, 0x82
mov eax, dword [ebp - 0x238]
mov dword [ebx - 4], eax
xor eax, eax
rep stosd dword es:[edi], eax
push 0x105
stosw word es:[edi], ax
lea eax, [ebp - 0x21c]
mov edi, dword [ebp - 0x270]
push eax
push edi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
jne 0x4528a6
push edi
jmp 0x452a28
xor eax, eax
mov dword [ebp - 0x240], 7
mov dword [ebp - 0x244], 0
mov word [ebp - 0x254], ax
mov dword [ebp - 4], eax
cmp word [ebp - 0x21c], ax
jne 0x4528d3
xor ecx, ecx
jmp 0x4528ef
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4528e0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x254]
call fcn.0044c2c0
cmp dword [ebp - 0x240], 8
lea ecx, [ebp - 0x254]
mov eax, dword [ebp - 0x244]
cmovae ecx, dword [ebp - 0x254]
mov edi, dword [ebx + 0x14]
lea ecx, [ecx + eax*2]
lea eax, [ebp - 0x254]
cmovae eax, dword [ebp - 0x254]
mov dword [ebp - 0x274], eax
cmp edi, 0x10
jb 0x45293e
mov edx, dword [ebx]
jmp 0x452940
mov edx, ebx
mov eax, dword [ebx + 0x10]
add eax, edx
cmp edi, 0x10
jb 0x45294e
mov edx, dword [ebx]
jmp 0x452950
mov edx, ebx
push ecx
push dword [ebp - 0x274]
mov ecx, ebx
push eax
push edx
call fcn.004531b0
push 2
push ecx
push 0x5c45a8
mov ecx, ebx
call fcn.00452ed0
cmp eax, 0xffffffff
je 0x4529e9
push 0xffffffffffffffff
inc eax
mov ecx, ebx
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.00452db0
mov edi, eax
lea ecx, [ebx - 0x20]
cmp ecx, edi
je 0x4529c9
mov eax, dword [ebx - 0xc]
cmp eax, 0x10
jb 0x4529a3
inc eax
lea ecx, [ebx - 0x20]
push eax
push dword [ecx]
call fcn.00445e20
mov dword [ebx - 0xc], 0xf
lea ecx, [ebx - 0x20]
cmp dword [ebx - 0xc], 0x10
mov dword [ebx - 0x10], 0
jb 0x4529be
mov eax, dword [ecx]
jmp 0x4529c0
mov eax, ecx
push edi
mov byte [eax], 0
call fcn.00448b40
mov eax, dword [ebp - 0x258]
cmp eax, 0x10
jb 0x4529fd
inc eax
lea ecx, [ebp - 0x26c]
push eax
push dword [ebp - 0x26c]
call fcn.00445e20
jmp 0x4529fd
lea eax, [ebx - 0x20]
cmp eax, ebx
je 0x4529fd
push 0xffffffffffffffff
push 0
push ebx
lea ecx, [ebx - 0x20]
call fcn.00448a10
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x240]
cmp eax, 8
jb 0x452a22
inc eax
lea ecx, [ebp - 0x254]
push eax
push dword [ebp - 0x254]
call fcn.0044c9a0
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
add esi, 0x3c
add ebx, 0x3c
cmp esi, dword [eax + 4]
jne 0x452820
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.004feb45
mov esp, ebp
pop ebp
ret 4