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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov ebx, edx
mov edi, ecx
mov esi, dword [esp + 0x38]
mov dword [esp + 8], 0
push esi
call sub.msvcrt.dll_strlen
add esp, 4
xor ecx, ecx
cmp byte [eax + esi - 1], 0x2e
sete cl
neg ecx
lea ecx, [eax + ecx + 0x12]
mov eax, 0xd
cmp ecx, 0x110
ja 0x6b44cad1
mov dword [esp], edi
mov dword [ebx + 8], 0x10000
mov word [ebx + 0xc], 0x100
lea edi, [ebx + 0x14]
mov dword [ebx + 0xe], 0
mov dword [esp + 0xc], ebx
mov word [ebx + 0x12], 0
cmp byte [esi], 0
je 0x6b44ca0c
nop
nop
nop
nop
nop
nop
push 0x2e
push esi
call sub.msvcrt.dll_strchr
add esp, 8
mov ebp, eax
test eax, eax
je 0x6b44c9d0
mov ebx, ebp
sub ebx, esi
jmp 0x6b44c9db
push esi
call sub.msvcrt.dll_strlen
add esp, 4
mov ebx, eax
lea eax, [ebx - 1]
cmp eax, 0x3f
jae 0x6b44cabb
lea eax, [edi + 1]
mov byte [edi], bl
push ebx
push esi
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea eax, [esi + ebx]
test ebp, ebp
lea edi, [edi + ebx + 1]
lea esi, [esi + ebx + 1]
cmove esi, eax
cmp byte [esi], 0
jne 0x6b44c9b0
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0xc]
lea esi, [ebp + 8]
mov word [edi], 0
mov byte [edi + 2], al
mov word [edi + 3], 0x100
sub edi, esi
add edi, 5
mov dword [ebp + 0x208], edi
mov dword [ebp + 4], eax
lea eax, [ebp + 0x20c]
push 0xbb8
mov dword [esp + 0x1c], eax
push eax
call fcn.6b44e0a0
add esp, 8
mov edx, dword [esp]
test byte [edx + 0x6db], 2
jne 0x6b44ca95
mov dword [esp + 4], 0
push 1
push 0
push edx
call fcn.6b4438d0
add esp, 0xc
cmp eax, 1
sbb edx, 0
jl 0x6b44cae7
mov dword [esp + 0x14], eax
lea eax, [esp + 8]
push eax
call fcn.6b488600
add esp, 4
test eax, eax
je 0x6b44cb47
mov edi, eax
jmp 0x6b44caec
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
push ecx
push dword [ebp + 0x208]
push esi
push edx
mov ebp, edx
call fcn.6b442e80
add esp, 0x14
mov edi, eax
test eax, eax
je 0x6b44cb12
xor ecx, ecx
jmp 0x6b44caf0
mov eax, dword [esp + 0xc]
mov dword [eax + 0x208], 0
mov eax, 1
mov edi, dword [esp]
push eax
push str.Failed_to_encode_DoH_packet___d_
push edi
call fcn.6b476950
add esp, 0xc
mov edi, 0x1b
jmp 0x6b44cb08
mov edi, 0x1c
mov ecx, dword [esp + 4]
mov eax, dword [0x6b83acf4]
push ecx
call dword [eax]
add esp, 4
lea eax, [esp + 8]
push eax
call fcn.6b487e70
add esp, 4
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [esp + 0x10]
push ebx
push str._s_dns_s
call sym.libcurl.dll_curl_maprintf
add esp, 0xc
mov ebx, eax
mov eax, dword [0x6b83acf4]
push dword [esp + 0x10]
call dword [eax]
add esp, 4
test ebx, ebx
je 0x6b44ce29
mov dword [esp + 4], ebx
mov edx, ebp
jmp 0x6b44ca63
push ebx
push 0x2712
push dword [esp + 0x10]
call sym.libcurl.dll_curl_easy_setopt
add esp, 0xc
test eax, eax
je 0x6b44cb69
mov edi, eax
cmp eax, 0x30
je 0x6b44cb69
cmp edi, 4
jne 0x6b44caec
push 0x6b44ddc0
push 0x4e2b
push dword [esp + 0x10]
call sym.libcurl.dll_curl_easy_setopt
add esp, 0xc
test eax, eax
je 0x6b44cb93
mov edi, eax
cmp eax, 0x30
je 0x6b44cb93
cmp edi, 4
jne 0x6b44caec
push dword [esp + 0x18]
push 0x2711
push dword [esp + 0x10]
call sym.libcurl.dll_curl_easy_setopt
add esp, 0xc
test eax, eax
je 0x6b44cbbc
mov edi, eax
cmp eax, 0x30
je 0x6b44cbbc
cmp edi, 4
jne 0x6b44caec
mov eax, dword [esp]
test byte [eax + 0x6db], 2
jne 0x6b44cc1a
push esi
push 0x271f
push dword [esp + 0x10]
call sym.libcurl.dll_curl_easy_setopt
add esp, 0xc
test eax, eax
je 0x6b44cbee
mov edi, eax
cmp eax, 0x30
je 0x6b44cbee
cmp edi, 4
jne 0x6b44caec
mov eax, dword [esp + 0xc]
push dword [eax + 0x208]
push 0x3c
push dword [esp + 0x10]
call sym.libcurl.dll_curl_easy_setopt
add esp, 0xc
test eax, eax
je 0x6b44cc1a
mov edi, eax
cmp eax, 0x30
je 0x6b44cc1a
cmp edi, 4
jne 0x6b44caec
push dword [esp + 0x44]
push 0x2727
push dword [esp + 0x10]
call sym.libcurl.dll_curl_easy_setopt
add esp, 0xc
test eax, eax
je 0x6b44cc43
mov edi, eax
cmp eax, 0x30
je 0x6b44cc43
cmp edi, 4
jne 0x6b44caec
push 4
push 0x54
push dword [esp + 0x10]
call sym.libcurl.dll_curl_easy_setopt
add esp, 0xc
test eax, eax
je 0x6b44cc67
mov edi, eax
cmp eax, 0x30
je 0x6b44cc67
cmp edi, 4
jne 0x6b44caec
push 2
push 0xb5
push dword [esp + 0x10]
call sym.libcurl.dll_curl_easy_setopt
add esp, 0xc
test eax, eax
je 0x6b44cc8e
mov edi, eax
cmp eax, 0x30
je 0x6b44cc8e
cmp edi, 4
jne 0x6b44caec
push dword [esp + 0x14]
push 0x9b
push dword [esp + 0x10]
call sym.libcurl.dll_curl_easy_setopt
add esp, 0xc
test eax, eax
je 0x6b44ccb7
mov edi, eax
cmp eax, 0x30
je 0x6b44ccb7
cmp edi, 4
jne 0x6b44caec
mov eax, dword [esp]
push dword [eax + 0x78]
push 0x2774
push dword [esp + 0x10]
call sym.libcurl.dll_curl_easy_setopt
add esp, 0xc
test eax, eax
je 0x6b44cce2
mov edi, eax
cmp eax, 0x30
je 0x6b44cce2
cmp edi, 4
jne 0x6b44caec
mov ecx, dword [esp]
mov esi, dword [ecx + 0x120]
test esi, esi
je 0x6b44cd31
push 2
call dword [0x6b7287c8]
mov ecx, dword [esp + 4]
add esp, 4
cmp esi, eax
je 0x6b44cd31
push dword [ecx + 0x120]
push 0x2735
push dword [esp + 0x10]
call sym.libcurl.dll_curl_easy_setopt
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
je 0x6b44cd31
mov edi, eax
cmp eax, 0x30
je 0x6b44cd31
cmp edi, 4
jne 0x6b44caec
test byte [ecx + 0x6d7], 0x40
jne 0x6b44ce33
test byte [ecx + 0x6d8], 4
jne 0x6b44ce68
mov eax, dword [ecx + 0x6d8]
shr eax, 0x1a
and eax, 2
push eax
push 0x51
push dword [esp + 0x10]
call sym.libcurl.dll_curl_easy_setopt
add esp, 0xc
test eax, eax
je 0x6b44cd7a
mov edi, eax
cmp eax, 0x30
je 0x6b44cd7a
cmp edi, 4
jne 0x6b44caec
mov eax, dword [esp]
mov eax, dword [eax + 0x6d8]
shr eax, 0x1a
and eax, 1
push eax
push 0x40
push dword [esp + 0x10]
call sym.libcurl.dll_curl_easy_setopt
add esp, 0xc
test eax, eax
je 0x6b44cdac
mov edi, eax
cmp eax, 0x30
je 0x6b44cdac
cmp edi, 4
jne 0x6b44caec
mov eax, dword [esp]
mov eax, dword [eax + 0x6d8]
shr eax, 0x1c
and eax, 1
push eax
push 0xe8
push dword [esp + 0x10]
call sym.libcurl.dll_curl_easy_setopt
add esp, 0xc
mov edi, eax
test eax, eax
je 0x6b44cde1
cmp edi, 0x30
je 0x6b44cde1
cmp edi, 4
jne 0x6b44caec
mov edx, dword [esp]
test byte [edx + 0x440], 2
je 0x6b44cea0
push 1
push 0xe9
push dword [esp + 0x10]
call sym.libcurl.dll_curl_easy_setopt
add esp, 0xc
mov edi, eax
test eax, eax
je 0x6b44ce9d
cmp edi, 0x30
je 0x6b44ce9d
cmp edi, 4
mov ecx, dword [esp + 4]
mov edx, dword [esp]
jne 0x6b44caf0
jmp 0x6b44cea0
mov edi, 0x1b
jmp 0x6b44cab7
push 1
push 0x29
push dword [esp + 0x10]
call sym.libcurl.dll_curl_easy_setopt
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
je 0x6b44cd3e
mov edi, eax
cmp eax, 0x30
je 0x6b44cd3e
cmp edi, 4
jne 0x6b44caec
jmp 0x6b44cd3e
push 1
push 0x63
push dword [esp + 0x10]
call sym.libcurl.dll_curl_easy_setopt
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
je 0x6b44cd4b
mov edi, eax
cmp eax, 0x30
je 0x6b44cd4b
cmp edi, 4
jne 0x6b44caec
jmp 0x6b44cd4b
mov edx, dword [esp]
mov eax, dword [edx + 0x57c]
test eax, eax
je 0x6b44cedc
push eax
push 0x2751
push dword [esp + 0x10]
call sym.libcurl.dll_curl_easy_setopt
add esp, 0xc
mov edi, eax
test eax, eax
je 0x6b44ced9
cmp edi, 0x30
je 0x6b44ced9
cmp edi, 4
mov ecx, dword [esp + 4]
mov edx, dword [esp]
jne 0x6b44caf0
jmp 0x6b44cedc
mov edx, dword [esp]
mov eax, dword [edx + 0x664]
test eax, eax
je 0x6b44cf18
push eax
push 0x9d75
push dword [esp + 0x10]
call sym.libcurl.dll_curl_easy_setopt
add esp, 0xc
mov edi, eax
test eax, eax
je 0x6b44cf15
cmp edi, 0x30
je 0x6b44cf15
cmp edi, 4
mov ecx, dword [esp + 4]
mov edx, dword [esp]
jne 0x6b44caf0
jmp 0x6b44cf18
mov edx, dword [esp]
mov eax, dword [edx + 0x574]
test eax, eax
je 0x6b44cf54
push eax
push 0x2771
push dword [esp + 0x10]
call sym.libcurl.dll_curl_easy_setopt
add esp, 0xc
mov edi, eax
test eax, eax
je 0x6b44cf51
cmp edi, 0x30
je 0x6b44cf51
cmp edi, 4
mov ecx, dword [esp + 4]
mov edx, dword [esp]
jne 0x6b44caf0
jmp 0x6b44cf54
mov edx, dword [esp]
mov eax, dword [edx + 0x5a8]
test eax, eax
je 0x6b44cf90
push eax
push 0x27b9
push dword [esp + 0x10]
call sym.libcurl.dll_curl_easy_setopt
add esp, 0xc
mov edi, eax
test eax, eax
je 0x6b44cf8d
cmp edi, 0x30
je 0x6b44cf8d
cmp edi, 4
mov ecx, dword [esp + 4]
mov edx, dword [esp]
jne 0x6b44caf0
jmp 0x6b44cf90
mov edx, dword [esp]
test byte [edx + 0x440], 1
je 0x6b44cfcc
push 1
push 0xac
push dword [esp + 0x10]
call sym.libcurl.dll_curl_easy_setopt
add esp, 0xc
mov edi, eax
test eax, eax
je 0x6b44cfc9
cmp edi, 0x30
je 0x6b44cfc9
cmp edi, 4
mov ecx, dword [esp + 4]
mov edx, dword [esp]
jne 0x6b44caf0
jmp 0x6b44cfcc
mov edx, dword [esp]
mov eax, dword [edx + 0x5a0]
test eax, eax
je 0x6b44d008
push eax
push 0x275c
push dword [esp + 0x10]
call sym.libcurl.dll_curl_easy_setopt
add esp, 0xc
mov edi, eax
test eax, eax
je 0x6b44d005
cmp edi, 0x30
je 0x6b44d005
cmp edi, 4
mov ecx, dword [esp + 4]
mov edx, dword [esp]
jne 0x6b44caf0
jmp 0x6b44d008
mov edx, dword [esp]
mov eax, dword [edx + 0x59c]
test eax, eax
je 0x6b44d044
push eax
push 0x275d
push dword [esp + 0x10]
call sym.libcurl.dll_curl_easy_setopt
add esp, 0xc
mov edi, eax
test eax, eax
je 0x6b44d041
cmp edi, 0x30
je 0x6b44d041
cmp edi, 4
mov ecx, dword [esp + 4]
mov edx, dword [esp]
jne 0x6b44caf0
jmp 0x6b44d044
mov edx, dword [esp]
mov eax, dword [edx + 0x418]
test eax, eax
je 0x6b44d07c
push eax
push 0x4e8c
push dword [esp + 0x10]
call sym.libcurl.dll_curl_easy_setopt
add esp, 0xc
mov edi, eax
test eax, eax
je 0x6b44d079
cmp edi, 0x30
je 0x6b44d079
cmp edi, 4
mov edx, dword [esp]
jne 0x6b44caec
jmp 0x6b44d07c
mov edx, dword [esp]
mov eax, dword [edx + 0x41c]
test eax, eax
je 0x6b44d0b4
push eax
push 0x277d
push dword [esp + 0x10]
call sym.libcurl.dll_curl_easy_setopt
add esp, 0xc
mov edi, eax
test eax, eax
je 0x6b44d0b1
cmp edi, 0x30
je 0x6b44d0b1
cmp edi, 4
mov edx, dword [esp]
jne 0x6b44caec
jmp 0x6b44d0b4
mov edx, dword [esp]
mov eax, dword [edx + 0x63c]
test eax, eax
je 0x6b44d0ec
push eax
push 0x283a
push dword [esp + 0x10]
call sym.libcurl.dll_curl_easy_setopt
add esp, 0xc
mov edi, eax
test eax, eax
je 0x6b44d0e9
cmp edi, 0x30
je 0x6b44d0e9
cmp edi, 4
mov edx, dword [esp]
jne 0x6b44caec
jmp 0x6b44d0ec
mov edx, dword [esp]
mov esi, dword [esp + 0x40]
mov eax, dword [edx + 0x440]
shr eax, 2
and eax, 0x3f
push eax
push 0xd8
push dword [esp + 0x10]
mov ebx, edx
call sym.libcurl.dll_curl_easy_setopt
add esp, 0xc
mov eax, dword [esp + 8]
mov dword [eax + 0x6c0], 0x6b44ddf0
mov dword [eax + 0x6c4], ebx
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
push eax
push esi
call sym.libcurl.dll_curl_multi_add_handle
add esp, 8
test eax, eax
jne 0x6b44caec
mov eax, dword [0x6b83acf4]
push dword [esp + 4]
call dword [eax]
add esp, 4
xor edi, edi
jmp 0x6b44cb08