Function at 0x100738e0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x70
call fcn.101d14f0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x1007390e
cmp dword [ebp - 0x60], 2
je 0x1007390e
cmp dword [ebp - 0x60], 0x17
je 0x1007390e
jmp 0x10073910
jmp 0x10073944
call fcn.1005ca30
push str.BIO_lookup_ex
push 0x29e
push str.....Srcopenssl_3.0.12crypto_bio_bio_addr.c
call fcn.1005cae0
add esp, 0xc
push 0
push 0x83
push 0x20
call fcn.1005cc10
add esp, 0xc
xor eax, eax
jmp 0x10073e37
call fcn.10074040
cmp eax, 1
je 0x10073955
xor eax, eax
jmp 0x10073e37
mov ecx, 1
test ecx, ecx
je 0x10073a9b
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x20
push 0
lea edx, [ebp - 0x2c]
push edx
call fcn.101d19d0
add esp, 0xc
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x20], edx
cmp dword [ebp + 8], 0
je 0x100739a9
cmp dword [ebp + 0x14], 0
jne 0x100739a9
mov eax, dword [ebp - 0x2c]
or eax, 0x400
mov dword [ebp - 0x2c], eax
cmp dword [ebp + 0x10], 1
jne 0x100739b8
mov ecx, dword [ebp - 0x2c]
or ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0x20]
push edx
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10073e40
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x10073a16
cmp dword [ebp - 0x64], 8
je 0x100739e4
jmp 0x10073a1f
call fcn.1005ca30
push str.BIO_lookup_ex
push 0x2d3
push str.....Srcopenssl_3.0.12crypto_bio_bio_addr.c
call fcn.1005cae0
add esp, 0xc
push 0
push 0xc0100
push 0x20
call fcn.1005cc10
add esp, 0xc
jmp 0x10073a96
mov dword [ebp - 4], 1
jmp 0x10073a96
mov ecx, dword [ebp - 0x2c]
and ecx, 0x400
je 0x10073a4a
mov edx, dword [ebp - 0x2c]
and edx, 0xfffffbff
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
or eax, 4
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
jmp 0x100739b8
cmp dword [ebp - 0xc], 0
je 0x10073a58
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x68], edx
jmp 0x10073a5e
mov eax, dword [ebp - 8]
mov dword [ebp - 0x68], eax
call fcn.1005ca30
push str.BIO_lookup_ex
push 0x2e2
push str.....Srcopenssl_3.0.12crypto_bio_bio_addr.c
call fcn.1005cae0
add esp, 0xc
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.10072550
add esp, 4
push eax
push 0x80002
push 0x20
call fcn.1005cc10
add esp, 0xc
jmp 0x10073e34
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
xor edx, edx
mov word [ebp - 0x34], dx
mov dword [ebp - 0x30], 0
push 0x10073fb0
push 0x1027b2d8
call fcn.10066f40
add esp, 8
neg eax
sbb eax, eax
and eax, dword [0x1027b2dc]
jne 0x10073b0d
call fcn.1005ca30
push str.BIO_lookup_ex
push 0x30c
push str.....Srcopenssl_3.0.12crypto_bio_bio_addr.c
call fcn.1005cae0
add esp, 0xc
push 0
push 0xc0100
push 0x20
call fcn.1005cc10
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x10073e26
mov eax, dword [0x1027d104]
push eax
call fcn.10066ed0
add esp, 4
test eax, eax
jne 0x10073b2b
mov dword [ebp - 4], 0
jmp 0x10073e26
mov dword [0x1027b2d4], 0
cmp dword [ebp + 8], 0
jne 0x10073ba9
mov dword [ebp - 0x44], 0x102130cc
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x6c], ecx
cmp dword [ebp - 0x6c], 0
je 0x10073b56
cmp dword [ebp - 0x6c], 1
je 0x10073b62
jmp 0x10073b6e
mov dword [0x1027b2d4], 0x7f000001
jmp 0x10073ba7
mov dword [0x1027b2d4], 0
jmp 0x10073ba7
call fcn.1005ca30
push str.BIO_lookup_ex
push 0x322
push str.....Srcopenssl_3.0.12crypto_bio_bio_addr.c
call fcn.1005cae0
add esp, 0xc
push 0
push 0xc0103
push 0x20
call fcn.1005cc10
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x10073e26
jmp 0x10073bfa
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x10073bfa
call fcn.1005ca30
push str.BIO_lookup_ex
push 0x33f
push str.....Srcopenssl_3.0.12crypto_bio_bio_addr.c
call fcn.1005cae0
add esp, 0xc
push str.calling_gethostbyname__
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 2
call fcn.1005cc10
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x10073e26
cmp dword [ebp + 0xc], 0
jne 0x10073c18
xor eax, eax
mov word [ebp - 0x34], ax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
jmp 0x10073d2a
mov dword [ebp - 0x50], 0
push 0xa
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.101d7d87
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x70], ecx
cmp dword [ebp - 0x70], 1
je 0x10073c4f
cmp dword [ebp - 0x70], 2
je 0x10073c58
jmp 0x10073c5f
mov dword [ebp - 0x48], 0x1021316c
jmp 0x10073c5f
mov dword [ebp - 0x48], 0x10213170
mov edx, dword [ebp - 0x50]
cmp edx, dword [ebp + 0xc]
je 0x10073ca0
mov eax, dword [ebp - 0x50]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x10073ca0
cmp dword [ebp - 0x4c], 0
jle 0x10073ca0
cmp dword [ebp - 0x4c], 0x10000
jge 0x10073ca0
movzx edx, word [ebp - 0x4c]
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x34], ax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
jmp 0x10073d2a
mov edx, dword [ebp - 0x50]
cmp edx, dword [ebp + 0xc]
jne 0x10073cf8
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_getservbyname]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x10073cf6
call fcn.1005ca30
push str.BIO_lookup_ex
push 0x36e
push str.....Srcopenssl_3.0.12crypto_bio_bio_addr.c
call fcn.1005cae0
add esp, 0xc
push str.calling_getservbyname__
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 2
call fcn.1005cc10
add esp, 0xc
jmp 0x10073e26
jmp 0x10073d2a
call fcn.1005ca30
push str.BIO_lookup_ex
push 0x373
push str.....Srcopenssl_3.0.12crypto_bio_bio_addr.c
call fcn.1005cae0
add esp, 0xc
push 0
push 0x82
push 0x20
call fcn.1005cc10
add esp, 0xc
jmp 0x10073e26
mov edx, dword [ebp + 0x20]
mov dword [edx], 0
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x54], ecx
jmp 0x10073d4e
mov edx, dword [ebp - 0x54]
add edx, 4
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
cmp dword [eax], 0
je 0x10073d58
jmp 0x10073d45
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x54]
sub edx, dword [ecx + 0xc]
sar edx, 2
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x54]
sub eax, 4
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x58]
sub edx, 1
mov dword [ebp - 0x58], edx
test ecx, ecx
jbe 0x10073e1f
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x40]
movzx edx, word [ecx + 8]
push edx
mov eax, dword [ebp - 0x44]
movsx ecx, word [eax + 0xa]
push ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp - 0x44]
movsx eax, word [edx + 8]
push eax
call fcn.10073e90
add esp, 0x18
test eax, eax
jne 0x10073db8
jmp 0x10073dcd
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp + 0x20]
mov eax, dword [edx]
mov dword [ecx + 0x1c], eax
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp - 0x5c]
mov dword [ecx], edx
jmp 0x10073d67
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
push ecx
call fcn.10073550
add esp, 4
mov edx, dword [ebp + 0x20]
mov dword [edx], 0
call fcn.1005ca30
push str.BIO_lookup_ex
push 0x39d
push str.....Srcopenssl_3.0.12crypto_bio_bio_addr.c
call fcn.1005cae0
add esp, 0xc
push 0
push 0xc0100
push 0x20
call fcn.1005cc10
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x10073e26
mov dword [ebp - 4], 1
mov eax, dword [0x1027d104]
push eax
call fcn.10066ef0
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret