Function at 0x527c00
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad6c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov edx, dword [ebp + 0x14]
push ebx
mov al, 0x4d
push esi
xor esi, esi
mov byte [ebp - 0x3c], al
mov byte [ebp - 0x3b], al
mov al, byte [ebp + 8]
push edi
cmp edx, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], esi
mov byte [ebp - 0x48], 1
mov byte [ebp - 0x47], 0
mov byte [ebp - 0x46], 0
mov byte [ebp - 0x45], 0
mov byte [ebp - 0x44], 0xce
mov byte [ebp - 0x43], 0xfa
mov byte [ebp - 0x42], 0xb
mov byte [ebp - 0x41], 0xb0
mov byte [ebp - 0x40], 0
mov byte [ebp - 0x3f], 0
mov byte [ebp - 0x3e], 0
mov byte [ebp - 0x3d], 0
mov byte [ebp - 0x3a], 0x53
mov byte [ebp - 0x39], 0x20
mov byte [ebp - 0x38], 0
mov byte [ebp - 0x37], 0
mov byte [ebp - 0x36], 0
mov byte [ebp - 0x35], 0
mov byte [ebp - 0x34], 0
mov byte [ebp - 0x33], 0
mov byte [ebp - 0x32], 0
mov byte [ebp - 0x31], 0
mov byte [ebp - 0x30], 0
mov byte [ebp - 0x2f], 0
mov byte [ebp - 0x2e], 0
mov byte [ebp - 0x2d], 0
mov byte [ebp - 0x2c], 0
mov byte [ebp - 0x2b], 0
mov byte [ebp - 0x2a], 0
mov byte [ebp - 0x29], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 0x27], 0
mov byte [ebp - 0x26], 0
mov byte [ebp - 0x25], 0
mov byte [ebp - 0x23], 0
mov byte [ebp - 0x22], 3
mov byte [ebp - 0x21], 0
mov byte [ebp - 0x24], al
je 0x527ce5
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
shl ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x527cea
mov dword [ebp - 0x14], esi
mov ecx, esi
neg edx
sbb edx, edx
and edx, 2
add edx, ecx
mov ecx, dword [ebp + 0x10]
lea eax, [edx + ecx + 0x28]
mov ecx, eax
and ecx, 7
je 0x527d0a
mov edx, 8
sub edx, ecx
jmp 0x527d0c
xor edx, edx
add eax, edx
push eax
mov dword [ebp - 0x18], eax
call fcn.00584a5c
mov ebx, eax
add esp, 4
cmp ebx, esi
jne 0x527d38
mov eax, 0x753b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, 0xa
lea esi, [ebp - 0x48]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x18]
lea edi, [ebx + 0x28]
lea eax, [esi - 0x10]
mov edx, eax
mov ecx, eax
shr edx, 8
mov byte [ebx + 9], dl
mov edx, eax
mov byte [ebx + 8], al
shr ecx, 0x10
shr edx, 0x18
shr eax, 3
mov byte [ebx + 0xa], cl
mov byte [ebx + 0xb], dl
mov byte [ebx + 0x10], al
mov ecx, eax
mov edx, eax
shr eax, 0x18
mov byte [ebx + 0x13], al
lea eax, [esi - 0x20]
shr edx, 0x10
shr eax, 3
mov byte [ebx + 0x12], dl
mov edx, eax
shr ecx, 8
mov byte [ebx + 0x11], cl
mov ecx, eax
shr edx, 0x10
mov byte [ebx + 0x20], al
mov byte [ebx + 0x22], dl
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp + 0xc]
shr ecx, 8
shr eax, 0x18
mov byte [ebx + 0x21], cl
mov byte [ebx + 0x23], al
mov eax, dword [edx + 0x30c0]
mov ecx, eax
mov byte [ebx + 0x14], al
shr ecx, 8
mov byte [ebx + 0x15], cl
mov ecx, eax
shr ecx, 0x10
shr eax, 0x18
mov byte [ebx + 0x16], cl
mov byte [ebx + 0x17], al
mov ecx, dword [edx + 0x30c0]
inc ecx
mov dword [edx + 0x30c0], ecx
mov ecx, dword [ebp + 0x10]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov eax, dword [ebp + 0x14]
test eax, eax
lea edi, [ecx + 0x28]
mov dword [ebp + 0x10], edi
je 0x527e54
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
dec edi
push edi
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov esi, eax
test esi, esi
mov dword [ebp + 0xc], esi
je 0x527e2d
mov edx, dword [ebp + 0x14]
push edi
push esi
push 0xffffffffffffffff
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x10]
mov edx, ecx
lea edi, [eax + ebx]
mov eax, dword [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
sub ecx, edi
add edi, ebx
sub ecx, esi
add edi, esi
mov esi, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
push str.send_mms_cmd
and ecx, 3
push 0
rep stosb byte es:[edi], al
mov ecx, dword [ebp - 0x18]
mov edx, dword [edx + 0x3108]
push ecx
push ebx
push edx
call sub.WSOCK32.dll_send
mov esi, dword [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.004f8b20
mov edi, eax
mov eax, dword [0x65ec1c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 8]
push edi
push ecx
lea edx, [ebp - 0x20]
push str.sending__x_command__res___ld_n
push edx
mov byte [ebp - 4], 1
call fcn.0058148b
mov eax, dword [ebp - 0x20]
add esp, 0x10
mov ecx, esi
push eax
call fcn.004f8a80
mov ecx, dword [ebp - 0x18]
push ecx
push ebx
mov ecx, esi
call fcn.004f8b10
push 2
push 0x6552fc
mov ecx, esi
call fcn.004f8b10
push ebx
call fcn.00584a85
xor eax, eax
add esp, 4
lea ecx, [ebp - 0x20]
mov word [esi + 0x314a], ax
mov word [esi + 0x3148], ax
mov byte [ebp - 4], al
call fcn.005886c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10