Function at 0x45abf0
Capabilities:
Check http status code
Contain obfuscated stackstrings
Create raw socket
Receive data
Receive data on socket
Resolve function by parsing pe exports
Set socket configuration

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x486db4
push eax
mov eax, 0x29d0
mov dword fs:[0], esp
call fcn.0047c8c0
mov eax, dword [esp + 0x29e0]
push ebx
push ebp
push esi
xor esi, esi
push edi
cmp eax, esi
mov dword [esp + 0x14], ecx
jg 0x45ac30
mov eax, 1
mov dword [esp + 0x29f0], eax
mov dword [ecx + 0x70], eax
mov al, byte [esp + 0x13]
push esi
lea ecx, [esp + 0x68]
mov byte [esp + 0x68], al
call dword [0x489244]
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 + 0x6c]
call dword [0x489224]
mov cl, byte [esp + 0x13]
push esi
mov byte [esp + 0x78], cl
lea ecx, [esp + 0x78]
mov dword [esp + 0x29ec], esi
call dword [0x489244]
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 + 0x7c]
call dword [0x489224]
mov dl, byte [esp + 0x13]
push esi
lea ecx, [esp + 0x88]
mov byte [esp + 0x29ec], 1
mov byte [esp + 0x88], dl
call dword [0x489244]
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 + 0x8c]
call dword [0x489224]
mov al, byte [esp + 0x13]
push esi
lea ecx, [esp + 0x98]
mov byte [esp + 0x29ec], 2
mov byte [esp + 0x98], al
call dword [0x489244]
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 + 0x9c]
call dword [0x489224]
mov cl, byte [esp + 0x13]
push esi
mov byte [esp + 0xa8], cl
lea ecx, [esp + 0xa8]
mov byte [esp + 0x29ec], 3
call dword [0x489244]
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 + 0xac]
call dword [0x489224]
mov dl, byte [esp + 0x13]
push esi
lea ecx, [esp + 0xb8]
mov byte [esp + 0x29ec], 4
mov byte [esp + 0xb8], dl
call dword [0x489244]
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 + 0xbc]
call dword [0x489224]
push esi
push 2
push 2
mov byte [esp + 0x29f4], 5
call dword [0x4896bc]
lea ecx, [esp + 0xc8]
mov dword [esp + 0x18], eax
push ecx
push 0x8004667e
push eax
mov dword [esp + 0xd4], 1
call dword [0x4896e4]
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x1c]
cmp eax, 0xc8
jge 0x45b505
cdq
mov ecx, 0x64
idiv ecx
test edx, edx
jne 0x45b037
mov edx, dword [esp + 0x14]
lea esi, [esp + 0x64]
mov ebx, 2
lea edi, [edx + 0x10]
mov eax, dword [esp + 0x29f0]
lea ecx, [esp + 0x190]
push eax
push ecx
call fcn.00459940
mov ebp, eax
lea edx, [esi + 0x10]
lea eax, [esp + 0x138]
push edx
push 0x4e6a88
push eax
mov byte [esp + 0x29fc], 6
call fcn.0047ab12
push 0x49fa70
lea ecx, [esp + 0x1c8]
push eax
push ecx
mov byte [esp + 0x2a08], 7
call fcn.0047ab18
push esi
lea edx, [esp + 0x1e4]
push eax
push edx
mov byte [esp + 0x2a14], 8
call fcn.0047ab12
push 0x49fa70
push eax
lea eax, [esp + 0x1d4]
mov byte [esp + 0x2a1c], 9
push eax
call fcn.0047ab18
push ebp
lea ecx, [esp + 0x13c]
push eax
push ecx
mov byte [esp + 0x2a2c], 0xa
call fcn.0047ab12
add esp, 0x44
mov edx, dword [0x489228]
mov byte [esp + 0x29e8], 0xb
mov ecx, dword [edx]
push ecx
push 0
push eax
mov ecx, edi
call dword [0x489220]
push 1
lea ecx, [esp + 0x104]
mov byte [esp + 0x29ec], 0xa
call dword [0x489244]
push 1
lea ecx, [esp + 0x1a4]
mov byte [esp + 0x29ec], 9
call dword [0x489244]
push 1
lea ecx, [esp + 0x1c4]
mov byte [esp + 0x29ec], 8
call dword [0x489244]
push 1
lea ecx, [esp + 0x1b4]
mov byte [esp + 0x29ec], 7
call dword [0x489244]
push 1
lea ecx, [esp + 0x134]
mov byte [esp + 0x29ec], 6
call dword [0x489244]
push 1
lea ecx, [esp + 0x194]
mov byte [esp + 0x29ec], 5
call dword [0x489244]
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0xe4]
mov byte [esp + 0xe4], dl
call dword [0x489244]
push edi
lea eax, [esp + 0x1d4]
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
mov byte [esp + 0x29f4], 0xc
call fcn.0047ab1e
push str._r_n_r_n
lea ecx, [esp + 0x160]
push eax
push ecx
mov byte [esp + 0x2a00], 0xd
call fcn.0047ab18
add esp, 0x18
mov edx, dword [0x489228]
mov byte [esp + 0x29e8], 0xe
mov ecx, dword [edx]
push ecx
push 0
push eax
lea ecx, [esp + 0xec]
call dword [0x489220]
push 1
lea ecx, [esp + 0x154]
mov byte [esp + 0x29ec], 0xd
call dword [0x489244]
push 1
lea ecx, [esp + 0x1d4]
mov byte [esp + 0x29ec], 0xc
call dword [0x489244]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xe0]
push edx
push 0x76c
push 0xfaffffef
push eax
call fcn.0045a1b0
add esp, 0x10
lea ecx, [esp + 0xe0]
mov byte [esp + 0x29e8], 5
push 1
call dword [0x489244]
add esi, 0x20
dec ebx
jne 0x45ae13
mov ecx, dword [esp + 0x14]
push 0xa
mov edx, dword [ecx + 0xa8]
push edx
call dword [0x48914c]
test eax, eax
je 0x45b505
mov ecx, 0xa00
xor eax, eax
lea edi, [esp + 0x1e0]
xor ebp, ebp
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
push ebp
lea eax, [esp + 0x1e4]
push 0x2800
push eax
push ecx
call dword [0x4896a4]
mov esi, eax
cmp esi, ebp
mov dword [esp + 0xc4], esi
jle 0x45b4f4
mov dl, byte [esp + 0x13]
push ebp
lea ecx, [esp + 0x58]
mov byte [esp + 0x58], dl
call dword [0x489244]
lea eax, [esp + 0x1e0]
push esi
push eax
lea ecx, [esp + 0x5c]
call dword [0x489224]
mov cl, byte [esp + 0x13]
push ebp
mov byte [esp + 0x34], cl
lea ecx, [esp + 0x34]
mov byte [esp + 0x29ec], 0xf
call dword [0x489244]
lea edx, [esp + 0x30]
lea eax, [esp + 0x54]
push edx
push eax
mov byte [esp + 0x29f0], 0x10
call fcn.0045a2c0
add esp, 8
test al, al
je 0x45b53e
mov ecx, dword [esp + 0x14]
lea edi, [esp + 0x64]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], edi
lea ebx, [ecx + 0x10]
mov edx, dword [esp + 0x29f0]
lea eax, [esp + 0x180]
push edx
push eax
call fcn.00459940
mov esi, eax
lea ecx, [edi + 0x10]
lea edx, [esp + 0x168]
push ecx
push 0x4e6a88
push edx
mov byte [esp + 0x29fc], 0x11
call fcn.0047ab12
push 0x49fa70
push eax
lea eax, [esp + 0x15c]
mov byte [esp + 0x2a04], 0x12
push eax
call fcn.0047ab18
push edi
lea ecx, [esp + 0x144]
push eax
push ecx
mov byte [esp + 0x2a14], 0x13
call fcn.0047ab12
push 0x49fa70
lea edx, [esp + 0x140]
push eax
push edx
mov byte [esp + 0x2a20], 0x14
call fcn.0047ab18
push esi
push eax
lea eax, [esp + 0x1b0]
mov byte [esp + 0x2a28], 0x15
push eax
call fcn.0047ab12
add esp, 0x44
mov ecx, dword [0x489228]
mov byte [esp + 0x29e8], 0x16
mov edx, dword [ecx]
mov ecx, ebx
push edx
push ebp
push eax
call dword [0x489220]
push 1
lea ecx, [esp + 0x174]
mov byte [esp + 0x29ec], 0x15
call dword [0x489244]
push 1
lea ecx, [esp + 0x114]
mov byte [esp + 0x29ec], 0x14
call dword [0x489244]
push 1
lea ecx, [esp + 0x124]
mov byte [esp + 0x29ec], 0x13
call dword [0x489244]
push 1
lea ecx, [esp + 0x144]
mov byte [esp + 0x29ec], 0x12
call dword [0x489244]
push 1
lea ecx, [esp + 0x164]
mov byte [esp + 0x29ec], 0x11
call dword [0x489244]
push 1
lea ecx, [esp + 0x184]
mov byte [esp + 0x29ec], 0x10
call dword [0x489244]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
cmp eax, ebp
jne 0x45b254
mov eax, dword [0x48923c]
push ecx
push ebp
push eax
lea ecx, [esp + 0x3c]
call dword [0x4892c8]
cmp eax, 0xffffffff
je 0x45b46b
xor ebp, ebp
mov edi, 0x49f04c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
push 0x49f04c
lea ecx, [esp + 0x3c]
call dword [0x4892c8]
mov esi, eax
cmp esi, 0xffffffff
je 0x45b53e
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x24]
mov byte [esp + 0x24], al
call dword [0x489244]
push esi
lea ecx, [esp + 0xf4]
push ebp
push ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x29f4], 0x17
call dword [0x4892d8]
mov edx, dword [0x489228]
mov byte [esp + 0x29e8], 0x18
mov ecx, dword [edx]
push ecx
push 0
push eax
lea ecx, [esp + 0x2c]
call dword [0x489220]
push 1
lea ecx, [esp + 0xf4]
mov byte [esp + 0x29ec], 0x17
call dword [0x489244]
mov eax, dword [esp + 0x28]
add esi, 2
test eax, eax
mov dword [esp + 0xcc], esi
je 0x45b451
push 9
lea edx, [esp + 0xd4]
push 0
push edx
lea ecx, [esp + 0x2c]
call dword [0x4892d8]
mov ebp, dword [esp + 0xd4]
mov edi, dword [0x48923c]
xor eax, eax
mov byte [esp + 0x29e8], 0x19
mov dword [esp + 0x41], eax
mov byte [esp + 0x40], 0
mov dword [esp + 0x45], eax
test ebp, ebp
mov byte [esp + 0x49], al
je 0x45b356
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x40]
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 + 0xd8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test eax, eax
mov ecx, eax
je 0x45b399
mov al, byte [esp + ecx + 0x40]
cmp al, 0x61
jl 0x45b396
cmp al, 0x7a
jg 0x45b396
sub al, 0x20
mov byte [esp + ecx + 0x40], al
dec ecx
jne 0x45b384
mov esi, 0x49fa08
lea eax, [esp + 0x40]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x45b3c8
test cl, cl
je 0x45b3c2
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x45b3c8
add eax, 2
add esi, 2
test cl, cl
jne 0x45b3a2
xor edi, edi
xor eax, eax
jmp 0x45b3cf
sbb eax, eax
sbb eax, 0xffffffff
xor edi, edi
cmp eax, edi
je 0x45b5f4
cmp ebp, edi
je 0x45b3f8
mov al, byte [ebp - 1]
lea ecx, [ebp - 1]
test al, al
je 0x45b3ef
cmp al, 0xff
je 0x45b3ef
dec al
mov byte [ecx], al
jmp 0x45b3f8
push ecx
call fcn.0047ab00
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xd4], edi
cmp ecx, edi
mov dword [esp + 0xd8], edi
mov dword [esp + 0xdc], edi
mov byte [esp + 0x29e8], 0x10
je 0x45b439
mov al, byte [ecx - 1]
test al, al
je 0x45b42f
cmp al, 0xff
je 0x45b42f
dec al
mov byte [ecx - 1], al
jmp 0x45b439
dec ecx
push ecx
call fcn.0047ab00
add esp, 4
mov ebp, dword [esp + 0xcc]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
jmp 0x45b26c
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x29ec], 0x10
call dword [0x489244]
mov edi, dword [esp + 0x4c]
xor ebp, ebp
mov eax, dword [esp + 0x50]
add edi, 0x20
inc eax
mov dword [esp + 0x4c], edi
cmp eax, 2
mov dword [esp + 0x50], eax
jl 0x45b104
mov eax, dword [esp + 0x34]
cmp eax, ebp
je 0x45b4a9
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x45b4a0
cmp al, 0xff
je 0x45b4a0
dec al
mov byte [ecx], al
jmp 0x45b4a9
push ecx
call fcn.0047ab00
add esp, 4
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x34], ebp
cmp ecx, ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov byte [esp + 0x29e8], 5
je 0x45b4e1
mov al, byte [ecx - 1]
test al, al
je 0x45b4d7
cmp al, 0xff
je 0x45b4d7
dec al
mov byte [ecx - 1], al
jmp 0x45b4e1
dec ecx
push ecx
call fcn.0047ab00
add esp, 4
mov esi, dword [esp + 0xc4]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov ecx, dword [esp + 0x1c]
inc ecx
cmp esi, ebp
mov dword [esp + 0x1c], ecx
jle 0x45ade4
mov ecx, dword [esp + 0x18]
push ecx
call dword [0x4896c4]
mov ecx, dword [esp + 0xb8]
xor esi, esi
cmp ecx, esi
je 0x45b7a2
mov al, byte [ecx - 1]
test al, al
je 0x45b798
cmp al, 0xff
je 0x45b798
dec al
mov byte [ecx - 1], al
jmp 0x45b7a2
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x29ec], 0xf
call dword [0x489244]
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x29ec], 5
call dword [0x489244]
push 1
lea ecx, [esp + 0xb8]
mov byte [esp + 0x29ec], 4
call dword [0x489244]
push 1
lea ecx, [esp + 0xa8]
mov byte [esp + 0x29ec], 3
call dword [0x489244]
push 1
lea ecx, [esp + 0x98]
mov byte [esp + 0x29ec], 2
call dword [0x489244]
push 1
lea ecx, [esp + 0x88]
mov byte [esp + 0x29ec], 1
call dword [0x489244]
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0x29ec], 0
call dword [0x489244]
push 1
lea ecx, [esp + 0x68]
mov dword [esp + 0x29ec], 0xffffffff
call dword [0x489244]
xor al, al
jmp 0x45b8c4
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0xf0]
push eax
push 9
push ecx
lea ecx, [esp + 0x2c]
call dword [0x4892d8]
mov edx, dword [0x489228]
mov byte [esp + 0x29e8], 0x1a
mov ecx, dword [edx]
push ecx
push edi
push eax
lea ecx, [esp + 0x2c]
call dword [0x489220]
push 1
lea ecx, [esp + 0xf4]
mov byte [esp + 0x29ec], 0x19
call dword [0x489244]
mov ebx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push 1
mov eax, dword [ebx + 0x28]
lea esi, [ebx + 0x20]
push eax
mov ecx, esi
call fcn.0045eb70
mov eax, dword [esp + 0x18]
push eax
call dword [0x4896c4]
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x45b670
xor esi, esi
jmp 0x45b678
mov esi, dword [esi + 8]
sub esi, eax
sar esi, 4
dec esi
mov ecx, ebx
push esi
call fcn.0045b930
push 1
lea ecx, [esp + 0xd4]
mov bl, al
mov byte [esp + 0x29ec], 0x17
call dword [0x489244]
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x29ec], 0x10
call dword [0x489244]
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x29ec], 0xf
call dword [0x489244]
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x29ec], 5
call dword [0x489244]
push 1
lea ecx, [esp + 0xb8]
mov byte [esp + 0x29ec], 4
call dword [0x489244]
push 1
lea ecx, [esp + 0xa8]
mov byte [esp + 0x29ec], 3
call dword [0x489244]
push 1
lea ecx, [esp + 0x98]
mov byte [esp + 0x29ec], 2
call dword [0x489244]
push 1
lea ecx, [esp + 0x88]
mov byte [esp + 0x29ec], 1
call dword [0x489244]
mov eax, dword [esp + 0x78]
xor esi, esi
cmp eax, esi
je 0x45b759
mov cl, byte [eax - 1]
test cl, cl
je 0x45b74f
cmp cl, 0xff
je 0x45b74f
dec cl
mov byte [eax - 1], cl
jmp 0x45b759
dec eax
push eax
call fcn.0047ab00
add esp, 4
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x78], esi
cmp ecx, esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
je 0x45b791
mov al, byte [ecx - 1]
test al, al
je 0x45b787
cmp al, 0xff
je 0x45b787
dec al
mov byte [ecx - 1], al
mov al, bl
jmp 0x45b8c4
dec ecx
push ecx
call fcn.0047ab00
add esp, 4
mov al, bl
jmp 0x45b8c4
dec ecx
push ecx
call fcn.0047ab00
add esp, 4
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0xb8], esi
cmp ecx, esi
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], esi
je 0x45b7de
mov al, byte [ecx - 1]
test al, al
je 0x45b7d4
cmp al, 0xff
je 0x45b7d4
dec al
mov byte [ecx - 1], al
jmp 0x45b7de
dec ecx
push ecx
call fcn.0047ab00
add esp, 4
mov ecx, dword [esp + 0x98]
mov dword [esp + 0xa8], esi
cmp ecx, esi
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], esi
je 0x45b81a
mov al, byte [ecx - 1]
test al, al
je 0x45b810
cmp al, 0xff
je 0x45b810
dec al
mov byte [ecx - 1], al
jmp 0x45b81a
dec ecx
push ecx
call fcn.0047ab00
add esp, 4
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x98], esi
cmp ecx, esi
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], esi
je 0x45b856
mov al, byte [ecx - 1]
test al, al
je 0x45b84c
cmp al, 0xff
je 0x45b84c
dec al
mov byte [ecx - 1], al
jmp 0x45b856
dec ecx
push ecx
call fcn.0047ab00
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x88], esi
cmp ecx, esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
je 0x45b88f
mov al, byte [ecx - 1]
test al, al
je 0x45b885
cmp al, 0xff
je 0x45b885
dec al
mov byte [ecx - 1], al
jmp 0x45b88f
dec ecx
push ecx
call fcn.0047ab00
add esp, 4
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x78], esi
cmp ecx, esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
je 0x45b8c2
mov al, byte [ecx - 1]
test al, al
je 0x45b8b8
cmp al, 0xff
je 0x45b8b8
dec al
mov byte [ecx - 1], al
jmp 0x45b8c2
dec ecx
push ecx
call fcn.0047ab00
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x29e0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x29dc
ret 4