Function at 0x437bc0
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x44e4e0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4612b0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4612b0]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x8c]
xor ebx, ebx
cmp dword [ebp + 0x4c], ebx
jne 0x437c0a
mov eax, 0x80004005
jmp 0x437f38
push ebx
call fcn.0043af41
mov ecx, dword [ebp + 0x44]
add esp, 4
cmp ecx, edx
jl 0x437c2a
jg 0x437c23
mov edx, dword [ebp + 0x40]
cmp edx, eax
jbe 0x437c2a
xor eax, eax
jmp 0x437f38
push ebx
call fcn.0043af41
mov ecx, dword [ebp + 0x10]
add esp, 4
add eax, 0xe10
adc edx, ebx
sub ecx, dword [ebp + 0xc]
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x44], edx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
xor esi, esi
add eax, edx
je 0x437c90
lea ecx, [ecx]
push esi
mov eax, ebp
call fcn.00438210
mov edi, eax
add edi, 0x1c
call fcn.0042b2c0
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
inc esi
add ecx, edx
cmp esi, ecx
jb 0x437c60
mov dword [ebp + 0x38], ebx
cmp dword [ebp + 0x34], 0x10
jb 0x437c9e
mov eax, dword [ebp + 0x20]
jmp 0x437ca1
lea eax, [ebp + 0x20]
push eax
call sub.WS2_32.dll_gethostbyname
cmp eax, ebx
je 0x437c00
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
lea eax, [esp + 0x1b]
mov dword [ebp + 0x38], ecx
mov byte [esp + 0x1b], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x437cc4
sub eax, edx
mov ecx, ebx
setne cl
mov eax, 0xb19ab5c5
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x171
jle 0x437d01
push 0x171
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00431550
call fcn.00436dc0
mov ecx, dword [ebp + 0x38]
mov dword [esp + 0x50], ecx
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
xor edi, edi
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x4c], 1
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edi
je 0x437f23
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x24], ebx
call fcn.0042b5e0
call fcn.00417900
push edi
mov eax, ebp
mov dword [esp + 0x88], ebx
call fcn.00438210
cmp dword [eax + 0x18], 0x10
jb 0x437d66
mov eax, dword [eax + 4]
jmp 0x437d69
add eax, 4
push ebx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x54]
push ecx
push ebx
push 0xf
push eax
call sub.DNSAPI.dll_DnsQuery_A
cmp eax, ebx
jne 0x437ec7
mov esi, dword [esp + 0x20]
mov dword [esp + 0x1c], esi
call fcn.00436700
test eax, eax
je 0x437da0
call fcn.0041ab40
call fcn.00436e90
cmp esi, ebx
je 0x437e53
jmp 0x437db4
mov esi, dword [esp + 0x1c]
cmp word [esi + 8], 0xf
jne 0x437e37
push edi
mov eax, ebp
call fcn.00438210
cmp dword [eax + 0x18], 0x10
jb 0x437dce
mov eax, dword [eax + 4]
jmp 0x437dd1
add eax, 4
mov edx, dword [esi + 4]
push edx
push eax
call fcn.0043b18c
add esp, 8
test eax, eax
jne 0x437e37
mov eax, dword [esi + 0x18]
mov cx, word [esi + 0x1c]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
lea esi, [esp + 0x54]
mov word [esp + 0x44], cx
call fcn.00405620
mov ebx, esi
lea edi, [esp + 0x2c]
mov byte [esp + 0x84], 3
call fcn.00404f60
mov byte [esp + 0x84], 0
call fcn.00405b00
call fcn.004366d0
test eax, eax
je 0x437e2d
call fcn.00436f20
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
xor ebx, ebx
mov esi, dword [esi]
mov dword [esp + 0x1c], esi
call fcn.00436690
test eax, eax
je 0x437e4b
call fcn.00436fc0
cmp esi, ebx
jne 0x437db0
mov edx, dword [esp + 0x3c]
sub edx, dword [esp + 0x38]
xor esi, esi
sar edx, 5
test edx, edx
jbe 0x437ec7
mov eax, esi
lea ecx, [esp + 0x2c]
call fcn.00404ed0
cmp dword [eax], 0xd
jne 0x437e87
mov eax, esi
lea ecx, [esp + 0x2c]
call fcn.00404ed0
add eax, 4
cmp dword [eax + 0x14], ebx
jne 0x437e99
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x38]
inc esi
sar eax, 5
cmp esi, eax
jb 0x437e64
jmp 0x437ec7
mov eax, esi
lea ecx, [esp + 0x2c]
call fcn.00404ed0
mov esi, eax
push edi
mov eax, ebp
add esi, 4
call fcn.00438210
push 0xffffffffffffffff
add eax, 0x1c
push ebx
push esi
mov ecx, eax
call fcn.00402be0
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x437ee9
push 1
push eax
call sub.DNSAPI.dll_DnsFree
call fcn.00436780
test eax, eax
je 0x437ee5
call fcn.0041a8a0
mov dword [esp + 0x20], ebx
lea esi, [esp + 0x2c]
mov dword [esp + 0x84], 0xffffffff
call fcn.00404e80
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
inc edi
add ecx, edx
mov dword [esp + 0x28], edi
cmp edi, ecx
jb 0x437d39
mov eax, dword [esp + 0x24]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
mov dword [ebp + 0x48], ebx
add eax, 0x80004005
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00439641
add esp, 0x74
ret 4