Function at 0x4050b0
Capabilities:
Get hostname
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43e74b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2524
call fcn.0042d4a0
mov eax, dword [0x464770]
xor eax, esp
mov dword [esp + 0x2520], eax
push ebx
push esi
push edi
mov eax, dword [0x464770]
xor eax, esp
push eax
lea eax, [esp + 0x2538]
mov dword fs:[0], eax
cmp byte [0x468430], 0
je 0x40510b
cmp byte [0x468460], 0
jne 0x4052a8
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push str.SoftwareVeryProxy
push 0x80000002
mov dword [esp + 0x28], 0
call dword [0x44c024]
test eax, eax
jne 0x405195
mov esi, dword [0x44c034]
lea ecx, [esp + 0x18]
push ecx
push 0x468430
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [esp + 0x24]
push str.UUID
push eax
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], 0x30
call esi
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push 0x468460
lea edx, [esp + 0x18]
push edx
push 0
push str.Version
push eax
mov dword [esp + 0x30], 0x10
call esi
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x44c020]
cmp byte [0x468430], 0
jne 0x4052a8
xor eax, eax
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call dword [0x44c330]
test eax, eax
jne 0x4051fe
movzx eax, byte [esp + 0x2b]
movzx ecx, byte [esp + 0x2a]
push eax
mov eax, dword [esp + 0x2c]
push ecx
movzx ecx, byte [esp + 0x2f]
movzx edx, ah
push edx
movzx edx, byte [esp + 0x32]
movzx eax, al
push eax
push ecx
push edx
push str.00000000_0000_0000_0000__02X_02X_02X_02X_02X_02X
push 0x468430
call fcn.00429165
add esp, 0x20
jmp 0x4052a8
mov eax, 0x2a2a2a2a
push 0xff
mov dword [0x468430], eax
mov dword [0x468434], eax
mov dword [0x468438], eax
mov dword [0x46843c], eax
mov dword [0x468440], eax
mov dword [0x468444], eax
mov dword [0x468448], eax
mov dword [0x46844c], eax
mov dword [0x468450], eax
mov word [0x468454], ax
lea eax, [esp + 0x31]
push 0
push eax
mov byte [esp + 0x38], 0
call fcn.0042a480
add esp, 0xc
push 0x100
lea ecx, [esp + 0x30]
push ecx
call dword [0x44c574]
test eax, eax
jne 0x4052a8
lea eax, [esp + 0x2c]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405270
sub eax, edx
cmp eax, 0x26
jae 0x405290
lea eax, [esp + 0x2c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405285
sub eax, edx
jmp 0x405295
mov eax, 0x26
push eax
lea edx, [esp + 0x30]
push edx
push 0x468430
call fcn.0042a110
add esp, 0xc
mov eax, 0x468430
xor ecx, ecx
xor esi, esi
xor edi, edi
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4052b6
sub eax, ebx
mov edx, eax
xor eax, eax
cmp edx, 2
mov dword [esp + 0x10], edx
jl 0x4052ef
dec edx
lea ecx, [ecx]
movzx ebx, byte [eax + 0x468430]
lea ecx, [ecx + ebx*2]
movzx ebx, byte [eax + 0x468431]
add eax, 2
cmp eax, edx
lea esi, [esi + ebx*2]
jl 0x4052d0
mov edx, dword [esp + 0x10]
cmp eax, edx
jge 0x4052fc
movzx edi, byte [eax + 0x468430]
add edi, edi
push 0x3ff
lea eax, [esp + 0x131]
add ecx, esi
push 0
push eax
add edi, ecx
mov byte [esp + 0x138], 0
call fcn.0042a480
add esp, 0xc
call dword [0x44c2ac]
push eax
push str.reserved
push edi
push 2
push 0x468460
push 0x468430
lea ecx, [esp + 0x144]
push str.GET__login_uuid_sver_sstatno_dv_ddescription_sr_d_HTTP_1.0_r_n
push ecx
call fcn.00429165
lea edi, [esp + 0x14c]
add esp, 0x20
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x405355
mov ecx, 0xb
mov esi, str.Host:_log.3shitou.com_r_nConnection:_Close_r_n_r_n
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov dword [esp + 0x10], vtable.CTCPClient.0
push 0
push 0x1f92
mov ecx, str.log.3shitou.com
mov dword [esp + 0x2548], 0
call fcn.00402540
mov edi, eax
test edi, edi
je 0x405418
lea eax, [esp + 0x12c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4053a2
sub eax, edx
mov edx, dword [edi + 0x1b8]
mov edx, dword [edx + 0x1c]
lea esi, [edi + 0x1b8]
push eax
lea eax, [esp + 0x130]
push eax
mov ecx, esi
call edx
push 0x1fff
lea eax, [esp + 0x531]
push 0
push eax
mov byte [esp + 0x538], 0
call fcn.0042a480
mov edx, dword [esi]
mov edx, dword [edx + 8]
add esp, 0xc
push 0x2000
lea eax, [esp + 0x530]
push eax
mov ecx, esi
call edx
cmp dword [edi + 0x1e0], 1
je 0x40540e
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
mov ecx, esi
call edx
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
mov ecx, dword [esp + 0x2538]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2520]
xor ecx, esp
call fcn.00428579
mov esp, ebp
pop ebp
ret