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

Disassembly:
mov eax, 0xc
call fcn.10163610
mov edx, dword [esp + 0x18]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
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
movzx eax, byte [esi + 6]
shl ebx, 8
xor ebx, eax
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
movzx eax, byte [esi + 0xa]
shl edi, 8
xor edi, eax
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
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 + 0x20], 0x80
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], ebx
mov dword [edx + 0xc], ebp
je 0x10116054
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 + 0x20], 0xc0
mov dword [edx + 0x24], ebx
jne 0x10115ffd
mov edi, ecx
not edi
mov ebp, ebx
mov dword [edx + 0x28], edi
not ebp
jmp 0x1011603e
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
xor ecx, dword [edx]
xor ebx, dword [edx + 4]
xor edi, dword [edx + 8]
mov dword [edx + 0x2c], ebp
xor ebp, dword [edx + 0xc]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], ebx
mov edx, ecx
xor edx, 0xa09e667f
mov ecx, edx
shr ecx, 0x10
and ecx, 0xff
mov eax, edx
mov esi, dword [ecx*4 + 0x101c76f0]
shr eax, 8
and eax, 0xff
xor ebx, 0x3bcc908b
xor esi, dword [eax*4 + 0x101c7af0]
mov eax, edx
shr eax, 0x18
mov ecx, ebx
xor esi, dword [eax*4 + 0x101c6ef0]
shr ecx, 0x10
and ecx, 0xff
movzx eax, dl
mov ecx, dword [ecx*4 + 0x101c7af0]
xor esi, dword [eax*4 + 0x101c72f0]
mov eax, ebx
shr eax, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x101c72f0]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x101c76f0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x101c6ef0]
mov eax, esi
xor ecx, esi
shl eax, 0x18
xor edi, ecx
shr esi, 8
add eax, esi
xor eax, ecx
xor ebp, eax
mov edx, edi
xor edx, 0xb67ae858
mov ecx, edx
shr ecx, 0x10
and ecx, 0xff
mov eax, edx
mov esi, dword [ecx*4 + 0x101c76f0]
shr eax, 8
and eax, 0xff
mov ebx, ebp
xor esi, dword [eax*4 + 0x101c7af0]
mov eax, edx
shr eax, 0x18
xor ebx, 0x4caa73b2
xor esi, dword [eax*4 + 0x101c6ef0]
movzx eax, dl
mov edx, dword [esp + 0x10]
xor esi, dword [eax*4 + 0x101c72f0]
mov ecx, ebx
shr ecx, 0x10
and ecx, 0xff
mov eax, ebx
mov ecx, dword [ecx*4 + 0x101c7af0]
shr eax, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x101c72f0]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x101c76f0]
movzx eax, bl
mov ebx, dword [esp + 0x28]
xor ecx, dword [eax*4 + 0x101c6ef0]
mov eax, dword [ebx]
mov ebx, dword [ebx + 4]
xor ecx, esi
xor eax, ecx
xor edx, eax
mov eax, esi
shl eax, 0x18
shr esi, 8
add eax, esi
xor eax, ebx
mov dword [esp + 0x10], edx
xor eax, ecx
mov ecx, dword [esp + 0x24]
xor ecx, eax
mov ebx, ecx
mov dword [esp + 0x24], ecx
xor edx, 0xc6ef372f
mov ecx, edx
shr ecx, 0x10
and ecx, 0xff
mov eax, edx
mov esi, dword [ecx*4 + 0x101c76f0]
shr eax, 8
and eax, 0xff
xor ebx, 0xe94f82be
xor esi, dword [eax*4 + 0x101c7af0]
mov eax, edx
shr eax, 0x18
mov ecx, ebx
xor esi, dword [eax*4 + 0x101c6ef0]
shr ecx, 0x10
and ecx, 0xff
movzx eax, dl
mov ecx, dword [ecx*4 + 0x101c7af0]
xor esi, dword [eax*4 + 0x101c72f0]
mov edx, dword [esp + 0x28]
mov eax, ebx
shr eax, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x101c72f0]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x101c76f0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x101c6ef0]
mov eax, dword [edx + 8]
mov edx, dword [edx + 0xc]
xor ecx, esi
xor eax, ecx
xor edi, eax
mov eax, esi
shl eax, 0x18
shr esi, 8
add eax, esi
xor eax, edx
xor eax, ecx
xor ebp, eax
mov edx, edi
xor edx, 0x54ff53a5
mov ecx, edx
shr ecx, 0x10
and ecx, 0xff
mov eax, edx
mov esi, dword [ecx*4 + 0x101c76f0]
shr eax, 8
and eax, 0xff
mov ebx, ebp
xor esi, dword [eax*4 + 0x101c7af0]
mov eax, edx
shr eax, 0x18
xor ebx, 0xf1d36f1c
xor esi, dword [eax*4 + 0x101c6ef0]
movzx eax, dl
mov edx, dword [esp + 0x10]
xor esi, dword [eax*4 + 0x101c72f0]
mov ecx, ebx
shr ecx, 0x10
and ecx, 0xff
mov eax, ebx
mov ecx, dword [ecx*4 + 0x101c7af0]
shr eax, 8
and eax, 0xff
mov dword [esp + 0x18], edi
xor ecx, dword [eax*4 + 0x101c72f0]
mov eax, ebx
shr eax, 0x18
mov dword [esp + 0x14], ebp
xor ecx, dword [eax*4 + 0x101c76f0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x101c6ef0]
mov eax, esi
xor ecx, esi
xor edx, ecx
mov ebx, dword [esp + 0x24]
shl eax, 0x18
shr esi, 8
add eax, esi
xor eax, ecx
xor ebx, eax
cmp dword [esp + 0x20], 0x80
mov eax, dword [esp + 0x28]
jne 0x101165f8
mov dword [eax + 0x10], edx
mov dword [eax + 0x18], edi
mov dword [eax + 0x14], ebx
mov dword [eax + 0x1c], ebp
mov eax, edx
shl edx, 0xf
mov ecx, ebx
shr eax, 0x11
mov esi, ebp
shr ecx, 0x11
or ecx, edx
mov edx, edi
shl ebp, 0xf
or ebp, eax
mov eax, dword [esp + 0x28]
shr esi, 0x11
mov dword [eax + 0x3c], ebp
shl edi, 0xf
or esi, edi
mov dword [eax + 0x38], esi
shr edx, 0x11
shl ebx, 0xf
or edx, ebx
mov dword [eax + 0x34], edx
mov dword [eax + 0x30], ecx
mov dword [esp + 0x14], ebp
mov ebx, esi
shl esi, 0xf
shr ebp, 0x11
or ebp, esi
mov esi, dword [esp + 0x14]
mov eax, ecx
shr eax, 0x11
mov edi, edx
shl edx, 0xf
shl esi, 0xf
or esi, eax
mov eax, dword [esp + 0x28]
shr edi, 0x11
shl ecx, 0xf
or edi, ecx
shr ebx, 0x11
or ebx, edx
mov dword [eax + 0x40], edi
mov dword [eax + 0x44], ebx
mov dword [eax + 0x48], ebp
mov dword [eax + 0x4c], esi
mov eax, edi
mov ecx, ebx
shl edi, 0xf
shr ecx, 0x11
or ecx, edi
mov edx, ebp
mov edi, esi
shl ebp, 0xf
shr edi, 0x11
or edi, ebp
mov ebp, esi
shr eax, 0x11
shr edx, 0x11
shl ebx, 0xf
or edx, ebx
shl ebp, 0xf
or ebp, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], esi
mov dword [eax + 0x64], edx
mov ebx, edx
mov esi, edi
shl edx, 0xf
mov dword [eax + 0x60], ecx
shr esi, 0x11
or esi, edx
mov eax, ecx
shr ebx, 0x11
shl ecx, 0xf
mov edx, ebp
shr eax, 0x11
or ebx, ecx
shr edx, 0x11
shl edi, 0xf
or edx, edi
shl ebp, 0xf
or ebp, eax
mov eax, dword [esp + 0x28]
mov edi, edx
mov dword [eax + 0x70], ebx
mov dword [eax + 0x74], esi
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], ebp
lea eax, [esi*4]
mov ecx, esi
shr edi, 0x1e
or edi, eax
lea eax, [edx*4]
mov esi, ebp
shr esi, 0x1e
or esi, eax
mov eax, ebx
shr eax, 0x1e
shr ecx, 0x1e
shl ebx, 2
or ebx, ecx
shl ebp, 2
or ebp, eax
mov eax, dword [esp + 0x28]
mov ecx, esi
mov dword [eax + 0xac], ebx
mov dword [eax + 0xa4], esi
mov dword [eax + 0xa0], edi
mov dword [eax + 0xa8], ebp
mov eax, ebp
shr eax, 0xf
shl esi, 0x11
or eax, esi
mov esi, dword [esp + 0x28]
mov edx, edi
mov dword [esi + 0xc4], eax
mov eax, ebx
shr eax, 0xf
shr ecx, 0xf
shl ebp, 0x11
or ebp, eax
shl ebx, 0x11
shr edx, 0xf
or ebx, edx
shl edi, 0x11
or ecx, edi
mov dword [esi + 0xc0], ecx
mov dword [esi + 0xc8], ebp
mov ebp, esi
mov ecx, dword [ebp]
mov dword [ebp + 0xcc], ebx
mov ebx, dword [ebp + 4]
mov eax, ecx
mov edx, ebx
shl ecx, 0xf
shr edx, 0x11
or edx, ecx
mov ecx, dword [ebp + 8]
mov esi, ecx
shl ebx, 0xf
shr esi, 0x11
or esi, ebx
mov ebx, dword [ebp + 0xc]
shr eax, 0x11
mov edi, ebx
shl ecx, 0xf
shl ebx, 0xf
or ebx, eax
shr edi, 0x11
or edi, ecx
mov ecx, edx
mov dword [ebp + 0x20], edx
mov eax, esi
shl edx, 0x1e
shr eax, 2
shr ecx, 2
mov dword [ebp + 0x24], esi
mov dword [ebp + 0x28], edi
mov dword [ebp + 0x2c], ebx
or edx, eax
mov eax, edi
shr eax, 2
shl esi, 0x1e
or esi, eax
mov eax, ebx
mov dword [ebp + 0x50], edx
shl edi, 0x1e
shl ebx, 0x1e
or ebx, ecx
shr eax, 2
or edi, eax
mov eax, edx
shl edx, 0xf
mov ecx, esi
shr ecx, 0x11
or ecx, edx
mov dword [ebp + 0x54], esi
mov edx, edi
shr edx, 0x11
shl esi, 0xf
or edx, esi
mov dword [ebp + 0x58], edi
mov dword [ebp + 0x5c], ebx
mov esi, ebx
shl edi, 0xf
shr eax, 0x11
shl ebx, 0xf
or ebx, eax
shr esi, 0x11
or esi, edi
mov eax, ecx
mov edi, edx
shl ecx, 0x11
shr edi, 0xf
or edi, ecx
shl edx, 0x11
mov dword [ebp + 0x6c], ebx
mov ecx, esi
shr ecx, 0xf
or ecx, edx
mov edx, ebx
shr eax, 0xf
shl ebx, 0x11
or ebx, eax
mov dword [ebp + 0x8c], ebx
mov dword [esp + 0x20], ebx
mov dword [ebp + 0x68], esi
mov dword [ebp + 0x80], edi
mov ebx, ecx
shr edx, 0xf
mov eax, edi
shl esi, 0x11
or edx, esi
shl edi, 0x11
mov dword [ebp + 0x84], ecx
shr ebx, 0xf
or ebx, edi
mov edi, edx
shl ecx, 0x11
mov dword [ebp + 0x88], edx
shr edi, 0xf
or edi, ecx
mov ecx, dword [esp + 0x20]
mov ebp, ecx
shr eax, 0xf
shl edx, 0x11
shl ecx, 0x11
or ecx, eax
mov eax, dword [esp + 0x28]
shr ebp, 0xf
or ebp, edx
mov esi, ebx
mov edx, edi
mov dword [eax + 0x90], ebx
shr esi, 0xf
shr edx, 0xf
mov dword [esp + 0x20], ecx
mov dword [eax + 0x94], edi
mov dword [eax + 0x98], ebp
mov dword [eax + 0x9c], ecx
shl ebx, 0x11
mov ecx, ebp
shl edi, 0x11
shr ecx, 0xf
or ecx, edi
mov edi, dword [esp + 0x20]
mov eax, edi
or edx, ebx
mov ebx, dword [esp + 0x28]
shr eax, 0xf
shl ebp, 0x11
or eax, ebp
shl edi, 0x11
or edi, esi
mov dword [ebx + 0xbc], edi
pop edi
pop esi
mov dword [ebx + 0xb8], eax
pop ebp
mov dword [ebx + 0xb0], edx
mov dword [ebx + 0xb4], ecx
mov eax, 3
pop ebx
add esp, 0xc
ret
mov dword [eax + 0x30], edx
mov dword [eax + 0x3c], ebp
mov ebp, dword [eax + 0x20]
mov dword [eax + 0x34], ebx
xor ebx, dword [eax + 0x24]
mov dword [eax + 0x38], edi
xor edx, ebp
mov dword [esp + 0x10], edx
xor edx, 0x10e527fa
mov ecx, edx
shr ecx, 0x10
and ecx, 0xff
mov eax, edx
mov esi, dword [ecx*4 + 0x101c76f0]
shr eax, 8
and eax, 0xff
mov dword [esp + 0x24], ebx
xor esi, dword [eax*4 + 0x101c7af0]
mov eax, edx
shr eax, 0x18
xor ebx, 0xde682d1d
xor esi, dword [eax*4 + 0x101c6ef0]
movzx eax, dl
mov edx, dword [esp + 0x18]
xor esi, dword [eax*4 + 0x101c72f0]
mov ecx, ebx
shr ecx, 0x10
and ecx, 0xff
mov eax, ebx
mov ecx, dword [ecx*4 + 0x101c7af0]
shr eax, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x101c72f0]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x101c76f0]
movzx eax, bl
mov ebx, dword [esp + 0x28]
xor ecx, dword [eax*4 + 0x101c6ef0]
mov edi, dword [ebx + 0x28]
mov ebx, dword [ebx + 0x2c]
xor ecx, esi
mov eax, ecx
xor eax, edi
xor edx, eax
mov eax, esi
shl eax, 0x18
shr esi, 8
add eax, esi
mov esi, dword [esp + 0x14]
xor eax, ecx
xor eax, ebx
xor esi, eax
mov dword [esp + 0x18], edx
xor edx, 0xb05688c2
mov ecx, edx
shr ecx, 0x10
and ecx, 0xff
mov eax, edx
shr eax, 8
and eax, 0xff
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], ebx
mov ebx, esi
mov esi, dword [ecx*4 + 0x101c76f0]
xor esi, dword [eax*4 + 0x101c7af0]
mov eax, edx
shr eax, 0x18
xor ebx, 0xb3e6c1fd
xor esi, dword [eax*4 + 0x101c6ef0]
movzx eax, dl
mov ecx, ebx
xor esi, dword [eax*4 + 0x101c72f0]
shr ecx, 0x10
mov eax, ebx
shr eax, 8
and ecx, 0xff
and eax, 0xff
mov ecx, dword [ecx*4 + 0x101c7af0]
xor ecx, dword [eax*4 + 0x101c72f0]
mov eax, ebx
shr eax, 0x18
mov edx, dword [esp + 0x10]
xor ecx, dword [eax*4 + 0x101c76f0]
movzx eax, bl
mov ebx, dword [esp + 0x14]
xor ecx, dword [eax*4 + 0x101c6ef0]
mov eax, esi
xor ecx, esi
shl eax, 0x18
xor edx, ecx
shr esi, 8
add eax, esi
xor eax, ecx
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
xor ecx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], edx
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], ebx
mov eax, dword [esp + 0x24]
shl dword [esp + 0x24], 0x1e
shr eax, 2
mov ecx, edx
shl edx, 0x1e
or edx, eax
mov eax, esi
shr eax, 2
or dword [esp + 0x24], eax
shr ecx, 2
mov eax, ebx
shr eax, 2
shl esi, 0x1e
or esi, eax
mov eax, dword [esp + 0x24]
shl dword [esp + 0x24], 0x1e
shl ebx, 0x1e
or ebx, ecx
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x54], eax
mov dword [ecx + 0x50], edx
mov dword [ecx + 0x58], esi
mov dword [ecx + 0x5c], ebx
shr eax, 2
mov ecx, edx
shl edx, 0x1e
or edx, eax
mov eax, esi
shr eax, 2
or dword [esp + 0x24], eax
shr ecx, 2
mov eax, ebx
shr eax, 2
shl esi, 0x1e
or esi, eax
mov eax, dword [esp + 0x24]
shl ebx, 0x1e
or ebx, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], edx
mov dword [ecx + 0xa4], eax
mov dword [ecx + 0xa0], edx
mov dword [ecx + 0xa8], esi
mov dword [ecx + 0xac], ebx
mov edx, eax
mov ecx, esi
shl eax, 0x13
shr ecx, 0xd
or ecx, eax
mov eax, ebx
shl esi, 0x13
shr eax, 0xd
or eax, esi
mov esi, dword [esp + 0x28]
shr edx, 0xd
mov dword [esi + 0x100], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x104], eax
shl ebx, 0x13
mov eax, ecx
shr eax, 0xd
or ebx, eax
mov dword [esi + 0x108], ebx
mov ebx, dword [esi + 0x24]
shl ecx, 0x13
or ecx, edx
mov dword [esi + 0x10c], ecx
mov ecx, ebx
shl ebx, 0xf
mov edx, edi
shr edx, 0x11
or edx, ebx
mov ebx, dword [esp + 0x20]
mov esi, ebx
mov eax, ebp
shr eax, 0x11
shl ebx, 0xf
or ebx, eax
mov eax, dword [esp + 0x28]
shl edi, 0xf
mov dword [eax + 0x24], edx
mov dword [eax + 0x2c], ebx
shr esi, 0x11
or esi, edi
shl ebp, 0xf
mov dword [esp + 0x20], ebx
shr ecx, 0x11
or ecx, ebp
mov ebp, edx
shl edx, 0xf
mov dword [eax + 0x28], esi
mov ebx, esi
mov dword [eax + 0x20], ecx
shr ebx, 0x11
or ebx, edx
mov edx, dword [esp + 0x20]
mov edi, edx
shl esi, 0xf
mov eax, ecx
shr eax, 0x11
shr edi, 0x11
or edi, esi
mov esi, dword [esp + 0x28]
shl edx, 0xf
or edx, eax
shr ebp, 0x11
shl ecx, 0xf
or ebp, ecx
mov eax, ebx
shr eax, 2
mov dword [esi + 0x40], ebp
mov ecx, ebp
shl ebp, 0x1e
or ebp, eax
mov dword [esi + 0x44], ebx
mov eax, edi
shr eax, 2
mov dword [esi + 0x4c], edx
shl ebx, 0x1e
or ebx, eax
mov eax, edx
mov dword [esi + 0x48], edi
shl edx, 0x1e
shr ecx, 2
or edx, ecx
shr eax, 2
shl edi, 0x1e
or edi, eax
mov dword [esi + 0x9c], edx
mov dword [esp + 0x20], edx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x90], ebp
mov dword [esi + 0x98], edi
mov esi, ebx
mov edx, edi
lea eax, [ebx*4]
mov ebx, dword [esp + 0x20]
shr edx, 0x1e
shr esi, 0x1e
or edx, eax
mov ecx, ebx
shr ecx, 0x1e
lea eax, [edi*4]
mov edi, dword [esp + 0x28]
or ecx, eax
mov dword [edi + 0xd4], ecx
lea ecx, [ebx*4]
mov eax, ebp
shr eax, 0x1e
or ecx, eax
mov dword [edi + 0xd8], ecx
mov ecx, dword [edi + 0x34]
lea eax, [ebp*4]
or eax, esi
mov esi, dword [edi + 0x3c]
mov dword [edi + 0xdc], eax
mov eax, dword [edi + 0x30]
mov dword [esp + 0x20], esi
mov esi, eax
shl eax, 0xf
mov ebp, ecx
mov dword [edi + 0xd0], edx
mov edx, dword [edi + 0x38]
shr ebp, 0x11
or ebp, eax
mov eax, dword [esp + 0x20]
mov ebx, eax
shl eax, 0xf
mov edi, edx
shl ecx, 0xf
shr ebx, 0x11
shr esi, 0x11
or eax, esi
mov esi, eax
shl edx, 0xf
or ebx, edx
mov edx, dword [esp + 0x28]
shr edi, 0x11
or edi, ecx
mov eax, edi
shr eax, 2
mov dword [edx + 0x30], ebp
mov ecx, ebp
shl ebp, 0x1e
or ebp, eax
mov eax, ebx
shr eax, 2
mov dword [edx + 0x34], edi
shl edi, 0x1e
or edi, eax
mov dword [edx + 0x38], ebx
mov dword [edx + 0x3c], esi
shr ecx, 2
mov eax, esi
shr eax, 2
shl ebx, 0x1e
or ebx, eax
shl esi, 0x1e
or esi, ecx
mov dword [edx + 0x78], ebx
mov dword [edx + 0xc4], ebx
mov ecx, ebx
mov eax, esi
mov dword [edx + 0x74], edi
mov dword [edx + 0x7c], esi
mov dword [edx + 0xc0], edi
mov dword [edx + 0xc8], esi
shl ebx, 0x11
mov dword [edx + 0x70], ebp
mov dword [edx + 0xcc], ebp
shr eax, 0xf
mov edx, edi
or eax, ebx
mov ebx, dword [esp + 0x28]
shr ecx, 0xf
shl edi, 0x11
or ecx, edi
shr edx, 0xf
mov dword [ebx + 0xe0], ecx
mov dword [ebx + 0xe4], eax
shl esi, 0x11
mov edi, dword [ebx + 8]
mov eax, ebp
shr eax, 0xf
or esi, eax
mov eax, dword [ebx + 4]
shl ebp, 0x11
or ebp, edx
mov dword [ebx + 0xec], ebp
mov ebp, dword [ebx + 0xc]
mov ecx, eax
mov edx, edi
shl eax, 0xd
mov dword [ebx + 0xe8], esi
shr edx, 0x13
or edx, eax
mov eax, dword [ebx]
mov esi, ebp
shr eax, 0x13
shl ebp, 0xd
or ebp, eax
mov eax, dword [ebx]
shl edi, 0xd
mov dword [ebx + 0x60], edx
shr ecx, 0x13
shr esi, 0x13
or esi, edi
shl eax, 0xd
or eax, ecx
mov dword [ebx + 0x68], ebp
mov dword [ebx + 0x64], esi
mov dword [ebx + 0x6c], eax
mov ecx, edx
shl edx, 0xf
mov dword [esp + 0x24], eax
mov edi, esi
mov ebx, ebp
shr edi, 0x11
or edi, edx
mov edx, dword [esp + 0x24]
shl ebp, 0xf
shr eax, 0x11
or ebp, eax
mov eax, dword [esp + 0x28]
shl esi, 0xf
shr ebx, 0x11
or ebx, esi
shl edx, 0xf
shr ecx, 0x11
or edx, ecx
mov dword [esp + 0x20], ebp
mov esi, dword [esp + 0x20]
mov dword [eax + 0x80], edi
mov dword [eax + 0x88], ebp
mov ecx, edi
mov ebp, ebx
shl edi, 0x11
mov dword [esp + 0x24], edx
mov dword [eax + 0x8c], edx
shr ebp, 0xf
or ebp, edi
mov edi, dword [esp + 0x24]
mov dword [eax + 0x84], ebx
mov edx, esi
mov eax, edi
shl ebx, 0x11
shr edx, 0xf
or edx, ebx
mov ebx, dword [esp + 0x28]
shl esi, 0x11
shr eax, 0xf
or esi, eax
shl edi, 0x11
shr ecx, 0xf
or edi, ecx
mov dword [esp + 0x24], edi
mov dword [ebx + 0xbc], edi
mov dword [esp + 0x20], esi
mov dword [ebx + 0xb0], ebp
mov dword [ebx + 0xb4], edx
mov dword [ebx + 0xb8], esi
mov edi, edx
lea eax, [edx*4]
mov edx, dword [esp + 0x20]
shr esi, 0x1e
or esi, eax
mov eax, dword [esp + 0x24]
shr eax, 0x1e
shl edx, 2
or edx, eax
mov eax, dword [esp + 0x24]
mov ecx, ebp
shl eax, 2
shr ecx, 0x1e
or ecx, eax
shr edi, 0x1e
lea eax, [ebp*4]
or eax, edi
pop edi
mov dword [ebx + 0xf0], esi
pop esi
mov dword [ebx + 0xfc], eax
pop ebp
mov dword [ebx + 0xf4], edx
mov dword [ebx + 0xf8], ecx
mov eax, 4
pop ebx
add esp, 0xc
ret