Function at 0x445640
Capabilities:
Get hostname
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x507a26
mov eax, dword fs:[0]
push eax
sub esp, 0x378
mov eax, dword [0x54f018]
xor eax, esp
mov dword [esp + 0x370], eax
push ebx
push esi
push edi
mov eax, dword [0x54f018]
xor eax, esp
push eax
lea eax, [esp + 0x388]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00493c40
lea edi, [esp + 0xc8]
mov ecx, eax
call fcn.004a78d0
xor ebx, ebx
push 0xffffffffffffffff
mov dword [esp + 0x394], ebx
push ebx
mov eax, edi
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
call fcn.00401460
push 4
push str.log_
lea ecx, [esp + 0x34]
mov byte [esp + 0x398], 1
call fcn.004015b0
lea ecx, [esp + 0x48]
call fcn.0042f170
push 1
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x39c], 2
lea ecx, [esp + 0x54]
mov byte [esp + 0x1c], 0x2e
call fcn.00403fc0
push eax
push ebx
lea edx, [esp + 0x88]
push edx
lea ecx, [esp + 0x54]
call fcn.00403f80
push 1
push 0xffffffffffffffff
push 0x521da0
lea ecx, [esp + 0x8c]
mov byte [esp + 0x39c], 3
call fcn.0040d470
mov ecx, dword [esp + 0x58]
push ecx
inc eax
push eax
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x54]
call fcn.00403f80
mov byte [esp + 0x390], 4
call fcn.00493c40
push eax
lea ecx, [esp + 0xa0]
call fcn.0049db70
cmp dword [esp + 0x9c], 2
mov edi, dword [esp + 0xac]
je 0x445774
mov edi, dword [esp + 0xa4]
mov eax, dword [esp + 0xb4]
cmp eax, ebx
je 0x445789
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
push 0x51d12c
lea ecx, [esp + 0x24]
shr edi, 0x15
call dword [sym.imp.mfc100.dll_Ordinal_310]
push edi
lea eax, [esp + 0x24]
push 0x52a794
push eax
mov byte [esp + 0x39c], 5
call dword [sym.imp.mfc100.dll_Ordinal_4283]
add esp, 0xc
push 0x51d0e8
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0xa4]
push edx
call fcn.00401bd0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x39c], 6
call fcn.00401910
mov byte [esp + 0x390], 5
cmp dword [esp + 0xb0], 0x10
jb 0x445809
mov eax, dword [esp + 0x9c]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x50]
mov edi, 0xf
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.00401460
call fcn.004ea190
add esp, 0x1c
cmp eax, ebx
jne 0x44585e
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x50]
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push eax
mov byte [ecx], bl
call fcn.00401460
call fcn.004eab00
add esp, 0x1c
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x34]
lea ecx, [esi + 0xbc]
push edx
mov dword [esp + 0x24], ecx
call fcn.00401460
push 0x103
lea eax, [esp + 0x279]
push ebx
push eax
mov byte [esp + 0x280], bl
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [esp + 0xe4]
push ecx
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4458c2
push 0x104
lea edx, [esp + 0x278]
push edx
call dword [sym.imp.WS2_32.dll_gethostname]
call dword [sym.imp.WS2_32.dll_WSACleanup]
push ebx
call dword [sym.imp.MSVCR100.dll__time64]
mov dword [esp + 0x28], eax
add esp, 4
lea eax, [esp + 0x24]
push eax
mov esi, str._Y_m_d_H_M_S
lea edi, [esp + 0x20]
mov dword [esp + 0x2c], edx
call fcn.0044ccd0
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [esp + 0x390], 8
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x278]
push edx
lea eax, [esp + 0x1c]
push str._s__s_
push eax
call dword [sym.imp.mfc100.dll_Ordinal_4283]
mov edx, dword [esp + 0x24]
mov eax, edx
add esp, 0x10
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x445922
mov ecx, dword [esp + 0x18]
sub eax, esi
push eax
push edx
call fcn.004015b0
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov esi, 0x10
cmp dword [esp + 0x78], esi
jb 0x44596d
mov ecx, dword [esp + 0x64]
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov edi, 0xf
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
cmp dword [esp + 0x94], esi
jb 0x445998
mov edx, dword [esp + 0x80]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
cmp dword [esp + 0x5c], esi
jb 0x4459c1
mov eax, dword [esp + 0x48]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
cmp dword [esp + 0x40], esi
jb 0x4459e1
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp dword [esp + 0xdc], esi
jb 0x445a07
mov edx, dword [esp + 0xc8]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov ecx, dword [esp + 0x388]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x370]
xor ecx, esp
call fcn.004e8d32
mov esp, ebp
pop ebp
ret