Function at 0x55c0e0
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x658398
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x74f8a0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xc0]
cmp byte [eax + 0x1a4], 0
je 0x55c1f8
mov eax, dword [eax + 0x1a8]
test eax, eax
je 0x55c12f
mov ecx, dword [esp + 0x2c]
mov dword [ecx], eax
jmp 0x55c3b6
mov eax, dword [0x75582c]
test eax, eax
jne 0x55c186
mov eax, dword [0x755834]
test eax, eax
jne 0x55c157
push str.Dnsapi.dll
call fcn.00447490
add esp, 4
mov dword [0x755834], eax
test eax, eax
je 0x55c17d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DnsQuery_A
push eax
call edi
mov edx, dword [0x755834]
push str.DnsRecordListFree
push edx
mov dword [0x75582c], eax
call edi
mov dword [0x755830], eax
mov eax, dword [0x75582c]
test eax, eax
je 0x55c1f8
mov edx, dword [esp + 0x28]
push 0
lea ecx, [esp + 0x18]
push ecx
push 0
push 0x148
mov edi, 1
push edi
push edx
call eax
test eax, eax
jne 0x55c1f8
mov edx, dword [esp + 0x14]
xor bl, bl
mov ecx, edx
test edx, edx
je 0x55c1f8
cmp word [ecx + 8], di
jne 0x55c1c5
mov eax, dword [ecx + 0x18]
mov ebp, dword [esp + 0x2c]
mov dword [ebp], eax
test eax, eax
jne 0x55c1cd
mov ecx, dword [ecx]
test ecx, ecx
jne 0x55c1b1
jmp 0x55c1df
mov ecx, dword [esi + 0xc0]
mov dword [ecx + 0x1a8], eax
mov edx, dword [esp + 0x14]
mov bl, 1
test edx, edx
je 0x55c1f0
mov eax, dword [0x755830]
test eax, eax
je 0x55c1f0
push edi
push edx
call eax
test bl, bl
jne 0x55c3b6
mov edx, dword [esp + 0x28]
push edx
call sub.WS2_32.dll_gethostbyname
mov edi, eax
or ebp, 0xffffffff
test edi, edi
jne 0x55c355
cmp dword [esi + 0xc4], eax
jne 0x55c2ad
mov eax, dword [esi + 0x194]
cmp byte [eax + 0x15c], 0
jne 0x55c2ad
mov ecx, dword [esi + 0xc0]
mov eax, dword [ecx]
push 0x3f
push eax
call fcn.00619660
mov edi, eax
add esp, 8
test edi, edi
je 0x55c2ad
lea ecx, [esp + 0x14]
call fcn.00402500
mov dword [esp + 0x20], 0
mov edx, dword [esi + 0xc0]
mov eax, dword [edx + 4]
push eax
push edi
lea ecx, [esp + 0x1c]
push str.__s_s
push ecx
call fcn.00402f70
mov edx, dword [esp + 0x24]
mov ecx, dword [esi + 0xc0]
add esp, 0x10
push edx
call fcn.0044ffb0
mov byte [edi], 0
mov eax, dword [esi + 0xc0]
mov ecx, dword [eax]
push ecx
call sub.WS2_32.dll_gethostbyname
mov edi, eax
mov dword [esp + 0x20], ebp
lea ecx, [esp + 0x14]
call fcn.00402570
test edi, edi
jne 0x55c355
call sub.WS2_32.dll_WSAGetLastError
mov ebx, dword [esp + 0x28]
push ebx
mov edi, eax
call sub.WS2_32.dll_inet_addr
mov edx, dword [esp + 0x2c]
mov dword [edx], eax
cmp eax, ebp
jne 0x55c3b6
cmp byte [esp + 0x30], 0
je 0x55c351
lea ecx, [esp + 0x30]
call fcn.00402500
mov dword [esp + 0x20], 1
mov eax, dword [0x7559d4]
push ebx
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00402f70
mov edx, dword [esp + 0x3c]
add esp, 0xc
push 1
push edx
mov ecx, esi
call fcn.0055bf00
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0xac]
push eax
call fcn.005646e0
push edi
lea ecx, [esp + 0x34]
push str.Error_code___ld_n
push ecx
call fcn.00402f70
mov edx, dword [esp + 0x3c]
add esp, 0xc
push edx
mov ecx, esi
call fcn.0055b6c0
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x20], ebp
lea ecx, [esp + 0x30]
call fcn.00402570
mov eax, edi
jmp 0x55c3b8
mov eax, dword [edi + 0xc]
mov ecx, dword [eax]
mov ebx, dword [ecx]
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], ebx
mov dword [edx], ebx
call fcn.00402500
mov dword [esp + 0x20], 2
movzx eax, byte [esp + 0x2b]
movzx ecx, byte [esp + 0x2a]
push eax
push ecx
movzx edx, bh
push edx
movzx eax, bl
push eax
lea ecx, [esp + 0x40]
push str.Found__d._d._d._d_r_n
push ecx
call fcn.00402f70
mov edx, dword [esp + 0x48]
add esp, 0x18
push edx
mov ecx, esi
call fcn.0055b6c0
mov dword [esp + 0x20], ebp
lea ecx, [esp + 0x30]
call fcn.00402570
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc