Function at 0x437f60
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x44e4b0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4612b0]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, dword [esp + 0x70]
xor ebx, ebx
cmp dword [edi + 0x4c], ebx
je 0x43817c
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov esi, dword [esp + 0x74]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [esi + 1]
cmp ecx, eax
jae 0x43817c
lea edx, [esp + 0x28]
push edx
call fcn.0042b5e0
mov dword [esp + 0x68], ebx
lea eax, [esp + 0x1b]
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x1b], bl
lea edx, [eax + 1]
jmp 0x437fe0
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x437fe0
sub eax, edx
mov eax, 0
setne al
sub eax, 1
jne 0x438000
call fcn.00401350
call fcn.00437090
push esi
mov eax, edi
call fcn.00438210
cmp dword [eax + 0x18], 0x10
jb 0x438013
mov eax, dword [eax + 4]
jmp 0x438016
add eax, 4
push ebx
lea ecx, [esp + 0x20]
push ecx
push ebx
push ebx
push 0xf
push eax
call sub.DNSAPI.dll_DnsQuery_A
cmp eax, ebx
je 0x438038
lea esi, [esp + 0x28]
call fcn.00404e80
jmp 0x43817c
mov ebp, dword [esp + 0x1c]
cmp ebp, ebx
je 0x4380fa
jmp 0x438054
mov esi, dword [esp + 0x74]
cmp word [ebp + 8], 0xf
jne 0x4380c9
push esi
mov eax, edi
call fcn.00438210
cmp dword [eax + 0x18], 0x10
jb 0x43806e
mov eax, dword [eax + 4]
jmp 0x438071
add eax, 4
mov edx, dword [ebp + 4]
push edx
push eax
call fcn.0043b18c
add esp, 8
test eax, eax
jne 0x4380c9
mov eax, dword [ebp + 0x18]
mov cx, word [ebp + 0x1c]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
lea esi, [esp + 0x40]
mov word [esp + 0x20], cx
call fcn.00405620
mov ebx, esi
lea edi, [esp + 0x28]
mov byte [esp + 0x68], 1
call fcn.00404f60
cmp dword [esp + 0x5c], 0x10
jb 0x4380c3
mov edx, dword [esp + 0x48]
push edx
call fcn.00439c49
add esp, 4
mov edi, dword [esp + 0x70]
xor ebx, ebx
mov ebp, dword [ebp]
mov dword [esp + 0x68], ebx
cmp ebp, ebx
jne 0x438050
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4380fa
push 1
push eax
call sub.DNSAPI.dll_DnsFree
call fcn.00430df0
test eax, eax
je 0x4380f6
call fcn.00431240
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov edx, ecx
sub edx, eax
sar edx, 5
xor esi, esi
test edx, edx
jbe 0x438147
nop
mov eax, esi
lea ecx, [esp + 0x28]
call fcn.00404ed0
cmp dword [eax], 0xd
jne 0x438133
mov eax, esi
lea ecx, [esp + 0x28]
call fcn.00404ed0
add eax, 4
cmp dword [eax + 0x14], ebx
jne 0x438197
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov edx, ecx
sub edx, eax
inc esi
sar edx, 5
cmp esi, edx
jb 0x438110
cmp eax, ebx
je 0x438163
mov edx, dword [esp + 0x70]
push edx
push ecx
call fcn.00405a90
mov eax, dword [esp + 0x3c]
push eax
call fcn.00439c49
add esp, 0xc
mov ecx, dword [esp + 0x28]
push ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.00439c49
add esp, 4
mov eax, 0x80004005
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 8
mov eax, esi
lea ecx, [esp + 0x28]
call fcn.00404ed0
mov esi, eax
mov eax, dword [esp + 0x74]
push eax
mov eax, edi
add esi, 4
call fcn.00438210
push 0xffffffffffffffff
add eax, 0x1c
push ebx
push esi
mov ecx, eax
call fcn.00402be0
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x4381e5
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x38]
push ecx
push edx
call fcn.00405a90
mov eax, dword [esp + 0x3c]
push eax
call fcn.00439c49
add esp, 0xc
mov ecx, dword [esp + 0x28]
push ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.00439c49
add esp, 4
xor eax, eax
jmp 0x438181