Function at 0x482000
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov ebx, edi
shr ebx, 0xc
and bl, byte [0x59b37c]
cmp esi, 1
setne byte [ebp - 0xd]
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
sete cl
and cl, byte [ebp - 0xd]
and cl, bl
cmp cl, 1
je 0x482044
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, esi
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x482065
cmp eax, 0x27b
je 0x482065
xor eax, eax
jmp 0x48203c
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x48203c
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x482095
cmp eax, 0x27b
jne 0x482061
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x48203c
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4820c5
cmp eax, 0x27b
jne 0x482061
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x48203c
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4820fd
cmp eax, 0x27b
jne 0x482061
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x48203c
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x482135
cmp eax, 0x27b
jne 0x482061
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x48203c
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x48216d
cmp eax, 0x27b
jne 0x482061
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x48203c
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4821a5
cmp eax, 0x27b
jne 0x482061
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x48203c
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4821dd
cmp eax, 0x27b
jne 0x482061
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x48203c
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x482215
cmp eax, 0x27b
jne 0x482061
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x48203c
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x48224d
cmp eax, 0x27b
jne 0x482061
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x482061