Function at 0x5a6a00
Capabilities:
Encrypt data using camellia
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x20
call fcn.00486420
mov edx, dword [esp + 0x2c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
push edi
movzx ecx, byte [esi]
movzx eax, byte [esi + 1]
shl ecx, 8
xor ecx, eax
movzx eax, byte [esi + 2]
shl ecx, 8
xor ecx, eax
movzx eax, byte [esi + 3]
shl ecx, 8
xor ecx, eax
mov dword [edx], ecx
movzx ebx, byte [esi + 4]
movzx eax, byte [esi + 5]
shl ebx, 8
xor ebx, eax
mov dword [esp + 0x18], ecx
movzx eax, byte [esi + 6]
shl ebx, 8
xor ebx, eax
mov dword [esp + 0x10], ecx
movzx eax, byte [esi + 7]
shl ebx, 8
xor ebx, eax
mov dword [edx + 4], ebx
movzx edi, byte [esi + 8]
movzx eax, byte [esi + 9]
shl edi, 8
xor edi, eax
mov dword [esp + 0x38], ebx
movzx eax, byte [esi + 0xa]
shl edi, 8
xor edi, eax
mov dword [esp + 0x20], ebx
movzx eax, byte [esi + 0xb]
shl edi, 8
xor edi, eax
mov dword [edx + 8], edi
movzx ebp, byte [esi + 0xc]
movzx eax, byte [esi + 0xd]
shl ebp, 8
xor ebp, eax
mov dword [esp + 0x24], edi
movzx eax, byte [esi + 0xe]
shl ebp, 8
xor ebp, eax
movzx eax, byte [esi + 0xf]
shl ebp, 8
xor ebp, eax
cmp dword [esp + 0x34], 0x80
mov dword [edx + 0xc], ebp
mov dword [esp + 0x14], ebp
je 0x5a6b8c
movzx ecx, byte [esi + 0x10]
movzx eax, byte [esi + 0x11]
shl ecx, 8
xor ecx, eax
movzx eax, byte [esi + 0x12]
shl ecx, 8
xor ecx, eax
movzx eax, byte [esi + 0x13]
shl ecx, 8
xor ecx, eax
mov dword [edx + 0x20], ecx
movzx ebx, byte [esi + 0x14]
movzx eax, byte [esi + 0x15]
shl ebx, 8
xor ebx, eax
movzx eax, byte [esi + 0x16]
shl ebx, 8
xor ebx, eax
movzx eax, byte [esi + 0x17]
shl ebx, 8
xor ebx, eax
cmp dword [esp + 0x34], 0xc0
mov dword [edx + 0x24], ebx
jne 0x5a6b1d
mov edi, ecx
mov ebp, ebx
not edi
not ebp
mov dword [edx + 0x28], edi
jmp 0x5a6b5e
movzx edi, byte [esi + 0x18]
movzx eax, byte [esi + 0x19]
shl edi, 8
xor edi, eax
movzx eax, byte [esi + 0x1a]
shl edi, 8
xor edi, eax
movzx eax, byte [esi + 0x1b]
shl edi, 8
xor edi, eax
mov dword [edx + 0x28], edi
movzx ebp, byte [esi + 0x1c]
movzx eax, byte [esi + 0x1d]
shl ebp, 8
xor ebp, eax
movzx eax, byte [esi + 0x1e]
shl ebp, 8
xor ebp, eax
movzx eax, byte [esi + 0x1f]
shl ebp, 8
xor ebp, eax
mov dword [edx + 0x2c], ebp
mov eax, dword [edx]
xor ecx, eax
mov dword [esp + 0x10], eax
mov eax, dword [edx + 4]
xor ebx, eax
mov dword [esp + 0x20], eax
mov eax, dword [edx + 8]
xor edi, eax
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0xc]
xor ebp, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x14], eax
mov edx, ecx
xor ebx, 0x3bcc908b
xor edx, 0xa09e667f
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov esi, dword [ecx*4 + 0x65c460]
xor esi, dword [eax*4 + 0x65c860]
mov eax, edx
shr eax, 0x18
xor esi, dword [eax*4 + 0x65bc60]
movzx eax, dl
xor esi, dword [eax*4 + 0x65c060]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x65c860]
xor ecx, dword [eax*4 + 0x65c060]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x65c460]
movzx eax, bl
xor ecx, dword [eax*4 + 0x65bc60]
mov eax, esi
shl eax, 0x18
xor ecx, esi
xor edi, ecx
shr esi, 8
add eax, esi
mov edx, edi
xor eax, ecx
xor edx, 0xb67ae858
xor ebp, eax
mov eax, edx
shr eax, 0x10
mov ebx, ebp
movzx ecx, al
xor ebx, 0x4caa73b2
mov eax, edx
shr eax, 8
movzx eax, al
mov esi, dword [ecx*4 + 0x65c460]
xor esi, dword [eax*4 + 0x65c860]
mov eax, edx
shr eax, 0x18
xor esi, dword [eax*4 + 0x65bc60]
movzx eax, dl
mov edx, dword [esp + 0x18]
xor esi, dword [eax*4 + 0x65c060]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x65c860]
xor ecx, dword [eax*4 + 0x65c060]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x65c460]
movzx eax, bl
xor ecx, dword [eax*4 + 0x65bc60]
mov eax, dword [esp + 0x10]
xor ecx, esi
xor eax, ecx
xor edx, eax
mov eax, esi
shl eax, 0x18
shr esi, 8
add eax, esi
mov dword [esp + 0x18], edx
xor eax, dword [esp + 0x20]
xor eax, ecx
mov ecx, dword [esp + 0x38]
xor ecx, eax
mov ebx, ecx
mov dword [esp + 0x38], ecx
xor edx, 0xc6ef372f
xor ebx, 0xe94f82be
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov esi, dword [ecx*4 + 0x65c460]
xor esi, dword [eax*4 + 0x65c860]
mov eax, edx
shr eax, 0x18
xor esi, dword [eax*4 + 0x65bc60]
movzx eax, dl
xor esi, dword [eax*4 + 0x65c060]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x65c860]
xor ecx, dword [eax*4 + 0x65c060]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x65c460]
movzx eax, bl
xor ecx, dword [eax*4 + 0x65bc60]
mov eax, dword [esp + 0x24]
xor ecx, esi
xor eax, ecx
xor edi, eax
mov eax, esi
shl eax, 0x18
mov edx, edi
shr esi, 8
xor edx, 0x54ff53a5
add eax, esi
mov dword [esp + 0x28], edi
xor eax, dword [esp + 0x14]
xor eax, ecx
xor ebp, eax
mov eax, edx
shr eax, 0x10
mov ebx, ebp
movzx ecx, al
xor ebx, 0xf1d36f1c
mov eax, edx
mov dword [esp + 0x1c], ebp
shr eax, 8
movzx eax, al
mov esi, dword [ecx*4 + 0x65c460]
xor esi, dword [eax*4 + 0x65c860]
mov eax, edx
shr eax, 0x18
xor esi, dword [eax*4 + 0x65bc60]
movzx eax, dl
mov edx, dword [esp + 0x18]
xor esi, dword [eax*4 + 0x65c060]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x65c860]
xor ecx, dword [eax*4 + 0x65c060]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x65c460]
movzx eax, bl
xor ecx, dword [eax*4 + 0x65bc60]
mov eax, esi
xor ecx, esi
shl eax, 0x18
shr esi, 8
xor edx, ecx
add eax, esi
xor eax, ecx
mov ebx, dword [esp + 0x38]
xor ebx, eax
cmp dword [esp + 0x34], 0x80
mov eax, dword [esp + 0x3c]
jne 0x5a70f7
mov dword [eax + 0x10], edx
mov ecx, ebx
mov dword [eax + 0x18], edi
mov esi, ebp
mov dword [eax + 0x14], ebx
mov dword [eax + 0x1c], ebp
mov eax, edx
shl edx, 0xf
shr ecx, 0x11
or ecx, edx
shr eax, 0x11
mov edx, edi
shl ebp, 0xf
or ebp, eax
shl edi, 0xf
mov eax, dword [esp + 0x3c]
shr edx, 0x11
shl ebx, 0xf
or edx, ebx
shr esi, 0x11
or esi, edi
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], edx
mov edi, edx
mov dword [eax + 0x3c], ebp
mov ebx, esi
mov dword [eax + 0x38], esi
mov eax, ecx
shl ecx, 0xf
mov dword [esp + 0x1c], ebp
shr edi, 0x11
or edi, ecx
shr ebp, 0x11
mov ecx, dword [esp + 0x1c]
shl esi, 0xf
or ebp, esi
shl edx, 0xf
mov esi, dword [esp + 0x3c]
shr eax, 0x11
shl ecx, 0xf
or ecx, eax
shr ebx, 0x11
or ebx, edx
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x40], edi
mov edx, ebp
mov dword [esi + 0x44], ebx
mov eax, edi
mov dword [esp + 0x1c], ecx
mov ecx, ebx
shl edi, 0xf
shr edx, 0x11
shl ebx, 0xf
or edx, ebx
mov dword [esi + 0x48], ebp
mov ebx, dword [esp + 0x1c]
shr ecx, 0x11
or ecx, edi
shl ebp, 0xf
mov edi, ebx
mov dword [esi + 0x64], edx
shr edi, 0x11
or edi, ebp
mov dword [esi + 0x60], ecx
mov ebp, edx
shr eax, 0x11
mov esi, edi
shl edx, 0xf
shl ebx, 0xf
or ebx, eax
shr esi, 0x11
or esi, edx
shr ebp, 0x11
mov eax, ecx
shl edi, 0xf
shl ecx, 0xf
mov edx, ebx
shr edx, 0x11
or ebp, ecx
shr eax, 0x11
or edx, edi
shl ebx, 0xf
mov edi, edx
or ebx, eax
shr edi, 0x1e
mov eax, dword [esp + 0x3c]
mov ecx, esi
shr ecx, 0x1e
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], ebx
mov dword [eax + 0x74], esi
mov dword [eax + 0x70], ebp
lea eax, [esi*4]
or edi, eax
mov esi, ebx
lea eax, [edx*4]
shr esi, 0x1e
or esi, eax
shl ebx, 2
mov eax, ebp
lea edx, [ebp*4]
mov ebp, dword [esp + 0x3c]
or edx, ecx
shr eax, 0x1e
mov ecx, edi
or ebx, eax
shr ecx, 0xf
mov eax, esi
shr eax, 0xf
mov dword [ebp + 0xa0], edi
shl edi, 0x11
or eax, edi
mov dword [ebp + 0xa4], esi
mov dword [ebp + 0xc0], eax
mov eax, ebx
shr eax, 0xf
shl esi, 0x11
or eax, esi
mov dword [ebp + 0xa8], ebx
mov dword [ebp + 0xc4], eax
mov eax, edx
mov dword [ebp + 0xac], edx
shl ebx, 0x11
shr eax, 0xf
or ebx, eax
shl edx, 0x11
or edx, ecx
mov dword [ebp + 0xc8], ebx
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov eax, ecx
mov dword [ebp + 0xcc], edx
mov edx, ebx
shl ecx, 0xf
shr edx, 0x11
or edx, ecx
shl ebx, 0xf
mov ecx, dword [esp + 0x24]
mov esi, ecx
shr esi, 0x11
or esi, ebx
shr eax, 0x11
mov ebx, dword [esp + 0x14]
mov edi, ebx
shl ecx, 0xf
shl ebx, 0xf
or ebx, eax
shr edi, 0x11
or edi, ecx
mov dword [ebp + 0x20], edx
mov ecx, edx
mov dword [ebp + 0x24], esi
mov eax, esi
shl edx, 0x1e
shr eax, 2
or edx, eax
shr ecx, 2
mov eax, edi
shl esi, 0x1e
mov dword [ebp + 0x28], edi
mov dword [ebp + 0x2c], ebx
shr eax, 2
or esi, eax
shl edi, 0x1e
mov eax, ebx
mov dword [ebp + 0x50], edx
shr eax, 2
or edi, eax
shl ebx, 0x1e
or ebx, ecx
mov dword [ebp + 0x54], esi
mov eax, edx
mov dword [ebp + 0x58], edi
mov ecx, esi
shl edx, 0xf
shr ecx, 0x11
or ecx, edx
shl esi, 0xf
mov edx, edi
shr eax, 0x11
shr edx, 0x11
or edx, esi
shl edi, 0xf
mov esi, ebx
mov dword [ebp + 0x5c], ebx
shr esi, 0x11
or esi, edi
shl ebx, 0xf
or ebx, eax
mov dword [ebp + 0x68], esi
mov eax, ecx
mov dword [ebp + 0x6c], ebx
shl ecx, 0x11
mov edi, edx
shr edi, 0xf
or edi, ecx
shl edx, 0x11
mov ecx, esi
shr eax, 0xf
shr ecx, 0xf
or ecx, edx
shl esi, 0x11
mov edx, ebx
mov dword [ebp + 0x80], edi
shr edx, 0xf
or edx, esi
shl ebx, 0x11
or ebx, eax
mov dword [ebp + 0x84], ecx
mov esi, ecx
mov dword [esp + 0x14], ebx
mov eax, edi
shr esi, 0xf
shl edi, 0x11
or esi, edi
shl ecx, 0x11
mov edi, edx
shr eax, 0xf
shr edi, 0xf
or edi, ecx
mov dword [ebp + 0x88], edx
mov ecx, dword [esp + 0x14]
shl ecx, 0x11
or ecx, eax
shl edx, 0x11
mov dword [ebp + 0x8c], ebx
shr ebx, 0xf
or ebx, edx
mov dword [esp + 0x14], ecx
mov dword [ebp + 0x9c], ecx
mov edx, esi
mov ecx, edi
mov dword [ebp + 0x90], esi
shr ecx, 0xf
mov eax, ebx
shl esi, 0x11
mov dword [ebp + 0x94], edi
or ecx, esi
shr eax, 0xf
shl edi, 0x11
shr edx, 0xf
or eax, edi
mov dword [ebp + 0x98], ebx
mov dword [ebp + 0xb0], ecx
mov ecx, dword [esp + 0x14]
mov dword [ebp + 0xb4], eax
mov eax, ecx
shr eax, 0xf
shl ebx, 0x11
or eax, ebx
shl ecx, 0x11
pop edi
or ecx, edx
mov dword [ebp + 0xb8], eax
pop esi
mov dword [ebp + 0xbc], ecx
mov eax, 3
pop ebp
pop ebx
add esp, 0x20
ret
mov dword [eax + 0x30], edx
mov dword [eax + 0x34], ebx
xor ebx, dword [eax + 0x24]
mov dword [eax + 0x3c], ebp
mov ebp, dword [eax + 0x20]
xor edx, ebp
mov dword [eax + 0x38], edi
mov dword [esp + 0x18], edx
xor edx, 0x10e527fa
mov eax, edx
mov dword [esp + 0x38], ebx
shr eax, 0x10
xor ebx, 0xde682d1d
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov dword [esp + 0x2c], ebp
mov esi, dword [ecx*4 + 0x65c460]
xor esi, dword [eax*4 + 0x65c860]
mov eax, edx
shr eax, 0x18
xor esi, dword [eax*4 + 0x65bc60]
movzx eax, dl
mov edx, dword [esp + 0x3c]
xor esi, dword [eax*4 + 0x65c060]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov edi, dword [edx + 0x28]
mov ecx, dword [ecx*4 + 0x65c860]
mov edx, dword [edx + 0x2c]
xor ecx, dword [eax*4 + 0x65c060]
mov eax, ebx
shr eax, 0x18
mov dword [esp + 0x34], edx
xor ecx, dword [eax*4 + 0x65c460]
movzx eax, bl
mov ebx, dword [esp + 0x28]
xor ecx, dword [eax*4 + 0x65bc60]
xor ecx, esi
mov eax, ecx
xor eax, edi
xor ebx, eax
mov eax, esi
shl eax, 0x18
shr esi, 8
add eax, esi
mov dword [esp + 0x28], ebx
xor eax, ecx
mov ecx, dword [esp + 0x1c]
xor eax, edx
mov edx, ebx
xor ecx, eax
xor edx, 0xb05688c2
mov ebx, ecx
mov dword [esp + 0x1c], ecx
mov eax, edx
xor ebx, 0xb3e6c1fd
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov esi, dword [ecx*4 + 0x65c460]
xor esi, dword [eax*4 + 0x65c860]
mov eax, edx
shr eax, 0x18
xor esi, dword [eax*4 + 0x65bc60]
movzx eax, dl
xor esi, dword [eax*4 + 0x65c060]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x65c860]
xor ecx, dword [eax*4 + 0x65c060]
mov eax, ebx
shr eax, 0x18
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x3c]
xor ecx, dword [eax*4 + 0x65c460]
movzx eax, bl
mov ebx, dword [esp + 0x28]
xor ecx, dword [eax*4 + 0x65bc60]
mov eax, esi
shl eax, 0x18
xor ecx, esi
xor dword [esp + 0x18], ecx
shr esi, 8
add eax, esi
mov esi, dword [esp + 0x18]
xor eax, ecx
mov ecx, dword [esp + 0x38]
xor ecx, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], ecx
mov dword [eax + 0x14], ecx
mov ecx, esi
mov dword [eax + 0x18], ebx
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edx
mov eax, dword [esp + 0x38]
shl dword [esp + 0x38], 0x1e
shr eax, 2
shl esi, 0x1e
or esi, eax
shr ecx, 2
mov eax, ebx
shl ebx, 0x1e
shr eax, 2
or dword [esp + 0x38], eax
mov eax, edx
shr eax, 2
or ebx, eax
shl edx, 0x1e
mov eax, dword [esp + 0x38]
or edx, ecx
mov ecx, dword [esp + 0x3c]
shl dword [esp + 0x38], 0x1e
mov dword [ecx + 0x54], eax
shr eax, 2
mov dword [ecx + 0x58], ebx
mov dword [ecx + 0x50], esi
mov dword [ecx + 0x5c], edx
mov ecx, esi
shl esi, 0x1e
or esi, eax
shr ecx, 2
mov eax, ebx
shl ebx, 0x1e
shr eax, 2
or dword [esp + 0x38], eax
mov eax, edx
shr eax, 2
or ebx, eax
shl edx, 0x1e
mov eax, dword [esp + 0x38]
or edx, ecx
mov ecx, dword [esp + 0x3c]
shl dword [esp + 0x38], 0x13
mov dword [ecx + 0xa4], eax
mov dword [ecx + 0xa8], ebx
mov dword [ecx + 0xa0], esi
mov dword [ecx + 0xac], edx
mov ecx, eax
mov eax, ebx
shr ecx, 0xd
shr eax, 0xd
or eax, dword [esp + 0x38]
mov dword [ebp + 0x100], eax
mov eax, edx
shl ebx, 0x13
shr eax, 0xd
or eax, ebx
mov ebx, ebp
mov dword [ebx + 0x104], eax
mov ebp, dword [esp + 0x2c]
mov eax, esi
shr eax, 0xd
shl esi, 0x13
or esi, ecx
shl edx, 0x13
or edx, eax
mov dword [ebx + 0x10c], esi
mov dword [ebx + 0x108], edx
mov ecx, ebx
mov edx, edi
mov eax, ebp
shr eax, 0x11
shr edx, 0x11
mov ebx, dword [ecx + 0x24]
mov ecx, ebx
shl ebx, 0xf
or edx, ebx
shl edi, 0xf
mov ebx, dword [esp + 0x34]
mov esi, ebx
shl ebx, 0xf
or ebx, eax
shr esi, 0x11
mov eax, dword [esp + 0x3c]
or esi, edi
shr ecx, 0x11
mov edi, esi
shl ebp, 0xf
or ecx, ebp
mov dword [esp + 0x34], ebx
mov dword [eax + 0x28], esi
mov ebp, edx
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
mov eax, ecx
shl esi, 0xf
shr eax, 0x11
shl edx, 0xf
shr ebx, 0x11
or ebx, esi
shr edi, 0x11
mov esi, dword [esp + 0x34]
or edi, edx
mov edx, dword [esp + 0x3c]
shl ecx, 0xf
shr ebp, 0x11
or ebp, ecx
shl esi, 0xf
or esi, eax
mov dword [edx + 0x40], ebp
mov eax, edi
mov dword [edx + 0x44], edi
shr eax, 2
mov ecx, ebp
shl ebp, 0x1e
or ebp, eax
shl edi, 0x1e
mov eax, ebx
mov dword [edx + 0x48], ebx
shr eax, 2
or edi, eax
mov dword [edx + 0x4c], esi
mov eax, esi
shr ecx, 2
shr eax, 2
shl ebx, 0x1e
or ebx, eax
shl esi, 0x1e
or esi, ecx
mov dword [edx + 0x90], ebp
mov dword [edx + 0x94], edi
lea eax, [edi*4]
mov dword [edx + 0x98], ebx
mov ecx, ebx
mov dword [edx + 0x9c], esi
mov edx, edi
shr ecx, 0x1e
shr edx, 0x1e
or ecx, eax
mov edi, dword [esp + 0x3c]
lea eax, [ebx*4]
mov ebx, dword [edi + 0x3c]
mov dword [edi + 0xd0], ecx
mov ecx, esi
shr ecx, 0x1e
or ecx, eax
mov dword [esp + 0x34], ebx
mov dword [edi + 0xd4], ecx
mov eax, ebp
shr eax, 0x1e
lea ecx, [esi*4]
or ecx, eax
shr ebx, 0x11
mov dword [edi + 0xd8], ecx
lea eax, [ebp*4]
mov ecx, dword [edi + 0x34]
or eax, edx
mov edx, dword [edi + 0x38]
mov ebp, ecx
mov dword [edi + 0xdc], eax
mov eax, dword [edi + 0x30]
mov esi, eax
mov edi, edx
shl eax, 0xf
shl edx, 0xf
or ebx, edx
shr esi, 0x11
mov edx, dword [esp + 0x34]
shl edx, 0xf
or edx, esi
shl ecx, 0xf
mov esi, dword [esp + 0x3c]
shr edi, 0x11
or edi, ecx
shr ebp, 0x11
or ebp, eax
mov eax, edi
shr eax, 2
mov ecx, ebp
mov dword [esi + 0x30], ebp
shl ebp, 0x1e
or ebp, eax
mov dword [esi + 0x34], edi
mov eax, ebx
shl edi, 0x1e
shr eax, 2
or edi, eax
mov dword [esi + 0x38], ebx
mov eax, edx
mov dword [esi + 0x3c], edx
shr eax, 2
shl ebx, 0x1e
or ebx, eax
shr ecx, 2
shl edx, 0x1e
mov eax, ebx
or edx, ecx
shr eax, 0xf
mov ecx, edi
mov dword [esi + 0x74], edi
mov dword [esi + 0xc0], edi
shl edi, 0x11
or eax, edi
mov dword [esi + 0x78], ebx
mov dword [esi + 0xe0], eax
mov eax, edx
shr eax, 0xf
mov dword [esi + 0xc4], ebx
shl ebx, 0x11
or eax, ebx
mov dword [esi + 0x7c], edx
mov dword [esi + 0xe4], eax
mov eax, ebp
mov dword [esi + 0xc8], edx
shl edx, 0x11
shr eax, 0xf
shr ecx, 0xf
or edx, eax
mov dword [esi + 0x70], ebp
mov dword [esi + 0xcc], ebp
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov dword [esi + 0xe8], edx
shl ebp, 0x11
or ebp, ecx
mov ecx, eax
shl eax, 0xd
mov dword [esi + 0xec], ebp
mov esi, ebx
mov ebp, dword [esp + 0x24]
mov edx, ebp
shr edx, 0x13
or edx, eax
shl ebx, 0xd
mov eax, dword [esp + 0x10]
shr eax, 0x13
or ebx, eax
shr esi, 0x13
mov eax, dword [esp + 0x10]
shl eax, 0xd
shr ecx, 0x13
or eax, ecx
shl ebp, 0xd
or esi, ebp
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x3c]
mov ecx, edx
mov edi, esi
shr ecx, 0x11
shr edi, 0x11
mov dword [ebp + 0x60], edx
shl edx, 0xf
or edi, edx
mov dword [ebp + 0x6c], eax
shr eax, 0x11
mov edx, ebx
mov dword [ebp + 0x68], ebx
shl ebx, 0xf
or ebx, eax
mov dword [ebp + 0x64], esi
mov eax, dword [esp + 0x10]
shr edx, 0x11
shl esi, 0xf
or edx, esi
shl eax, 0xf
or eax, ecx
mov dword [esp + 0x14], ebx
mov dword [ebp + 0x88], ebx
mov ecx, edi
mov ebx, edx
mov dword [ebp + 0x80], edi
shl edi, 0x11
mov dword [esp + 0x10], eax
shr ebx, 0xf
or ebx, edi
mov dword [ebp + 0x8c], eax
mov edi, dword [esp + 0x14]
mov esi, edi
shr eax, 0xf
shl edi, 0x11
or edi, eax
mov dword [ebp + 0x84], edx
mov eax, dword [esp + 0x10]
shl edx, 0x11
shr ecx, 0xf
shr esi, 0xf
or esi, edx
shl eax, 0x11
or eax, ecx
mov dword [ebp + 0xb0], ebx
mov ecx, edi
mov dword [esp + 0x10], eax
mov dword [ebp + 0xbc], eax
mov edx, esi
shr ecx, 0x1e
lea eax, [esi*4]
shr edx, 0x1e
or ecx, eax
mov dword [ebp + 0xb4], esi
mov dword [ebp + 0xb8], edi
mov dword [ebp + 0xf0], ecx
mov esi, dword [esp + 0x10]
lea ecx, [edi*4]
mov eax, esi
shr eax, 0x1e
or ecx, eax
mov dword [ebp + 0xf4], ecx
lea eax, [esi*4]
mov ecx, ebx
shr ecx, 0x1e
or ecx, eax
lea eax, [ebx*4]
pop edi
or eax, edx
mov dword [ebp + 0xf8], ecx
pop esi
mov dword [ebp + 0xfc], eax
mov eax, 4
pop ebp
pop ebx
add esp, 0x20
ret