Function at 0x452470
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57fd08
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x603320]
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 esi, ecx
mov dword [ebp - 0x154], esi
mov ebx, dword [sym.imp.dnutility.dll_void___cdecl_utility_log_char_const___int__wchar_t_const__]
push str.login_start
push 0x55
push str.ld::LDLoginImpl::login
call ebx
lea eax, [esi + 0x30]
add esp, 0xc
mov ecx, eax
mov dword [ebp - 0x158], eax
call dword [sym.imp.dnutility.dll_public:_bool___thiscall_utility::ThreadBase::isRunning_void_const]
test al, al
je 0x4524e8
push str.login_thread_running
push 0x57
push str.ld::LDLoginImpl::login
call ebx
add esp, 0xc
jmp 0x452ce7
push 0
push 0
mov dword [ebp - 0x148], 0
call fcn.0041e4e0
mov dword [ebp - 0x14c], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x50]
push 0x26
push str.https:__usercenter.ldplayer.net_login_
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
call fcn.00426420
mov byte [ebp - 4], 1
cmp dword [esi + 0x28], 0
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jne 0x452591
lea eax, [ebp - 0x38]
push eax
call fcn.00453fb0
add esi, 0x18
mov dword [ebp - 0x150], eax
cmp esi, eax
je 0x45257d
cmp dword [esi + 0x14], 8
jb 0x452562
push dword [esi]
call edi
mov eax, dword [ebp - 0x150]
add esp, 4
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
mov ecx, esi
push eax
call fcn.0040d580
cmp dword [ebp - 0x24], 8
jb 0x45258b
push dword [ebp - 0x38]
call edi
add esp, 4
mov esi, dword [ebp - 0x154]
lea eax, [esi + 0x18]
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.dnutility.dll_public:_static_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_utility::ustring::toString_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 8
mov dword [ebp - 0x84], 0xf
mov dword [ebp - 0x88], 0
mov byte [ebp - 0x98], 0
mov dword [ebp - 0x9c], 0xf
mov dword [ebp - 0xa0], 0
mov byte [ebp - 0xb0], 0
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.00453cc0
cmp dword [ebp - 0x88], 0
je 0x452c0f
cmp dword [ebp - 0xa0], 0
je 0x452c0f
lea eax, [ebp - 0x98]
mov byte [esi + 0x65], 0
push eax
mov edx, str.identifier
lea ecx, [ebp - 0x38]
call fcn.00454460
add esp, 4
push eax
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 5
call fcn.00454390
mov byte [ebp - 4], 4
cmp dword [ebp - 0x24], 0x10
jb 0x452650
push dword [ebp - 0x38]
call edi
add esp, 4
lea eax, [ebp - 0xb0]
mov edx, 0x5ad590
push eax
lea ecx, [ebp - 0x38]
call fcn.00454460
add esp, 4
push eax
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 6
call fcn.00454390
mov byte [ebp - 4], 4
cmp dword [ebp - 0x24], 0x10
jb 0x452689
push dword [ebp - 0x38]
call edi
add esp, 4
push 0xb
push str.identifier
lea ecx, [ebp - 0x50]
call fcn.0042c9a0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x50]
call fcn.0042c8e0
push 0xc
push str.credential
lea ecx, [ebp - 0x50]
call fcn.0042c9a0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x50]
call fcn.0042c8e0
xorps xmm0, xmm0
mov dword [ebp - 0x15c], 0x10
movdqu xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x452731
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetComputerNameA_error__d
push 0x7b
push str.ld::LDLoginImpl::login
call ebx
add esp, 0x10
lea ecx, [ebp - 0x80]
push str.noComputerName
call fcn.0042ca90
jmp 0x4527a9
lea ecx, [ebp - 0x20]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x452737
sub ecx, edx
jne 0x452765
push str.computer_is_empty
push 0x80
push str.ld::LDLoginImpl::login
call ebx
add esp, 0xc
lea ecx, [ebp - 0x80]
push str.noComputerName
call fcn.0042ca90
jmp 0x4527a9
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x38]
call fcn.00426520
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.dnutility.dll_public:_static_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_utility::ustring::UrlEncode_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 8
lea ecx, [ebp - 0x80]
push eax
call fcn.0042cfd0
lea ecx, [ebp - 0x144]
call fcn.004265b0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 7
call fcn.004265b0
lea eax, [ebp - 0x80]
mov edx, 0x5ad614
push eax
lea ecx, [ebp - 0x38]
call fcn.00454460
add esp, 4
push eax
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 9
call fcn.00454390
mov byte [ebp - 4], 7
cmp dword [ebp - 0x24], 0x10
jb 0x4527df
push dword [ebp - 0x38]
call edi
add esp, 4
push 0xc
push str.deviceName
lea ecx, [ebp - 0x50]
call fcn.0042c9a0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x50]
call fcn.0042c8e0
push 0x18
push 0x5ad630
lea ecx, [ebp - 0x50]
call fcn.0042c9a0
push str.identityTypeAUTO_LOGIN
lea ecx, [ebp - 0x38]
call fcn.00426520
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x14c]
call fcn.00454390
mov byte [ebp - 4], 7
cmp dword [ebp - 0x24], 0x10
jb 0x45283f
push dword [ebp - 0x38]
call edi
add esp, 4
lea eax, [ebp - 0x114]
mov edx, 0x5ad664
push eax
lea ecx, [ebp - 0x38]
call fcn.00454460
add esp, 4
push eax
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0xb
call fcn.00454390
mov byte [ebp - 4], 7
cmp dword [ebp - 0x24], 0x10
jb 0x452878
push dword [ebp - 0x38]
call edi
add esp, 4
push 0xa
push 0x5ad670
lea ecx, [ebp - 0x50]
call fcn.0042c9a0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x50]
call fcn.0042c8e0
push 0
call dword [sym.imp.MSVCR120.dll__time64]
add esp, 4
lea ecx, [ebp - 0x12c]
push edx
push eax
call fcn.00454e80
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 0xc
push eax
mov edx, 0x5ad67c
lea ecx, [ebp - 0x38]
call fcn.00454460
add esp, 0xc
push eax
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0xd
call fcn.00454390
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x24], 0x10
jb 0x4528ef
push dword [ebp - 0x38]
call edi
add esp, 4
push 0xb
push str.timestamp
lea ecx, [ebp - 0x50]
call fcn.0042c9a0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x50]
call fcn.0042c8e0
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.dnutility.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_utility::ustring::toWString_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 8
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 8
jb 0x45292e
mov eax, dword [eax]
push eax
push str.login_url__s
push 0x9b
push str.ld::LDLoginImpl::login
call ebx
add esp, 0x10
cmp dword [ebp - 0x24], 8
jb 0x452951
push dword [ebp - 0x38]
call edi
add esp, 4
mov dword [ebp - 0xb4], 0xf
mov dword [ebp - 0xb8], 0
mov byte [ebp - 0xc8], 0
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x14c]
xor ebx, ebx
mov byte [ebp - 0x150], bl
push dword [ebp - 0x150]
call fcn.00454600
mov eax, dword [ebp - 0x14c]
mov esi, dword [eax]
cmp esi, eax
je 0x452a16
jmp 0x4529b0
push 0xffffffffffffffff
lea eax, [esi + 8]
mov dword [ebp - 0x24], 0xf
push 0
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
call fcn.004260c0
mov byte [ebp - 4], 0x11
test ebx, ebx
je 0x4529e9
push 1
push 0x5ad6b0
lea ecx, [ebp - 0x68]
call fcn.0042c9a0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x38]
inc ebx
push eax
lea ecx, [ebp - 0x68]
call fcn.0042c8e0
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x24], 0x10
jb 0x452a0c
push dword [ebp - 0x38]
call edi
add esp, 4
mov esi, dword [esi]
cmp esi, dword [ebp - 0x14c]
jne 0x4529b0
push 0x11
push str.LDPLAYER_OVERSEAS
lea ecx, [ebp - 0x68]
call fcn.0042c9a0
cmp dword [ebp - 0x54], 0x10
lea eax, [ebp - 0xc8]
mov edx, dword [ebp - 0x58]
lea ecx, [ebp - 0x68]
cmovae ecx, dword [ebp - 0x68]
push eax
call fcn.0042ab70
add esp, 4
test eax, eax
setne al
test al, al
jne 0x452a6a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.login_md5_error__d
push 0xac
push str.ld::LDLoginImpl::login
call dword [sym.imp.dnutility.dll_void___cdecl_utility_log_char_const___int__wchar_t_const__]
add esp, 0x10
mov eax, dword [ebp - 0x154]
lea ecx, [ebp - 0xf8]
push 0xffffffffffffffff
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0x50]
push 0
push eax
mov dword [ebp - 0xe4], 0xf
mov dword [ebp - 0xe8], 0
mov byte [ebp - 0xf8], 0
call fcn.004260c0
push 0xffffffffffffffff
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0xc8]
push 0
push eax
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xcc], 0xf
mov dword [ebp - 0xd0], 0
mov byte [ebp - 0xe0], 0
call fcn.004260c0
mov ecx, dword [ebp - 0x158]
push 0xffffffffffffffff
mov byte [ebp - 4], 0x13
call dword [sym.imp.dnutility.dll_public:_void___thiscall_utility::ThreadBase::stop_unsigned_int_]
sub esp, 0x34
lea eax, [ebp - 0xfc]
mov ecx, esp
push eax
call fcn.00453400
call fcn.00454550
mov ecx, dword [ebp - 0x158]
add esp, 0x34
push eax
call dword [sym.imp.dnutility.dll_public:_bool___thiscall_utility::ThreadBase::start_class_Runable__]
cmp dword [ebp - 0xcc], 0x10
jb 0x452b25
push dword [ebp - 0xe0]
call edi
add esp, 4
cmp dword [ebp - 0xe4], 0x10
mov dword [ebp - 0xcc], 0xf
mov dword [ebp - 0xd0], 0
mov byte [ebp - 0xe0], 0
jb 0x452b54
push dword [ebp - 0xf8]
call edi
add esp, 4
cmp dword [ebp - 0x54], 0x10
mov dword [ebp - 0xe4], 0xf
mov dword [ebp - 0xe8], 0
mov byte [ebp - 0xf8], 0
jb 0x452b7d
push dword [ebp - 0x68]
call edi
add esp, 4
cmp dword [ebp - 0xb4], 0x10
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
jb 0x452ba3
push dword [ebp - 0xc8]
call edi
add esp, 4
cmp dword [ebp - 0x118], 0x10
mov dword [ebp - 0xb4], 0xf
mov dword [ebp - 0xb8], 0
mov byte [ebp - 0xc8], 0
jb 0x452bd2
push dword [ebp - 0x12c]
call edi
add esp, 4
cmp dword [ebp - 0x6c], 0x10
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
jb 0x452bfb
push dword [ebp - 0x80]
call edi
add esp, 4
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
jmp 0x452c24
push str.request_login__but_uid_or_token_empyt
push 0x68
push str.ld::LDLoginImpl::login
call ebx
add esp, 0xc
mov byte [esi + 0x64], 1
cmp dword [ebp - 0x9c], 0x10
jb 0x452c38
push dword [ebp - 0xb0]
call edi
add esp, 4
cmp dword [ebp - 0x84], 0x10
mov dword [ebp - 0x9c], 0xf
mov dword [ebp - 0xa0], 0
mov byte [ebp - 0xb0], 0
jb 0x452c67
push dword [ebp - 0x98]
call edi
add esp, 4
cmp dword [ebp - 0x100], 0x10
mov dword [ebp - 0x84], 0xf
mov dword [ebp - 0x88], 0
mov byte [ebp - 0x98], 0
jb 0x452c96
push dword [ebp - 0x114]
call edi
add esp, 4
cmp dword [ebp - 0x3c], 0x10
mov dword [ebp - 0x100], 0xf
mov dword [ebp - 0x104], 0
mov byte [ebp - 0x114], 0
jb 0x452cbf
push dword [ebp - 0x50]
call edi
add esp, 4
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
call fcn.00454400
push dword [ebp - 0x14c]
call edi
add esp, 4
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.00576f50
mov esp, ebp
pop ebp
ret