Function at 0x47649f
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4f0
mov eax, dword [0x509500]
push ebx
push esi
mov esi, 0x509500
push edi
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [0x509500]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [0x509500]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
lea esi, [ebp - 0xc4]
mov dword [ebp - 0x10], eax
call fcn.00445077
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push eax
push 0
push 0x400
or ebx, 0xffffffff
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov esi, eax
test esi, esi
jne 0x476512
or ebx, ebx
jmp 0x476540
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 esi
call eax
test eax, eax
jne 0x47653d
mov ebx, dword [ebp - 0x1c]
push esi
call edi
push ebx
push 8
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x476560
push 0x4e9bdc
lea eax, [ebp - 8]
call fcn.00423484
xor ebx, ebx
jmp 0x4765a0
push 0x424
xor ebx, ebx
lea eax, [ebp - 0x4e8]
push ebx
push eax
call fcn.004857c0
add esp, 0xc
lea eax, [ebp - 0x4ec]
push eax
push esi
mov dword [ebp - 0x4ec], 0x428
call sub.KERNEL32.DLL_Module32FirstW
push esi
call edi
lea eax, [ebp - 0x2cc]
push eax
lea eax, [ebp - 8]
call fcn.00423484
mov esi, dword [ebp - 8]
cmp dword [esi - 0xc], ebx
je 0x476697
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x476697
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.00476331
push esi
lea edi, [ebp - 0x18]
call fcn.00429008
pop ecx
lea edi, [ebp - 0x14]
call fcn.0042454d
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00401023
push esi
lea edi, [ebp - 0x94]
call fcn.0043fea6
test eax, eax
je 0x47662c
lea esi, [ebp - 0x80]
xor edi, edi
movzx eax, byte [ebp + edi - 0x90]
push eax
push str._02x
push esi
call fcn.00437260
add esp, 0xc
add esi, 4
inc edi
cmp edi, 0x10
jl 0x476606
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00414fa4
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jne 0x47664c
push 0x4e9bdc
lea eax, [ebp - 8]
call fcn.00423484
jmp 0x476658
lea ecx, [ebp - 0x30]
push ecx
lea edi, [ebp - 8]
call fcn.004763e5
lea eax, [ebp - 8]
lea edi, [ebp - 0x10]
call fcn.0042454d
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401023
cmp dword [ebp - 0x28], ebx
je 0x47667f
push dword [ebp - 0x28]
call fcn.00485474
pop ecx
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.00401023
lea ecx, [ebp - 0x94]
call fcn.0043fe7c
jmp 0x4766ae
mov edi, str.0000000000000000000000000000000
push edi
call fcn.00483779
pop ecx
mov ebx, eax
push edi
lea eax, [ebp - 0xc]
call fcn.00414fca
mov eax, dword [0x50a834]
mov ecx, dword [0x50a830]
imul eax, eax, 0x186a0
and ecx, 0xff
add eax, ecx
push eax
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.0046e002
lea eax, [esi - 0x10]
call fcn.00401023
lea edi, [ebp - 0xc4]
call fcn.004450ac
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