Function at 0x43da74
Capabilities:
Get hostname
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x45
push 0
push 0
dec ecx
jne 0x43da7c
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x3c]
mov edx, dword [0x43d334]
call fcn.0040535c
xor eax, eax
push ebp
push 0x43df0a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
mov edx, dword [0x48c29c]
mov edx, dword [edx]
call fcn.00404a90
lea eax, [ebp - 0x1cc]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
push 0x40
lea eax, [ebp - 0x20c]
push eax
call sub.wsock32.dll_gethostname
inc eax
je 0x43daeb
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x20c]
mov ecx, 0x40
call fcn.00404c68
cmp dword [ebp - 0x18], 0
jne 0x43dafe
lea eax, [ebp - 0x18]
mov edx, 0x43df20
call fcn.00404a90
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dl, 1
mov eax, dword [0x41c258]
call fcn.0041c308
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43deca
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x48bf58]
cmp byte [eax], 0
jne 0x43db39
mov eax, dword [0x48bf50]
cmp byte [eax], 0
je 0x43dc14
mov byte [ebp - 0x3c], 1
lea eax, [ebp - 0x38]
mov edx, dword [0x48becc]
mov edx, dword [edx]
call fcn.00404a90
mov eax, dword [0x48bf50]
cmp byte [eax], 0
je 0x43dbbc
mov eax, dword [0x48c29c]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x214]
push eax
mov ecx, 0x43df30
mov edx, 0x43df44
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x214]
lea eax, [ebp - 0x38]
call fcn.00404a90
cmp dword [ebp - 0x38], 0
jne 0x43db96
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x18]
call fcn.00404a90
mov eax, dword [0x48c1b0]
cmp dword [eax], 0
je 0x43dbbc
mov eax, dword [0x48c1b0]
push dword [eax]
push 0x43df5c
push dword [ebp - 0x18]
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00404d78
lea eax, [ebp - 0x34]
mov edx, dword [0x489bac]
call fcn.00404a90
lea eax, [ebp - 0x30]
mov edx, dword [0x489bb0]
call fcn.00404a90
call fcn.0040ab2c
call fcn.00402b4c
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x2c], 1
lea eax, [ebp - 0x28]
mov edx, dword [0x489b94]
call fcn.00404a90
mov eax, dword [0x489b98]
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0043da50
call fcn.00404460
jmp 0x43ded1
mov edx, 0x43df44
mov eax, dword [ebp - 8]
call fcn.0041c344
test al, al
mov eax, dword [0x48c29c]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x218]
push eax
mov edx, 0x43df44
mov ecx, 0x43df30
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x218]
lea eax, [ebp - 0x38]
call fcn.00404a90
mov eax, dword [ebp - 0x38]
mov edx, dword [0x48c29c]
mov edx, dword [edx]
call fcn.00404e04
jne 0x43dc6e
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x18]
call fcn.00404a90
mov eax, dword [0x48c29c]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x21c]
push eax
mov edx, 0x43df44
mov ecx, 0x43df68
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x21c]
lea eax, [ebp - 0x34]
call fcn.00404a90
mov eax, dword [ebp - 0x34]
mov edx, dword [0x48c29c]
mov edx, dword [edx]
call fcn.00404e04
jne 0x43dcbb
lea eax, [ebp - 0x34]
mov edx, 0x43df7c
call fcn.00404a90
lea edx, [ebp - 0x220]
mov eax, 1
call fcn.00402a68
mov eax, dword [ebp - 0x220]
mov edx, 0x43df94
call fcn.00404e04
je 0x43dd4e
mov eax, dword [0x48c29c]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x10]
push eax
mov edx, 0x43df44
mov ecx, 0x43dfa8
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx]
xor eax, eax
push ebp
push 0x43dd40
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x48c29c]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x224]
push eax
mov edx, 0x43df44
mov ecx, 0x43dfbc
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [ebp - 0x224]
call fcn.00408dec
mov byte [ebp - 0x2c], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43dd4e
mov eax, dword [ebp - 0x34]
mov edx, dword [0x48c29c]
mov edx, dword [edx]
call fcn.00404e04
je 0x43dd6f
mov eax, dword [ebp - 0x34]
mov edx, 0x43df7c
call fcn.00404e04
jne 0x43dd73
mov byte [ebp - 0x2c], 0
mov eax, dword [0x489b94]
push eax
lea eax, [ebp - 0x228]
push eax
mov edx, 0x43df44
mov ecx, 0x43dfd0
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x228]
lea eax, [ebp - 0x28]
call fcn.00404a90
mov eax, dword [ebp - 0x28]
mov edx, dword [0x48c29c]
mov edx, dword [edx]
call fcn.00404e04
jne 0x43ddbf
lea eax, [ebp - 0x28]
mov edx, dword [0x489b94]
call fcn.00404a90
xor eax, eax
push ebp
push 0x43de00
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x489b98]
push eax
mov edx, 0x43df44
mov ecx, 0x43dfe0
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 8]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x43ddf6
mov eax, dword [0x489b98]
mov dword [ebp - 0x24], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43de12
cmp dword [ebp - 0x10], 0
je 0x43de30
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
add al, 0xd0
sub al, 0xa
jb 0x43de30
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.00404a90
jmp 0x43de81
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.0042b474
mov eax, dword [ebp - 0xc]
call fcn.00404cb8
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.00404fe8
mov eax, dword [ebp - 0x14]
call fcn.00404eb8
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404cb8
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404eb8
push eax
lea eax, [ebp - 0x22c]
call fcn.0042b104
mov eax, dword [ebp - 0x22c]
xor edx, edx
pop ecx
call fcn.0043b520
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x14]
call fcn.00404a90
mov eax, dword [ebp - 0x20]
push eax
mov edx, 0x43df44
mov ecx, 0x43dff0
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 8]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x3c], 1
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0043da50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ded1
mov eax, dword [ebp - 8]
call fcn.00403ce8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43df11
lea eax, [ebp - 0x22c]
mov edx, 7
call fcn.00404a1c
lea eax, [ebp - 0x3c]
mov edx, dword [0x43d334]
call fcn.00405420
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.00404a1c
ret