Function at 0x439170
Capabilities:
Create thread
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4871c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4b31cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0
call fcn.004689b0
push eax
lea ecx, [ebp - 0x14]
call fcn.00402030
mov esi, dword [eax]
mov byte [ebp - 4], 1
test esi, esi
je 0x4391cf
cmp dword [esi + 4], 0
jne 0x4391ca
push dword [esi]
call fcn.0046cc70
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
jmp 0x4391d1
xor eax, eax
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, dword [ebp - 0x14]
mov edi, eax
mov byte [ebp - 4], 0
test esi, esi
je 0x439231
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x43922a
test esi, esi
je 0x43922a
mov eax, dword [esi]
test eax, eax
je 0x43920a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x439221
push eax
call fcn.0046d747
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.0046d747
add esp, 4
mov dword [ebp - 0x14], 0
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
test edi, edi
je 0x43945d
mov eax, dword [edi + 0xc]
cmp dword [eax], 0
je 0x43945d
push dword [edi]
lea ecx, [ebp - 0x18]
call fcn.00403d40
mov eax, dword [eax]
mov byte [ebp - 4], 5
test eax, eax
je 0x439265
mov eax, dword [eax]
jmp 0x439267
xor eax, eax
push eax
lea ecx, [ebp + 0xc]
call fcn.00468930
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.004039e0
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.00439a60
add esp, 8
mov byte [ebp - 4], 6
call esi
lea ecx, [ebp - 0x10]
call fcn.00468f70
test eax, eax
je 0x4393f1
push 0x49b194
call fcn.00468d70
push eax
push 0x49b194
call fcn.00468f00
mov dword [ebp - 0x18], eax
push 0x49b17c
mov byte [ebp - 4], 7
call fcn.00468d70
push eax
push 0x49b17c
call fcn.00468f00
mov dword [ebp - 0x14], eax
push 0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 8
push 0x5ab3
push eax
call fcn.00434e20
mov esi, eax
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x2c]
push 0x49b13c
push eax
call fcn.004689d0
add esp, 0x30
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
push ecx
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.00468a70
push esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xb
push ecx
mov ecx, eax
call fcn.00468a70
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xc
push ecx
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
call fcn.00468a70
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xd
push ecx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
call fcn.00468a70
push 0x30
push 0x48f9d4
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.004689b0
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xd
test ecx, ecx
je 0x43937d
call fcn.00468f40
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 0xc
test ecx, ecx
je 0x43938d
call fcn.00468f40
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 0xb
test ecx, ecx
je 0x43939d
call fcn.00468f40
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 0xa
test ecx, ecx
je 0x4393ad
call fcn.00468f40
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 9
test ecx, ecx
je 0x4393bd
call fcn.00468f40
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 8
test ecx, ecx
je 0x4393cd
call fcn.00468f40
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x4393dd
call fcn.00468f40
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x4393ed
call fcn.00468f40
xor bl, bl
jmp 0x439444
cmp byte [0x4b52a0], 0
mov dword [0x4b4df0], 2
je 0x439409
call fcn.004399b0
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0x438690
push 0
push 0
call fcn.00470f30
mov dword [0x4b4ddc], eax
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0x438990
push 0
push 0
call fcn.00470f30
add esp, 0x30
mov dword [0x4b4de0], eax
mov bl, 1
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x4394ef
call fcn.00468f40
jmp 0x4394ef
push 0x490990
call fcn.00468d70
push eax
push 0x490990
call fcn.00468f00
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x2c]
push 0x49b0e8
push eax
call fcn.004689d0
add esp, 0x18
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
call fcn.00468a70
push 0x30
push 0x48f9d4
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.004689b0
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x4394cd
call fcn.00468f40
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x4394dd
call fcn.00468f40
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x4394ed
call fcn.00468f40
xor bl, bl
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x439502
call fcn.00468f40
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret