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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x663fa0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x758898]
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 0x59d501
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x59d4f1
sub eax, esi
add eax, eax
mov dword [ebp - 0x44], eax
jmp 0x59d504
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 0x59d525
mov edx, 8
sub edx, ecx
jmp 0x59d527
xor edx, edx
add eax, edx
mov dword [ebp - 0x48], eax
push eax
call fcn.005f4e47
add esp, 4
mov ebx, eax
cmp ebx, edi
jne 0x59d545
mov eax, 0x753b
jmp 0x59d67c
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.0059cb10
mov esi, dword [ebp - 0x40]
mov eax, dword [esi + 0x31f8]
push eax
push ebx
call fcn.0059cb80
inc dword [esi + 0x31f8]
mov edi, dword [ebp + 0x10]
push edi
mov ecx, dword [ebp - 0x50]
push ecx
lea edx, [ebx + 0x28]
push edx
call fcn.00622730
add esp, 0x1c
add edi, 0x28
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x59d5be
push eax
lea ecx, [ebp - 0x40]
call fcn.00427340
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.00622730
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.00621270
add esp, 0xc
push str.send_mms_cmd
push 0
mov edx, dword [ebp - 0x48]
push edx
push ebx
mov eax, dword [esi + 0x3240]
push eax
call dword [sym.imp.WS2_32.dll_send]
push eax
mov ecx, esi
call fcn.00562bc0
mov edi, eax
lea ecx, [ebp - 0x4c]
call fcn.004024f0
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.00402f60
add esp, 0x10
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, esi
call fcn.00562270
mov ecx, dword [ebp - 0x48]
push ecx
push ebx
mov ecx, esi
call fcn.00562350
push 2
push 0x6b3038
mov ecx, esi
call fcn.00562350
push ebx
call fcn.005f4e52
add esp, 4
xor edx, edx
mov word [esi + 0x3282], dx
xor eax, eax
mov word [esi + 0x3280], ax
mov byte [ebp - 4], al
lea ecx, [ebp - 0x4c]
call fcn.00402560
mov eax, edi
jmp 0x59d67c
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.00620b8d
mov esp, ebp
pop ebp
ret 0x10