Function at 0x424760
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5443a0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ecx
mov eax, 0x162b4
call fcn.004c70e0
mov eax, dword [0x57906c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [ebp - 0xec44], esi
mov dl, byte [0x5a60a8]
movzx eax, dl
sub eax, esi
je 0x4247df
sub eax, 1
mov ecx, dword [0x5a60b0]
je 0x4247d6
sub eax, 1
jne 0x4247f0
call fcn.00409730
jmp 0x4247db
call fcn.00409710
test eax, eax
jne 0x4247f0
call fcn.00425d00
mov ecx, dword [0x5a60b0]
mov dl, byte [0x5a60a8]
movzx eax, dl
sub eax, 0
je 0x424b9b
sub eax, 1
je 0x42480d
sub eax, 1
jne 0x42481a
call fcn.00409730
jmp 0x424812
call fcn.00409710
test eax, eax
je 0x424b9b
lea ecx, [ebp - 0x60]
call fcn.00407c50
mov dword [ebp - 4], 0
push 0x55faaf
call fcn.004043b0
add esp, 4
push eax
push 0x55faaf
mov ecx, 0x5a60b8
call fcn.004092d0
xor edi, edi
mov dword [ebp - 0xec4c], edi
movzx eax, byte [0x5a60a8]
sub eax, 0
je 0x424885
sub eax, 1
je 0x424878
sub eax, 1
je 0x42486b
mov eax, 1
jmp 0x424887
mov ecx, dword [0x5a60b0]
call fcn.00409730
jmp 0x424887
mov ecx, dword [0x5a60b0]
call fcn.00409710
jmp 0x424887
xor eax, eax
cmp edi, eax
jae 0x424b8c
push str.IPAddress
lea ecx, [ebp - 0xec70]
call fcn.00407c10
mov byte [ebp - 4], 1
push edi
call fcn.00411c00
mov dword [ebp - 0xec48], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
call fcn.00411ad0
mov ecx, dword [ebp - 0xec48]
call fcn.00409c00
test al, al
je 0x42494b
mov esi, dword [ecx + 8]
mov dword [ebp - 0xec48], esi
push ecx
lea ecx, [ebp - 0xec3c]
call fcn.0040c190
lea eax, [ebp - 0xec70]
push eax
mov eax, ecx
push eax
mov ecx, esi
call fcn.00413870
lea eax, [ebp - 0xec54]
push eax
mov ecx, esi
call fcn.00409760
mov esi, dword [ebp - 0xec3c]
cmp esi, dword [eax]
je 0x42492e
lea edx, [esi + 0x10]
lea ecx, [ebp - 0xec70]
call fcn.0040ebb0
test al, al
jne 0x42492e
mov dword [ebp - 0xec50], esi
lea eax, [ebp - 0xec50]
jmp 0x424940
lea eax, [ebp - 0xec58]
push eax
mov ecx, dword [ebp - 0xec48]
call fcn.00409760
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov esi, dword [ebp - 0xec44]
lea eax, [ebp - 0xec98]
push eax
push ecx
push edi
call fcn.00411c00
add esp, 4
mov ecx, eax
call fcn.00411ad0
push eax
lea ecx, [ebp - 0x30]
call fcn.004198a0
mov byte [ebp - 0xec3d], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xec70]
call fcn.00407b50
cmp byte [ebp - 0xec3d], 0
jne 0x424b80
mov byte [ebp - 4], 2
lea eax, [ebp - 0x48]
push eax
push ecx
push str.IPAddress
push ecx
push edi
call fcn.00411c00
add esp, 4
mov ecx, eax
call fcn.0040ac00
add esp, 4
mov ecx, eax
call fcn.00413dd0
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp - 0x48]
call fcn.00425450
test eax, eax
je 0x424a10
lea eax, [ebp - 0xecb0]
push eax
push ecx
push str.Gateway
push ecx
push edi
call fcn.00411c00
add esp, 4
mov ecx, eax
call fcn.0040ac00
add esp, 4
mov ecx, eax
call fcn.00413dd0
mov byte [ebp - 4], 4
or esi, 1
mov dword [ebp - 0xec44], esi
push ecx
mov ecx, eax
call fcn.00425450
test eax, eax
mov byte [ebp - 0xec3d], 1
jne 0x424a17
mov byte [ebp - 0xec3d], 0
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0xec44]
test al, 1
je 0x424a3c
and eax, 0xfffffffe
mov dword [ebp - 0xec44], eax
lea ecx, [ebp - 0xecb0]
call fcn.00407b50
cmp byte [ebp - 0xec3d], 0
je 0x424b00
lea eax, [ebp - 0xec88]
push eax
push ecx
push 0x568cc8
push ecx
push edi
call fcn.00411c00
add esp, 4
mov ecx, eax
call fcn.0040ac00
add esp, 4
mov ecx, eax
call fcn.00413dd0
mov esi, eax
mov byte [ebp - 4], 5
push ecx
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0xecf8]
call fcn.00425500
add esp, 4
mov byte [ebp - 4], 6
push esi
mov edx, eax
lea ecx, [ebp - 0xece0]
call fcn.004255a0
add esp, 4
mov byte [ebp - 4], 7
push 0x568cc4
mov edx, eax
lea ecx, [ebp - 0xecc8]
call fcn.00425490
add esp, 4
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x60]
call fcn.00407ae0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xecc8]
call fcn.00407b50
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xece0]
call fcn.00407b50
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xecf8]
call fcn.00407b50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xec88]
call fcn.00407b50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.00407b50
mov dword [ebp - 4], 0
jmp 0x424b59
lea ecx, [ebp - 0x60]
call fcn.00408f80
mov ecx, dword [eax + 0x10]
cmp ecx, 0xff
jae 0x424b8c
cmp dword [eax + 0x14], 0x10
jb 0x424b74
mov eax, dword [eax]
push ecx
push eax
mov ecx, 0x5a60b8
call fcn.004092d0
inc edi
mov esi, dword [ebp - 0xec44]
jmp 0x424848
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.00407b50
push 0x75d0
lea eax, [ebp - 0x162c8]
push eax
call fcn.0040eec0
add esp, 4
push eax
lea eax, [ebp - 0x7668]
push eax
call fcn.00516430
add esp, 0xc
push 0x75d0
lea eax, [ebp - 0x7668]
push eax
lea eax, [ebp - 0xec38]
push eax
call fcn.00516430
add esp, 0xc
lea eax, [ebp - 0x8cc0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x424dd7
mov dword [ebp - 4], 0xb
push 0xb8
push 0
lea eax, [ebp - 0x150]
push eax
call fcn.00516f30
add esp, 0xc
sub esp, 0xc
lea eax, [ebp - 0x8cc0]
push eax
lea ecx, [ebp - 0x150]
call fcn.00411e50
mov byte [ebp - 4], 0xc
sub esp, 0x28
mov dword [ebp - 0xec58], esp
mov eax, esp
mov dword [ebp - 0xec54], eax
mov dword [eax + 0x24], 0
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 0xe
push 0
push 1
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x150]
lea ecx, [ebp - 0x30]
call fcn.00413b10
add esp, 0x30
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x30]
call fcn.00411aa0
test al, al
jne 0x424d9c
push str.proxy
lea ecx, [ebp - 0x48]
call fcn.00407c10
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0xec98]
push eax
lea ecx, [ebp - 0x30]
call fcn.00411ad0
mov esi, eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0xec68]
push eax
lea ecx, [ebp - 0x30]
call fcn.00411b60
push esi
mov ecx, eax
call fcn.004198a0
mov byte [ebp - 0xec3d], al
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x48]
call fcn.00407b50
cmp byte [ebp - 0xec3d], 0
jne 0x424d07
lea eax, [ebp - 0xec88]
push eax
push ecx
push str.proxy
lea ecx, [ebp - 0x30]
call fcn.0040ac00
add esp, 4
mov ecx, eax
call fcn.00413dd0
mov byte [ebp - 4], 0x11
push eax
mov ecx, 0x5ad6a0
call fcn.00411da0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xec88]
call fcn.00407b50
push str.auth
lea ecx, [ebp - 0x48]
call fcn.00407c10
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0xec68]
push eax
lea ecx, [ebp - 0x30]
call fcn.00411ad0
mov esi, eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0xec98]
push eax
lea ecx, [ebp - 0x30]
call fcn.00411b60
push esi
mov ecx, eax
call fcn.004198a0
mov byte [ebp - 0xec3d], al
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x48]
call fcn.00407b50
cmp byte [ebp - 0xec3d], 0
jne 0x424d9c
lea eax, [ebp - 0xec88]
push eax
push ecx
push str.auth
lea ecx, [ebp - 0x30]
call fcn.0040ac00
add esp, 4
mov ecx, eax
call fcn.00413dd0
mov byte [ebp - 4], 0x13
push eax
mov ecx, 0x5ad6b8
call fcn.00411da0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xec88]
call fcn.00407b50
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x30]
call fcn.00407760
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x150]
call fcn.0040f940
jmp 0x424dd0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004c61ad
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret