Function at 0x4e62690
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x2e
push 0
push 0
dec ecx
jne 0x4e62698
push ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e6311c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x34]
mov edx, dword [0x4ea6440]
mov dx, word [edx]
call fcn.04afa920
push dword [ebp - 0x34]
lea eax, [ebp - 0x38]
mov edx, dword [0x4ea6144]
mov dx, word [edx]
call fcn.04afa920
push dword [ebp - 0x38]
lea eax, [ebp - 0x3c]
mov edx, dword [0x4ea6184]
mov dx, word [edx]
call fcn.04afa920
push dword [ebp - 0x3c]
lea eax, [ebp - 0x40]
mov edx, dword [0x4ea6384]
mov dx, word [edx]
call fcn.04afa920
push dword [ebp - 0x40]
lea eax, [ebp - 0x44]
mov edx, dword [0x4ea6144]
mov dx, word [edx]
call fcn.04afa920
push dword [ebp - 0x44]
lea eax, [ebp - 0x48]
mov edx, dword [0x4ea6270]
mov dx, word [edx]
call fcn.04afa920
push dword [ebp - 0x48]
lea edx, [ebp - 0x4c]
mov eax, 3
call fcn.04b0fe9c
push dword [ebp - 0x4c]
lea edx, [ebp - 0x50]
mov eax, 2
call fcn.04b0fe9c
push dword [ebp - 0x50]
push 0x4e63138
lea eax, [ebp - 0x54]
mov edx, dword [0x4ea63e4]
mov dx, word [edx]
call fcn.04afa920
push dword [ebp - 0x54]
lea eax, [ebp - 0x58]
mov edx, dword [0x4ea6270]
mov dx, word [edx]
call fcn.04afa920
push dword [ebp - 0x58]
lea eax, [ebp - 0x5c]
mov edx, dword [0x4ea6270]
mov dx, word [edx]
call fcn.04afa920
push dword [ebp - 0x5c]
lea eax, [ebp - 0x30]
mov edx, 0xc
call fcn.04afabd4
mov eax, dword [ebp - 0x30]
call fcn.04afa8f8
push eax
call sub.kernel32.dll_GetModuleHandleW_1
mov dword [ebp - 0x1c], eax
mov eax, dword [0x4ea61e4]
mov al, byte [eax]
mov byte [ebp - 0x15], al
mov al, byte [ebp - 0x15]
add al, 0x9f
sub al, 0x1a
jae 0x4e627bf
sub byte [ebp - 0x15], 0x20
mov eax, dword [0x4ea61c8]
mov al, byte [eax]
mov byte [ebp - 0x16], al
mov al, byte [ebp - 0x16]
add al, 0x9f
sub al, 0x1a
jae 0x4e627d6
sub byte [ebp - 0x16], 0x20
mov eax, dword [0x4ea62f8]
mov al, byte [eax]
mov byte [ebp - 0x17], al
mov al, byte [ebp - 0x17]
add al, 0x9f
sub al, 0x1a
jae 0x4e627ed
sub byte [ebp - 0x17], 0x20
mov eax, dword [0x4ea614c]
mov al, byte [eax]
mov byte [ebp - 0x18], al
mov al, byte [ebp - 0x18]
add al, 0x9f
sub al, 0x1a
jae 0x4e62804
sub byte [ebp - 0x18], 0x20
lea eax, [ebp - 0x68]
mov dl, byte [ebp - 0x15]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0x68]
lea eax, [ebp - 0x6c]
mov edx, dword [0x4ea6140]
mov dl, byte [edx]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0x6c]
lea eax, [ebp - 0x70]
mov edx, dword [0x4ea6284]
mov dl, byte [edx]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0x70]
lea eax, [ebp - 0x74]
mov dl, byte [ebp - 0x16]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0x74]
lea eax, [ebp - 0x78]
mov edx, dword [0x4ea62dc]
mov dl, byte [edx]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0x78]
lea eax, [ebp - 0x7c]
mov edx, dword [0x4ea626c]
mov dl, byte [edx]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0x7c]
lea eax, [ebp - 0x80]
mov edx, dword [0x4ea6140]
mov dl, byte [edx]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0x80]
lea eax, [ebp - 0x84]
mov dl, byte [ebp - 0x17]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0x84]
lea eax, [ebp - 0x88]
mov edx, dword [0x4ea6284]
mov dl, byte [edx]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0x88]
lea eax, [ebp - 0x8c]
mov edx, dword [0x4ea6284]
mov dl, byte [edx]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0x8c]
lea eax, [ebp - 0x90]
mov edx, dword [0x4ea6180]
mov dl, byte [edx]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0x90]
lea eax, [ebp - 0x94]
mov edx, dword [0x4ea62dc]
mov dl, byte [edx]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0x94]
lea eax, [ebp - 0x98]
mov edx, dword [0x4ea62d8]
mov dl, byte [edx]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0x98]
lea eax, [ebp - 0x9c]
mov edx, dword [0x4ea635c]
mov dl, byte [edx]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0x9c]
lea eax, [ebp - 0xa0]
mov edx, dword [0x4ea6284]
mov dl, byte [edx]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0xa0]
lea eax, [ebp - 0xa4]
mov edx, dword [0x4ea6140]
mov dl, byte [edx]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0xa4]
lea eax, [ebp - 0xa8]
mov edx, dword [0x4ea649c]
mov dl, byte [edx]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0xa8]
lea eax, [ebp - 0xac]
mov dl, byte [ebp - 0x18]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0xac]
lea eax, [ebp - 0x64]
mov edx, 0x12
call fcn.04afa3d4
mov eax, dword [ebp - 0x64]
call fcn.04afa51c
mov edx, eax
lea eax, [ebp - 0x60]
mov ecx, 0
call fcn.04afa310
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x1c]
call fcn.04e612f4
mov dword [0x4ea2764], eax
mov eax, dword [ebp - 4]
call fcn.04afa6a4
push eax
call dword [0x4ea2764]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4e6308e
test byte [ebp - 0xb], 4
je 0x4e63084
test byte [ebp - 0xc], 0x10
je 0x4e62a4b
mov byte [ebp - 5], 0
jmp 0x4e630b1
lea eax, [ebp - 0xb4]
mov edx, dword [0x4ea6440]
mov dx, word [edx]
call fcn.04afa920
push dword [ebp - 0xb4]
lea eax, [ebp - 0xb8]
mov edx, dword [0x4ea6144]
mov dx, word [edx]
call fcn.04afa920
push dword [ebp - 0xb8]
lea eax, [ebp - 0xbc]
mov edx, dword [0x4ea6184]
mov dx, word [edx]
call fcn.04afa920
push dword [ebp - 0xbc]
lea eax, [ebp - 0xc0]
mov edx, dword [0x4ea6384]
mov dx, word [edx]
call fcn.04afa920
push dword [ebp - 0xc0]
lea eax, [ebp - 0xc4]
mov edx, dword [0x4ea6144]
mov dx, word [edx]
call fcn.04afa920
push dword [ebp - 0xc4]
lea eax, [ebp - 0xc8]
mov edx, dword [0x4ea6270]
mov dx, word [edx]
call fcn.04afa920
push dword [ebp - 0xc8]
lea edx, [ebp - 0xcc]
mov eax, 3
call fcn.04b0fe9c
push dword [ebp - 0xcc]
lea edx, [ebp - 0xd0]
mov eax, 2
call fcn.04b0fe9c
push dword [ebp - 0xd0]
push 0x4e63138
lea eax, [ebp - 0xd4]
mov edx, dword [0x4ea63e4]
mov dx, word [edx]
call fcn.04afa920
push dword [ebp - 0xd4]
lea eax, [ebp - 0xd8]
mov edx, dword [0x4ea6270]
mov dx, word [edx]
call fcn.04afa920
push dword [ebp - 0xd8]
lea eax, [ebp - 0xdc]
mov edx, dword [0x4ea6270]
mov dx, word [edx]
call fcn.04afa920
push dword [ebp - 0xdc]
lea eax, [ebp - 0xb0]
mov edx, 0xc
call fcn.04afabd4
mov eax, dword [ebp - 0xb0]
call fcn.04afa8f8
push eax
call sub.kernel32.dll_GetModuleHandleW_1
mov dword [ebp - 0x24], eax
mov eax, dword [0x4ea628c]
mov al, byte [eax]
mov byte [ebp - 0x1d], al
mov al, byte [ebp - 0x1d]
add al, 0x9f
sub al, 0x1a
jae 0x4e62ba1
sub byte [ebp - 0x1d], 0x20
mov eax, dword [0x4ea61c8]
mov al, byte [eax]
mov byte [ebp - 0x1e], al
mov al, byte [ebp - 0x1e]
add al, 0x9f
sub al, 0x1a
jae 0x4e62bb8
sub byte [ebp - 0x1e], 0x20
mov eax, dword [0x4ea614c]
mov al, byte [eax]
mov byte [ebp - 0x1f], al
mov al, byte [ebp - 0x1f]
add al, 0x9f
sub al, 0x1a
jae 0x4e62bcf
sub byte [ebp - 0x1f], 0x20
lea eax, [ebp - 0xe8]
mov dl, byte [ebp - 0x1d]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0xe8]
lea eax, [ebp - 0xec]
mov edx, dword [0x4ea6180]
mov dl, byte [edx]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0xec]
lea eax, [ebp - 0xf0]
mov edx, dword [0x4ea6140]
mov dl, byte [edx]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0xf0]
lea eax, [ebp - 0xf4]
mov edx, dword [0x4ea62f8]
mov dl, byte [edx]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0xf4]
lea eax, [ebp - 0xf8]
mov edx, dword [0x4ea6284]
mov dl, byte [edx]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0xf8]
lea eax, [ebp - 0xfc]
mov edx, dword [0x4ea6140]
mov dl, byte [edx]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0xfc]
lea eax, [ebp - 0x100]
mov dl, byte [ebp - 0x1e]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0x100]
lea eax, [ebp - 0x104]
mov edx, dword [0x4ea62dc]
mov dl, byte [edx]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0x104]
lea eax, [ebp - 0x108]
mov edx, dword [0x4ea626c]
mov dl, byte [edx]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0x108]
lea eax, [ebp - 0x10c]
mov edx, dword [0x4ea6140]
mov dl, byte [edx]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0x10c]
lea eax, [ebp - 0x110]
mov dl, byte [ebp - 0x1f]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0x110]
lea eax, [ebp - 0xe4]
mov edx, 0xb
call fcn.04afa3d4
mov eax, dword [ebp - 0xe4]
call fcn.04afa51c
mov edx, eax
lea eax, [ebp - 0xe0]
mov ecx, 0
call fcn.04afa310
mov edx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0x24]
call fcn.04e612f4
mov dword [0x4ea275c], eax
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.04afa6a4
push eax
call dword [0x4ea275c]
mov dword [ebp - 0x10], eax
call sub.kernel32.dll_GetLastError_2
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x4e6307a
lea eax, [ebp - 0x118]
mov edx, dword [0x4ea6440]
mov dx, word [edx]
call fcn.04afa920
push dword [ebp - 0x118]
lea eax, [ebp - 0x11c]
mov edx, dword [0x4ea6144]
mov dx, word [edx]
call fcn.04afa920
push dword [ebp - 0x11c]
lea eax, [ebp - 0x120]
mov edx, dword [0x4ea6184]
mov dx, word [edx]
call fcn.04afa920
push dword [ebp - 0x120]
lea eax, [ebp - 0x124]
mov edx, dword [0x4ea6384]
mov dx, word [edx]
call fcn.04afa920
push dword [ebp - 0x124]
lea eax, [ebp - 0x128]
mov edx, dword [0x4ea6144]
mov dx, word [edx]
call fcn.04afa920
push dword [ebp - 0x128]
lea eax, [ebp - 0x12c]
mov edx, dword [0x4ea6270]
mov dx, word [edx]
call fcn.04afa920
push dword [ebp - 0x12c]
lea edx, [ebp - 0x130]
mov eax, 3
call fcn.04b0fe9c
push dword [ebp - 0x130]
lea edx, [ebp - 0x134]
mov eax, 2
call fcn.04b0fe9c
push dword [ebp - 0x134]
push 0x4e63138
lea eax, [ebp - 0x138]
mov edx, dword [0x4ea63e4]
mov dx, word [edx]
call fcn.04afa920
push dword [ebp - 0x138]
lea eax, [ebp - 0x13c]
mov edx, dword [0x4ea6270]
mov dx, word [edx]
call fcn.04afa920
push dword [ebp - 0x13c]
lea eax, [ebp - 0x140]
mov edx, dword [0x4ea6270]
mov dx, word [edx]
call fcn.04afa920
push dword [ebp - 0x140]
lea eax, [ebp - 0x114]
mov edx, 0xc
call fcn.04afabd4
mov eax, dword [ebp - 0x114]
call fcn.04afa8f8
push eax
call sub.kernel32.dll_GetModuleHandleW_1
mov dword [ebp - 0x2c], eax
mov eax, dword [0x4ea628c]
mov al, byte [eax]
mov byte [ebp - 0x25], al
mov al, byte [ebp - 0x25]
add al, 0x9f
sub al, 0x1a
jae 0x4e62ed3
sub byte [ebp - 0x25], 0x20
mov eax, dword [0x4ea6378]
mov al, byte [eax]
mov byte [ebp - 0x26], al
mov al, byte [ebp - 0x26]
add al, 0x9f
sub al, 0x1a
jae 0x4e62eea
sub byte [ebp - 0x26], 0x20
lea eax, [ebp - 0x14c]
mov dl, byte [ebp - 0x25]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0x14c]
lea eax, [ebp - 0x150]
mov edx, dword [0x4ea626c]
mov dl, byte [edx]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0x150]
lea eax, [ebp - 0x154]
mov edx, dword [0x4ea60ec]
mov dl, byte [edx]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0x154]
lea eax, [ebp - 0x158]
mov edx, dword [0x4ea649c]
mov dl, byte [edx]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0x158]
lea eax, [ebp - 0x15c]
mov edx, dword [0x4ea6140]
mov dl, byte [edx]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0x15c]
lea eax, [ebp - 0x160]
mov dl, byte [ebp - 0x26]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0x160]
lea eax, [ebp - 0x164]
mov edx, dword [0x4ea62f8]
mov dl, byte [edx]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0x164]
lea eax, [ebp - 0x168]
mov edx, dword [0x4ea6380]
mov dl, byte [edx]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0x168]
lea eax, [ebp - 0x16c]
mov edx, dword [0x4ea63e0]
mov dl, byte [edx]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0x16c]
lea eax, [ebp - 0x170]
mov edx, dword [0x4ea626c]
mov dl, byte [edx]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0x170]
lea eax, [ebp - 0x174]
mov edx, dword [0x4ea6140]
mov dl, byte [edx]
mov ecx, 0
call fcn.04afa300
push dword [ebp - 0x174]
lea eax, [ebp - 0x148]
mov edx, 0xb
call fcn.04afa3d4
mov eax, dword [ebp - 0x148]
call fcn.04afa51c
mov edx, eax
lea eax, [ebp - 0x144]
mov ecx, 0
call fcn.04afa310
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x2c]
call fcn.04e612f4
mov dword [0x4ea2758], eax
mov eax, dword [ebp - 0x10]
push eax
call dword [0x4ea2758]
mov byte [ebp - 5], 1
jmp 0x4e630b1
cmp dword [ebp - 0x14], 0x20
sete byte [ebp - 5]
jmp 0x4e630b1
test byte [ebp - 0xc], 0x10
sete byte [ebp - 5]
jmp 0x4e630b1
call sub.kernel32.dll_GetLastError_2
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
je 0x4e630a8
cmp dword [ebp - 0x14], 3
je 0x4e630a8
cmp dword [ebp - 0x14], 0x7b
jne 0x4e630ac
xor eax, eax
jmp 0x4e630ae
mov al, 1
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e63123
lea eax, [ebp - 0x174]
mov edx, 0xd
call fcn.04af9cd0
lea eax, [ebp - 0x140]
mov edx, 0xc
call fcn.04af9ca0
lea eax, [ebp - 0x110]
mov edx, 0xd
call fcn.04af9cd0
lea eax, [ebp - 0xdc]
mov edx, 0xc
call fcn.04af9ca0
lea eax, [ebp - 0xac]
mov edx, 0x14
call fcn.04af9cd0
lea eax, [ebp - 0x5c]
mov edx, 0xc
call fcn.04af9ca0
ret