Function at 0x100100a0
Capabilities:
Get hostname
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101d56cc
mov eax, dword fs:[0]
push eax
sub esp, 0x3c0
mov eax, dword [0x10263fdc]
xor eax, esp
mov dword [esp + 0x3b8], eax
push ebx
push esi
push edi
mov eax, dword [0x10263fdc]
xor eax, esp
push eax
lea eax, [esp + 0x3d0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, edx
mov dword [esp + 0x18], eax
xor eax, eax
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x18], ecx
mov byte [esp + 0x26c], 0
mov dword [esp + 0x26d], eax
mov dword [esp + 0x271], eax
mov dword [esp + 0x275], eax
mov dword [esp + 0x279], eax
mov dword [esp + 0x27d], eax
mov dword [esp + 0x281], eax
mov dword [esp + 0x285], eax
mov dword [esp + 0x289], eax
call dword [sym.imp.MSVCR100.dll__time64]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push 0x1024e190
lea edx, [esp + 0x278]
push 0x21
push edx
call dword [sym.imp.MSVCR100.dll_sprintf_s]
mov esi, dword [sym.imp.ParsePackage.dll_AppendLabel]
push 0x1024e0c8
push str.OpeTyp
push 0
call esi
lea eax, [esp + 0x28c]
push eax
push str.TimStm
push 0
call esi
push edi
push str.DevTyp
push 0
call esi
push str.W256H360
push str.TmpTyp
push 0
call esi
add esp, 0x48
push ebx
push str.DevFlg
push 0
call esi
xor eax, eax
push 0x63
push eax
lea ecx, [esp + 0x2a1]
push ecx
mov byte [esp + 0x26c], 0
mov dword [esp + 0x26d], eax
mov dword [esp + 0x271], eax
mov dword [esp + 0x275], eax
mov dword [esp + 0x279], eax
mov byte [esp + 0x27d], al
mov byte [esp + 0x25c], al
mov dword [esp + 0x25d], eax
mov dword [esp + 0x261], eax
mov dword [esp + 0x265], eax
mov word [esp + 0x269], ax
mov byte [esp + 0x26b], al
mov byte [esp + 0x2a4], al
call sub.MSVCR100.dll_memset
lea edx, [esp + 0x25c]
push edx
lea eax, [esp + 0x270]
push eax
call fcn.1001f3d0
add esp, 0x20
lea ecx, [esp + 0xb4]
push ecx
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1001027e
cmp word [esp + 0xb4], 2
jne 0x10010278
push 0x64
lea edx, [esp + 0x290]
push edx
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jns 0x10010278
push str.unknow_host
lea eax, [esp + 0x290]
push 0x64
push eax
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0xc
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea ecx, [esp + 0x244]
push ecx
push str.HosIP
push 0
call esi
lea edx, [esp + 0x260]
push edx
push str.HosMAC
push 0
call esi
lea eax, [esp + 0x2a4]
push eax
push str.HosNam
push 0
call esi
push 0x1024e124
push str.OptTim
push 0
call esi
push 0x1024e130
push str.VrfMod
push 0
call esi
push str.ffffffffffffffffffffffffffffffff
push str.Token
push 0
call esi
add esp, 0x48
push 0x1024cb20
push str.UsrNam
push 0
call esi
push 0x1024e130
push str.FpCnt
push 0
call esi
push 0x1024e178
push str.FpEncTyp
push 0
call esi
mov ecx, dword [esp + 0x38]
push ecx
push str.DevSn
push 0
call esi
mov ebx, dword [esp + 0x48]
add ebx, 0x4fc
add esp, 0x30
mov ecx, ebx
call dword [sym.imp.szutils.dll_public:_int___thiscall_TCommon::TString::GetLength_void_const]
cdq
sub eax, edx
sar eax, 1
push eax
push 0x1024e190
lea edx, [esp + 0x364]
call fcn.1000b450
add esp, 8
lea ecx, [esp + 0x24]
call dword [sym.imp.szutils.dll_public:_void___thiscall_TCommon::TString::constructor_void_]
push 0x1024cb20
lea ecx, [esp + 0x28]
mov dword [esp + 0x3dc], 0
call dword [sym.imp.szutils.dll_public:_class_TCommon::TString_const____thiscall_TCommon::TString::operator_char_const__]
mov edi, dword [reloc.szutils.dll___YTString_TCommon__QAEABV01_PBD_Z]
push str.R2_0_
lea ecx, [esp + 0x28]
call edi
lea edx, [esp + 0x35c]
push edx
lea ecx, [esp + 0x28]
call edi
push 0x1024e19c
lea ecx, [esp + 0x28]
call edi
push ebx
lea ecx, [esp + 0x28]
call dword [0x101d9adc]
push 0x1024e19c
lea ecx, [esp + 0x28]
call edi
lea ecx, [esp + 0x24]
call dword [sym.imp.szutils.dll_public:_char_const____thiscall_TCommon::TString::GetAnsi_void_]
push eax
push str.FpDat
push 0
call esi
mov edi, dword [sym.imp.ParsePackage.dll_GetPackLen]
call edi
push eax
push 0x1024e190
lea edx, [esp + 0x308]
call fcn.1000b450
lea eax, [esp + 0x308]
push eax
push str.FpConLen
push 0
call esi
call edi
mov edi, eax
push edi
call dword [sym.imp.MSVCR100.dll_malloc]
mov esi, eax
add esp, 0x24
test esi, esi
je 0x10010426
push edi
push 0
push esi
call sub.MSVCR100.dll_memset
push esi
call dword [sym.imp.ParsePackage.dll_PackData]
add esp, 0x10
test eax, eax
jne 0x1001041c
push esi
mov ecx, ebx
call dword [sym.imp.szutils.dll_public:_class_TCommon::TString_const____thiscall_TCommon::TString::operator_char_const__]
push esi
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
call dword [sym.imp.ParsePackage.dll_FreePackMemory]
lea ecx, [esp + 0x24]
mov dword [esp + 0x3d8], 0xffffffff
call dword [sym.imp.szutils.dll_public_virtual:_void___thiscall_TCommon::TString::destructor_void_]
mov ecx, dword [esp + 0x3d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3b8]
xor ecx, esp
call fcn.101ce9e2
mov esp, ebp
pop ebp
ret 8