Function at 0x68f380
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x244
mov eax, dword [0x759990]
xor eax, esp
mov dword [esp + 0x240], eax
mov ecx, dword [esp + 0x24c]
push edi
mov edi, dword [esp + 0x24c]
mov dword [esp + 0x10], ecx
mov eax, dword [edi + 0x138]
mov dword [esp + 4], eax
mov dword [ecx], 0
test eax, eax
jne 0x68f3d6
mov eax, 0x1b
pop edi
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.00622d3e
add esp, 0x244
ret
cmp dword [eax + 4], 0
push esi
lea esi, [eax + 4]
jne 0x68f425
cmp dword [eax + 0x220], 0
jne 0x68f425
push dword [edi + 0x990]
push str.Could_not_DoH_resolve:__s
push edi
call fcn.0065f880
mov ecx, dword [edi + 0xc]
add esp, 0xc
xor eax, eax
cmp byte [ecx + 0x245], al
pop esi
sete al
add eax, 5
pop edi
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.00622d3e
add esp, 0x244
ret
cmp dword [eax + 0x43c], 0
jne 0x68f686
push ebx
mov dword [esp + 0x10], 0
mov ebx, 2
mov dword [esp + 0x14], 0
jmp 0x68f450
push dword [esi]
push dword [edi + 0x70]
call fcn.00651140
push esi
call fcn.0065b280
add esp, 0xc
add esi, 0x21c
dec ebx
jne 0x68f450
push 0x22c
lea eax, [esp + 0x24]
push ebx
push eax
call fcn.00620a70
add esp, 0xc
mov dword [esp + 0x244], htons
lea esi, [esp + 0x20]
mov ebx, 4
push 0x100
push esi
call fcn.00656430
add esp, 8
add esi, 0x10
dec ebx
jne 0x68f493
mov esi, dword [esp + 0xc]
push ebp
xor ebp, ebp
lea ebx, [esi + 8]
mov eax, dword [ebx]
test eax, eax
je 0x68f53c
lea ecx, [esp + 0x24]
push ecx
push eax
lea esi, [ebx + 0x208]
push esi
call fcn.006962a0
add esp, 4
push eax
push esi
call fcn.00656470
add esp, 4
push eax
call fcn.0068f7f0
push esi
mov dword [esp + 0x34], eax
mov dword [esp + ebp*4 + 0x28], eax
call fcn.00656400
mov eax, dword [esp + 0x34]
add esp, 0x14
test eax, eax
je 0x68f538
cmp eax, 0xd
ja 0x68f507
mov ecx, dword [eax*4 + 0x707e40]
jmp 0x68f50c
mov ecx, str.bad_error_code
mov esi, dword [esp + 0x10]
mov edx, str.AAAA
cmp dword [ebx], 1
mov eax, 0x707fe8
cmovne eax, edx
push dword [esi + 0x444]
push eax
push ecx
push str.DoH:__s_type__s_for__s
push edi
call fcn.0065f950
add esp, 0x14
jmp 0x68f53c
mov esi, dword [esp + 0x10]
inc ebp
add ebx, 0x21c
cmp ebp, 2
jl 0x68f4b1
cmp dword [esp + 0x14], 0
mov ebp, 6
je 0x68f563
cmp dword [esp + 0x18], 0
jne 0x68f63d
push dword [esi + 0x444]
push str.DoH_Host_name:__s
push edi
call fcn.0065f950
lea eax, [esp + 0x30]
push eax
push edi
call fcn.00690340
push dword [esi + 0x440]
lea eax, [esp + 0x3c]
push dword [esi + 0x444]
push eax
call fcn.0068f6a0
mov ebx, eax
add esp, 0x20
test ebx, ebx
jne 0x68f5e4
xor esi, esi
cmp dword [esp + 0x24c], esi
jle 0x68f5c6
lea edi, [esp + 0x24]
lea ecx, [ecx]
push edi
call fcn.00656400
inc esi
add esp, 4
add edi, 0x10
cmp esi, dword [esp + 0x24c]
jl 0x68f5b0
mov eax, 0x1b
pop ebp
pop ebx
pop esi
pop edi
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.00622d3e
add esp, 0x244
ret
cmp dword [edi + 0x78], 0
je 0x68f5f7
push 2
push 3
push edi
call fcn.00664290
add esp, 0xc
push dword [esi + 0x440]
push dword [esi + 0x444]
push ebx
push edi
call fcn.00667bb0
add esp, 0x10
mov esi, eax
cmp dword [edi + 0x78], 0
je 0x68f620
push 3
push edi
call fcn.006642d0
add esp, 8
test esi, esi
jne 0x68f62f
push ebx
call fcn.00673c20
add esp, 4
jmp 0x68f63d
mov eax, dword [esp + 0x1c]
xor ebp, ebp
mov dword [edi + 0x994], esi
mov dword [eax], esi
xor esi, esi
cmp dword [esp + 0x24c], esi
jle 0x68f666
lea ebx, [esp + 0x24]
lea esp, [esp]
push ebx
call fcn.00656400
inc esi
add esp, 4
add ebx, 0x10
cmp esi, dword [esp + 0x24c]
jl 0x68f650
push dword [edi + 0x138]
call dword [0x75ae20]
add esp, 4
mov dword [edi + 0x138], 0
mov eax, ebp
jmp 0x68f5cb
mov ecx, dword [esp + 0x248]
xor eax, eax
pop esi
pop edi
xor ecx, esp
call fcn.00622d3e
add esp, 0x244
ret