Function at 0x47872f
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4f0
mov eax, dword [0x50e594]
push ebx
push esi
mov esi, 0x50e594
push edi
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [0x50e594]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [0x50e594]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
lea esi, [ebp - 0xc4]
mov dword [ebp - 0x10], eax
call fcn.00444fc9
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push eax
push 0
push 0x400
or ebx, 0xffffffff
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edi, eax
test edi, edi
jne 0x4787a2
or ebx, ebx
jmp 0x4787d0
push str.NtQueryInformationProcess
push str.ntdll
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0
push 0x18
lea ecx, [ebp - 0x30]
push ecx
push 0
push edi
call eax
test eax, eax
jne 0x4787cd
mov ebx, dword [ebp - 0x1c]
push edi
call esi
push ebx
push 8
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x4787f0
push 0x4ee0dc
lea eax, [ebp - 0x18]
call fcn.00423978
xor ebx, ebx
jmp 0x478830
push 0x424
xor ebx, ebx
lea eax, [ebp - 0x4e8]
push ebx
push eax
call fcn.00486d70
add esp, 0xc
lea eax, [ebp - 0x4ec]
push eax
push edi
mov dword [ebp - 0x4ec], 0x428
call sub.KERNEL32.DLL_Module32FirstW
push edi
call esi
lea eax, [ebp - 0x2cc]
push eax
lea eax, [ebp - 0x18]
call fcn.00423978
mov esi, dword [ebp - 0x18]
cmp dword [esi - 0xc], ebx
je 0x478907
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x478907
push esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x94], vtable.KMD5.0
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
call fcn.004785c1
push esi
lea edi, [ebp - 8]
call fcn.004294cf
pop ecx
lea edi, [ebp - 0x14]
call fcn.00424a4a
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401023
push esi
lea edi, [ebp - 0x94]
call fcn.0043fdb8
test eax, eax
je 0x47889c
lea edi, [ebp - 0x94]
call fcn.0043fe63
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004152cd
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jne 0x4788bc
push 0x4ee0dc
lea eax, [ebp - 8]
call fcn.00423978
jmp 0x4788c8
lea ecx, [ebp - 0x30]
push ecx
lea edi, [ebp - 8]
call fcn.00478675
lea eax, [ebp - 8]
lea edi, [ebp - 0x10]
call fcn.00424a4a
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401023
cmp dword [ebp - 0x28], ebx
je 0x4788ef
push dword [ebp - 0x28]
call fcn.00486f20
pop ecx
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.00401023
lea ecx, [ebp - 0x94]
call fcn.0043fd8e
jmp 0x47891e
mov esi, str.0000000000000000000000000000000
push esi
call fcn.0048650a
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0xc]
call fcn.004152f3
mov edi, dword [0x50f8dc]
mov eax, dword [0x50f8d8]
imul edi, edi, 0x186a0
mov ebx, dword [0x510268]
mov esi, dword [0x510264]
and eax, 0xff
add edi, eax
test ebx, ebx
je 0x478961
test esi, esi
jne 0x478961
push esi
push ebx
push edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
call fcn.0046e064
push esi
push ebx
push edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
call fcn.0046df99
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00401023
lea edi, [ebp - 0xc4]
call fcn.00444ffe
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401023
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00401023
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00401023
pop edi
pop esi
pop ebx
leave
ret 4