Function at 0x4d0780
Capabilities:
Encrypt data using blowfish

Disassembly:
sub esp, 0x10
mov ecx, 0xc
sub ecx, 0x554cec
mov dword [esp], ecx
push ebx
mov ecx, 0x10
sub ecx, 0x554cec
push ebp
push edi
mov dword [esp + 0x14], ecx
mov edi, 8
sub edi, 0x554cec
mov ecx, 0x14
xor edx, edx
sub ecx, 0x554cec
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], ecx
jmp 0x4d07d4
mov edi, dword [esp + 0x10]
mov ebp, dword [edx + 0x554ce8]
mov ebx, dword [esi + 4]
mov dword [edx + ebx], ebp
mov ebp, dword [edx + 0x554cec]
mov ebx, dword [esi + 4]
lea ecx, [edx + 0x554cec]
mov dword [edx + ebx + 4], ebp
mov ebx, dword [esi + 4]
mov ebp, dword [ecx + 4]
add ebx, ecx
mov dword [ebx + edi], ebp
mov edi, dword [esi + 4]
mov ebx, dword [ecx + 8]
mov ebp, dword [esp + 0xc]
add edi, ecx
mov dword [edi + ebp], ebx
mov edi, dword [esi + 4]
mov ebx, dword [ecx + 0xc]
mov ebp, dword [esp + 0x14]
add edi, ecx
mov dword [edi + ebp], ebx
mov edi, dword [esi + 4]
mov ebx, dword [esp + 0x18]
add edi, ecx
mov ecx, dword [ecx + 0x10]
add edx, 0x18
cmp edx, 0x48
mov dword [edi + ebx], ecx
jl 0x4d07d0
mov ecx, 8
sub ecx, 0x554d34
mov dword [esp + 0x18], ecx
xor ecx, ecx
jmp 0x4d0850
lea edx, [ecx + 0xc]
mov edi, 0x40
jmp 0x4d0860
mov ebp, dword [ecx + 0x554d30]
mov ebx, dword [esi + 8]
mov dword [ecx + ebx], ebp
mov ebp, dword [ecx + 0x554d34]
mov ebx, dword [esi + 8]
mov dword [ebx + ecx + 4], ebp
mov ebx, dword [esi + 8]
add ebx, dword [esp + 0x18]
mov ebp, dword [ecx + 0x554d38]
mov dword [ebx + ecx + 0x554d34], ebp
mov ebp, dword [ecx + 0x554d3c]
mov ebx, dword [esi + 8]
mov dword [edx + ebx], ebp
add ecx, 0x10
add edx, 0x10
sub edi, 1
jne 0x4d0860
cmp ecx, 0x1000
jl 0x4d0850
mov ecx, 0xc
mov edx, dword [esi + 4]
lea ebp, [ecx + edx - 0xc]
lea edx, [edi + 1]
and edx, reloc.WS2_32.dll_getsockopt
jns 0x4d08c8
dec edx
or edx, 0xfffffff8
inc edx
movzx edx, byte [edx + eax]
mov dh, byte [edi + eax]
lea ebx, [edi + 2]
shl edx, 8
and ebx, reloc.WS2_32.dll_getsockopt
jns 0x4d08e2
dec ebx
or ebx, 0xfffffff8
inc ebx
movzx ebx, byte [ebx + eax]
or edx, ebx
lea ebx, [edi + 3]
shl edx, 8
and ebx, reloc.WS2_32.dll_getsockopt
jns 0x4d08fb
dec ebx
or ebx, 0xfffffff8
inc ebx
movzx ebx, byte [ebx + eax]
or edx, ebx
xor dword [ebp], edx
add edi, 4
and edi, reloc.WS2_32.dll_getsockopt
jns 0x4d0914
dec edi
or edi, 0xfffffff8
inc edi
mov edx, dword [esi + 4]
lea ebp, [ecx + edx - 8]
lea edx, [edi + 1]
and edx, reloc.WS2_32.dll_getsockopt
jns 0x4d092b
dec edx
or edx, 0xfffffff8
inc edx
movzx edx, byte [edx + eax]
mov dh, byte [edi + eax]
lea ebx, [edi + 2]
shl edx, 8
and ebx, reloc.WS2_32.dll_getsockopt
jns 0x4d0945
dec ebx
or ebx, 0xfffffff8
inc ebx
movzx ebx, byte [ebx + eax]
or edx, ebx
lea ebx, [edi + 3]
shl edx, 8
and ebx, reloc.WS2_32.dll_getsockopt
jns 0x4d095e
dec ebx
or ebx, 0xfffffff8
inc ebx
movzx ebx, byte [ebx + eax]
or edx, ebx
xor dword [ebp], edx
add edi, 4
and edi, reloc.WS2_32.dll_getsockopt
jns 0x4d0977
dec edi
or edi, 0xfffffff8
inc edi
mov edx, dword [esi + 4]
lea ebp, [ecx + edx - 4]
lea edx, [edi + 1]
and edx, reloc.WS2_32.dll_getsockopt
jns 0x4d098e
dec edx
or edx, 0xfffffff8
inc edx
movzx edx, byte [edx + eax]
mov dh, byte [edi + eax]
lea ebx, [edi + 2]
shl edx, 8
and ebx, reloc.WS2_32.dll_getsockopt
jns 0x4d09a8
dec ebx
or ebx, 0xfffffff8
inc ebx
movzx ebx, byte [ebx + eax]
or edx, ebx
lea ebx, [edi + 3]
shl edx, 8
and ebx, reloc.WS2_32.dll_getsockopt
jns 0x4d09c1
dec ebx
or ebx, 0xfffffff8
inc ebx
movzx ebx, byte [ebx + eax]
or edx, ebx
xor dword [ebp], edx
add edi, 4
and edi, reloc.WS2_32.dll_getsockopt
jns 0x4d09da
dec edi
or edi, 0xfffffff8
inc edi
mov edx, dword [esi + 4]
lea ebp, [ecx + edx]
lea edx, [edi + 1]
and edx, reloc.WS2_32.dll_getsockopt
jns 0x4d09f0
dec edx
or edx, 0xfffffff8
inc edx
movzx edx, byte [edx + eax]
mov dh, byte [edi + eax]
lea ebx, [edi + 2]
shl edx, 8
and ebx, reloc.WS2_32.dll_getsockopt
jns 0x4d0a0a
dec ebx
or ebx, 0xfffffff8
inc ebx
movzx ebx, byte [ebx + eax]
or edx, ebx
lea ebx, [edi + 3]
shl edx, 8
and ebx, reloc.WS2_32.dll_getsockopt
jns 0x4d0a23
dec ebx
or ebx, 0xfffffff8
inc ebx
movzx ebx, byte [ebx + eax]
or edx, ebx
xor dword [ebp], edx
add edi, 4
and edi, reloc.WS2_32.dll_getsockopt
jns 0x4d0a3c
dec edi
or edi, 0xfffffff8
inc edi
mov edx, dword [esi + 4]
lea ebp, [ecx + edx + 4]
lea edx, [edi + 1]
and edx, reloc.WS2_32.dll_getsockopt
jns 0x4d0a53
dec edx
or edx, 0xfffffff8
inc edx
movzx edx, byte [edx + eax]
mov dh, byte [edi + eax]
lea ebx, [edi + 2]
shl edx, 8
and ebx, reloc.WS2_32.dll_getsockopt
jns 0x4d0a6d
dec ebx
or ebx, 0xfffffff8
inc ebx
movzx ebx, byte [ebx + eax]
or edx, ebx
lea ebx, [edi + 3]
shl edx, 8
and ebx, reloc.WS2_32.dll_getsockopt
jns 0x4d0a86
dec ebx
or ebx, 0xfffffff8
inc ebx
movzx ebx, byte [ebx + eax]
or edx, ebx
xor dword [ebp], edx
add edi, 4
and edi, reloc.WS2_32.dll_getsockopt
jns 0x4d0a9f
dec edi
or edi, 0xfffffff8
inc edi
mov edx, dword [esi + 4]
lea ebp, [ecx + edx + 8]
lea edx, [edi + 1]
and edx, reloc.WS2_32.dll_getsockopt
jns 0x4d0ab6
dec edx
or edx, 0xfffffff8
inc edx
movzx edx, byte [edx + eax]
mov dh, byte [edi + eax]
lea ebx, [edi + 2]
shl edx, 8
and ebx, reloc.WS2_32.dll_getsockopt
jns 0x4d0ad0
dec ebx
or ebx, 0xfffffff8
inc ebx
movzx ebx, byte [ebx + eax]
or edx, ebx
lea ebx, [edi + 3]
shl edx, 8
and ebx, reloc.WS2_32.dll_getsockopt
jns 0x4d0ae9
dec ebx
or ebx, 0xfffffff8
inc ebx
movzx ebx, byte [ebx + eax]
or edx, ebx
xor dword [ebp], edx
add edi, 4
and edi, reloc.WS2_32.dll_getsockopt
jns 0x4d0b02
dec edi
or edi, 0xfffffff8
inc edi
add ecx, 0x18
cmp ecx, 0x54
jl 0x4d08b1
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
xor edi, edi
lea ebx, [ebx]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
mov eax, esi
call fcn.004d0000
mov edx, dword [esi + 4]
mov eax, dword [esp + 0xc]
mov dword [edi + edx], eax
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x10]
mov dword [edi + ecx + 4], edx
add edi, 8
cmp edi, 0x48
jl 0x4d0b20
xor edi, edi
mov ebx, 0x80
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
mov eax, esi
call fcn.004d0000
mov edx, dword [esi + 8]
mov eax, dword [esp + 0xc]
mov dword [edi + edx], eax
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov dword [edi + ecx + 4], edx
add edi, 8
sub ebx, 1
jne 0x4d0b55
cmp edi, 0x1000
jl 0x4d0b50
pop edi
pop ebp
pop ebx
add esp, 0x10
ret