Function at 0x10042df0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010da2f
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x10137920]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov esi, edx
mov dword [ebp - 0xc4], esi
cmp dword [esi + 0x10], 0
je 0x100432df
cmp dword [esi + 0x14], 8
jb 0x10042e3f
mov eax, dword [esi]
jmp 0x10042e41
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
je 0x100432df
push 0
lea edi, [ebp - 0xe0]
call fcn.100355bb
xor edi, edi
mov dword [ebp - 4], edi
push ebx
lea eax, [ebp - 0x68]
push eax
call fcn.1000b440
mov ebx, 1
mov byte [ebp - 4], bl
sub esp, 0x14
mov dword [ebp - 0xc8], esp
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], edi
xor edx, edx
mov word [ecx], dx
push ebx
push 0x10123324
call fcn.1000abb0
mov byte [ebp - 4], 2
push esi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xe0]
call fcn.10042690
test al, al
jne 0x10042edd
mov byte [ebp - 4], al
cmp dword [ebp - 0x54], 0x10
jb 0x10042eca
mov eax, dword [ebp - 0x68]
push eax
call fcn.10065453
add esp, 4
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], edi
mov byte [ebp - 0x68], 0
jmp 0x100432cd
mov byte [ebp - 4], 3
push 0x10127558
lea ecx, [ebp - 0xe0]
call fcn.10035fd1
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, eax
call fcn.10035a19
mov byte [ebp - 4], 4
cmp dword [ebp - 0x3c], edi
lea eax, [ebp - 0x68]
je 0x10042f0b
lea eax, [ebp - 0x4c]
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x68]
call fcn.10004180
mov byte [ebp - 4], 3
cmp dword [ebp - 0x38], 0x10
jb 0x10042f2d
mov edx, dword [ebp - 0x4c]
push edx
call fcn.10065453
add esp, 4
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], edi
mov byte [ebp - 0x4c], 0
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc0], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xcc], reloc.WS2_32.dll_accept
lea eax, [ebp - 0x68]
push eax
lea ebx, [ebp - 0xbc]
call fcn.1000b570
add esp, 4
mov dword [ebp - 0xc8], eax
mov byte [ebp - 4], 6
mov edi, 7
mov dword [ebp - 0x1c], edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
xor ecx, ecx
mov word [ebp - 0x30], cx
push 1
push 0x1012329c
lea ecx, [ebp - 0x30]
call fcn.1000abb0
mov byte [ebp - 4], 7
lea esi, [ebp - 0xa0]
call fcn.1004cfa0
mov byte [ebp - 4], 8
lea edx, [ebp - 0x30]
push edx
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.10010440
add esp, 0xc
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xc8]
push ecx
push eax
lea edx, [ebp - 0x84]
push edx
call fcn.10010440
add esp, 0xc
mov byte [ebp - 4], 0xb
mov esi, 8
cmp dword [ebp - 0x38], esi
jb 0x10042fe9
mov eax, dword [ebp - 0x4c]
push eax
call fcn.10065453
add esp, 4
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
xor ecx, ecx
mov word [ebp - 0x4c], cx
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x8c], esi
jb 0x10043010
mov edx, dword [ebp - 0xa0]
push edx
call fcn.10065453
add esp, 4
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x90], ebx
xor eax, eax
mov word [ebp - 0xa0], ax
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x1c], esi
jb 0x1004303a
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10065453
add esp, 4
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
xor edx, edx
mov word [ebp - 0x30], dx
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0xa8], esi
jb 0x10043061
mov eax, dword [ebp - 0xbc]
push eax
call fcn.10065453
add esp, 4
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xac], ebx
xor ecx, ecx
mov word [ebp - 0xbc], cx
call fcn.100197f0
xor edx, edx
push ebx
push 0x101134e8
test al, al
je 0x100431a2
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], dx
lea ecx, [ebp - 0x30]
call fcn.1000abb0
mov byte [ebp - 4], 0xf
push 0x200
push 1
mov esi, dword [ebp - 0xc4]
push esi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0xc0]
call fcn.100148b0
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x1c], 8
jb 0x100430db
mov edx, dword [ebp - 0x30]
push edx
call fcn.10065453
add esp, 4
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
xor eax, eax
mov word [ebp - 0x30], ax
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
xor ecx, ecx
mov word [ebp - 0x4c], cx
push ebx
push 0x101134e8
lea ecx, [ebp - 0x4c]
call fcn.1000abb0
mov byte [ebp - 4], 0x10
push 0x100
push 1
push esi
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0xc0]
call fcn.100148b0
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x38], 8
jb 0x10043139
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.10065453
add esp, 4
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
xor edx, edx
mov word [ebp - 0x4c], dx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
xor eax, eax
mov word [ebp - 0x30], ax
push ebx
push 0x101134e8
lea ecx, [ebp - 0x30]
call fcn.1000abb0
mov byte [ebp - 4], 0x11
push 0x100
push 1
push esi
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x84]
push edx
lea ecx, [ebp - 0xcc]
call fcn.100148b0
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x1c], 8
jb 0x10043197
mov eax, dword [ebp - 0x30]
push eax
call fcn.10065453
add esp, 4
xor ecx, ecx
mov word [ebp - 0x30], cx
jmp 0x1004324e
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], dx
lea ecx, [ebp - 0x4c]
call fcn.1000abb0
mov byte [ebp - 4], 0x12
push ebx
push 1
mov esi, dword [ebp - 0xc4]
push esi
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0xc0]
call fcn.100148b0
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x38], 8
jb 0x100431ee
mov edx, dword [ebp - 0x4c]
push edx
call fcn.10065453
add esp, 4
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
xor eax, eax
mov word [ebp - 0x4c], ax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
xor ecx, ecx
mov word [ebp - 0x30], cx
push ebx
push 0x101134e8
lea ecx, [ebp - 0x30]
call fcn.1000abb0
mov byte [ebp - 4], 0x13
push ebx
push 1
push esi
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0xcc]
call fcn.100148b0
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x1c], 8
jb 0x10043248
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10065453
add esp, 4
xor edx, edx
mov word [ebp - 0x30], dx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 1
cmp dword [ebp - 0x70], 8
jb 0x1004326d
mov eax, dword [ebp - 0x84]
push eax
call fcn.10065453
add esp, 4
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], ebx
xor ecx, ecx
mov word [ebp - 0x84], cx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x54], 0x10
jb 0x10043291
mov edx, dword [ebp - 0x68]
push edx
call fcn.10065453
add esp, 4
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe0]
call fcn.100357d8
mov al, 1
jmp 0x100432e1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe0]
call fcn.100357d8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1006656c
mov esp, ebp
pop ebp
ret