Function at 0x46dc40
Capabilities:
Encrypt data using blowfish

Disassembly:
sub esp, 0x10
mov ecx, 0xc
sub ecx, 0x4ce6fc
mov dword [esp], ecx
push ebx
mov ecx, 0x10
sub ecx, 0x4ce6fc
push ebp
push edi
mov dword [esp + 0x14], ecx
mov edi, 8
sub edi, 0x4ce6fc
mov ecx, 0x14
xor edx, edx
sub ecx, 0x4ce6fc
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], ecx
jmp 0x46dc94
mov edi, dword [esp + 0x10]
mov ebp, dword [edx + 0x4ce6f8]
mov ebx, dword [esi + 4]
mov dword [edx + ebx], ebp
mov ebp, dword [edx + 0x4ce6fc]
mov ebx, dword [esi + 4]
lea ecx, [edx + 0x4ce6fc]
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 0x46dc90
mov ecx, 8
sub ecx, 0x4ce744
mov dword [esp + 0x18], ecx
xor ecx, ecx
jmp 0x46dd10
lea edx, [ecx + 0xc]
mov edi, 0x40
jmp 0x46dd20
mov ebp, dword [ecx + 0x4ce740]
mov ebx, dword [esi + 8]
mov dword [ecx + ebx], ebp
mov ebp, dword [ecx + 0x4ce744]
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 + 0x4ce748]
mov dword [ebx + ecx + 0x4ce744], ebp
mov ebp, dword [ecx + 0x4ce74c]
mov ebx, dword [esi + 8]
mov dword [edx + ebx], ebp
add ecx, 0x10
add edx, 0x10
sub edi, 1
jne 0x46dd20
cmp ecx, 0x1000
jl 0x46dd10
xor edi, edi
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 0x46dd8a
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 0x46dda4
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 0x46ddbd
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 0x46ddd6
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 0x46dded
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 0x46de07
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 0x46de20
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 0x46de39
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 0x46de50
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 0x46de6a
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 0x46de83
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 0x46de9c
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 0x46deb2
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 0x46decc
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 0x46dee5
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 0x46defe
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 0x46df15
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 0x46df2f
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 0x46df48
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 0x46df61
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 0x46df78
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 0x46df92
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 0x46dfab
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 0x46dfc4
dec edi
or edi, 0xfffffff8
inc edi
add ecx, 0x18
cmp ecx, 0x54
jl 0x46dd73
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
xor edi, edi
lea esp, [esp]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
mov eax, esi
call fcn.0046d4c0
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 0x46dfe0
xor edi, edi
mov ebx, 0x80
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
mov eax, esi
call fcn.0046d4c0
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 0x46e015
cmp edi, 0x1000
jl 0x46e010
pop edi
pop ebp
pop ebx
add esp, 0x10
ret