Function at 0x4819b0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff863
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x53000c]
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 dword [ebp - 4], 0
xorps xmm0, xmm0
xor ebx, ebx
movq qword [ebp - 0x224], xmm0
xor edi, edi
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x21c], ebx
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_GetTopWindow]
mov esi, eax
mov dword [ebp - 0x244], esi
nop dword [eax]
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x481acd
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x240], eax
mov ebx, esi
mov dword [ebp - 0x24c], ebx
test eax, 0x40000
jne 0x481a6e
push 3
push esi
call dword [sym.imp.USER32.dll_GetAncestor]
mov ebx, eax
mov eax, dword [ebp - 0x240]
test eax, 0x200000
jne 0x481acd
push ebx
call dword [sym.imp.USER32.dll_GetLastActivePopup]
cmp ebx, dword [ebp - 0x24c]
jne 0x481acd
test byte [ebp - 0x240], 0x80
jne 0x481acd
cmp dword [ebp - 0x248], edi
je 0x481aa2
mov dword [edi], esi
add edi, 4
mov dword [ebp - 0x220], edi
jmp 0x481acd
lea eax, [ebp - 0x244]
push eax
push edi
lea ecx, [ebp - 0x224]
call fcn.0044ae90
mov eax, dword [ebp - 0x21c]
mov edi, dword [ebp - 0x220]
mov esi, dword [ebp - 0x244]
mov dword [ebp - 0x248], eax
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
mov dword [ebp - 0x244], esi
test esi, esi
jne 0x481a30
mov ebx, dword [ebp - 0x224]
cmp ebx, edi
je 0x481c4d
mov eax, dword [ebx]
lea ecx, [ebp - 0x240]
push ecx
push eax
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x240], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x240]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x481ba0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004bcaf0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
test eax, eax
je 0x481ba0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [ebp - 0x22c], 0
mov word [ebp - 0x23c], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x228], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x481b87
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
jmp 0x481bc3
xor eax, eax
mov dword [ebp - 0x22c], 0
push eax
mov dword [ebp - 0x228], 7
mov word [ebp - 0x23c], ax
push 0x51c79c
lea ecx, [ebp - 0x23c]
call fcn.0041a5b0
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x23c]
cmp dword [ebp - 0x228], 8
mov esi, dword [ebp - 0x23c]
mov edx, dword [ebp - 0x22c]
cmovae ecx, esi
push eax
push 0
call fcn.0041b200
add esp, 0xc
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x228]
jne 0x481c84
cmp eax, 8
jb 0x481c42
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x481c38
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x481d1f
push ecx
push esi
call fcn.0048e9ad
add esp, 8
add ebx, 4
cmp ebx, edi
jne 0x481af4
xor esi, esi
mov edx, dword [ebp - 0x224]
test edx, edx
je 0x481cc6
mov ecx, dword [ebp - 0x248]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x481cbc
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x481d1a
jmp 0x481cbc
cmp eax, 8
jb 0x481cb4
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x481caa
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x481d1f
push ecx
push esi
call fcn.0048e9ad
add esp, 8
mov esi, dword [ebp - 0x24c]
jmp 0x481c4f
push ecx
push edx
call fcn.0048e9ad
add esp, 8
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x481cfc
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x481cf2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x481d24
push edx
push ecx
call fcn.0048e9ad
add esp, 8
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.0048e99c
mov esp, ebp
pop ebp
ret
call fcn.004c5929
call fcn.004c5929
call fcn.004c5929
int3