Function at 0x493380
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x42c
call fcn.005dfa60
mov eax, dword [0x6a704c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
call fcn.00493a00
cmp eax, 1
jne 0x493457
push 0x401
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.005e1a80
add esp, 0xc
lea eax, [ebp - 0x24]
cmp word [ebx], 2
mov edx, 0x10
mov ecx, 0x1c
xorps xmm0, xmm0
cmove ecx, edx
push 0xa
push 0x20
push eax
push 0x401
lea eax, [ebp - 0x428]
push eax
push ecx
push ebx
movups xmmword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.WS2_32.dll_getnameinfo]
mov dword [ebp - 0x42c], eax
test eax, eax
je 0x49346a
mov edx, 0x86
push 0xdb
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_bio_b_addr.c
push 2
lea ecx, [edx - 0x66]
call fcn.00489de0
add esp, 0xc
push 0
push 0x400
push 0x6af640
push 0x400
push dword [ebp - 0x42c]
push 0
push 0x12ff
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push 0x6af640
push 1
call fcn.0048a850
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005df097
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 0x24], 0
jne 0x4934a9
movzx eax, word [ebx]
cmp eax, 2
jne 0x49347e
movzx eax, word [ebx + 2]
jmp 0x49348b
cmp eax, 0x17
jne 0x493489
movzx eax, word [ebx + 2]
jmp 0x49348b
xor eax, eax
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push eax
push 0x679e5c
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.0047d690
add esp, 0x10
test edi, edi
je 0x4934ff
lea ecx, [ebp - 0x428]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4934b6
sub ecx, edx
add ecx, 1
jne 0x4934c8
xor ebx, ebx
jmp 0x4934fd
push ecx
mov dword [0x6a7ea4], 0
call fcn.005ee808
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4934fd
lea ecx, [ebp - 0x428]
mov edx, ebx
mov eax, ecx
sub edx, eax
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x4934f0
mov dword [edi], ebx
test esi, esi
je 0x493553
lea ecx, [ebp - 0x24]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x493510
sub ecx, edx
add ecx, 1
jne 0x493522
xor ebx, ebx
jmp 0x493551
push ecx
mov dword [0x6a7ea4], 0
call fcn.005ee808
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x493551
lea ecx, [ebp - 0x24]
mov edx, ebx
mov eax, ecx
sub edx, eax
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x493544
mov dword [esi], ebx
test edi, edi
je 0x49355c
cmp dword [edi], 0
je 0x493565
test esi, esi
je 0x4935bc
cmp dword [esi], 0
jne 0x4935bc
test edi, edi
je 0x493579
push dword [edi]
call fcn.005e4cbe
add esp, 4
mov dword [edi], 0
test esi, esi
je 0x49358d
push dword [esi]
call fcn.005e4cbe
add esp, 4
mov dword [esi], 0
mov edx, 0x86
push 0x105
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_bio_b_addr.c
push 0x41
lea ecx, [edx - 0x66]
call fcn.00489de0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005df097
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005df097
mov esp, ebp
pop ebp
ret