Function at 0x51d250
Capabilities:
Get hostname
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597731
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x612678]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
lea eax, [ebp - 0x428]
mov dword [ebp - 4], 0
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebp - 0x42c], eax
test eax, eax
je 0x51d42c
sub esp, 0x68
mov edi, esp
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x434], esp
push str.Amazon::SystemInfo::getHostname
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_char_const__]
push ecx
mov dword [ebp - 0x43c], esp
mov esi, esp
push 0xffffffffffffffff
push 0x59e6a0
mov byte [ebp - 4], 1
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esi], eax
push 0x240
push ecx
mov dword [ebp - 0x440], esp
mov esi, esp
push 0xffffffffffffffff
push str.SystemInfoWin
mov byte [ebp - 4], 2
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esi], eax
push 4
sub esp, 0x10
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x444], esp
push dword [ebp - 0x42c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_int_]
push ecx
mov dword [ebp - 0x448], esp
mov esi, esp
push 0xffffffffffffffff
push str.errorCode
mov byte [ebp - 4], 4
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
mov dword [esi], eax
add esp, 4
mov byte [ebp - 4], 5
mov dword [ebp - 0x438], esp
mov esi, esp
push 0xffffffffffffffff
push str.wsaStartupFailed
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esi], eax
push 0
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 6
call fcn.005130e0
mov byte [ebp - 4], 7
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.005158f0
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.00515040
mov ecx, eax
call fcn.00515020
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00515840
mov ecx, eax
call fcn.00515030
mov byte [ebp - 4], 0xb
mov ecx, eax
call fcn.00515040
push eax
mov ecx, edi
call fcn.00429600
lea ecx, [ebp - 0x298]
call fcn.00429560
lea ecx, [ebp - 0x298]
call fcn.00516570
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 0
call fcn.005133a0
mov eax, dword [ebp - 0x42c]
lea edx, [eax + str.getHostname_error:]
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x51d410
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x128]
call fcn.004243e0
mov esi, dword [ebp - 0x430]
push 0x100
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x51d474
lea ecx, [ebp - 0x110]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [esi], al
mov al, byte [ecx]
inc ecx
test al, al
jne 0x51d457
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
mov ecx, esi
call fcn.004243e0
jmp 0x51d621
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
sub esp, 0x68
mov dword [ebp - 0x42c], eax
mov edi, esp
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x438], esp
push str.Amazon::SystemInfo::getHostname
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_char_const__]
push ecx
mov dword [ebp - 0x448], esp
mov esi, esp
push 0xffffffffffffffff
push 0x59e6a0
mov byte [ebp - 4], 0xc
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esi], eax
push 0x24e
push ecx
mov dword [ebp - 0x444], esp
mov esi, esp
push 0xffffffffffffffff
push str.SystemInfoWin
mov byte [ebp - 4], 0xd
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esi], eax
push 4
sub esp, 0x10
mov byte [ebp - 4], 0xe
mov ecx, esp
mov dword [ebp - 0x440], esp
push dword [ebp - 0x42c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_int_]
push ecx
mov dword [ebp - 0x43c], esp
mov esi, esp
push 0xffffffffffffffff
push str.errorCode
mov byte [ebp - 4], 0xf
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
mov dword [esi], eax
add esp, 4
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x434], esp
mov esi, esp
push 0xffffffffffffffff
push str.getHostNameFailed
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esi], eax
push 0
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 0x11
call fcn.005130e0
mov byte [ebp - 4], 0x12
mov ecx, eax
mov byte [ebp - 4], 0x13
call fcn.005158f0
mov ecx, eax
mov byte [ebp - 4], 0x14
call fcn.00515040
mov ecx, eax
call fcn.00515020
mov ecx, eax
mov byte [ebp - 4], 0x15
call fcn.00515840
mov ecx, eax
call fcn.00515030
mov ecx, eax
mov byte [ebp - 4], 0x16
call fcn.00515040
push eax
mov ecx, edi
call fcn.00429600
lea ecx, [ebp - 0x298]
call fcn.00429560
lea ecx, [ebp - 0x298]
call fcn.00516570
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 0
call fcn.005133a0
mov eax, dword [ebp - 0x42c]
lea edx, [eax + str.getHostname_error:]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x51d5c5
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x128]
call fcn.004243e0
mov esi, dword [ebp - 0x430]
movups xmm0, xmmword [ebp - 0x128]
mov byte [ebp - 0x128], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x118]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
lea ecx, [ebp - 0x128]
call fcn.00424200
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00556510
mov esp, ebp
pop ebp
ret