Function at 0x429980
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x453d90
mov eax, dword fs:[0]
push eax
mov eax, 0x1ad8
call fcn.0044e2b0
mov eax, dword [0x48e050]
xor eax, esp
mov dword [esp + 0x1ad0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48e050]
xor eax, esp
push eax
lea eax, [esp + 0x1aec]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1afc]
xor ebx, ebx
push 0xa38
lea eax, [esp + 0x444]
push ebx
mov ecx, 0xee
lea esi, [esp + 0x1b08]
lea edi, [esp + 0x8c]
push eax
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x448], ebx
call fcn.004416b0
xor eax, eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov byte [esp + 0x3c], bl
mov esi, vtable.CMd5Hash.0
add esp, 0xc
lea ebx, [esp + 0x24]
mov dword [esp + 0x31], eax
mov word [esp + 0x35], ax
mov byte [esp + 0x37], al
mov dword [esp + 0x24], esi
call fcn.0040af10
xor ebx, ebx
mov dword [esp + 0x1af4], ebx
xor eax, eax
push 0x206
lea edx, [esp + 0x18e2]
xor ecx, ecx
push ebx
push edx
mov byte [esp + 0x18d8], bl
mov dword [esp + 0x18d9], eax
mov dword [esp + 0x18dd], eax
mov dword [esp + 0x18e1], eax
mov word [esp + 0x18e5], ax
mov byte [esp + 0x18e7], al
mov byte [esp + 0x44], bl
mov dword [esp + 0x24], ebx
mov word [esp + 0x18e8], cx
call fcn.004416b0
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
call fcn.00424760
push str.localhost
mov byte [esp + 0x1af8], 1
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
je 0x429af5
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
cmp eax, dword [esp + 0x2ec]
jne 0x429af5
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x1af8], bl
call fcn.00424880
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], esi
cmp eax, ebx
je 0x429ade
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x429aee
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
jmp 0x42a122
lea edi, [esp + 0x94]
call fcn.00407c40
test eax, eax
je 0x429b50
push str.Is_bkav_process
call fcn.00404c20
add esp, 4
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x1af8], bl
call fcn.00424880
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], esi
cmp eax, ebx
je 0x429b36
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x429b46
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 2
jmp 0x42a122
mov edx, dword [esp + 0x90]
mov eax, dword [0x4adbf8]
mov edi, dword [0x4adbe0]
lea ecx, [esp + 0x60]
push ecx
lea ebx, [esp + 0x24]
mov dword [esp + 0x24], edx
mov dword [esp + 0x60], eax
call fcn.0042d650
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x429b84
cmp eax, edi
je 0x429b89
call fcn.0043f37f
mov edx, dword [esp + 0x5c]
cmp dword [esi + 4], edx
je 0x429bbc
mov eax, dword [esp + 0x2ec]
mov ecx, dword [esp + 0x90]
push eax
push ecx
push str.SafeRun_blocked__d_to__08X
call fcn.00404c20
add esp, 0xc
mov dword [esp + 0x18], 1
jmp 0x42a0a9
lea edi, [esp + 0x94]
mov ecx, ebp
call fcn.004285c0
mov ebx, 2
mov byte [esp + 0x38], al
mov byte [esp + 0xe74], al
cmp al, bl
jne 0x429beb
mov dword [esp + 0x18], 1
jmp 0x42a0a9
cmp al, 1
jne 0x429bfc
mov dword [esp + 0x18], 0
jmp 0x42a0a9
mov eax, dword [esp + 0x2f8]
cmp eax, ebx
je 0x429c10
cmp eax, 1
jne 0x429ca0
mov edx, dword [esp + 0x2ec]
push edx
lea eax, [esp + 0x6c]
push eax
mov ecx, ebp
call fcn.004292f0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1af4], bl
call fcn.004248f0
lea ecx, [esp + 0x68]
push ecx
mov byte [esp + 0x1af8], 1
call fcn.00424880
lea edx, [esp + 0x18]
push edx
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x40], esp
push eax
lea ecx, [esp + 0x60]
call fcn.004247d0
push ebp
call fcn.004295f0
test eax, eax
jne 0x42a0a9
lea ecx, [esp + 0x18dc]
push ecx
sub esp, 0x1c
mov edx, esp
mov dword [esp + 0x40], esp
push edx
lea ecx, [esp + 0x60]
call fcn.004247d0
mov eax, dword [esp + 0x30c]
push eax
push ebp
call fcn.004297e0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2f8]
cmp eax, 3
jne 0x429d08
mov dword [esp + 0x20], vtable.UltiFunction.0
lea ebx, [esp + 0x300]
mov byte [esp + 0x1af4], al
call fcn.0043ad90
mov esi, eax
push esi
lea ecx, [esp + 0x18e0]
push 0x104
push ecx
call fcn.0043efc3
add esp, 0xc
push esi
call fcn.0043e85d
mov edx, dword [esp + 0x2f0]
add esp, 4
push edx
lea ebx, [esp + 0x18e0]
mov ecx, ebp
call fcn.0042aff0
mov dword [esp + 0x1c], eax
mov byte [esp + 0x1af4], 1
mov ebx, 2
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x2f0]
push esi
push eax
mov eax, dword [esp + 0x8c]
lea ecx, [esp + 0x18e4]
push ecx
lea edx, [esp + 0xa0]
push edx
push eax
push str.ID:__d_Process:__ws_Domain__ws_port:__d_type__d_n
call fcn.00404c20
add esp, 0x18
cmp dword [ebp + 0x51748], 0
je 0x429db4
lea ecx, [esp + 0x18dc]
push str.dns.google
push ecx
call fcn.0043ec25
add esp, 8
test eax, eax
je 0x429d75
lea edx, [esp + 0x18dc]
push str.doh.opendns.com
push edx
call fcn.0043ec25
add esp, 8
test eax, eax
jne 0x429db4
cmp dword [esp + 0x2f0], 0x1bb
jne 0x429db4
lea eax, [esp + 0x94]
call fcn.0042d330
test eax, eax
je 0x429db4
lea eax, [esp + 0x18dc]
push eax
push str.Block_DNS:__ws_n
call fcn.00404c20
add esp, 8
mov dword [esp + 0x18], 1
jmp 0x42a0a9
cmp esi, 3
je 0x42a0a9
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x2ec]
mov ax, word [esp + 0x2f0]
mov dword [esp + 0x444], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x448], edx
mov edx, dword [esp + 0x18cc]
mov dword [esp + 0xc50], ecx
mov ecx, dword [esp + 0x18d4]
mov word [esp + 0x44c], ax
mov eax, dword [esp + 0x18d0]
mov dword [esp + 0xe5e], edx
mov edx, dword [esp + 0x18d8]
mov dword [esp + 0xe66], ecx
mov edi, 0x104
lea ecx, [esp + 0x94]
lea esi, [esp + 0xc54]
mov dword [esp + 0x43c], ebx
mov byte [esp + 0x440], 0
mov dword [esp + 0xe62], eax
mov dword [esp + 0xe6a], edx
call fcn.0040ded0
mov edi, 0x400
lea ecx, [esp + 0x18dc]
lea esi, [esp + 0x44e]
call fcn.0040ded0
mov eax, dword [esp + 0x1c]
mov esi, 1
mov dword [esp + 0xe70], eax
cmp eax, esi
je 0x429fb8
cmp eax, 8
je 0x429fb8
cmp eax, 9
je 0x429fb8
cmp eax, 0xc
je 0x429fb8
cmp eax, 0xd
je 0x429fb8
cmp eax, 0xe
je 0x429fb8
cmp eax, 5
jne 0x429ed3
lea eax, [esp + 0x43c]
push eax
push ebp
lea edi, [esp + 0x38]
mov dword [esp + 0x20], esi
call fcn.0042a7c0
jmp 0x42a0a9
cmp eax, 4
jne 0x429ee5
mov dword [esp + 0x18], 0xffffffff
jmp 0x42a002
cmp eax, 0xa
jne 0x429f83
lea ecx, [esp + 0x94]
push ecx
call fcn.00406e10
add esp, 4
test eax, eax
jne 0x429f1e
lea edx, [esp + 0x94]
push esi
push edx
call fcn.004071e0
add esp, 8
mov byte [esp + 0xe74], bl
test eax, eax
je 0x429f26
mov byte [esp + 0xe74], 1
lea eax, [esp + 0x43c]
push eax
push ebp
lea edi, [esp + 0x38]
mov byte [esp + 0x448], 0x1e
call fcn.0042a7c0
cmp byte [esp + 0xe74], bl
jne 0x42a0a9
mov edx, dword [esp + 0x2f0]
mov eax, dword [esp + 0x2ec]
lea ecx, [esp + 0x94]
push ecx
push 0xa
push 0
push 0
push edx
push eax
push ebp
lea edi, [esp + 0x18f8]
xor ecx, ecx
mov dword [esp + 0x34], esi
call fcn.0042cea0
jmp 0x42a0a9
cmp eax, 0xb
jne 0x429fa2
lea ecx, [esp + 0x43c]
push ecx
push ebp
lea edi, [esp + 0x38]
mov byte [esp + 0x448], 0x1e
call fcn.0042a7c0
cmp dword [0x49674c], 0
je 0x42a0a9
mov dword [esp + 0x18], esi
jmp 0x42a0a9
mov ecx, dword [esp + 0x2ec]
lea edx, [esp + 0x94]
push edx
push eax
mov eax, dword [esp + 0x2f8]
push 0
push 0
push eax
push ecx
push ebp
lea edi, [esp + 0x18f8]
xor ecx, ecx
mov dword [esp + 0x34], esi
call fcn.0042cea0
lea edx, [esp + 0x43c]
push edx
push ebp
lea edi, [esp + 0x38]
mov byte [esp + 0x448], 0x1e
call fcn.0042a7c0
push 0xa4c
lea eax, [esp + 0xe84]
push 0
push eax
mov dword [esp + 0xe88], 0
call fcn.004416b0
add esp, 0xc
push 0xa3c
lea ecx, [esp + 0x440]
push ecx
lea edx, [esp + 0xe84]
push 0xa3c
push edx
call fcn.0043e615
mov eax, dword [esp + 0x308]
push 0x10
lea ecx, [esp + 0x440]
push ecx
lea edx, [esp + 0x18d4]
push 0x10
push edx
mov dword [esp + 0x18d8], eax
call fcn.0043e615
mov esi, dword [ebp + 0x51760]
mov ecx, dword [esi + 4]
add esp, 0x20
lea ebx, [ebp + 0x5174c]
lea eax, [esp + 0xe7c]
push eax
push ecx
push esi
call fcn.0042dcd0
mov ecx, ebx
mov edi, eax
call fcn.0042dd10
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov edx, dword [ebp + 0x51780]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [esp + 0x54], 0
jbe 0x42a0b9
lea ebx, [esp + 0x3c]
call fcn.00424930
cmp dword [ebp + 0x50dac], 0
je 0x42a0e4
cmp byte [esp + 0x38], 0
je 0x42a0e4
mov eax, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x18d0]
push ecx
lea edx, [esp + 0x9c]
mov ecx, ebp
call fcn.004289d0
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x1af8], 0
call fcn.00424880
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], vtable.CMd5Hash.0
test eax, eax
je 0x42a10d
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x42a11e
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1aec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1ad0]
xor ecx, esp
call fcn.0043e4c7
add esp, 0x1ae4
ret 0x3bc