Function at 0x401df0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x46127e
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x47c824]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47c824]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x4c], eax
lea ecx, [esp + 0xbc]
xor ebx, ebx
push ecx
mov edi, 0x469d20
lea esi, [esp + 0x54]
mov dword [esp + 0xb4], ebx
call fcn.00402620
add esp, 4
mov byte [esp + 0xb0], 1
mov eax, dword [esp + 0x54]
mov esi, 0x10
cmp dword [esp + 0x68], esi
jae 0x401e73
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x401ec1
cmp dword [esp + 0x68], esi
jb 0x401e91
mov edx, dword [esp + 0x54]
push edx
call fcn.00420ede
add esp, 4
cmp dword [esp + 0xd4], esi
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
jb 0x401eba
mov eax, dword [esp + 0xc0]
push eax
call fcn.00420ede
add esp, 4
xor eax, eax
jmp 0x402565
cmp dword [esp + 0x68], esi
mov edi, dword [esp + 0x54]
jae 0x401ecf
lea edi, [esp + 0x54]
lea ecx, [esp + 0x6c]
push ecx
call fcn.0041dd70
mov byte [esp + 0xb0], 2
push 4
mov edi, 0xf
push str.mode
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.004017f0
mov byte [esp + 0xb0], 3
push 6
push str.Config
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.004017f0
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x18]
lea esi, [esp + 0x70]
mov byte [esp + 0xb4], 4
call fcn.0041de70
mov esi, eax
mov ecx, esi
lea ebp, [ecx + 1]
mov al, byte [ecx]
add ecx, 1
cmp al, bl
jne 0x401f47
sub ecx, ebp
mov ebp, dword [esp + 0x4c]
push ecx
push esi
mov ecx, ebp
call fcn.004017f0
mov esi, 0x10
cmp dword [esp + 0x2c], esi
jb 0x401f77
mov eax, dword [esp + 0x18]
push eax
call fcn.00420ede
add esp, 4
mov byte [esp + 0xb0], 2
cmp dword [esp + 0x48], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jb 0x401f9e
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00420ede
add esp, 4
push 4
push str.game
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.004017f0
mov byte [esp + 0xb0], 5
push 6
push str.Config
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.004017f0
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x18]
lea esi, [esp + 0x70]
mov byte [esp + 0xb4], 6
call fcn.0041de70
mov esi, eax
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
add ecx, 1
cmp al, bl
jne 0x402000
sub ecx, edx
push ecx
push esi
lea ecx, [ebp + 0x1c]
call fcn.004017f0
mov esi, 0x10
cmp dword [esp + 0x2c], esi
jb 0x40202d
mov eax, dword [esp + 0x18]
push eax
call fcn.00420ede
add esp, 4
mov byte [esp + 0xb0], 2
cmp dword [esp + 0x48], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jb 0x402054
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00420ede
add esp, 4
push 8
push str.serverid
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.004017f0
mov byte [esp + 0xb0], 7
push 6
push str.Config
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.004017f0
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x74]
push ecx
mov byte [esp + 0xbc], 8
call fcn.0041e0b0
cmp dword [esp + 0x2c], esi
mov dword [ebp + 0x38], eax
jb 0x4020c6
mov edx, dword [esp + 0x18]
push edx
call fcn.00420ede
add esp, 4
mov byte [esp + 0xb0], 2
cmp dword [esp + 0x48], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jb 0x4020ed
mov eax, dword [esp + 0x34]
push eax
call fcn.00420ede
add esp, 4
push 8
push str.serverip
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.004017f0
mov byte [esp + 0xb0], 9
push 6
push str.Config
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.004017f0
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x18]
lea esi, [esp + 0x70]
mov byte [esp + 0xb4], 0xa
call fcn.0041de70
mov esi, eax
mov ecx, esi
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
add ecx, 1
cmp al, bl
jne 0x402150
sub ecx, edx
push ecx
push esi
lea ecx, [ebp + 0x3c]
call fcn.004017f0
mov esi, 0x10
cmp dword [esp + 0x2c], esi
jb 0x40217d
mov edx, dword [esp + 0x18]
push edx
call fcn.00420ede
add esp, 4
mov byte [esp + 0xb0], 2
cmp dword [esp + 0x48], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jb 0x4021a4
mov eax, dword [esp + 0x34]
push eax
call fcn.00420ede
add esp, 4
push 4
push str.port
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.004017f0
mov byte [esp + 0xb0], 0xb
push 6
push str.Config
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.004017f0
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x74]
push eax
mov byte [esp + 0xbc], 0xc
call fcn.0041e0b0
cmp dword [esp + 0x2c], esi
mov word [ebp + 0x58], ax
jb 0x402217
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00420ede
add esp, 4
mov byte [esp + 0xb0], 2
cmp dword [esp + 0x48], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jb 0x40223e
mov edx, dword [esp + 0x34]
push edx
call fcn.00420ede
add esp, 4
push 4
push str.user
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.004017f0
mov byte [esp + 0xb0], 0xd
push 6
push str.Config
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.004017f0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
lea esi, [esp + 0x70]
mov byte [esp + 0xb4], 0xe
call fcn.0041de70
mov esi, eax
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
add ecx, 1
cmp al, bl
jne 0x4022a0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp + 0x5c]
call fcn.004017f0
mov esi, 0x10
cmp dword [esp + 0x2c], esi
jb 0x4022cd
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00420ede
add esp, 4
mov byte [esp + 0xb0], 2
cmp dword [esp + 0x48], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jb 0x4022f4
mov edx, dword [esp + 0x34]
push edx
call fcn.00420ede
add esp, 4
push 8
push str.password
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.004017f0
mov byte [esp + 0xb0], 0xf
push 6
push str.Config
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.004017f0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
lea esi, [esp + 0x70]
mov byte [esp + 0xb4], 0x10
call fcn.0041de70
mov esi, eax
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
add ecx, 1
cmp al, bl
jne 0x402355
sub ecx, edx
push ecx
push esi
lea ecx, [ebp + 0x78]
call fcn.004017f0
mov esi, 0x10
cmp dword [esp + 0x2c], esi
jb 0x402382
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00420ede
add esp, 4
mov byte [esp + 0xb0], 2
cmp dword [esp + 0x48], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jb 0x4023a9
mov edx, dword [esp + 0x34]
push edx
call fcn.00420ede
add esp, 4
push 0xb
push str.http_folder
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.004017f0
mov byte [esp + 0xb0], 0x11
push 6
push str.Config
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.004017f0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
lea esi, [esp + 0x70]
mov byte [esp + 0xb4], 0x12
call fcn.0041de70
mov esi, eax
mov ecx, esi
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
add ecx, 1
cmp al, bl
jne 0x402410
sub ecx, edx
push ecx
push esi
lea ecx, [ebp + 0x94]
call fcn.004017f0
mov esi, 0x10
cmp dword [esp + 0x2c], esi
jb 0x402440
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00420ede
add esp, 4
mov byte [esp + 0xb0], 2
cmp dword [esp + 0x48], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jb 0x402467
mov edx, dword [esp + 0x34]
push edx
call fcn.00420ede
add esp, 4
push 8
push str.language
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.004017f0
mov byte [esp + 0xb0], 0x13
push 6
push str.Config
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.004017f0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
lea esi, [esp + 0x70]
mov byte [esp + 0xb4], 0x14
call fcn.0041de70
mov esi, eax
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
add ecx, 1
cmp al, bl
jne 0x4024c8
sub ecx, edx
push ecx
push esi
lea ecx, [ebp + 0xb0]
call fcn.004017f0
mov ebp, 0x10
cmp dword [esp + 0x2c], ebp
jb 0x4024f8
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00420ede
add esp, 4
cmp dword [esp + 0x48], ebp
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jb 0x402517
mov edx, dword [esp + 0x34]
push edx
call fcn.00420ede
add esp, 4
lea esi, [esp + 0x6c]
mov byte [esp + 0xb0], 1
call fcn.0041de10
cmp dword [esp + 0x68], ebp
jb 0x40253b
mov eax, dword [esp + 0x54]
push eax
call fcn.00420ede
add esp, 4
cmp dword [esp + 0xd4], ebp
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
jb 0x402560
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.00420ede
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.00441b4d
add esp, 0xa0
ret 0x20