Function at 0x4111c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a8622
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x61cff8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x294], esi
xor eax, eax
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], eax
mov word [ebp - 0x248], ax
push 0x104
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.00582137
add esp, 8
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x248]
push 6
push 0x5f4f2c
call fcn.0040f000
xor eax, eax
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
cmp word [ebp - 0x218], ax
jne 0x4112a0
xor ecx, ecx
jmp 0x4112bf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4112b0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x260]
call fcn.0040f000
push 0x5f4ef0
lea edx, [ebp - 0x260]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x290]
call fcn.0040edd0
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 3
push ecx
mov edx, eax
lea ecx, [ebp - 0x278]
call fcn.00411850
add esp, 8
mov edi, eax
lea eax, [ebp - 0x230]
cmp eax, edi
je 0x41135a
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x411331
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.0040b950
xor eax, eax
mov dword [ebp - 0x21c], 7
push edi
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.004100a0
mov eax, dword [ebp - 0x264]
cmp eax, 8
jb 0x411378
inc eax
lea ecx, [ebp - 0x278]
push eax
push dword [ebp - 0x278]
call fcn.0040b950
xor eax, eax
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x268], 0
cmp eax, 8
jb 0x4113b3
inc eax
lea ecx, [ebp - 0x290]
push eax
push dword [ebp - 0x290]
call fcn.0040b950
xor eax, eax
mov byte [ebp - 4], 1
mov word [ebp - 0x290], ax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x27c], 7
mov dword [ebp - 0x280], 0
cmp eax, 8
jb 0x4113f2
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call fcn.0040b950
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [esi + 0x14], 7
mov ecx, esi
mov dword [esi + 0x10], 0
test eax, eax
je 0x41147c
xor eax, eax
mov word [esi], ax
lea eax, [ebp - 0x230]
push eax
call fcn.004100a0
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x411450
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.0040b950
mov ecx, dword [ebp - 0x21c]
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
cmp ecx, 8
jb 0x4114e5
inc ecx
push ecx
jmp 0x4114d4
xor eax, eax
push eax
push 0x5f3f54
mov word [esi], ax
call fcn.0040f000
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x4114aa
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.0040b950
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x238], 0
cmp eax, 8
jb 0x4114e5
inc eax
push eax
push dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
call fcn.0040b950
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057e2f0
mov esp, ebp
pop ebp
ret