Function at 0x59e33c
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd4c
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x2b4], eax
mov dword [ebp - 0x2b0], eax
mov dword [ebp - 0x2ac], eax
mov dword [ebp - 0x2a8], eax
mov dword [ebp - 0x2a4], eax
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x298], eax
xor eax, eax
push ebp
push 0x59e66e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x59e630
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x5c3874
mov edx, 0x59e68c
call fcn.004077f4
mov eax, 0x5c38a4
mov edx, 0x59e6a8
call fcn.004077f4
lea eax, [ebp - 0x194]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
push 0xff
lea eax, [ebp - 0x294]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x294]
push eax
call sub.wsock32.dll_gethostbyname
mov esi, eax
jmp 0x59e41a
push dword [edi]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 0x298]
call fcn.00407970
mov edx, dword [ebp - 0x298]
mov eax, dword [0x5c3868]
mov eax, dword [eax + 0x428]
mov eax, dword [eax + 0x2a0]
mov ecx, dword [eax]
call dword [ecx + 0x38]
add dword [esi + 0xc], 4
mov eax, dword [esi + 0xc]
mov edi, dword [eax]
test edi, edi
jne 0x59e3e6
call sub.wsock32.dll_WSACleanup
lea edx, [ebp - 0x29c]
mov eax, dword [0x5c3868]
mov eax, dword [eax + 0x428]
mov eax, dword [eax + 0x2a0]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x29c]
mov eax, 0x59e6c4
call fcn.004082f4
test eax, eax
je 0x59e467
mov eax, 0x5c3874
mov edx, 0x59e6e8
call fcn.004077f4
lea edx, [ebp - 0x2a0]
mov eax, dword [0x5c3868]
mov eax, dword [eax + 0x428]
mov eax, dword [eax + 0x2a0]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x2a0]
mov eax, 0x59e70c
call fcn.004082f4
test eax, eax
je 0x59e4a6
mov eax, 0x5c3874
mov edx, 0x59e730
call fcn.004077f4
lea edx, [ebp - 0x2a4]
mov eax, dword [0x5c3868]
mov eax, dword [eax + 0x428]
mov eax, dword [eax + 0x2a0]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x2a4]
mov eax, 0x59e754
call fcn.004082f4
test eax, eax
je 0x59e4e5
mov eax, 0x5c3874
mov edx, 0x59e778
call fcn.004077f4
lea edx, [ebp - 0x2a8]
mov eax, dword [0x5c3868]
mov eax, dword [eax + 0x428]
mov eax, dword [eax + 0x2a0]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x2a8]
mov eax, 0x59e79c
call fcn.004082f4
test eax, eax
je 0x59e524
mov eax, 0x5c3874
mov edx, 0x59e7c0
call fcn.004077f4
lea edx, [ebp - 0x2ac]
mov eax, dword [0x5c3868]
mov eax, dword [eax + 0x428]
mov eax, dword [eax + 0x2a0]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x2ac]
mov eax, 0x59e7e4
call fcn.004082f4
test eax, eax
je 0x59e563
mov eax, 0x5c3874
mov edx, 0x59e808
call fcn.004077f4
lea edx, [ebp - 0x2b0]
mov eax, dword [0x5c3868]
mov eax, dword [eax + 0x428]
mov eax, dword [eax + 0x2a0]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x2b0]
mov eax, 0x59e82c
call fcn.004082f4
test eax, eax
je 0x59e5a2
mov eax, 0x5c3874
mov edx, 0x59e850
call fcn.004077f4
lea edx, [ebp - 0x2b4]
mov eax, dword [0x5c3868]
mov eax, dword [eax + 0x428]
mov eax, dword [eax + 0x2a0]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x2b4]
mov eax, 0x59e874
call fcn.004082f4
test eax, eax
je 0x59e5e1
mov eax, 0x5c3874
mov edx, 0x59e898
call fcn.004077f4
mov eax, dword [0x5c3874]
mov edx, 0x59e68c
call fcn.00407ecc
jne 0x59e601
mov eax, 0x5c3874
mov edx, 0x59e8c0
call fcn.004077f4
mov eax, dword [0x5c3868]
mov eax, dword [eax + 0x428]
mov edx, dword [eax]
call dword [edx + 0x108]
mov esi, 0x59e8e0
lea edi, [ebp - 0x294]
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x59e650
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59e675
lea eax, [ebp - 0x2b4]
mov edx, 8
call fcn.004077ec
ret