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

Disassembly:
mov eax, 0x10
call fcn.00476080
mov ecx, dword [esp + 0x1c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x24]
push edi
movzx edx, byte [esi]
movzx eax, byte [esi + 1]
shl edx, 8
xor edx, eax
movzx eax, byte [esi + 2]
shl edx, 8
xor edx, eax
movzx eax, byte [esi + 3]
shl edx, 8
xor edx, eax
mov dword [ecx], edx
movzx ebx, byte [esi + 4]
movzx eax, byte [esi + 5]
shl ebx, 8
xor ebx, eax
mov dword [esp + 0x10], edx
movzx eax, byte [esi + 6]
shl ebx, 8
xor ebx, eax
movzx eax, byte [esi + 7]
shl ebx, 8
xor ebx, eax
mov dword [ecx + 4], ebx
movzx edi, byte [esi + 8]
movzx eax, byte [esi + 9]
shl edi, 8
xor edi, eax
mov dword [esp + 0x28], ebx
movzx eax, byte [esi + 0xa]
shl edi, 8
xor edi, eax
movzx eax, byte [esi + 0xb]
shl edi, 8
xor edi, eax
mov dword [ecx + 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 + 0x24], 0x80
mov dword [ecx + 0xc], ebp
je 0x558274
movzx edx, byte [esi + 0x10]
movzx eax, byte [esi + 0x11]
shl edx, 8
xor edx, eax
movzx eax, byte [esi + 0x12]
shl edx, 8
xor edx, eax
movzx eax, byte [esi + 0x13]
shl edx, 8
xor edx, eax
mov dword [ecx + 0x20], edx
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 + 0x24], 0xc0
mov dword [ecx + 0x24], ebx
jne 0x55821d
mov edi, edx
mov ebp, ebx
not edi
not ebp
mov dword [ecx + 0x28], edi
jmp 0x55825e
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 [ecx + 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 edx, dword [ecx]
xor ebx, dword [ecx + 4]
xor edi, dword [ecx + 8]
mov dword [ecx + 0x2c], ebp
xor ebp, dword [ecx + 0xc]
mov dword [esp + 0x10], edx
mov dword [esp + 0x28], ebx
xor edx, 0xa09e667f
xor ebx, 0x3bcc908b
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov esi, dword [ecx*4 + 0x5edb30]
xor esi, dword [eax*4 + 0x5edf30]
mov eax, edx
shr eax, 0x18
xor esi, dword [eax*4 + 0x5ed330]
movzx eax, dl
xor esi, dword [eax*4 + 0x5ed730]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x5edf30]
xor ecx, dword [eax*4 + 0x5ed730]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5edb30]
movzx eax, bl
xor ecx, dword [eax*4 + 0x5ed330]
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 + 0x5edb30]
xor esi, dword [eax*4 + 0x5edf30]
mov eax, edx
shr eax, 0x18
xor esi, dword [eax*4 + 0x5ed330]
movzx eax, dl
mov edx, dword [esp + 0x2c]
xor esi, dword [eax*4 + 0x5ed730]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x5edf30]
xor ecx, dword [eax*4 + 0x5ed730]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5edb30]
movzx eax, bl
mov ebx, dword [esp + 0x10]
xor ecx, dword [eax*4 + 0x5ed330]
mov eax, dword [edx]
xor ecx, esi
mov edx, dword [edx + 4]
mov dword [esp + 0x14], eax
xor eax, ecx
xor ebx, eax
mov eax, esi
shl eax, 0x18
shr esi, 8
add eax, esi
mov dword [esp + 0x10], ebx
xor eax, edx
xor eax, ecx
mov ecx, dword [esp + 0x28]
mov edx, ebx
xor ecx, eax
xor edx, 0xc6ef372f
mov ebx, ecx
mov dword [esp + 0x28], ecx
mov eax, edx
xor ebx, 0xe94f82be
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov esi, dword [ecx*4 + 0x5edb30]
xor esi, dword [eax*4 + 0x5edf30]
mov eax, edx
shr eax, 0x18
xor esi, dword [eax*4 + 0x5ed330]
movzx eax, dl
mov edx, dword [esp + 0x2c]
xor esi, dword [eax*4 + 0x5ed730]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x5edf30]
xor ecx, dword [eax*4 + 0x5ed730]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5edb30]
movzx eax, bl
xor ecx, dword [eax*4 + 0x5ed330]
mov eax, dword [edx + 8]
xor ecx, esi
xor eax, ecx
mov edx, dword [edx + 0xc]
xor edi, eax
mov eax, esi
shl eax, 0x18
shr esi, 8
add eax, esi
mov dword [esp + 0x1c], edi
xor eax, edx
mov edx, edi
xor eax, ecx
xor edx, 0x54ff53a5
xor ebp, eax
mov eax, edx
shr eax, 0x10
mov ebx, ebp
movzx ecx, al
xor ebx, 0xf1d36f1c
mov eax, edx
mov dword [esp + 0x18], ebp
shr eax, 8
movzx eax, al
mov esi, dword [ecx*4 + 0x5edb30]
xor esi, dword [eax*4 + 0x5edf30]
mov eax, edx
shr eax, 0x18
xor esi, dword [eax*4 + 0x5ed330]
movzx eax, dl
mov edx, dword [esp + 0x10]
xor esi, dword [eax*4 + 0x5ed730]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x5edf30]
xor ecx, dword [eax*4 + 0x5ed730]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5edb30]
movzx eax, bl
xor ecx, dword [eax*4 + 0x5ed330]
xor ecx, esi
xor edx, ecx
mov eax, esi
shr esi, 8
shl eax, 0x18
add eax, esi
mov esi, dword [esp + 0x28]
xor eax, ecx
xor esi, eax
cmp dword [esp + 0x24], 0x80
jne 0x5587e2
mov ebx, dword [esp + 0x2c]
mov eax, edx
mov ecx, esi
shr eax, 0x11
shr ecx, 0x11
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], esi
shl edx, 0xf
or ecx, edx
mov dword [ebx + 0x18], edi
mov edx, edi
mov dword [ebx + 0x1c], ebp
shl esi, 0xf
shr edx, 0x11
or edx, esi
mov dword [ebx + 0x30], ecx
mov esi, ebp
mov dword [ebx + 0x34], edx
shl edi, 0xf
shl ebp, 0xf
or ebp, eax
shr esi, 0x11
or esi, edi
mov dword [ebx + 0x3c], ebp
mov dword [ebx + 0x38], esi
mov edi, edx
mov eax, ecx
mov dword [esp + 0x18], ebp
shl ecx, 0xf
mov ebx, esi
shr edi, 0x11
or edi, ecx
shr ebp, 0x11
mov ecx, dword [esp + 0x18]
shl esi, 0xf
or ebp, esi
shl edx, 0xf
mov esi, dword [esp + 0x2c]
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 + 0x18], 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 + 0x18]
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 + 0x2c]
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 + 0x2c]
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 [ebp + 4]
mov ecx, dword [ebp]
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 [ebp + 8]
mov esi, ecx
shr esi, 0x11
or esi, ebx
shr eax, 0x11
mov ebx, dword [ebp + 0xc]
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
shl edx, 0xf
mov ecx, esi
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 edi, edx
mov dword [ebp + 0x6c], ebx
mov eax, ecx
shr edi, 0xf
shl ecx, 0x11
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 + 0x88], edx
mov eax, edi
mov dword [esp + 0x2c], ebx
mov esi, ecx
shl edi, 0x11
shr esi, 0xf
or esi, edi
mov dword [ebp + 0x8c], ebx
mov edi, edx
shr ebx, 0xf
shl edx, 0x11
or ebx, edx
mov dword [ebp + 0x84], ecx
mov edx, dword [esp + 0x2c]
shl ecx, 0x11
shr eax, 0xf
shl edx, 0x11
or edx, eax
shr edi, 0xf
or edi, ecx
mov dword [esp + 0x2c], edx
mov dword [ebp + 0x9c], edx
mov ecx, edi
mov edx, esi
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 + 0x2c]
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, 0x10
ret
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x30], edx
mov dword [eax + 0x34], esi
xor esi, dword [eax + 0x24]
mov dword [eax + 0x3c], ebp
mov ebx, esi
mov ebp, dword [eax + 0x20]
xor ebx, 0xde682d1d
mov dword [eax + 0x38], edi
xor edx, ebp
mov dword [esp + 0x10], edx
xor edx, 0x10e527fa
mov eax, edx
mov dword [esp + 0x28], esi
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov esi, dword [ecx*4 + 0x5edb30]
xor esi, dword [eax*4 + 0x5edf30]
mov eax, edx
shr eax, 0x18
xor esi, dword [eax*4 + 0x5ed330]
movzx eax, dl
mov edx, dword [esp + 0x2c]
xor esi, dword [eax*4 + 0x5ed730]
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 + 0x5edf30]
mov edx, dword [edx + 0x2c]
xor ecx, dword [eax*4 + 0x5ed730]
mov eax, ebx
shr eax, 0x18
mov dword [esp + 0x24], edx
xor ecx, dword [eax*4 + 0x5edb30]
movzx eax, bl
mov ebx, dword [esp + 0x1c]
xor ecx, dword [eax*4 + 0x5ed330]
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 + 0x1c], ebx
xor eax, ecx
mov ecx, dword [esp + 0x18]
xor eax, edx
mov edx, ebx
xor ecx, eax
xor edx, 0xb05688c2
mov eax, edx
mov dword [esp + 0x18], ecx
shr eax, 0x10
mov ebx, ecx
movzx ecx, al
xor ebx, 0xb3e6c1fd
mov eax, edx
shr eax, 8
movzx eax, al
mov esi, dword [ecx*4 + 0x5edb30]
xor esi, dword [eax*4 + 0x5edf30]
mov eax, edx
shr eax, 0x18
xor esi, dword [eax*4 + 0x5ed330]
movzx eax, dl
xor esi, dword [eax*4 + 0x5ed730]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x5edf30]
xor ecx, dword [eax*4 + 0x5ed730]
mov eax, ebx
shr eax, 0x18
mov edx, dword [esp + 0x18]
xor ecx, dword [eax*4 + 0x5edb30]
movzx eax, bl
mov ebx, dword [esp + 0x1c]
xor ecx, dword [eax*4 + 0x5ed330]
mov eax, esi
shl eax, 0x18
xor ecx, esi
xor dword [esp + 0x10], ecx
shr esi, 8
add eax, esi
mov esi, dword [esp + 0x2c]
xor eax, ecx
mov ecx, dword [esp + 0x28]
xor ecx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov ecx, eax
shl eax, 0x1e
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
shl dword [esp + 0x28], 0x1e
shr eax, 2
or dword [esp + 0x10], eax
mov eax, ebx
shr eax, 2
or dword [esp + 0x28], eax
mov eax, edx
shr eax, 2
shr ecx, 2
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], edx
shl edx, 0x1e
or edx, ecx
shl ebx, 0x1e
mov ecx, dword [esp + 0x28]
or ebx, eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], ecx
mov ecx, eax
shl eax, 0x1e
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
shl dword [esp + 0x28], 0x1e
shr eax, 2
or dword [esp + 0x10], eax
mov eax, ebx
shr eax, 2
or dword [esp + 0x28], eax
mov eax, edx
shr eax, 2
mov dword [esi + 0x58], ebx
shl ebx, 0x1e
or ebx, eax
shr ecx, 2
mov eax, dword [esp + 0x10]
mov dword [esi + 0xa0], eax
mov eax, dword [esp + 0x28]
shl dword [esp + 0x28], 0x13
mov dword [esi + 0x5c], edx
shl edx, 0x1e
or edx, ecx
mov dword [esi + 0xa4], eax
mov ecx, eax
mov dword [esi + 0xa8], ebx
mov eax, ebx
shr ecx, 0xd
shr eax, 0xd
or eax, dword [esp + 0x28]
mov dword [esi + 0x100], eax
mov eax, edx
shr eax, 0xd
mov dword [esi + 0xac], edx
shl ebx, 0x13
or eax, ebx
shl edx, 0x13
mov ebx, dword [esp + 0x10]
mov dword [esi + 0x104], eax
mov eax, ebx
shr eax, 0xd
or edx, eax
shl ebx, 0x13
or ebx, ecx
mov dword [esi + 0x108], edx
mov dword [esi + 0x10c], ebx
mov edx, edi
mov ebx, dword [esi + 0x24]
mov eax, ebp
mov ecx, ebx
shr eax, 0x11
shl ebx, 0xf
shr edx, 0x11
or edx, ebx
shl edi, 0xf
mov ebx, dword [esp + 0x24]
mov esi, ebx
shl ebx, 0xf
or ebx, eax
shr esi, 0x11
mov eax, dword [esp + 0x2c]
or esi, edi
shl ebp, 0xf
mov edi, esi
shr ecx, 0x11
or ecx, ebp
mov dword [esp + 0x24], ebx
mov dword [eax + 0x28], esi
mov ebp, edx
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x24], edx
mov dword [eax + 0x20], ecx
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 + 0x24]
or edi, edx
mov edx, dword [esp + 0x2c]
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 edx, 0x1e
shr ecx, 0x1e
mov edi, dword [esp + 0x2c]
or ecx, eax
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 + 0x24], 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 + 0x24]
shl edx, 0xf
or edx, esi
shl ecx, 0xf
mov esi, dword [esp + 0x2c]
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
shl ebx, 0x1e
shr eax, 2
or ebx, eax
mov dword [esi + 0x3c], edx
shr ecx, 2
mov eax, ebx
shl edx, 0x1e
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
shr ecx, 0xf
shl edx, 0x11
mov dword [esi + 0x70], ebp
mov dword [esi + 0xcc], ebp
shr eax, 0xf
mov ebx, dword [esi + 0xc]
or edx, eax
mov eax, dword [esi + 4]
mov dword [esi + 0xe8], edx
shl ebp, 0x11
or ebp, ecx
mov ecx, eax
shl eax, 0xd
mov dword [esi + 0xec], ebp
mov ebp, dword [esi + 8]
mov edx, ebp
shr edx, 0x13
mov esi, ebx
or edx, eax
shl ebx, 0xd
mov eax, dword [esp + 0x14]
shr eax, 0x13
or ebx, eax
shr esi, 0x13
mov eax, dword [esp + 0x14]
shl eax, 0xd
shr ecx, 0x13
or eax, ecx
shl ebp, 0xd
or esi, ebp
mov dword [esp + 0x14], eax
mov ebp, dword [esp + 0x2c]
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 + 0x14]
shr edx, 0x11
shl esi, 0xf
or edx, esi
shl eax, 0xf
or eax, ecx
mov dword [esp + 0x2c], ebx
mov dword [ebp + 0x88], ebx
mov ecx, edi
mov ebx, edx
mov dword [ebp + 0x80], edi
shl edi, 0x11
mov dword [esp + 0x14], eax
shr ebx, 0xf
or ebx, edi
mov dword [ebp + 0x8c], eax
mov edi, dword [esp + 0x2c]
mov esi, edi
shr eax, 0xf
shl edi, 0x11
or edi, eax
mov dword [ebp + 0x84], edx
mov eax, dword [esp + 0x14]
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 + 0x14], 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
lea ecx, [edi*4]
mov edi, dword [esp + 0x14]
mov eax, edi
shr eax, 0x1e
or ecx, eax
mov dword [ebp + 0xf4], ecx
mov ecx, ebx
lea eax, [edi*4]
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, 0x10
ret