Function at 0x4be590
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ffe4d
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x541a34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x541a2c], 0xffffffff
je 0x4be5cd
cmp dword [0x541a2c], 0
jne 0x4be5d4
xor eax, eax
jmp 0x4bf15b
cmp dword [ebp + 0xc], 0
jne 0x4be5e4
mov eax, 1
jmp 0x4bf15b
mov ecx, 0x54514c
call fcn.0045f4f0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, 0x54512c
call fcn.0047e0b0
lea edx, [ebp - 0x23c]
push edx
mov ecx, 0x54512c
call fcn.00480c90
push eax
lea ecx, [ebp - 0x7c]
call fcn.004896b0
movzx eax, al
test eax, eax
je 0x4be635
mov ecx, 0x54514c
call fcn.00461fd0
mov eax, 1
jmp 0x4bf15b
lea ecx, [ebp - 0x7c]
call fcn.004bab10
add eax, 4
push eax
lea ecx, [ebp - 0x90]
call fcn.004ba620
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x1e4], ecx
mov edx, dword [ebp - 0x1e4]
push edx
lea eax, [ebp - 0x240]
push eax
mov ecx, 0x54512c
call fcn.004c01e0
mov ecx, 0x54514c
call fcn.00461fd0
mov ecx, dword [ebp + 0xc]
mov dx, word [ecx]
mov word [ebp - 0x1a8], dx
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x90]
call fcn.004ac1c0
jmp 0x4be6a4
lea ecx, [ebp - 0x80]
call fcn.0048c8e0
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x90]
call fcn.0048b520
push eax
lea ecx, [ebp - 0x80]
call fcn.004b2020
movzx edx, al
test edx, edx
je 0x4bf139
lea ecx, [ebp - 0x80]
call fcn.004bab50
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x74]
mov dx, word [ecx + 0x40]
mov word [eax], dx
push 1
push 1
push 0
lea ecx, [ebp - 0x218]
call fcn.0044dc10
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x74]
movzx ecx, word [eax]
cmp ecx, 0x17
jne 0x4beb08
lea ecx, [ebp - 0x1f0]
call fcn.004a0150
mov byte [ebp - 4], 2
lea edx, [ebp - 0x1f0]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004586b0
add esp, 0xc
lea ecx, [ebp - 0x1f0]
call fcn.004ae400
test eax, eax
jne 0x4be780
mov dword [ebp - 0x1f4], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1f0]
call fcn.00456cf0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x218]
call fcn.0044e060
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.004ba990
mov eax, dword [ebp - 0x1f4]
jmp 0x4bf15b
push 1
push 1
push 0
lea ecx, [ebp - 0x230]
call fcn.0044dc10
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x1f0]
call fcn.004855a0
mov edx, dword [eax]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x74]
movzx edx, word [ecx + 0x40]
push edx
lea eax, [ebp - 0x230]
push eax
call fcn.004bd180
add esp, 0x10
lea ecx, [ebp - 0x230]
call fcn.004ae3c0
push eax
lea ecx, [ebp - 0x230]
call fcn.00443a60
push eax
mov ecx, dword [ebp - 0x74]
push ecx
mov edx, dword [ebp - 0x74]
add edx, 0x1c
push edx
lea eax, [ebp - 0x218]
push eax
call fcn.004baf60
add esp, 0x14
call fcn.0045bf70
movzx ecx, byte [eax + 0x38]
test ecx, ecx
je 0x4beae5
push 0
lea ecx, [ebp - 0x84]
call fcn.0044de20
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x230]
call fcn.004ae3c0
push eax
lea ecx, [ebp - 0x230]
call fcn.00443a60
push eax
lea edx, [ebp - 0xa4]
push edx
call fcn.00458d00
add esp, 0xc
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x1fc], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x1fc]
call fcn.00443490
push eax
mov ecx, dword [ebp - 0x74]
add ecx, 0x1c
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.0045c580
add esp, 8
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x98]
call fcn.0043d050
push eax
mov ecx, dword [ebp - 0x74]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.0045c580
add esp, 8
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xa0]
call fcn.0043d050
push eax
mov ecx, dword [ebp + 8]
call fcn.00443490
push eax
push 0x510174
lea ecx, [ebp - 0x84]
push ecx
call fcn.0044ee90
add esp, 0x18
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.0043a420
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
call fcn.0043a420
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa4]
call fcn.0044e140
call fcn.0045bf70
lea edx, [ebp - 0xf8]
push edx
call fcn.0045cf00
add esp, 4
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xac]
push ecx
push 0x5101a4
push 0x26a
lea edx, [ebp - 0xf4]
push edx
call fcn.0044f080
add esp, 8
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xb4]
push ecx
push 0x5101a8
push 0x5101c8
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0xf0]
push eax
call fcn.0044e2c0
add esp, 0xc
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0xbc]
push edx
lea eax, [ebp - 0xec]
push eax
call fcn.0044e2c0
add esp, 0xc
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], ecx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0xc4]
push edx
lea eax, [ebp - 0xe8]
push eax
call fcn.0044e220
add esp, 0xc
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0xcc]
push edx
lea eax, [ebp - 0xe4]
push eax
call fcn.0044e2c0
add esp, 0xc
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], ecx
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0xd4]
push edx
lea eax, [ebp - 0xe0]
push eax
call fcn.0044e220
add esp, 0xc
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0xdc], ecx
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0xdc]
call fcn.00443490
push eax
call fcn.0045bf70
mov ecx, eax
call fcn.00458500
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xe0]
call fcn.0044e140
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xe4]
call fcn.0044e140
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xe8]
call fcn.0044e140
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xec]
call fcn.0044e140
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xf0]
call fcn.0044e140
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xf4]
call fcn.0044e140
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf8]
call fcn.0044e140
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x84]
call fcn.0044e140
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x230]
call fcn.0044e060
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1f0]
call fcn.00456cf0
jmp 0x4bee0d
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x74]
push ecx
mov edx, dword [ebp - 0x74]
add edx, 0x1c
push edx
lea eax, [ebp - 0x218]
push eax
call fcn.0045f770
add esp, 0x14
call fcn.0045bf70
movzx ecx, byte [eax + 0x38]
test ecx, ecx
je 0x4bee0d
push 0
lea ecx, [ebp - 0x88]
call fcn.0044de20
mov byte [ebp - 4], 0xf
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x114]
push ecx
call fcn.00458d00
add esp, 0xc
mov dword [ebp - 0xfc], eax
mov edx, dword [ebp - 0xfc]
mov dword [ebp - 0x100], edx
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x100]
call fcn.00443490
push eax
mov eax, dword [ebp - 0x74]
add eax, 0x1c
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.0045c580
add esp, 8
mov dword [ebp - 0x104], eax
mov edx, dword [ebp - 0x104]
mov dword [ebp - 0x108], edx
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x108]
call fcn.0043d050
push eax
mov eax, dword [ebp - 0x74]
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.0045c580
add esp, 8
mov dword [ebp - 0x10c], eax
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x110], edx
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x110]
call fcn.0043d050
push eax
mov ecx, dword [ebp + 8]
call fcn.00443490
push eax
push str.write_dns_to_main_net_work__s__s__s_data:_s
lea eax, [ebp - 0x88]
push eax
call fcn.0044ee90
add esp, 0x18
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x70]
call fcn.0043a420
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x28]
call fcn.0043a420
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x114]
call fcn.0044e140
call fcn.0045bf70
lea ecx, [ebp - 0x168]
push ecx
call fcn.0045cf00
add esp, 4
mov dword [ebp - 0x118], eax
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x11c], edx
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x11c]
push eax
push 0x5101fc
push 0x26f
lea ecx, [ebp - 0x164]
push ecx
call fcn.0044f080
add esp, 8
mov dword [ebp - 0x120], eax
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x124], edx
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x124]
push eax
push 0x510200
push 0x510220
lea ecx, [ebp - 0x88]
push ecx
lea edx, [ebp - 0x160]
push edx
call fcn.0044e2c0
add esp, 0xc
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x12c]
push ecx
lea edx, [ebp - 0x15c]
push edx
call fcn.0044e2c0
add esp, 0xc
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x134], eax
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x134]
push ecx
lea edx, [ebp - 0x158]
push edx
call fcn.0044e220
add esp, 0xc
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x13c], eax
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x13c]
push ecx
lea edx, [ebp - 0x154]
push edx
call fcn.0044e2c0
add esp, 0xc
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x144], eax
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x144]
push ecx
lea edx, [ebp - 0x150]
push edx
call fcn.0044e220
add esp, 0xc
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x14c], eax
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x14c]
call fcn.00443490
push eax
call fcn.0045bf70
mov ecx, eax
call fcn.00458500
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x150]
call fcn.0044e140
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x154]
call fcn.0044e140
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x158]
call fcn.0044e140
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x15c]
call fcn.0044e140
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x160]
call fcn.0044e140
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x164]
call fcn.0044e140
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x168]
call fcn.0044e140
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.0044e140
lea ecx, [ebp - 0x218]
call fcn.004ae3c0
mov dword [ebp - 0x16c], eax
push 0
push 0
mov ecx, dword [ebp - 0x74]
add ecx, 0x48
push ecx
lea ecx, [ebp - 0x218]
call fcn.004ae3c0
push eax
lea ecx, [ebp - 0x218]
call fcn.00443a60
push eax
call dword [sym.imp.WinDivert.dll_WinDivertHelperCalcChecksums]
add esp, 0x14
mov dword [ebp - 0x238], eax
mov edx, dword [ebp - 0x74]
add edx, 0x48
push edx
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x218]
call fcn.004ae3c0
push eax
lea ecx, [ebp - 0x218]
call fcn.00443a60
push eax
mov ecx, dword [0x541a2c]
push ecx
call dword [sym.imp.WinDivert.dll_WinDivertSend]
add esp, 0x14
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
jne 0x4bf125
call fcn.0045bf70
movzx edx, byte [eax + 0x38]
test edx, edx
je 0x4bf125
push 0
lea ecx, [ebp - 0x78]
call fcn.0044de20
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x188]
push eax
call fcn.004aa110
add esp, 4
mov dword [ebp - 0x174], eax
mov ecx, dword [ebp - 0x174]
mov dword [ebp - 0x178], ecx
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x178]
call fcn.00443490
push eax
lea ecx, [ebp - 0x184]
call fcn.0044de50
mov dword [ebp - 0x17c], eax
mov edx, dword [ebp - 0x17c]
mov dword [ebp - 0x180], edx
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x180]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x218]
call fcn.004ae3c0
push eax
push str.WinDivertSend_UDP_DNSe_error___len:__d___s
lea edx, [ebp - 0x78]
push edx
call fcn.0044ee90
add esp, 0x10
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x184]
call fcn.0044e140
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x188]
call fcn.0044e100
call fcn.0045bf70
lea eax, [ebp - 0x200]
push eax
call fcn.0045cf00
add esp, 4
mov dword [ebp - 0x18c], eax
mov ecx, dword [ebp - 0x18c]
mov dword [ebp - 0x190], ecx
mov byte [ebp - 4], 0x1d
mov edx, dword [ebp - 0x190]
push edx
push 0x510250
push 0x278
lea eax, [ebp - 0x1d8]
push eax
call fcn.0044f080
add esp, 8
mov dword [ebp - 0x194], eax
mov ecx, dword [ebp - 0x194]
mov dword [ebp - 0x198], ecx
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0x198]
push edx
push str.CXyzWinDivert::WriteDnsReturn_
push 0x510274
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x1d4]
push ecx
call fcn.0044e2c0
add esp, 0xc
mov dword [ebp - 0x19c], eax
mov edx, dword [ebp - 0x19c]
mov dword [ebp - 0x1a0], edx
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x1d0]
push ecx
call fcn.0044e2c0
add esp, 0xc
mov dword [ebp - 0x1a4], eax
mov edx, dword [ebp - 0x1a4]
mov dword [ebp - 0x1dc], edx
mov byte [ebp - 4], 0x20
mov eax, dword [ebp - 0x1dc]
push eax
lea ecx, [ebp - 0x1cc]
push ecx
call fcn.0044e220
add esp, 0xc
mov dword [ebp - 0x1ac], eax
mov edx, dword [ebp - 0x1ac]
mov dword [ebp - 0x1b0], edx
mov byte [ebp - 4], 0x21
mov eax, dword [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0x1c8]
push ecx
call fcn.0044e2c0
add esp, 0xc
mov dword [ebp - 0x1b4], eax
mov edx, dword [ebp - 0x1b4]
mov dword [ebp - 0x1b8], edx
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x1b8]
push eax
lea ecx, [ebp - 0x1c4]
push ecx
call fcn.0044e220
add esp, 0xc
mov dword [ebp - 0x1bc], eax
mov edx, dword [ebp - 0x1bc]
mov dword [ebp - 0x1c0], edx
mov byte [ebp - 4], 0x23
mov ecx, dword [ebp - 0x1c0]
call fcn.00443490
push eax
call fcn.0045bf70
mov ecx, eax
call fcn.00458500
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x1c4]
call fcn.0044e140
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x1c8]
call fcn.0044e140
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x1cc]
call fcn.0044e140
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x1d0]
call fcn.0044e140
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x1d4]
call fcn.0044e140
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x1d8]
call fcn.0044e140
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x200]
call fcn.0044e140
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.0044e140
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x218]
call fcn.0044e060
jmp 0x4be69c
mov dword [ebp - 0x1e0], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.004ba990
mov eax, dword [ebp - 0x1e0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d1fac
mov esp, ebp
pop ebp
ret