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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65b240
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x74f8a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x54], edx
xor edi, edi
mov dword [ebp - 4], edi
mov byte [ebp - 0x3c], 1
mov byte [ebp - 0x3b], 0
mov byte [ebp - 0x3a], 0
mov byte [ebp - 0x39], 0
mov byte [ebp - 0x38], 0xce
mov byte [ebp - 0x37], 0xfa
mov byte [ebp - 0x36], 0xb
mov byte [ebp - 0x35], 0xb0
mov byte [ebp - 0x34], 0
mov byte [ebp - 0x33], 0
mov byte [ebp - 0x32], 0
mov byte [ebp - 0x31], 0
mov al, 0x4d
mov byte [ebp - 0x30], al
mov byte [ebp - 0x2f], al
mov byte [ebp - 0x2e], 0x53
mov byte [ebp - 0x2d], 0x20
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 - 0x24], 0
mov byte [ebp - 0x23], 0
mov byte [ebp - 0x22], 0
mov byte [ebp - 0x21], 0
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1f], 0
mov byte [ebp - 0x1e], 0
mov byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0x1b], 0
mov byte [ebp - 0x1a], 0
mov byte [ebp - 0x19], 0
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x17], 0
mov byte [ebp - 0x16], 3
mov byte [ebp - 0x15], 0
mov cl, byte [ebp + 8]
mov byte [ebp - 0x18], cl
cmp edx, edi
je 0x595341
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x595331
sub eax, esi
add eax, eax
mov dword [ebp - 0x44], eax
jmp 0x595344
mov dword [ebp - 0x44], edi
neg edx
sbb edx, edx
and edx, 2
add edx, dword [ebp - 0x44]
mov ecx, dword [ebp + 0x10]
lea eax, [edx + ecx + 0x28]
mov ecx, eax
and ecx, 7
je 0x595365
mov edx, 8
sub edx, ecx
jmp 0x595367
xor edx, edx
add eax, edx
mov dword [ebp - 0x48], eax
push eax
call fcn.005ec342
add esp, 4
mov ebx, eax
cmp ebx, edi
jne 0x595385
mov eax, 0x753b
jmp 0x5954bc
mov ecx, 0xa
lea esi, [ebp - 0x3c]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x48]
push edx
push ebx
call fcn.00594970
mov esi, dword [ebp - 0x40]
mov eax, dword [esi + 0x31e8]
push eax
push ebx
call fcn.005949e0
inc dword [esi + 0x31e8]
mov edi, dword [ebp + 0x10]
push edi
mov ecx, dword [ebp - 0x50]
push ecx
lea edx, [ebx + 0x28]
push edx
call fcn.00619c20
add esp, 0x1c
add edi, 0x28
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x5953fe
push eax
lea ecx, [ebp - 0x40]
call fcn.00426f40
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
lea edx, [edi + ebx]
push edx
call fcn.00619c20
add esp, 0xc
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0x48]
sub ecx, edi
mov eax, dword [ebp - 0x44]
sub ecx, eax
push ecx
push 0
add edi, ebx
add edi, eax
push edi
call fcn.00618760
add esp, 0xc
push str.send_mms_cmd
push 0
mov edx, dword [ebp - 0x48]
push edx
push ebx
mov eax, dword [esi + 0x3230]
push eax
call dword [sym.imp.WS2_32.dll_send]
push eax
mov ecx, esi
call fcn.0055bff0
mov edi, eax
lea ecx, [ebp - 0x4c]
call fcn.00402500
mov byte [ebp - 4], 2
push edi
mov ecx, dword [ebp + 8]
push ecx
push str.sending__x_command__res___ld_n
lea edx, [ebp - 0x4c]
push edx
call fcn.00402f70
add esp, 0x10
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, esi
call fcn.0055b6c0
mov ecx, dword [ebp - 0x48]
push ecx
push ebx
mov ecx, esi
call fcn.0054f320
push 2
push 0x6a9828
mov ecx, esi
call fcn.0054f320
push ebx
call fcn.005ec337
add esp, 4
xor edx, edx
mov word [esi + 0x3272], dx
xor eax, eax
mov word [esi + 0x3270], ax
mov byte [ebp - 4], al
lea ecx, [ebp - 0x4c]
call fcn.00402570
mov eax, edi
jmp 0x5954bc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0061807e
mov esp, ebp
pop ebp
ret 0x10