Function at 0x54503480
Capabilities:
Get hostname
Get memory capacity
Resolve dns

Disassembly:
sub esp, 0x2d4
mov eax, dword [0x5454141c]
xor eax, esp
mov dword [esp + 0x2d0], eax
push ebx
mov ebx, dword [esp + 0x2dc]
push 0x80
lea eax, [esp + 0xd4]
push 0
push eax
mov dword [esp + 0x18], ebx
call fcn.54516b80
push 0x80
lea ecx, [esp + 0x40]
push 0
push ecx
call fcn.54516b80
push 0x80
lea edx, [esp + 0x16c]
push 0
push edx
call fcn.54516b80
push 0x104
lea eax, [esp + 0x1f8]
push 0
push eax
call fcn.54516b80
push 0x80
lea ecx, [esp + 0x184]
push ecx
push str.ByRem
push str.SOFTWAREMicrosoftADs
push getpeername
call fcn.54516600
add esp, 0x44
test eax, eax
je 0x54503555
lea edx, [esp + 0x150]
push edx
lea eax, [esp + 0x1d4]
push str.__s_
push eax
call fcn.54516af4
add esp, 0xc
xor eax, eax
jmp 0x54503540
mov cl, byte [esp + eax + 0x1d0]
mov byte [esp + eax + 0x150], cl
add eax, 1
test cl, cl
jne 0x54503540
push 0x80
lea ecx, [esp + 0x34]
push ecx
call sub.WS2_32.dll_gethostname
test eax, eax
je 0x54503580
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2d0]
xor ecx, esp
call fcn.54516b6f
add esp, 0x2d4
ret
push ebp
lea edx, [esp + 0x34]
push edx
call sub.WS2_32.dll_gethostbyname
mov ebp, eax
test ebp, ebp
jne 0x545035a8
pop ebp
pop ebx
mov ecx, dword [esp + 0x2d0]
xor ecx, esp
call fcn.54516b6f
add esp, 0x2d4
ret
push esi
push edi
push 0x80
lea eax, [esp + 0xe0]
push eax
push str.RegisteredOrganization
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push getpeername
call fcn.54516600
lea edi, [esp + 0x50]
add esp, 0x14
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x545035d5
mov cx, word [0x545316f8]
lea eax, [esp + 0xdc]
mov word [edi], cx
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x545035f2
lea edi, [esp + 0x3c]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x54503604
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x3c]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x54503625
mov dx, word [0x545316f4]
push 0x80
lea eax, [esp + 0xe0]
push eax
push str.RegisteredOwner
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push getpeername
mov word [edi], dx
call fcn.54516600
lea eax, [esp + 0xf0]
add esp, 0x14
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x54503666
lea edi, [esp + 0x3c]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
lea ebx, [ebx]
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x54503680
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x10], 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x10]
cmp dword [edx + ecx], 0
je 0x5450376c
lea edi, [esp + 0x3c]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x545036b8
mov ax, word [0x545316f8]
xor ebx, ebx
mov word [edi], ax
cmp word [ebp + 0xa], bx
jle 0x5450375e
test ebx, ebx
jle 0x545036f6
lea edi, [esp + 0x3c]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x545036e2
mov cx, word [0x5453146c]
mov word [edi], cx
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [edx + eax]
movzx edx, byte [ecx + ebx]
push edx
lea eax, [esp + 0xc0]
push 0x545316e0
push eax
call fcn.54516af4
lea eax, [esp + 0xc8]
add esp, 0xc
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x54503723
lea edi, [esp + 0x3c]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x54503737
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
movsx ecx, word [ebp + 0xa]
add ebx, 1
cmp ebx, ecx
jl 0x545036d7
add dword [esp + 0x10], 4
mov ebx, dword [esp + 0x18]
jmp 0x545036a0
lea edx, [esp + 0xdc]
push edx
call fcn.54508220
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x168]
push edx
push str._s_s__s
push ebx
call fcn.54516af4
mov esi, eax
lea eax, [ebx + esi]
push str.CPU:
push eax
call fcn.54516af4
push 0
lea ecx, [esp + 0x200]
push str.HARDWAREDESCRIPTIONSystemCentralProcessor_d
push ecx
add esi, eax
mov dword [esp + 0x40], 0
call fcn.54516af4
push 4
lea edx, [esp + 0x44]
push edx
push str.MHz
lea eax, [esp + 0x214]
push eax
push getpeername
mov edi, 1
call fcn.54516600
add esp, 0x40
test eax, eax
je 0x54503841
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [ebx + esi]
push str._d_MHz_
push edx
call fcn.54516af4
push edi
add esi, eax
lea eax, [esp + 0x1ec]
push str.HARDWAREDESCRIPTIONSystemCentralProcessor_d
push eax
call fcn.54516af4
push 4
lea ecx, [esp + 0x30]
push ecx
push str.MHz
lea edx, [esp + 0x200]
push edx
push getpeername
add edi, 1
call fcn.54516600
add esp, 0x2c
test eax, eax
jne 0x545037f1
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [esp + 0x24]
shr ecx, 0x14
push ecx
push 0x54531680
add ebx, esi
push ebx
call fcn.54516af4
mov ecx, dword [esp + 0x2ec]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.54516b6f
add esp, 0x2d4
ret