Function at 0x43a120
Capabilities:
Create thread
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489c38
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4bc1dc]
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.0046a2c0
push eax
lea ecx, [ebp - 0x14]
call fcn.00402050
mov esi, dword [eax]
mov byte [ebp - 4], 1
test esi, esi
je 0x43a17f
cmp dword [esi + 4], 0
jne 0x43a17a
push dword [esi]
call fcn.0046e580
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
jmp 0x43a181
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 0x43a1e1
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x43a1da
test esi, esi
je 0x43a1da
mov eax, dword [esi]
test eax, eax
je 0x43a1ba
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x43a1d1
push eax
call fcn.0046f057
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.0046f057
add esp, 4
mov dword [ebp - 0x14], 0
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
test edi, edi
je 0x43a40d
mov eax, dword [edi + 0xc]
cmp dword [eax], 0
je 0x43a40d
push dword [edi]
lea ecx, [ebp - 0x18]
call fcn.00403d10
mov eax, dword [eax]
mov byte [ebp - 4], 5
test eax, eax
je 0x43a215
mov eax, dword [eax]
jmp 0x43a217
xor eax, eax
push eax
lea ecx, [ebp + 0xc]
call fcn.0046a240
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00403a00
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.0043aa10
add esp, 8
mov byte [ebp - 4], 6
call esi
lea ecx, [ebp - 0x10]
call fcn.0046a870
test eax, eax
je 0x43a3a1
push 0x4a3204
call fcn.0046a680
push eax
push 0x4a3204
call fcn.0046a810
mov dword [ebp - 0x18], eax
push 0x4a31ec
mov byte [ebp - 4], 7
call fcn.0046a680
push eax
push 0x4a31ec
call fcn.0046a810
mov dword [ebp - 0x14], eax
push 0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 8
push 0x5ab3
push eax
call fcn.00435dd0
mov esi, eax
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x2c]
push 0x4a31ac
push eax
call fcn.0046a2e0
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.0046a380
push esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xb
push ecx
mov ecx, eax
call fcn.0046a380
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xc
push ecx
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
call fcn.0046a380
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xd
push ecx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
call fcn.0046a380
push 0x30
push 0x497944
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.0046a2c0
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 0x43a32d
call fcn.0046a850
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 0xc
test ecx, ecx
je 0x43a33d
call fcn.0046a850
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 0xb
test ecx, ecx
je 0x43a34d
call fcn.0046a850
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 0xa
test ecx, ecx
je 0x43a35d
call fcn.0046a850
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 9
test ecx, ecx
je 0x43a36d
call fcn.0046a850
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 8
test ecx, ecx
je 0x43a37d
call fcn.0046a850
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x43a38d
call fcn.0046a850
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x43a39d
call fcn.0046a850
xor bl, bl
jmp 0x43a3f4
cmp byte [0x4be2e9], 0
mov dword [0x4bde38], 2
je 0x43a3b9
call fcn.0043a960
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0x439630
push 0
push 0
call fcn.00472eb0
mov dword [0x4bde24], eax
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0x439930
push 0
push 0
call fcn.00472eb0
add esp, 0x30
mov dword [0x4bde28], eax
mov bl, 1
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x43a49f
call fcn.0046a850
jmp 0x43a49f
push 0x498920
call fcn.0046a680
push eax
push 0x498920
call fcn.0046a810
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x2c]
push 0x4a3158
push eax
call fcn.0046a2e0
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.0046a380
push 0x30
push 0x497944
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0046a2c0
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 0x43a47d
call fcn.0046a850
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x43a48d
call fcn.0046a850
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x43a49d
call fcn.0046a850
xor bl, bl
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x43a4b2
call fcn.0046a850
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