Function at 0x407330
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebx
mov ebx, dword [0x5d09a4]
push ebp
push esi
mov esi, dword [esp + 0x10]
xor eax, eax
push edi
mov edi, dword [esp + 0x18]
mov ecx, dword [esi]
xor ecx, ebx
mov edx, ecx
mov dword [esp + 0x14], ecx
mov al, byte [esp + 0x16]
shr edx, 0x18
mov eax, dword [eax*4 + 0x5d0dec]
mov ebp, dword [edx*4 + 0x5d09ec]
xor edx, edx
mov dl, ch
add eax, ebp
mov ebx, dword [edx*4 + 0x5d11ec]
mov edx, ecx
and edx, 0xff
xor eax, ebx
mov ebx, dword [edi]
mov ebp, dword [edx*4 + 0x5d15ec]
mov edx, dword [0x5d09a8]
add eax, ebp
xor eax, ebx
xor eax, edx
xor edx, edx
mov ebx, eax
mov dword [esp + 0x14], eax
mov dl, byte [esp + 0x16]
shr ebx, 0x18
mov edx, dword [edx*4 + 0x5d0dec]
mov ebp, dword [ebx*4 + 0x5d09ec]
xor ebx, ebx
mov bl, ah
add edx, ebp
mov ebp, dword [ebx*4 + 0x5d11ec]
mov ebx, eax
and ebx, 0xff
xor edx, ebp
mov ebp, dword [ebx*4 + 0x5d15ec]
add edx, ebp
mov ebp, dword [0x5d09ac]
xor edx, ebp
xor ecx, edx
xor edx, edx
mov ebx, ecx
mov dword [esp + 0x14], ecx
mov dl, byte [esp + 0x16]
shr ebx, 0x18
mov edx, dword [edx*4 + 0x5d0dec]
mov ebp, dword [ebx*4 + 0x5d09ec]
xor ebx, ebx
mov bl, ch
add edx, ebp
mov ebp, dword [ebx*4 + 0x5d11ec]
mov ebx, ecx
and ebx, 0xff
xor edx, ebp
mov ebp, dword [ebx*4 + 0x5d15ec]
add edx, ebp
mov ebp, dword [0x5d09b0]
xor edx, ebp
xor eax, edx
xor edx, edx
mov ebx, eax
mov dword [esp + 0x14], eax
mov dl, byte [esp + 0x16]
shr ebx, 0x18
mov edx, dword [edx*4 + 0x5d0dec]
mov ebp, dword [ebx*4 + 0x5d09ec]
xor ebx, ebx
mov bl, ah
add edx, ebp
mov ebp, dword [ebx*4 + 0x5d11ec]
mov ebx, eax
xor edx, ebp
and ebx, 0xff
mov ebp, dword [ebx*4 + 0x5d15ec]
add edx, ebp
mov ebp, dword [0x5d09b4]
xor edx, ebp
xor ecx, edx
xor edx, edx
mov ebx, ecx
mov dword [esp + 0x14], ecx
mov dl, byte [esp + 0x16]
shr ebx, 0x18
mov edx, dword [edx*4 + 0x5d0dec]
mov ebp, dword [ebx*4 + 0x5d09ec]
xor ebx, ebx
mov bl, ch
add edx, ebp
mov ebp, dword [ebx*4 + 0x5d11ec]
mov ebx, ecx
and ebx, 0xff
xor edx, ebp
mov ebp, dword [ebx*4 + 0x5d15ec]
add edx, ebp
mov ebp, dword [0x5d09b8]
xor edx, ebp
xor eax, edx
xor edx, edx
mov ebx, eax
mov dword [esp + 0x14], eax
mov dl, byte [esp + 0x16]
shr ebx, 0x18
mov edx, dword [edx*4 + 0x5d0dec]
mov ebp, dword [ebx*4 + 0x5d09ec]
xor ebx, ebx
mov bl, ah
add edx, ebp
mov ebp, dword [ebx*4 + 0x5d11ec]
mov ebx, eax
and ebx, 0xff
xor edx, ebp
mov ebp, dword [ebx*4 + 0x5d15ec]
add edx, ebp
mov ebp, dword [0x5d09bc]
xor edx, ebp
xor ecx, edx
xor edx, edx
mov ebx, ecx
mov dword [esp + 0x14], ecx
mov dl, byte [esp + 0x16]
shr ebx, 0x18
mov edx, dword [edx*4 + 0x5d0dec]
mov ebp, dword [ebx*4 + 0x5d09ec]
xor ebx, ebx
mov bl, ch
add edx, ebp
mov ebp, dword [ebx*4 + 0x5d11ec]
mov ebx, ecx
and ebx, 0xff
xor edx, ebp
mov ebp, dword [ebx*4 + 0x5d15ec]
add edx, ebp
mov ebp, dword [0x5d09c0]
xor edx, ebp
xor eax, edx
xor edx, edx
mov ebx, eax
mov dword [esp + 0x14], eax
mov dl, byte [esp + 0x16]
shr ebx, 0x18
mov edx, dword [edx*4 + 0x5d0dec]
mov ebp, dword [ebx*4 + 0x5d09ec]
xor ebx, ebx
mov bl, ah
add edx, ebp
mov ebp, dword [ebx*4 + 0x5d11ec]
mov ebx, eax
and ebx, 0xff
xor edx, ebp
mov ebp, dword [ebx*4 + 0x5d15ec]
add edx, ebp
mov ebp, dword [0x5d09c4]
xor edx, ebp
xor ecx, edx
mov ebx, ecx
mov dword [esp + 0x14], ecx
shr ebx, 0x18
xor edx, edx
mov dl, byte [esp + 0x16]
mov ebp, dword [ebx*4 + 0x5d09ec]
xor ebx, ebx
mov edx, dword [edx*4 + 0x5d0dec]
mov bl, ch
add edx, ebp
mov ebp, dword [ebx*4 + 0x5d11ec]
mov ebx, ecx
and ebx, 0xff
xor edx, ebp
mov ebp, dword [ebx*4 + 0x5d15ec]
add edx, ebp
mov ebp, dword [0x5d09c8]
xor edx, ebp
xor eax, edx
xor edx, edx
mov ebx, eax
mov dword [esp + 0x14], eax
mov dl, byte [esp + 0x16]
shr ebx, 0x18
mov edx, dword [edx*4 + 0x5d0dec]
mov ebp, dword [ebx*4 + 0x5d09ec]
xor ebx, ebx
mov bl, ah
add edx, ebp
mov ebp, dword [ebx*4 + 0x5d11ec]
mov ebx, eax
and ebx, 0xff
xor edx, ebp
mov ebp, dword [ebx*4 + 0x5d15ec]
add edx, ebp
mov ebp, dword [0x5d09cc]
xor edx, ebp
xor ecx, edx
xor edx, edx
mov ebx, ecx
mov dword [esp + 0x14], ecx
mov dl, byte [esp + 0x16]
shr ebx, 0x18
mov edx, dword [edx*4 + 0x5d0dec]
mov ebp, dword [ebx*4 + 0x5d09ec]
xor ebx, ebx
mov bl, ch
add edx, ebp
mov ebp, dword [ebx*4 + 0x5d11ec]
mov ebx, ecx
and ebx, 0xff
xor edx, ebp
mov ebp, dword [ebx*4 + 0x5d15ec]
add edx, ebp
mov ebp, dword [0x5d09d0]
xor edx, ebp
xor eax, edx
xor edx, edx
mov ebx, eax
mov dword [esp + 0x14], eax
mov dl, byte [esp + 0x16]
shr ebx, 0x18
mov edx, dword [edx*4 + 0x5d0dec]
mov ebp, dword [ebx*4 + 0x5d09ec]
xor ebx, ebx
mov bl, ah
add edx, ebp
mov ebp, dword [ebx*4 + 0x5d11ec]
mov ebx, eax
and ebx, 0xff
xor edx, ebp
mov ebp, dword [ebx*4 + 0x5d15ec]
add edx, ebp
mov ebp, dword [0x5d09d4]
xor edx, ebp
xor ecx, edx
xor edx, edx
mov dword [esp + 0x14], ecx
mov ebx, ecx
mov dl, byte [esp + 0x16]
shr ebx, 0x18
mov ebp, dword [ebx*4 + 0x5d09ec]
mov edx, dword [edx*4 + 0x5d0dec]
xor ebx, ebx
add edx, ebp
mov bl, ch
mov ebp, dword [ebx*4 + 0x5d11ec]
mov ebx, ecx
and ebx, 0xff
xor edx, ebp
mov ebp, dword [ebx*4 + 0x5d15ec]
add edx, ebp
mov ebp, dword [0x5d09d8]
xor edx, ebp
xor eax, edx
xor edx, edx
mov ebx, eax
mov dword [esp + 0x14], eax
mov dl, byte [esp + 0x16]
shr ebx, 0x18
mov edx, dword [edx*4 + 0x5d0dec]
mov ebp, dword [ebx*4 + 0x5d09ec]
xor ebx, ebx
mov bl, ah
add edx, ebp
mov ebp, dword [ebx*4 + 0x5d11ec]
mov ebx, eax
and ebx, 0xff
xor edx, ebp
mov ebp, dword [ebx*4 + 0x5d15ec]
add edx, ebp
mov ebp, dword [0x5d09dc]
xor edx, ebp
xor ecx, edx
xor edx, edx
mov ebx, ecx
mov dword [esp + 0x14], ecx
mov dl, byte [esp + 0x16]
shr ebx, 0x18
mov edx, dword [edx*4 + 0x5d0dec]
mov ebp, dword [ebx*4 + 0x5d09ec]
xor ebx, ebx
mov bl, ch
add edx, ebp
mov ebp, dword [ebx*4 + 0x5d11ec]
mov ebx, ecx
and ebx, 0xff
xor edx, ebp
mov ebp, dword [ebx*4 + 0x5d15ec]
add edx, ebp
mov ebp, dword [0x5d09e0]
xor edx, ebp
xor eax, edx
xor edx, edx
mov ebx, eax
mov dword [esp + 0x14], eax
mov dl, byte [esp + 0x16]
shr ebx, 0x18
mov edx, dword [edx*4 + 0x5d0dec]
mov ebp, dword [ebx*4 + 0x5d09ec]
xor ebx, ebx
mov bl, ah
add edx, ebp
mov ebp, dword [ebx*4 + 0x5d11ec]
mov ebx, eax
and ebx, 0xff
xor edx, ebp
mov ebp, dword [ebx*4 + 0x5d15ec]
mov ebx, dword [0x5d09e4]
add edx, ebp
xor edx, ebx
xor ecx, edx
mov edx, dword [0x5d09e8]
xor eax, edx
mov dword [edi], ecx
mov dword [esi], eax
pop edi
pop esi
pop ebp
pop ebx
ret 8