Function at 0x6b42c0c0
Capabilities:
Resolve dns

Disassembly:
push ebp
push edi
push esi
mov esi, ecx
mov ecx, 0xff
push ebx
mov ebx, eax
sub esp, 0x46c
mov eax, dword [esp + 0x480]
lea edi, [esp + 0x60]
mov dword [esp + 0x5f], 0
mov dword [esp + 0x458], 0
mov dword [esp + 0x2c], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [esp + 0x45c], eax
xor eax, eax
mov dword [esp + 0x5b], 0
test edx, edx
rep stosd dword es:[edi], eax
mov eax, 0xa
mov ecx, 0x1c
lea edi, [esp + 0x3b]
cmovne edx, eax
mov eax, 0x10
mov dword [esp + 0x3b], 0
cmp word [ebx], 2
mov dword [esp + 0x3f], 0
cmovne eax, ecx
mov dword [esp + 0x18], edx
lea edx, [esp + 0x5b]
mov dword [esp + 0x43], 0
mov dword [esp + 0x47], 0
mov dword [esp + 0x4b], 0
mov dword [esp + 0x4f], 0
mov dword [esp + 0x53], 0
mov dword [esp + 0x57], 0
mov dword [esp + 0x14], 0x20
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x401
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.WS2_32.dll_getnameinfo]
sub esp, 0x1c
mov ebp, eax
test eax, eax
jne 0x6b42c330
cmp byte [esp + 0x3b], 0
jne 0x6b42c1f1
movzx eax, word [ebx]
cmp ax, 2
je 0x6b42c3b0
xor ecx, ecx
cmp ax, 0x17
je 0x6b42c3b0
mov dword [esp], ecx
call dword [sym.imp.WS2_32.dll_ntohs]
sub esp, 4
movzx eax, ax
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x6b5cdb74
mov dword [esp + 4], 0x20
mov dword [esp], edi
call sym.libcrypto_1_1.dll_BIO_snprintf
test esi, esi
je 0x6b42c250
lea eax, [esp + 0x5b]
mov dword [esp + 8], 0xe9
mov dword [esp + 4], str.crypto_bio_b_addr.c
mov dword [esp], eax
call sym.libcrypto_1_1.dll_CRYPTO_strdup
mov dword [esi], eax
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x6b42c2d0
mov ebx, dword [esi]
test ebx, ebx
je 0x6b42c380
mov ebp, 1
mov eax, dword [esp + 0x45c]
xor eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
jne 0x6b42c3ed
add esp, 0x46c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x6b42c229
mov dword [esp + 8], 0xeb
mov dword [esp + 4], str.crypto_bio_b_addr.c
mov dword [esp], edi
call sym.libcrypto_1_1.dll_CRYPTO_strdup
mov esi, dword [esp + 0x2c]
mov dword [esi], eax
test eax, eax
jne 0x6b42c229
mov dword [esp], eax
mov dword [esp + 8], 0xfe
mov dword [esp + 4], str.crypto_bio_b_addr.c
call sym.libcrypto_1_1.dll_CRYPTO_free
mov eax, dword [esp + 0x2c]
mov dword [eax], 0
mov dword [esp + 0x10], 0x101
mov dword [esp + 0xc], str.crypto_bio_b_addr.c
mov dword [esp + 8], 0x41
mov dword [esp + 4], 0x86
mov dword [esp], 0x20
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b42c22e
mov dword [esp + 8], 0xeb
mov dword [esp + 4], str.crypto_bio_b_addr.c
mov dword [esp], edi
call sym.libcrypto_1_1.dll_CRYPTO_strdup
mov ebx, dword [esp + 0x2c]
mov dword [ebx], eax
mov eax, dword [esi]
test eax, eax
je 0x6b42c3c0
mov edx, dword [ebx]
test edx, edx
jne 0x6b42c229
mov dword [esp + 8], 0xfa
mov dword [esp + 4], str.crypto_bio_b_addr.c
mov eax, dword [esi]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_CRYPTO_free
mov eax, dword [esp + 0x2c]
mov dword [esi], 0
mov eax, dword [eax]
jmp 0x6b42c27a
mov dword [esp + 0x10], 0xd7
mov dword [esp + 0xc], str.crypto_bio_b_addr.c
mov dword [esp + 8], 2
mov dword [esp + 4], 0x86
mov dword [esp], 0x20
call sym.libcrypto_1_1.dll_ERR_put_error
mov dword [esp], ebp
xor ebp, ebp
call dbg.gai_strerrorW
mov dword [esp], 1
mov dword [esp + 4], eax
call sym.libcrypto_1_1.dll_ERR_add_error_data
jmp 0x6b42c22e
mov dword [esp + 8], 0xfa
mov dword [esp + 4], str.crypto_bio_b_addr.c
mov dword [esp], 0
call sym.libcrypto_1_1.dll_CRYPTO_free
mov dword [esi], 0
jmp 0x6b42c29c
movzx ecx, word [ebx + 2]
jmp 0x6b42c1c6
mov dword [esp + 8], 0xfa
mov dword [esp + 4], str.crypto_bio_b_addr.c
mov dword [esp], 0
call sym.libcrypto_1_1.dll_CRYPTO_free
mov eax, dword [esp + 0x2c]
mov dword [esi], 0
mov eax, dword [eax]
jmp 0x6b42c27a
call sym.___stack_chk_fail
lea esi, [esi]
lea esi, [esi]