Function at 0x10011d50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101082f0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x10137920]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x48], 0
lea edi, [ebx + 0x38]
mov esi, edx
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], 0
je 0x10011dc6
cmp dword [edi + 0x14], 8
jb 0x10011d9c
mov eax, dword [edi]
jmp 0x10011d9e
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
je 0x10011dc6
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
jmp 0x10011f90
cmp byte [ebx + 0x134], 0
je 0x10011e94
cmp dword [ebx + 0x128], 0
je 0x10011e94
call fcn.10019850
lea esi, [ebp - 0x48]
cmp eax, 1
je 0x10011e30
call fcn.1001c500
mov dword [ebp - 0x68], eax
lea esi, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.1001c3b0
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.1000a320
push 0xffffffffffffffff
push 0
add ebx, 0x118
push ebx
mov ecx, eax
call fcn.1000a320
mov ecx, dword [ebp - 0x68]
push 0xffffffffffffffff
push 0
push ecx
jmp 0x10011e71
call fcn.1001c530
mov dword [ebp - 0x68], eax
lea esi, [ebp - 0x2c]
mov dword [ebp - 4], 2
call fcn.1001c3e0
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.1000a320
push 0xffffffffffffffff
push 0
add ebx, 0x118
push ebx
mov ecx, eax
call fcn.1000a320
mov edx, dword [ebp - 0x68]
push 0xffffffffffffffff
push 0
push edx
mov ecx, eax
call fcn.1000a320
lea ecx, [ebp - 0x2c]
call fcn.1000b180
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.1000b180
jmp 0x10011f7a
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x68], reloc.WS2_32.dll_accept
call fcn.1001c560
mov dword [ebp - 0x6c], eax
lea esi, [ebp - 0x48]
mov dword [ebp - 4], 4
call fcn.1001c320
mov edx, dword [ebp - 0x6c]
push 0
lea ecx, [ebp - 0x68]
push ecx
mov ecx, eax
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.10011fc0
push eax
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.10009ca0
mov esi, 8
cmp dword [ebp - 0x50], esi
jb 0x10011eee
mov edx, dword [ebp - 0x64]
push edx
call fcn.10065453
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
cmp dword [ebp - 0x34], esi
jb 0x10011f13
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.10065453
add esp, 4
xor edx, edx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x18], esi
jb 0x10011f3f
mov eax, dword [ebp - 0x2c]
push eax
call fcn.10065453
add esp, 4
cmp dword [ebx + 0x48], 0
jne 0x10011f7a
push 0x1010fff8
lea esi, [ebp - 0x2c]
call fcn.10012840
push eax
mov ecx, edi
mov dword [ebp - 4], 7
call fcn.10009ca0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x10011f7a
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.10065453
add esp, 4
mov esi, dword [ebp - 0x70]
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], dx
push 0xffffffffffffffff
push 0
push edi
mov ecx, esi
call fcn.1000b050
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006656c
mov esp, ebp
pop ebp
ret