Function at 0x40c74d
Capabilities:
Reference absolute stream path on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
jmp 0x40c768
push 0xffffffffffffffff
push 0x26
push 0x160179dc
push 0x52010001
call fcn.00418440
add esp, 0x10
mov dword [ebp - 4], eax
push 0x4be108
push dword [ebp - 4]
call fcn.00401073
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40c7af
push ebx
call fcn.0041842e
add esp, 4
cmp dword [ebp - 8], 0
jne 0x40c818
mov ebx, dword [0x7ad650]
mov dword [ebp - 0xc], ebx
push 0xffffffffffffffff
push 0x26
push 0x160179dc
push 0x52010001
call fcn.00418440
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx]
push eax
push dword [ebp - 0x10]
call fcn.00401073
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40c80a
push ebx
call fcn.0041842e
add esp, 4
cmp dword [ebp - 0x14], 0
jne 0x40c818
xor eax, eax
jmp 0x40c81d
mov eax, 1
test eax, eax
je 0x40c8e6
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
mov eax, 0x4d370a
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov eax, str.Please_enter_username
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, 0x4d372d
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0x7ad668
call fcn.004094ee
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40c872
push ebx
call fcn.0041842e
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40c882
push ebx
call fcn.0041842e
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40c892
push ebx
call fcn.0041842e
add esp, 4
push 0x160179dc
push 0x52010001
push 0x7d0
lea eax, [ebp - 0x14]
push eax
call fcn.0040cd47
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40c8ba
push ebx
call fcn.0041842e
add esp, 4
push 0x20010
push 0x160179dc
push 0x52010001
push 1
mov ebx, 0x418830
call fcn.00418446
add esp, 0x10
push eax
call fcn.00401d81
jmp 0x40cd33
push 0xffffffffffffffff
push 0x26
push 0x160179dd
push 0x52010001
call fcn.00418440
add esp, 0x10
mov dword [ebp - 8], eax
push 0x4be108
push dword [ebp - 8]
call fcn.00401073
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40c92d
push ebx
call fcn.0041842e
add esp, 4
cmp dword [ebp - 0xc], 0
jne 0x40c999
mov ebx, dword [0x7ad650]
add ebx, 4
mov dword [ebp - 0x10], ebx
push 0xffffffffffffffff
push 0x26
push 0x160179dd
push 0x52010001
call fcn.00418440
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
push eax
push dword [ebp - 0x14]
call fcn.00401073
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40c98b
push ebx
call fcn.0041842e
add esp, 4
cmp dword [ebp - 0x18], 0
jne 0x40c999
xor eax, eax
jmp 0x40c99e
mov eax, 1
test eax, eax
je 0x40ca67
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
mov eax, 0x4d373a
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov eax, str.Please_enter_password
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, 0x4d375b
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0x7ad668
call fcn.004094ee
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40c9f3
push ebx
call fcn.0041842e
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40ca03
push ebx
call fcn.0041842e
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40ca13
push ebx
call fcn.0041842e
add esp, 4
push 0x160179dd
push 0x52010001
push 0x7d0
lea eax, [ebp - 0x14]
push eax
call fcn.0040cd47
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40ca3b
push ebx
call fcn.0041842e
add esp, 4
push 0x20010
push 0x160179dd
push 0x52010001
push 1
mov ebx, 0x418830
call fcn.00418446
add esp, 0x10
push eax
call fcn.00401d81
jmp 0x40cd33
push 0xffffffffffffffff
push 0x26
push 0x160179dc
push 0x52010001
call fcn.00418440
add esp, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.0040d0e2
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40ca9c
push ebx
call fcn.0041842e
add esp, 4
cmp dword [ebp - 0xc], 6
jl 0x40cae9
push 0xffffffffffffffff
push 0x26
push 0x160179dd
push 0x52010001
call fcn.00418440
add esp, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040d0e2
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40cadb
push ebx
call fcn.0041842e
add esp, 4
cmp dword [ebp - 0x18], 3
jl 0x40cae9
xor eax, eax
jmp 0x40caee
mov eax, 1
test eax, eax
je 0x40cb8d
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
mov eax, 0x4d3766
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov eax, str.Invalid_username_or_password_format_
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, 0x4d37a4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0x7ad668
call fcn.004094ee
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40cb43
push ebx
call fcn.0041842e
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40cb53
push ebx
call fcn.0041842e
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40cb63
push ebx
call fcn.0041842e
add esp, 4
push 1
push 0x10
push 0x7d0
lea eax, [ebp - 0x14]
push eax
call fcn.0040966e
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40cb88
push ebx
call fcn.0041842e
add esp, 4
jmp 0x40cd33
push 0x4d37bc
push dword [0x7ad678]
call fcn.00401073
add esp, 8
cmp eax, 0
jne 0x40cc87
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.ServerData
push reloc.WS2_32.dll_connect
push 0
push str.QHQQ
push reloc.WS2_32.dll_connect
push 0
push str.C:Wuyue.ini:ini
push 4
mov ebx, 0x41aff0
call fcn.00418446
add esp, 0x34
mov dword [ebp - 4], eax
push 0x4be108
push dword [ebp - 4]
call fcn.00401073
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40cc16
push ebx
call fcn.0041842e
add esp, 4
cmp dword [ebp - 8], 0
je 0x40cc82
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.ServerData
push reloc.WS2_32.dll_connect
push 0
push str.QHQQ
push reloc.WS2_32.dll_connect
push 0
push str.C:Wuyue.ini:ini
push 4
mov ebx, 0x41aff0
call fcn.00418446
add esp, 0x34
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.0040d149
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40cc78
push ebx
call fcn.0041842e
add esp, 4
jmp 0x40cd43
jmp 0x40cd33
push 0xffffffffffffffff
push 0x26
push 0x160179dc
push 0x52010001
call fcn.00418440
add esp, 0x10
mov dword [ebp - 4], eax
push 0xffffffffffffffff
push 0x26
push 0x160179dd
push 0x52010001
call fcn.00418440
add esp, 0x10
mov dword [ebp - 8], eax
push 0x4c7612
push dword [ebp - 8]
push str.UNPWD
push dword [ebp - 4]
push str.UN
mov ecx, 5
call fcn.00402227
add esp, 0x14
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40ccee
push ebx
call fcn.0041842e
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40ccfe
push ebx
call fcn.0041842e
add esp, 4
lea eax, [ebp - 0xc]
push eax
mov eax, 0x4d37be
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040ad7b
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40cd23
push ebx
call fcn.0041842e
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40cd33
push ebx
call fcn.0041842e
add esp, 4
jmp 0x40cd43
mov esp, ebp
pop ebp
ret