Function at 0x42ad10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6446e7
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x6c3afc]
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 eax, dword [ebp + 8]
xor edi, edi
lea esi, [ebp - 0x128]
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x150], edi
call fcn.004324d0
mov dword [ebp - 4], edi
lea esi, [ebp - 0xf0]
mov dword [ebp - 0x14c], reloc.WS2_32.dll_accept
call fcn.00432470
mov ebx, eax
lea esi, [ebp - 0xb8]
mov byte [ebp - 4], 1
call fcn.0043a550
mov esi, eax
push 0x688728
lea ecx, [ebp - 0x128]
push ecx
lea edx, [ebp - 0x9c]
push edx
mov byte [ebp - 4], 2
call fcn.0040aa60
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0x80]
push eax
mov byte [ebp - 4], 3
call fcn.0040ada0
add esp, 0xc
mov dword [ebp - 0x148], eax
mov byte [ebp - 4], 4
cmp dword [0x6ce720], edi
jne 0x42adf7
push 0x138
call fcn.004eff75
add esp, 4
mov dword [ebp - 0x154], eax
mov byte [ebp - 4], 5
cmp eax, edi
je 0x42adec
mov esi, eax
call fcn.00434ee0
jmp 0x42adee
xor eax, eax
mov byte [ebp - 4], 4
mov dword [0x6ce720], eax
lea ecx, [ebp - 0x14c]
push ecx
mov ecx, dword [ebp - 0x148]
mov edx, ebx
lea esi, [ebp - 0x64]
call fcn.00435610
mov ebx, 8
cmp dword [ebp - 0x6c], ebx
jb 0x42ae24
mov edx, dword [ebp - 0x80]
push edx
call fcn.004effaf
add esp, 4
mov esi, 7
xor eax, eax
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], edi
mov word [ebp - 0x80], ax
cmp dword [ebp - 0x88], ebx
jb 0x42ae4c
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], edi
mov word [ebp - 0x9c], dx
cmp dword [ebp - 0xa4], ebx
jb 0x42ae78
mov eax, dword [ebp - 0xb8]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa8], edi
mov word [ebp - 0xb8], cx
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xdc], ebx
jb 0x42aea8
mov edx, dword [ebp - 0xf0]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xe0], edi
mov word [ebp - 0xf0], ax
cmp dword [ebp - 0x54], edi
jne 0x42b047
lea esi, [ebp - 0x144]
mov dword [ebp - 0x148], reloc.OLEAUT32.dll_SysReAllocString
call fcn.00432470
mov ebx, eax
lea esi, [ebp - 0x10c]
mov byte [ebp - 4], 0xb
call fcn.0043a550
mov esi, eax
push 0x688728
lea ecx, [ebp - 0x128]
push ecx
lea edx, [ebp - 0xd4]
push edx
mov byte [ebp - 4], 0xc
call fcn.0040aa60
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 0xd
call fcn.0040ada0
add esp, 0xc
mov dword [ebp - 0x14c], eax
mov byte [ebp - 4], 0xe
cmp dword [0x6ce720], edi
jne 0x42af60
push 0x138
call fcn.004eff75
add esp, 4
mov dword [ebp - 0x154], eax
mov byte [ebp - 4], 0xf
cmp eax, edi
je 0x42af55
mov esi, eax
call fcn.00434ee0
jmp 0x42af57
xor eax, eax
mov byte [ebp - 4], 0xe
mov dword [0x6ce720], eax
lea ecx, [ebp - 0x148]
push ecx
mov ecx, dword [ebp - 0x14c]
mov edx, ebx
lea esi, [ebp - 0x2c]
call fcn.00435610
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x10
call fcn.00402260
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x42af9a
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov ebx, 7
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], esi
jb 0x42afbc
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], dx
cmp dword [ebp - 0xc0], esi
jb 0x42afdf
mov eax, dword [ebp - 0xd4]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xc4], edi
mov word [ebp - 0xd4], cx
cmp dword [ebp - 0xf8], esi
jb 0x42b00b
mov edx, dword [ebp - 0x10c]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov byte [ebp - 4], 0xa
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0xfc], edi
mov word [ebp - 0x10c], ax
cmp dword [ebp - 0x130], esi
jb 0x42b03b
mov ecx, dword [ebp - 0x144]
push ecx
call fcn.004effaf
add esp, 4
cmp dword [ebp - 0x54], edi
je 0x42b08b
mov ebx, esi
mov esi, 7
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], ebx
jae 0x42b052
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
je 0x42b08d
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x64]
xor edx, edx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
call fcn.00403240
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x11
mov ebx, 1
jmp 0x42b0b6
mov esi, ebx
xor ecx, ecx
push edi
mov word [ebp - 0x48], cx
push 0x688638
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edi
call fcn.00403600
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 0x12
mov ebx, 2
mov esi, dword [ebp - 0x158]
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
push eax
mov ecx, esi
mov dword [ebp - 0x150], ebx
mov word [esi], dx
call fcn.00402260
or ebx, 4
test bl, 2
je 0x42b106
and ebx, 0xfffffffd
cmp dword [ebp - 0x34], 8
jb 0x42b0f6
mov eax, dword [ebp - 0x48]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], cx
test bl, 1
je 0x42b12d
cmp dword [ebp - 0x18], 8
jb 0x42b11d
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x50], 8
jb 0x42b13f
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
cmp dword [ebp - 0x114], 8
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], dx
jb 0x42b167
mov eax, dword [ebp - 0x128]
push eax
call fcn.004effaf
add esp, 4
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.005dd8e2
mov esp, ebp
pop ebp
ret