Function at 0x47aeb4
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4f0
mov eax, dword [0x512bd4]
push ebx
push esi
mov esi, 0x512bd4
push edi
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [0x512bd4]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [0x512bd4]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
lea esi, [ebp - 0xc4]
mov dword [ebp - 0x10], eax
call fcn.0044376f
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 0x47af27
or ebx, ebx
jmp 0x47af55
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 0x47af52
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 0x47af75
push 0x4f11d4
lea eax, [ebp - 0x18]
call fcn.0042241f
xor ebx, ebx
jmp 0x47afb5
push 0x424
xor ebx, ebx
lea eax, [ebp - 0x4e8]
push ebx
push eax
call fcn.00489500
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.0042241f
mov esi, dword [ebp - 0x18]
cmp dword [esi - 0xc], ebx
je 0x47b08c
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47b08c
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.0047ad46
push esi
lea edi, [ebp - 8]
call fcn.0047545d
pop ecx
lea edi, [ebp - 0x14]
call fcn.004234ea
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401023
push esi
lea edi, [ebp - 0x94]
call fcn.0043e60c
test eax, eax
je 0x47b021
lea edi, [ebp - 0x94]
call fcn.0043e6b7
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00413ba8
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jne 0x47b041
push 0x4f11d4
lea eax, [ebp - 8]
call fcn.0042241f
jmp 0x47b04d
lea ecx, [ebp - 0x30]
push ecx
lea edi, [ebp - 8]
call fcn.0047adfa
lea eax, [ebp - 8]
lea edi, [ebp - 0x10]
call fcn.004234ea
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401023
cmp dword [ebp - 0x28], ebx
je 0x47b074
push dword [ebp - 0x28]
call fcn.004896b0
pop ecx
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.00401023
lea ecx, [ebp - 0x94]
call fcn.0043e5e2
jmp 0x47b0a3
mov esi, str.0000000000000000000000000000000
push esi
call fcn.00488c9a
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0xc]
call fcn.00413bce
mov edi, dword [0x513f1c]
mov eax, dword [0x513f18]
imul edi, edi, 0x186a0
mov ebx, dword [0x5148a0]
mov esi, dword [0x51489c]
and eax, 0xff
add edi, eax
test ebx, ebx
je 0x47b0e6
test esi, esi
jne 0x47b0e6
mov ecx, dword [ebp + 8]
push esi
push ebx
push edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004705cb
mov ecx, dword [ebp + 8]
push esi
push ebx
push edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00470546
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00401023
lea edi, [ebp - 0xc4]
call fcn.004437a4
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