Function at 0x428770
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x43e268]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x1370
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00409ed0
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1344], 0x10
call fcn.00409828
mov dword [eax], 0
mov edx, dword [ebp + 8]
add edx, 0x1344
push edx
mov eax, dword [ebp + 8]
add eax, 0x1334
push eax
push 0
push 0x800
mov ecx, dword [ebp + 8]
add ecx, 4
push ecx
mov edx, dword [0x440bb4]
push edx
call dword [sym.imp.WS2_32.dll_recvfrom]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x135c], eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call fcn.00409828
mov dword [eax], esi
call fcn.00409828
cmp dword [eax], 0
jne 0x428808
mov edx, dword [ebp + 8]
cmp dword [edx + 0x135c], 0
jg 0x42880f
xor eax, eax
jmp 0x42907d
mov eax, dword [ebp + 8]
add eax, 4
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
xor edx, edx
mov word [ebp - 0x10], dx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
movzx edx, word [ecx]
push edx
push 0x438588
lea eax, [ebp - 0xc]
push eax
call fcn.00407379
add esp, 0xc
lea ecx, [ebp - 0xc]
push ecx
movzx edx, byte [0x461db8]
push edx
call fcn.00422eb0
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42907b
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x54]
mov eax, dword [ecx + 8]
or eax, dword [edx + 0xc]
je 0x42907b
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 0x12]
cmp eax, 0x10
jge 0x4288f4
movzx ecx, byte [0x44b43a]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1338]
cmp eax, dword [ecx*4 + 0x441434]
je 0x4288f2
mov byte [ebp - 0x15], 0
jmp 0x4288b8
mov cl, byte [ebp - 0x15]
add cl, 1
mov byte [ebp - 0x15], cl
movzx edx, byte [ebp - 0x15]
cmp edx, 0x10
jge 0x4288f2
movzx eax, byte [ebp - 0x15]
cmp dword [eax*4 + 0x441434], 0
je 0x4288f2
movzx ecx, byte [ebp - 0x15]
mov edx, dword [ebp + 8]
mov eax, dword [ecx*4 + 0x441434]
cmp eax, dword [edx + 0x1338]
jne 0x4288f0
mov cl, byte [ebp - 0x15]
mov byte [0x44b43a], cl
jmp 0x4288f2
jmp 0x4288af
jmp 0x42896e
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 0x12]
cmp eax, 0x80
jl 0x42896e
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0x12]
cmp edx, 0xc0
jge 0x42896e
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x12]
sub eax, 0x80
cdq
sub eax, edx
sar eax, 1
imul eax, eax, 0x110
add eax, 0x442044
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x104]
cmp eax, dword [edx + 0x1338]
jne 0x428950
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + 0x10c], 0
jmp 0x42896e
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x108]
cmp ecx, dword [eax + 0x1338]
jne 0x42896e
mov edx, dword [ebp - 0x1c]
mov byte [edx + 0x10c], 1
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x10]
cmp ecx, 0x17
jne 0x428a37
movzx edx, byte [0x44b43b]
test edx, edx
je 0x428a2b
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x12]
cmp ecx, 0x10
jge 0x4289d4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1338]
push eax
push 0x43fd60
call fcn.004198c0
add esp, 8
push eax
push str.Forwarding_DNS_Server__s_responded
push 0x44bd18
call fcn.00407379
add esp, 0xc
push 1
push 0x44bd18
call fcn.0041b050
add esp, 8
jmp 0x428a2b
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0x12]
cmp edx, 0x80
jl 0x428a2b
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x12]
cmp ecx, 0xc0
jge 0x428a2b
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1338]
push eax
push 0x43fd60
call fcn.004198c0
add esp, 8
push eax
push str.Child_DNS_Server__s_responded
push 0x44bd18
call fcn.00407379
add esp, 0xc
push 1
push 0x44bd18
call fcn.0041b050
add esp, 8
xor eax, eax
jmp 0x42907d
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0x10]
cmp edx, 0x16
jne 0x42907b
push 0x10
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x1334
push edx
call fcn.00406dd0
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1c]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x1008
push edx
call fcn.00409330
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx + 0x11]
mov byte [eax + 0x1367], dl
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx + 0x12]
mov byte [eax + 0x131a], dl
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
add ecx, 0xc
mov edx, dword [ebp + 8]
mov dword [edx + 0x1004], ecx
mov dword [ebp - 0x20], 1
jmp 0x428abc
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
movzx eax, word [edx + 4]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, ax
cmp dword [ebp - 0x20], ecx
jg 0x428b3a
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1004]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
add eax, 0x1108
push eax
call fcn.0041a140
add esp, 0xc
movzx ecx, ax
mov edx, dword [ebp + 8]
add ecx, dword [edx + 0x1004]
mov eax, dword [ebp + 8]
mov dword [eax + 0x1004], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1004]
push edx
call fcn.0041a120
add esp, 4
mov word [ebp - 0x10], ax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1004]
add ecx, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x1004], ecx
jmp 0x428ab3
movzx eax, word [ebp - 0x10]
cmp eax, 1
je 0x428b50
movzx ecx, word [ebp - 0x10]
cmp ecx, 0xc
jne 0x42905e
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov cl, byte [eax + 3]
and cl, 0xf
movzx edx, cl
test edx, edx
jne 0x42905e
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dl, byte [ecx + 2]
shr dl, 1
and dl, 1
movzx eax, dl
test eax, eax
jne 0x42905e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
movzx eax, word [edx + 6]
test eax, eax
je 0x42905e
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x21], 0
mov dword [ebp - 0x3c], 1
jmp 0x428bb3
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
movzx ecx, word [eax + 6]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx edx, ax
cmp dword [ebp - 0x3c], edx
jg 0x428d83
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1004]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0x43fd60
call fcn.0041a140
add esp, 0xc
movzx ecx, ax
mov edx, dword [ebp + 8]
add ecx, dword [edx + 0x1004]
mov eax, dword [ebp + 8]
mov dword [eax + 0x1004], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1004]
push edx
call fcn.0041a120
add esp, 4
mov word [ebp - 0x10], ax
movzx eax, word [ebp - 0x10]
cmp eax, 1
jne 0x428c65
mov byte [ebp - 0x21], 1
mov ecx, dword [ebp + 8]
add ecx, 0x1108
push ecx
mov edx, dword [ebp + 8]
add edx, 0x1208
push edx
call fcn.00409330
add esp, 8
mov eax, dword [ebp + 8]
add eax, 0x1208
push eax
call fcn.00419050
add esp, 4
mov ecx, dword [ebp + 8]
add ecx, 0x1208
push ecx
call fcn.0041bd70
add esp, 4
jmp 0x428cd9
movzx edx, word [ebp - 0x10]
cmp edx, 0xc
jne 0x428cd9
mov eax, dword [ebp + 8]
add eax, 0x1108
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x1208
push ecx
call fcn.00409330
add esp, 8
mov edx, dword [ebp + 8]
add edx, 0x1208
push edx
call fcn.00419050
add esp, 4
push str..in_addr.arpa
mov eax, dword [ebp + 8]
add eax, 0x1208
push eax
call fcn.00401040
add esp, 8
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x428cd9
push str..in_addr.arpa
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.004072ca
add esp, 8
test eax, eax
jne 0x428cd9
mov edx, dword [ebp - 0x44]
mov byte [edx], 0
mov byte [ebp - 0x21], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1004]
add ecx, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x1004], ecx
mov eax, dword [ebp - 0x30]
or eax, dword [ebp - 0x2c]
je 0x428d0d
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1004]
push edx
call fcn.0041a100
add esp, 4
cmp eax, dword [ebp - 0x30]
jae 0x428d27
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1004]
push ecx
call fcn.0041a100
add esp, 4
xor edx, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1004]
add ecx, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x1004], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1004]
push ecx
call fcn.0041a120
add esp, 4
movzx edx, ax
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1004]
add ecx, 2
mov edx, dword [ebp + 8]
mov dword [edx + 0x1004], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1004]
add ecx, dword [ebp - 0x40]
mov edx, dword [ebp + 8]
mov dword [edx + 0x1004], ecx
jmp 0x428baa
push 0
call fcn.0041a650
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x42905e
mov ecx, dword [ebp + 8]
add ecx, 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1004]
sub eax, ecx
mov word [ebp - 0x48], ax
movzx ecx, word [0x44202c]
test ecx, ecx
je 0x428ded
movzx eax, word [0x44202c]
cdq
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edx
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 0x58]
jg 0x428ded
jl 0x428ddf
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x5c]
jae 0x428ded
movzx eax, word [0x44202c]
cdq
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
movzx ecx, word [0x44202e]
test ecx, ecx
je 0x428e26
movzx eax, word [0x44202e]
cdq
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 0x60]
jl 0x428e26
jg 0x428e18
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x64]
jbe 0x428e26
movzx eax, word [0x44202e]
cdq
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov ecx, SysReAllocString
sub ecx, dword [ebp - 0x38]
mov edx, 0
sbb edx, dword [ebp - 0x34]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x68]
jg 0x428e62
jl 0x428e4e
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 0x6c]
jae 0x428e62
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
adc eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
jmp 0x428e70
mov dword [ebp - 0x30], SysReAllocString
mov dword [ebp - 0x2c], 0
push 0x14
mov ecx, dword [ebp + 8]
add ecx, 0x1208
push ecx
movzx edx, byte [0x461db8]
push edx
call fcn.00422f70
add esp, 0xc
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x428f1c
movzx eax, word [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx + 0x18], eax
jge 0x428f08
movzx edx, word [ebp - 0x48]
push edx
push 1
call fcn.004091cb
add esp, 8
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x428ee0
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x1c], 0
je 0x428ed5
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x1c]
push edx
call fcn.0040913d
add esp, 4
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
mov dword [eax + 0x1c], ecx
jmp 0x428f08
push 0x4385d0
push 0x44bd18
call fcn.00407379
add esp, 8
push 1
push 0x44bd18
call fcn.0041b050
add esp, 8
xor eax, eax
jmp 0x42907d
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x30]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x2c]
mov dword [edx + 0xc], ecx
jmp 0x429022
push 0x20
push 1
call fcn.004091cb
add esp, 8
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x428f59
push 0x4385e8
push 0x44bd18
call fcn.00407379
add esp, 8
push 1
push 0x44bd18
call fcn.0041b050
add esp, 8
xor eax, eax
jmp 0x42907d
mov edx, dword [ebp + 8]
add edx, 0x1208
push edx
call fcn.00418e80
add esp, 4
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], eax
movzx edx, word [ebp - 0x48]
push edx
push 1
call fcn.004091cb
add esp, 8
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp - 0x4c]
cmp dword [edx], 0
je 0x428f96
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x1c], 0
jne 0x428ff8
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx], 0
je 0x428fac
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
push eax
call fcn.0040913d
add esp, 4
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx + 0x1c], 0
je 0x428fc4
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x1c]
push eax
call fcn.0040913d
add esp, 4
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.0040913d
add esp, 4
push 0x438600
push 0x44bd18
call fcn.00407379
add esp, 8
push 1
push 0x44bd18
call fcn.0041b050
add esp, 8
xor eax, eax
jmp 0x42907d
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x30]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x2c]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x4c]
mov byte [edx + 0x10], 0x14
mov eax, dword [ebp - 0x4c]
push eax
movzx ecx, byte [0x461db8]
push ecx
call fcn.00426490
add esp, 8
movzx edx, word [ebp - 0x48]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x1c]
push eax
call fcn.00406dd0
add esp, 0xc
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x1c]
xor eax, eax
mov word [edx + 8], ax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x1c]
xor eax, eax
mov word [edx + 0xa], ax
movzx ecx, word [ebp - 0x48]
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp + 8]
mov byte [eax + 0x1318], 0x15
mov ecx, dword [ebp + 8]
push ecx
call fcn.00422920
add esp, 4
mov eax, 1
jmp 0x42907d
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406dc0
mov esp, ebp
pop ebp
ret