Function at 0x42d7a0
Capabilities:
Contain obfuscated stackstrings
Create raw socket
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x44c2f9
push eax
mov eax, 0x298c
mov dword fs:[0], esp
call fcn.0043abc0
push ebx
mov ebx, dword [esp + 0x29a0]
push ebp
push esi
xor ebp, ebp
mov esi, ecx
cmp ebx, ebp
push edi
mov dword [esp + 0x20], esi
jg 0x42d7db
mov ebx, 1
mov al, byte [esp + 0x13]
push ebp
lea ecx, [esp + 0x58]
mov dword [esi + 0x70], ebx
mov byte [esp + 0x58], al
call fcn.00401ff0
mov edi, str.WANPPPConnection
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.WANPPPConnection
lea ecx, [esp + 0x5c]
call fcn.004050e0
mov cl, byte [esp + 0x13]
push ebp
mov byte [esp + 0x68], cl
lea ecx, [esp + 0x68]
mov dword [esp + 0x29a8], ebp
call fcn.00401ff0
mov edi, str.service
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.service
lea ecx, [esp + 0x6c]
call fcn.004050e0
mov dl, byte [esp + 0x13]
push ebp
lea ecx, [esp + 0x78]
mov byte [esp + 0x29a8], 1
mov byte [esp + 0x78], dl
call fcn.00401ff0
mov edi, str.WANIPConnection
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.WANIPConnection
lea ecx, [esp + 0x7c]
call fcn.004050e0
mov al, byte [esp + 0x13]
push ebp
lea ecx, [esp + 0x88]
mov byte [esp + 0x29a8], 2
mov byte [esp + 0x88], al
call fcn.00401ff0
mov edi, str.service
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.service
lea ecx, [esp + 0x8c]
call fcn.004050e0
mov cl, byte [esp + 0x13]
push ebp
mov byte [esp + 0x98], cl
lea ecx, [esp + 0x98]
mov byte [esp + 0x29a8], 3
call fcn.00401ff0
mov edi, str.InternetGatewayDevice
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.InternetGatewayDevice
lea ecx, [esp + 0x9c]
call fcn.004050e0
mov dl, byte [esp + 0x13]
push ebp
lea ecx, [esp + 0xa8]
mov byte [esp + 0x29a8], 4
mov byte [esp + 0xa8], dl
call fcn.00401ff0
mov edi, str.device
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.device
lea ecx, [esp + 0xac]
call fcn.004050e0
push ebp
push 2
push 2
mov byte [esp + 0x29b0], 5
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
lea eax, [esp + 0xb4]
push eax
push 0x8004667e
push edi
mov dword [esp + 0x28], edi
mov dword [esp + 0xc0], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
xor eax, eax
mov dword [esp + 0x18], eax
jmp 0x42d986
mov eax, dword [esp + 0x18]
xor ebp, ebp
cmp eax, 0x1f4
jge 0x42de23
cdq
mov ecx, 0x64
idiv ecx
test edx, edx
jne 0x42dbba
lea edi, [esi + 0x10]
lea esi, [esp + 0x54]
mov dword [esp + 0x14], 2
lea edx, [esp + 0x17c]
push ebx
push edx
call fcn.0042c6d0
mov ebp, eax
lea eax, [esi + 0x10]
lea ecx, [esp + 0x164]
push eax
push 0x45ad90
push ecx
mov byte [esp + 0x29b8], 6
call fcn.004052f0
push 0x456088
lea edx, [esp + 0x154]
push eax
push edx
mov byte [esp + 0x29c4], 7
call fcn.00402480
push esi
push eax
lea eax, [esp + 0x124]
mov byte [esp + 0x29cc], 8
push eax
call fcn.004052f0
push 0x456088
lea ecx, [esp + 0x64]
push eax
push ecx
mov byte [esp + 0x29dc], 9
call fcn.00402480
push ebp
lea edx, [esp + 0x108]
push eax
push edx
mov byte [esp + 0x29e8], 0xa
call fcn.004052f0
add esp, 0x44
mov ecx, dword [0x44e274]
mov byte [esp + 0x29a4], 0xb
push ecx
push 0
push eax
mov ecx, edi
call fcn.004025b0
push 1
lea ecx, [esp + 0xd0]
mov byte [esp + 0x29a8], 0xa
call fcn.00401ff0
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x29a8], 9
call fcn.00401ff0
push 1
lea ecx, [esp + 0x100]
mov byte [esp + 0x29a8], 8
call fcn.00401ff0
push 1
lea ecx, [esp + 0x140]
mov byte [esp + 0x29a8], 7
call fcn.00401ff0
push 1
lea ecx, [esp + 0x160]
mov byte [esp + 0x29a8], 6
call fcn.00401ff0
push 1
lea ecx, [esp + 0x180]
mov byte [esp + 0x29a8], 5
call fcn.00401ff0
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x28], dl
call fcn.00401ff0
mov byte [esp + 0x29a4], 0xc
push edi
lea eax, [esp + 0x130]
push str.M_SEARCH__HTTP_1.1_r_nHOST:_239.255.255.250:1900_r_nMAN:__ssdp:discover__r_nMX:_6_r_nST:
push eax
call fcn.00431510
push str._r_n_r_n
lea ecx, [esp + 0x19c]
push eax
push ecx
mov byte [esp + 0x29bc], 0xd
call fcn.00402480
add esp, 0x18
mov edx, dword [0x44e274]
lea ecx, [esp + 0x24]
push edx
push 0
push eax
mov byte [esp + 0x29b0], 0xe
call fcn.004025b0
push 1
lea ecx, [esp + 0x190]
mov byte [esp + 0x29a8], 0xd
call fcn.00401ff0
push 1
lea ecx, [esp + 0x130]
mov byte [esp + 0x29a8], 0xc
call fcn.00401ff0
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
push 0x76c
push 0xfaffffef
push ecx
call fcn.0042cdf0
add esp, 0x10
lea ecx, [esp + 0x24]
mov byte [esp + 0x29a4], 5
push 1
call fcn.00401ff0
mov eax, dword [esp + 0x14]
add esi, 0x20
dec eax
mov dword [esp + 0x14], eax
jne 0x42d9b0
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
xor ebp, ebp
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebp
lea edx, [esp + 0x1a0]
push 0x2800
push edx
push edi
call dword [sym.imp.WS2_32.dll_recv]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0xb8], ebp
jle 0x42de10
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0xc0]
mov byte [esp + 0xc0], al
call fcn.00401ff0
lea ecx, [esp + 0x19c]
push ebp
push ecx
lea ecx, [esp + 0xc4]
call fcn.004050e0
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x48]
mov byte [esp + 0x29a8], 0xf
mov byte [esp + 0x48], dl
call fcn.00401ff0
lea eax, [esp + 0x44]
lea ecx, [esp + 0xbc]
push eax
push ecx
mov byte [esp + 0x29ac], 0x10
call fcn.0042cf00
add esp, 8
test al, al
je 0x42e049
mov dword [esp + 0x14], 0
add esi, 0x10
lea edi, [esp + 0x54]
lea edx, [esp + 0xec]
push ebx
push edx
call fcn.0042c6d0
mov ebp, eax
lea eax, [edi + 0x10]
lea ecx, [esp + 0xe4]
push eax
push 0x45ad90
push ecx
mov byte [esp + 0x29b8], 0x11
call fcn.004052f0
push 0x456088
lea edx, [esp + 0x134]
push eax
push edx
mov byte [esp + 0x29c4], 0x12
call fcn.00402480
push edi
push eax
lea eax, [esp + 0x134]
mov byte [esp + 0x29cc], 0x13
push eax
call fcn.004052f0
push 0x456088
lea ecx, [esp + 0x17c]
push eax
push ecx
mov byte [esp + 0x29dc], 0x14
call fcn.00402480
push ebp
lea edx, [esp + 0x1a8]
push eax
push edx
mov byte [esp + 0x29e8], 0x15
call fcn.004052f0
add esp, 0x44
mov ecx, dword [0x44e274]
mov byte [esp + 0x29a4], 0x16
push ecx
push 0
push eax
mov ecx, esi
call fcn.004025b0
push 1
lea ecx, [esp + 0x170]
mov byte [esp + 0x29a8], 0x15
call fcn.00401ff0
push 1
lea ecx, [esp + 0x150]
mov byte [esp + 0x29a8], 0x14
call fcn.00401ff0
push 1
lea ecx, [esp + 0x110]
mov byte [esp + 0x29a8], 0x13
call fcn.00401ff0
push 1
lea ecx, [esp + 0x120]
mov byte [esp + 0x29a8], 0x12
call fcn.00401ff0
push 1
lea ecx, [esp + 0xe0]
mov byte [esp + 0x29a8], 0x11
call fcn.00401ff0
push 1
lea ecx, [esp + 0xf0]
mov byte [esp + 0x29a8], 0x10
call fcn.00401ff0
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
test eax, eax
jne 0x42ddad
mov eax, 0x44e270
push ecx
push 0
push eax
lea ecx, [esp + 0x50]
call fcn.00401ee0
cmp eax, 0xffffffff
jne 0x42de56
mov eax, dword [esp + 0x14]
add edi, 0x20
inc eax
cmp eax, 2
mov dword [esp + 0x14], eax
jl 0x42dc6c
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x29a8], 0xf
call fcn.00401ff0
push 1
lea ecx, [esp + 0xc0]
mov byte [esp + 0x29a8], 5
call fcn.00401ff0
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0xb8]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
inc ecx
test ebp, ebp
mov dword [esp + 0x18], ecx
jle 0x42d980
xor ebp, ebp
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0xa8]
cmp ecx, ebp
je 0x42e101
mov al, byte [ecx - 1]
test al, al
je 0x42e0f7
cmp al, 0xff
je 0x42e0f7
dec al
mov byte [ecx - 1], al
jmp 0x42e101
xor ebp, ebp
mov bl, 0x17
mov edi, 0x456770
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
push 0x456770
lea ecx, [esp + 0x50]
call fcn.00401ee0
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x28]
mov esi, eax
mov byte [esp + 0x28], dl
call fcn.00401ff0
push esi
lea eax, [esp + 0xf0]
push ebp
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x29b0], bl
call fcn.00401d50
mov ecx, dword [0x44e274]
mov byte [esp + 0x29a4], 0x18
push ecx
push 0
push eax
lea ecx, [esp + 0x30]
call fcn.004025b0
push 1
lea ecx, [esp + 0xf0]
mov byte [esp + 0x29a8], bl
call fcn.00401ff0
mov eax, dword [esp + 0x2c]
lea ebp, [esi + 2]
test eax, eax
je 0x42e036
push 9
lea edx, [esp + 0xd0]
push 0
push edx
lea ecx, [esp + 0x30]
call fcn.00401d50
mov edi, dword [esp + 0xd0]
xor eax, eax
mov dword [esp + 0x35], eax
mov byte [esp + 0x29a4], 0x19
mov dword [esp + 0x39], eax
mov byte [esp + 0x34], 0
test edi, edi
mov byte [esp + 0x3d], al
jne 0x42df27
mov edi, 0x44e270
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x34]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0xd4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test eax, eax
mov ecx, eax
je 0x42df6a
mov al, byte [esp + ecx + 0x34]
cmp al, 0x61
jl 0x42df67
cmp al, 0x7a
jg 0x42df67
sub al, 0x20
mov byte [esp + ecx + 0x34], al
dec ecx
jne 0x42df55
mov esi, str.LOCATION:
lea eax, [esp + 0x34]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x42df97
test cl, cl
je 0x42df93
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x42df97
add eax, 2
add esi, 2
test cl, cl
jne 0x42df73
xor eax, eax
jmp 0x42df9c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42e009
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0xdc]
push eax
push 9
push ecx
lea ecx, [esp + 0x30]
call fcn.00401d50
mov edx, dword [0x44e274]
lea ecx, [esp + 0x24]
push edx
push 0
push eax
mov byte [esp + 0x29b0], 0x1a
call fcn.004025b0
push 1
lea ecx, [esp + 0xe0]
mov byte [esp + 0x29a8], 0x19
call fcn.00401ff0
mov eax, dword [0x44e274]
mov esi, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push 0
push ecx
lea ecx, [esi + 0x20]
call fcn.004025b0
mov ecx, esi
call fcn.0042e270
push 1
lea ecx, [esp + 0xd0]
mov byte [esp + 0x29a8], bl
call fcn.00401ff0
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x29a8], 0x10
call fcn.00401ff0
jmp 0x42de5a
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x29a8], 0x10
call fcn.00401ff0
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x29a8], 0xf
call fcn.00401ff0
push 1
lea ecx, [esp + 0xc0]
mov byte [esp + 0x29a8], 5
call fcn.00401ff0
push 1
lea ecx, [esp + 0xa8]
mov byte [esp + 0x29a8], 4
call fcn.00401ff0
push 1
lea ecx, [esp + 0x98]
mov byte [esp + 0x29a8], 3
call fcn.00401ff0
push 1
lea ecx, [esp + 0x88]
mov byte [esp + 0x29a8], 2
call fcn.00401ff0
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0x29a8], 1
call fcn.00401ff0
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0x29a8], 0
call fcn.00401ff0
push 1
lea ecx, [esp + 0x58]
mov dword [esp + 0x29a8], 0xffffffff
call fcn.00401ff0
xor al, al
jmp 0x42e217
dec ecx
push ecx
call fcn.00439308
add esp, 4
mov ecx, dword [esp + 0x98]
mov dword [esp + 0xa8], ebp
cmp ecx, ebp
mov dword [esp + 0xac], ebp
mov dword [esp + 0xb0], ebp
je 0x42e13d
mov al, byte [ecx - 1]
test al, al
je 0x42e133
cmp al, 0xff
je 0x42e133
dec al
mov byte [ecx - 1], al
jmp 0x42e13d
dec ecx
push ecx
call fcn.00439308
add esp, 4
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x98], ebp
cmp ecx, ebp
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa0], ebp
je 0x42e179
mov al, byte [ecx - 1]
test al, al
je 0x42e16f
cmp al, 0xff
je 0x42e16f
dec al
mov byte [ecx - 1], al
jmp 0x42e179
dec ecx
push ecx
call fcn.00439308
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x88], ebp
cmp ecx, ebp
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], ebp
je 0x42e1b2
mov al, byte [ecx - 1]
test al, al
je 0x42e1a8
cmp al, 0xff
je 0x42e1a8
dec al
mov byte [ecx - 1], al
jmp 0x42e1b2
dec ecx
push ecx
call fcn.00439308
add esp, 4
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x78], ebp
cmp ecx, ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebp
je 0x42e1e5
mov al, byte [ecx - 1]
test al, al
je 0x42e1db
cmp al, 0xff
je 0x42e1db
dec al
mov byte [ecx - 1], al
jmp 0x42e1e5
dec ecx
push ecx
call fcn.00439308
add esp, 4
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x68], ebp
cmp ecx, ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
je 0x42e215
mov al, byte [ecx - 1]
test al, al
je 0x42e20b
cmp al, 0xff
je 0x42e20b
dec al
mov byte [ecx - 1], al
jmp 0x42e215
dec ecx
push ecx
call fcn.00439308
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x299c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2998
ret 4