Function at 0x42dbb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6444cb
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
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 ebx, ebx
mov dword [ebp - 0xe0], ebx
xor ecx, ecx
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], cx
mov dword [ebp - 4], ebx
lea esi, [ebp - 0xd4]
mov dword [ebp - 0xdc], reloc.WS2_32.dll_accept
call fcn.004324a0
mov dword [ebp - 0xd8], eax
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.00432b60
mov edi, eax
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.004324d0
push 0x688728
push eax
lea edx, [ebp - 0x80]
push edx
mov byte [ebp - 4], 3
call fcn.0040ac00
add esp, 0xc
push edi
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 4
call fcn.0040ada0
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 5
cmp dword [0x6ce720], ebx
jne 0x42dca8
push 0x138
call fcn.004eff75
add esp, 4
mov dword [ebp - 0xe4], eax
mov byte [ebp - 4], 6
cmp eax, ebx
je 0x42dc9d
mov esi, eax
call fcn.00434ee0
jmp 0x42dc9f
xor eax, eax
mov byte [ebp - 4], 5
mov dword [0x6ce720], eax
mov edx, dword [ebp - 0xd8]
lea ecx, [ebp - 0xdc]
push ecx
mov ecx, edi
lea esi, [ebp - 0x2c]
call fcn.00435610
push eax
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 7
call fcn.00402260
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x42dce5
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov edi, 7
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], esi
jb 0x42dd07
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x6c], esi
jb 0x42dd24
mov eax, dword [ebp - 0x80]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
cmp dword [ebp - 0x88], esi
jb 0x42dd47
mov edx, dword [ebp - 0x9c]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], ax
cmp dword [ebp - 0x50], esi
jb 0x42dd6d
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov byte [ebp - 4], bl
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
cmp dword [ebp - 0xc0], esi
jb 0x42dd93
mov eax, dword [ebp - 0xd4]
push eax
call fcn.004effaf
add esp, 4
cmp dword [ebp - 0xa8], ebx
jne 0x42e254
lea esi, [ebp - 0xd4]
mov dword [ebp - 0xd8], reloc.OLEAUT32.dll_SysReAllocString
call fcn.004324a0
mov dword [ebp - 0xdc], eax
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 8
call fcn.00432b60
mov edi, eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.004324d0
push 0x688728
push eax
lea ecx, [ebp - 0x80]
push ecx
mov byte [ebp - 4], 0xa
call fcn.0040ac00
add esp, 0xc
push edi
push eax
lea edx, [ebp - 0x9c]
push edx
mov byte [ebp - 4], 0xb
call fcn.0040ada0
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 0xc
cmp dword [0x6ce720], ebx
jne 0x42de3c
push 0x138
call fcn.004eff75
add esp, 4
mov dword [ebp - 0xe4], eax
mov byte [ebp - 4], 0xd
cmp eax, ebx
je 0x42de31
mov esi, eax
call fcn.00434ee0
jmp 0x42de33
xor eax, eax
mov byte [ebp - 4], 0xc
mov dword [0x6ce720], eax
mov edx, dword [ebp - 0xdc]
lea eax, [ebp - 0xd8]
push eax
mov ecx, edi
lea esi, [ebp - 0x64]
call fcn.00435610
push eax
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xe
call fcn.00402260
mov esi, 8
cmp dword [ebp - 0x50], esi
jb 0x42de79
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov edi, 7
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
cmp dword [ebp - 0x88], esi
jb 0x42dea1
mov eax, dword [ebp - 0x9c]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], cx
cmp dword [ebp - 0x6c], esi
jb 0x42dec7
mov edx, dword [ebp - 0x80]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], ax
cmp dword [ebp - 0x18], esi
jb 0x42dee4
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0x34], esi
jb 0x42df01
mov eax, dword [ebp - 0x48]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], bl
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
cmp dword [ebp - 0xc0], esi
jb 0x42df27
mov edx, dword [ebp - 0xd4]
push edx
call fcn.004effaf
add esp, 4
cmp dword [ebp - 0xa8], ebx
jne 0x42e24a
lea esi, [ebp - 0xd4]
mov dword [ebp - 0xd8], reloc.WS2_32.dll_accept
call fcn.004324a0
mov dword [ebp - 0xdc], eax
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 0xf
call fcn.004329b0
mov edi, eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0x10
call fcn.004324d0
push 0x688728
push eax
lea eax, [ebp - 0x80]
push eax
mov byte [ebp - 4], 0x11
call fcn.0040ac00
add esp, 0xc
push edi
push eax
lea ecx, [ebp - 0x9c]
push ecx
mov byte [ebp - 4], 0x12
call fcn.0040ada0
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 0x13
cmp dword [0x6ce720], ebx
jne 0x42dfd0
push 0x138
call fcn.004eff75
add esp, 4
mov dword [ebp - 0xe4], eax
mov byte [ebp - 4], 0x14
cmp eax, ebx
je 0x42dfc5
mov esi, eax
call fcn.00434ee0
jmp 0x42dfc7
xor eax, eax
mov byte [ebp - 4], 0x13
mov dword [0x6ce720], eax
lea edx, [ebp - 0xd8]
push edx
mov edx, dword [ebp - 0xdc]
mov ecx, edi
lea esi, [ebp - 0x64]
call fcn.00435610
push eax
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x15
call fcn.00402260
mov esi, 8
cmp dword [ebp - 0x50], esi
jb 0x42e00d
mov eax, dword [ebp - 0x64]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov edi, 7
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x88], esi
jb 0x42e035
mov edx, dword [ebp - 0x9c]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], ax
cmp dword [ebp - 0x6c], esi
jb 0x42e05b
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
cmp dword [ebp - 0x18], esi
jb 0x42e078
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], esi
jb 0x42e095
mov edx, dword [ebp - 0x48]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov byte [ebp - 4], bl
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [ebp - 0xc0], esi
jb 0x42e0bb
mov ecx, dword [ebp - 0xd4]
push ecx
call fcn.004effaf
add esp, 4
cmp dword [ebp - 0xa8], ebx
jne 0x42e24a
lea esi, [ebp - 0xd4]
mov dword [ebp - 0xdc], reloc.OLEAUT32.dll_SysReAllocString
call fcn.004324a0
mov edi, eax
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 0x16
call fcn.004329b0
mov dword [ebp - 0xd8], eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0x17
call fcn.004324d0
push 0x688728
push eax
lea edx, [ebp - 0x80]
push edx
mov byte [ebp - 4], 0x18
call fcn.0040ac00
add esp, 0xc
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0xd8]
push ecx
push eax
lea edx, [ebp - 0x9c]
push edx
call fcn.0040ada0
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0x1a
call fcn.00434e70
lea eax, [ebp - 0xdc]
mov ecx, esi
push eax
mov edx, edi
lea esi, [ebp - 0x64]
call fcn.00435610
push eax
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x1b
call fcn.00402260
mov esi, 8
cmp dword [ebp - 0x50], esi
jb 0x42e171
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov edi, 7
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
cmp dword [ebp - 0x88], esi
jb 0x42e199
mov eax, dword [ebp - 0x9c]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], cx
cmp dword [ebp - 0x6c], esi
jb 0x42e1bf
mov edx, dword [ebp - 0x80]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], ax
cmp dword [ebp - 0x18], esi
jb 0x42e1dc
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0x34], esi
jb 0x42e1f9
mov eax, dword [ebp - 0x48]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], bl
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
cmp dword [ebp - 0xc0], esi
jb 0x42e21f
mov edx, dword [ebp - 0xd4]
push edx
call fcn.004effaf
add esp, 4
cmp dword [ebp - 0xa8], ebx
jne 0x42e24a
mov esi, dword [ebp - 0xe8]
push ebx
xor eax, eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
push 0x688638
mov ecx, esi
mov word [esi], ax
call fcn.00403600
jmp 0x42e34c
mov edi, 7
mov esi, 8
mov eax, dword [ebp - 0xb8]
cmp dword [ebp - 0xa4], esi
jae 0x42e268
lea eax, [ebp - 0xb8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
cmp al, bl
je 0x42e2a9
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0xb8]
xor edx, edx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.00403240
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xe0], 2
jmp 0x42e2d7
xor ecx, ecx
push ebx
mov word [ebp - 0x48], cx
push 0x688638
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
call fcn.00403600
mov dword [ebp - 4], 0x1d
lea eax, [ebp - 0x48]
mov dword [ebp - 0xe0], 4
mov esi, dword [ebp - 0xe8]
xor edx, edx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov word [esi], dx
call fcn.00402260
mov eax, dword [ebp - 0xe0]
or eax, 1
test al, 4
je 0x42e32a
and eax, 0xfffffffb
cmp dword [ebp - 0x34], 8
mov dword [ebp - 0xe0], eax
jb 0x42e31e
mov eax, dword [ebp - 0x48]
push eax
call fcn.004effaf
mov eax, dword [ebp - 0xe0]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
test al, 2
je 0x42e34c
cmp dword [ebp - 0x18], 8
jb 0x42e340
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0xa4], 8
jb 0x42e364
mov ecx, dword [ebp - 0xb8]
push ecx
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