Function at 0x435cc0
Capabilities:
Contain obfuscated stackstrings
Get socket status
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov eax, 0x1534
call fcn.00458680
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.WS2_32.dll_inet_addr]
mov eax, dword [esi + 0x9c]
mov dword [esp + 0x48], esi
push eax
call edi
mov ebp, eax
mov eax, dword [esi + 0xa0]
push eax
mov dword [esp + 0x5c], ebp
call edi
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_ntohl]
mov ebx, eax
call ebp
mov edi, 1
push ebx
sub edi, eax
call ebp
add edi, eax
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x54], edi
jle 0x43630c
mov ecx, dword [esi + 0x7c]
mov eax, edi
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
and eax, 0xffff
shl eax, 0x10
push eax
push ebx
push 0x401
push ecx
call ebp
mov edx, dword [esi + 0x7c]
push ebx
push ebx
push 0x402
push edx
call ebp
mov eax, dword [esi + 0x7c]
push ebx
push 1
push 0x404
push eax
call ebp
cmp edi, ebx
mov dword [esp + 0x44], ebx
jle 0x43630c
jmp 0x435d67
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [esp + 0x48]
mov ecx, dword [esi + 0x7c]
push ebx
push ebx
push 0x405
push ecx
call ebp
mov edx, dword [esp + 0x58]
push edx
call dword [sym.imp.WS2_32.dll_ntohl]
add eax, dword [esp + 0x44]
push eax
call dword [sym.imp.WS2_32.dll_htonl]
push ebx
push 2
push 2
mov esi, eax
mov byte [esp + 0x80], bl
mov byte [esp + 0x344], bl
call dword [sym.imp.WS2_32.dll_socket]
push 0x89
mov ebp, eax
mov word [esp + 0x88], 2
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x86], ax
lea eax, [esp + 0x84]
push 0x10
push eax
push ebx
mov dword [esp + 0x94], esi
mov byte [esp + 0x1c], bl
mov byte [esp + 0x1d], bl
mov byte [esp + 0x1e], bl
mov byte [esp + 0x1f], bl
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], 1
mov byte [esp + 0x22], bl
mov byte [esp + 0x23], bl
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], bl
mov byte [esp + 0x26], bl
mov byte [esp + 0x27], bl
mov byte [esp + 0x28], 0x20
mov byte [esp + 0x29], 0x43
mov byte [esp + 0x2a], 0x4b
mov byte [esp + 0x2b], 0x41
mov byte [esp + 0x2c], 0x41
mov byte [esp + 0x2d], 0x41
mov byte [esp + 0x2e], 0x41
mov byte [esp + 0x2f], 0x41
mov byte [esp + 0x30], 0x41
mov byte [esp + 0x31], 0x41
mov byte [esp + 0x32], 0x41
mov byte [esp + 0x33], 0x41
mov byte [esp + 0x34], 0x41
mov byte [esp + 0x35], 0x41
mov byte [esp + 0x36], 0x41
mov byte [esp + 0x37], 0x41
mov byte [esp + 0x38], 0x41
mov byte [esp + 0x39], 0x41
mov byte [esp + 0x3a], 0x41
mov byte [esp + 0x3b], 0x41
mov byte [esp + 0x3c], 0x41
mov byte [esp + 0x3d], 0x41
mov byte [esp + 0x3e], 0x41
mov byte [esp + 0x3f], 0x41
mov byte [esp + 0x40], 0x41
mov byte [esp + 0x41], 0x41
mov byte [esp + 0x42], 0x41
mov byte [esp + 0x43], 0x41
mov byte [esp + 0x44], 0x41
mov byte [esp + 0x45], 0x41
mov byte [esp + 0x46], 0x41
mov byte [esp + 0x47], 0x41
mov byte [esp + 0x48], 0x41
mov byte [esp + 0x49], bl
mov byte [esp + 0x4a], bl
mov byte [esp + 0x4b], 0x21
mov byte [esp + 0x4c], bl
mov byte [esp + 0x4d], 1
push 0x32
lea ecx, [esp + 0x20]
push ecx
push ebp
call dword [sym.imp.WS2_32.dll_sendto]
push 0x32
mov edi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, ebx
jle 0x435fee
mov dl, byte [0x494b70]
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x541]
mov byte [esp + 0x540], dl
mov dword [esp + 0x6c], ebx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x43c]
push eax
push ebx
push ebx
push ecx
push 0x40
mov dword [esp + 0x84], 0xc8
mov dword [esp + 0x454], ebp
mov dword [esp + 0x450], 1
call dword [sym.imp.WS2_32.dll_select]
cmp eax, ebx
je 0x435fee
jl 0x435fee
lea edx, [esp + 0x43c]
push edx
push ebp
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x435fee
push ebx
lea eax, [esp + 0x544]
push 0x1000
push eax
push ebp
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x435fee
movsx eax, byte [esp + 0x578]
xor edx, edx
lea ecx, [eax + eax*8]
mov dl, byte [esp + ecx*2 + 0x57e]
lea eax, [esp + ecx*2 + 0x579]
xor ecx, ecx
push edx
mov cl, byte [eax + 4]
xor edx, edx
mov dl, byte [eax + 3]
push ecx
xor ecx, ecx
push edx
mov cl, byte [eax + 2]
xor edx, edx
mov dl, byte [eax + 1]
push ecx
xor ecx, ecx
push edx
mov cl, byte [eax]
lea edx, [esp + 0x88]
push ecx
push str._02x_02x_02x_02x_02x_02x
push edx
call fcn.004585a3
mov al, byte [esp + 0x598]
add esp, 0x20
cmp al, bl
jle 0x435fee
lea eax, [esp + 0x579]
push 0xf
lea ecx, [esp + 0x33c]
push eax
push ecx
call fcn.00459160
add esp, 0xc
mov byte [esp + 0x347], bl
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
cmp byte [esp + 0x74], bl
je 0x4362f7
mov edx, dword [esp + 0x48]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0046b873
push 0x412
mov ecx, eax
call fcn.0046e028
mov ecx, dword [eax + 0x1c]
push ebx
push ebx
push 0x1004
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, eax
lea edx, [esp + 0x5c]
or eax, 0xffffffff
push edx
mov dword [esp + 0x50], ebp
mov byte [esp + 0x98], bl
mov byte [esp + 0x199], bl
mov dword [esp + 0x1cc], ebx
mov byte [esp + 0x1d0], bl
mov dword [esp + 0x1e0], ebx
mov dword [esp + 0x1e8], ebx
mov dword [esp + 0x1e4], ebx
mov dword [esp + 0x1ec], ebx
mov dword [esp + 0x1f0], 0x1fe
mov dword [esp + 0x1f4], eax
mov dword [esp + 0x1f8], eax
mov dword [esp + 0x1fc], eax
mov dword [esp + 0x200], eax
mov dword [esp + 0x204], ebx
mov dword [esp + 0x208], ebx
mov dword [esp + 0x214], 1
mov dword [esp + 0x218], ebx
mov byte [esp + 0x21c], bl
mov dword [esp + 0x320], ebx
mov dword [esp + 0x324], ebx
mov dword [esp + 0x210], ebx
mov dword [esp + 0x20c], ebx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x66]
mov edx, dword [esp + 0x64]
and eax, 0xffff
and ecx, 0xffff
push eax
mov eax, dword [esp + 0x66]
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x66]
push edx
mov edx, dword [esp + 0x68]
and eax, 0xffff
and ecx, 0xffff
push eax
and edx, 0xffff
push ecx
push edx
lea eax, [esp + 0x33c]
push str._04d__02d__02d__02d:_02d:_02d
push eax
call fcn.004585a3
mov edx, dword [0x4cb61c]
add esp, 0x20
lea ecx, [esp + 0x94]
push ecx
push edx
mov ecx, 0x4cb614
call fcn.00403c80
lea eax, [ebp*8]
mov ecx, dword [0x4cb618]
sub eax, ebp
lea eax, [eax + eax*2]
lea ebp, [ebp + eax*8]
shl ebp, 2
mov dword [ecx + ebp + 0x150], esi
mov edx, dword [0x4cb618]
mov dword [edx + ebp + 0x14c], esi
mov eax, dword [0x4cb618]
lea edi, [esp + 0x74]
or ecx, 0xffffffff
lea edx, [eax + ebp + 0x138]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp byte [esp + 0x338], bl
je 0x4361ee
mov ecx, dword [0x4cb618]
or edx, 0xffffffff
lea edi, [esp + 0x338]
xor eax, eax
lea esi, [ecx + ebp]
mov ecx, edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x50], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x50]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x43620e
mov ecx, dword [esp + 0x4c]
mov edx, dword [0x4cb618]
inc ecx
push ecx
lea eax, [edx + ebp]
push str.User__d
push eax
call fcn.004585a3
add esp, 0xc
or edx, 0xffffffff
mov ecx, dword [0x4cb618]
mov dword [ecx + ebp + 0x158], 0xfe
mov eax, dword [0x4cb618]
mov dword [eax + ebp + 0x15c], edx
mov ecx, dword [0x4cb618]
mov byte [ecx + ebp + 0x101], bl
mov eax, dword [0x4cb618]
mov dword [eax + ebp + 0x168], edx
mov ecx, dword [0x4cb618]
mov dword [ecx + ebp + 0x164], edx
mov eax, dword [0x4cb648]
cmp eax, ebx
je 0x436268
cmp eax, 3
je 0x436268
cmp eax, 5
je 0x436268
xor eax, eax
jmp 0x43626d
mov eax, 1
mov edx, dword [0x4cb618]
mov dword [edx + ebp + 0x154], eax
mov eax, dword [0x4cb648]
cmp eax, 2
je 0x436292
cmp eax, 3
je 0x436292
cmp eax, 4
je 0x436292
xor eax, eax
jmp 0x436297
mov eax, 1
mov ecx, dword [0x4cb618]
mov dword [ecx + ebp + 0x134], eax
mov eax, dword [0x4cb648]
cmp eax, 1
je 0x4362bc
cmp eax, 4
je 0x4362bc
cmp eax, 5
je 0x4362bc
xor eax, eax
jmp 0x4362c1
mov eax, 1
mov edx, dword [0x4cb618]
mov dword [edx + ebp + 0x148], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0046b873
mov edx, dword [esp + 0x4c]
mov eax, dword [eax + 0x1c]
push ebx
push edx
push 0x4c9
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x54]
inc eax
cmp eax, ecx
mov dword [esp + 0x44], eax
jl 0x435d5d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1534
ret