Function at 0x4d58d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
neg eax
mov dword [ebp - 0x1c], eax
test edi, edi
je 0x4d5afc
cmp esi, 8
ja 0x4d5c6e
mov eax, dword [ebp + 0x10]
dec eax
mov dword [ebp - 0x28], eax
mov al, 1
lea ebx, [esi - 2]
mov dword [ebp - 0x20], ebx
cmp ebx, 6
mov dword [ebp - 0x10], eax
jbe 0x4d5bd9
mov esi, 1
mov ecx, 0x2000
xor ebx, ebx
mov dword [ebp - 0x14], ecx
movzx eax, byte [0x59b37c]
mov byte [ebp - 0x24], al
mov dword [ebp - 0x18], esi
push esi
push ecx
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebp - 0x14]
mov esi, eax
test bl, bl
je 0x4d595b
mov eax, ecx
and eax, 0x1000
je 0x4d595b
cmp byte [ebp - 0x24], 0
je 0x4d595b
test esi, esi
je 0x4d5cb1
test esi, esi
je 0x4d5ac7
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp + 0xc]
lock add dword [0x59b380], eax
test dword [ebp - 0x28], esi
je 0x4d5abd
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x4d5c6b
mov eax, dword [ebp + 0xc]
lock sub dword [0x59b380], eax
add esi, dword [ebp - 0x28]
and esi, dword [ebp - 0x1c]
mov edi, esi
test byte [ebp - 0x10], 1
mov eax, 0
mov esi, dword [ebp + 0x14]
jne 0x4d5907
mov eax, dword [ebp + 0x10]
add eax, 0xffff0000
mov dword [ebp - 0x24], eax
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
jb 0x4d5c74
cmp ebx, 6
jbe 0x4d5bf1
mov edi, 0x2000
mov dword [ebp - 0x10], 0
xor eax, eax
inc eax
mov dword [ebp - 0x1c], eax
mov ebx, edi
shr ebx, 0xc
and bl, byte [0x59b37c]
push eax
push edi
push dword [ebp - 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
sete al
and al, byte [ebp - 0x10]
and al, bl
cmp al, 1
je 0x4d615c
test esi, esi
je 0x4d5b0b
mov eax, dword [ebp - 0x14]
lock add dword [0x59b380], eax
mov eax, dword [ebp - 0x28]
and eax, esi
mov ebx, dword [ebp + 0x10]
cmove ebx, eax
sub ebx, eax
mov eax, dword [ebp - 0x24]
sub eax, ebx
or eax, ebx
je 0x4d5abd
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x4d5c71
mov eax, dword [ebp - 0x14]
lock sub dword [0x59b380], eax
cmp dword [ebp + 0x14], 2
jae 0x4d5c0c
mov edi, 0x2000
mov dword [ebp - 0x10], 0
xor eax, eax
inc eax
add ebx, esi
mov cl, byte [0x59b37c]
mov byte [ebp - 0x1c], cl
mov dword [ebp - 0x18], eax
push eax
push edi
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
cmp byte [ebp - 0x10], 0
je 0x4d5aaf
mov eax, edi
and eax, 0x1000
je 0x4d5aaf
cmp byte [ebp - 0x1c], 0
je 0x4d5aaf
test esi, esi
je 0x4d63d3
test esi, esi
je 0x4d5ae5
mov eax, dword [ebp + 0xc]
lock add dword [0x59b380], eax
mov eax, esi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
xchg dword [0x59b370], eax
xor esi, esi
test edi, edi
mov ebx, dword [ebp - 0x20]
jne 0x4d5999
jmp 0x4d5c80
call dword [sym.imp.KERNEL32.dll_GetLastError]
xchg dword [0x59b370], eax
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x20]
jmp 0x4d59ca
call fcn.004e7860
mov edi, eax
and edi, dword [ebp - 0x1c]
jmp 0x4d58ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
xchg dword [0x59b370], eax
push 0x59b384
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x4d5b30
mov ecx, 0x59b384
call fcn.004cee20
mov eax, dword [0x59b374]
test eax, eax
mov ebx, dword [ebp - 0x20]
je 0x4d5b6b
mov esi, dword [0x59b378]
push 0x8000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x4d5c77
lock sub dword [0x59b380], esi
xor eax, eax
mov dword [0x59b374], eax
mov dword [0x59b378], eax
push 0x59b384
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp dword [ebp + 0x14], 2
jae 0x4d5c2f
mov edi, 0x2000
mov dword [ebp - 0x10], 0
xor eax, eax
inc eax
mov dword [ebp - 0x1c], eax
mov ebx, edi
shr ebx, 0xc
and bl, byte [0x59b37c]
push eax
push edi
push dword [ebp - 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
sete al
and al, byte [ebp - 0x10]
and al, bl
cmp al, 1
je 0x4d5f08
test esi, esi
jne 0x4d5a19
call dword [sym.imp.KERNEL32.dll_GetLastError]
xchg dword [0x59b370], eax
xor esi, esi
jmp 0x4d5abd
mov ecx, 0x3000
jmp dword [ebx*4 + 0x5797d8]
mov esi, 4
mov bl, 1
jmp 0x4d591f
mov edi, 0x3000
jmp dword [ebx*4 + 0x5797f4]
mov eax, 4
mov dl, 1
mov dword [ebp - 0x10], edx
jmp 0x4d59e2
mov eax, dword [ebp - 0x20]
cmp eax, 6
ja case.default.0x4d5c19
mov edi, 0x3000
jmp dword [eax*4 + 0x57982c]
mov eax, 4
mov cl, 1
mov dword [ebp - 0x10], ecx
jmp 0x4d5a76
cmp ebx, 6
ja case.default.0x4d5c39
mov edi, 0x3000
jmp dword [ebx*4 + 0x579810]
mov eax, 4
mov dl, 1
mov dword [ebp - 0x10], edx
jmp 0x4d5b8f
mov esi, 0x40
jmp case.0x4d5bde.2
mov eax, 0x40
jmp 0x4d5c02
mov eax, 0x40
jmp 0x4d5c25
mov eax, 0x40
jmp 0x4d5c45
int3
int3
int3
int3
int3
int3
int3
call fcn.0054d5f0
sub esp, 8
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push 0
call fcn.0054d330
add esp, 0x14
mov esi, eax
test eax, eax
jne 0x4d5966
jmp 0x4d5bd2
mov esi, 0x20
jmp case.0x4d5bde.2
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d5ccd
cmp eax, 0x27b
jne 0x4d5ac7
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5963
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d5d0b
cmp eax, 0x27b
jne 0x4d5ac7
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5963
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d5d49
cmp eax, 0x27b
jne 0x4d5ac7
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5963
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d5d87
cmp eax, 0x27b
jne 0x4d5ac7
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5963
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d5dc5
cmp eax, 0x27b
jne 0x4d5ac7
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5963
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d5e03
cmp eax, 0x27b
jne 0x4d5ac7
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5963
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d5e41
cmp eax, 0x27b
jne 0x4d5ac7
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5963
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d5e7f
cmp eax, 0x27b
jne 0x4d5ac7
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5963
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d5ebd
cmp eax, 0x27b
jne 0x4d5ac7
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5963
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d5efb
cmp eax, 0x27b
jne 0x4d5ac7
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4d5ac7
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d5f2a
cmp eax, 0x27b
jne 0x4d5bc6
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5a19
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d5f67
cmp eax, 0x27b
jne 0x4d5bc6
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5a19
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d5fa4
cmp eax, 0x27b
jne 0x4d5bc6
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5a19
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d5fe1
cmp eax, 0x27b
jne 0x4d5bc6
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5a19
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d601e
cmp eax, 0x27b
jne 0x4d5bc6
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5a19
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d605b
cmp eax, 0x27b
jne 0x4d5bc6
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5a19
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d6098
cmp eax, 0x27b
jne 0x4d5bc6
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5a19
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d60d5
cmp eax, 0x27b
jne 0x4d5bc6
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5a19
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d6112
cmp eax, 0x27b
jne 0x4d5bc6
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5a19
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d614f
cmp eax, 0x27b
jne 0x4d5bc6
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4d5bc6
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d617e
cmp eax, 0x27b
jne 0x4d5b0b
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5a19
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d61bb
cmp eax, 0x27b
jne 0x4d5b0b
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5a19
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d61f8
cmp eax, 0x27b
jne 0x4d5b0b
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5a19
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d6235
cmp eax, 0x27b
jne 0x4d5b0b
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5a19
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d6272
cmp eax, 0x27b
jne 0x4d5b0b
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5a19
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d62af
cmp eax, 0x27b
jne 0x4d5b0b
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5a19
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d62ec
cmp eax, 0x27b
jne 0x4d5b0b
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5a19
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d6329
cmp eax, 0x27b
jne 0x4d5b0b
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5a19
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d6366
cmp eax, 0x27b
jne 0x4d5b0b
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5a19
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d63a3
cmp eax, 0x27b
jne 0x4d5b0b
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4d5b0b
mov eax, esi
jmp 0x4d5c02
mov eax, 0x20
jmp 0x4d5c02
mov eax, dword [ebp + 0x14]
jmp 0x4d5c25
mov eax, 0x20
jmp 0x4d5c25
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d63ef
cmp eax, 0x27b
jne 0x4d5ae5
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x18]
push edi
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5ab3
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d642b
cmp eax, 0x27b
jne 0x4d5ae5
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x18]
push edi
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5ab3
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d6467
cmp eax, 0x27b
jne 0x4d5ae5
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x18]
push edi
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5ab3
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d64a3
cmp eax, 0x27b
jne 0x4d5ae5
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x18]
push edi
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5ab3
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d64df
cmp eax, 0x27b
jne 0x4d5ae5
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x18]
push edi
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5ab3
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d651b
cmp eax, 0x27b
jne 0x4d5ae5
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x18]
push edi
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5ab3
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d6557
cmp eax, 0x27b
jne 0x4d5ae5
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x18]
push edi
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5ab3
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d6593
cmp eax, 0x27b
jne 0x4d5ae5
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x18]
push edi
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5ab3
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d65cf
cmp eax, 0x27b
jne 0x4d5ae5
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x18]
push edi
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
jne 0x4d5ab3
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4d660b
cmp eax, 0x27b
jne 0x4d5ae5
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4d5ae5
mov eax, dword [ebp + 0x14]
jmp 0x4d5c45
mov eax, 0x20
jmp 0x4d5c45