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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
cmp edi, 0x18
sbb eax, eax
add eax, 4
lea ecx, [esi + 0x14]
mov dword [esi + 0x10], eax
lea ebx, [eax*8 + 2]
lea eax, [ebx + ebx]
push eax
call fcn.004fb000
mov eax, dword [esi + 0x1c]
lea ecx, [esi + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ecx]
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0
mov eax, dword [eax + 0x1c]
call eax
test al, al
jne 0x4f95c3
lea eax, [ebx - 1]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov esi, dword [esp + 0x10]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [eax + 0xc]
bswap edx
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x14]
lea esi, [esi + edx*8]
xor edx, edx
bswap ebx
or edx, ebx
mov dword [esp + 0x2c], ebx
bswap eax
xor ebx, ebx
mov dword [esp + 0x30], eax
or ebx, eax
mov eax, dword [esp + 0xc]
and eax, 0xfffffff0
mov dword [esp + 0x20], ebx
bswap ecx
cmp edi, 0x10
mov dword [esp + 0x38], ecx
mov edi, ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + esi + 8], edx
mov dword [eax + esi + 0xc], edi
mov dword [esi], ebx
mov dword [esp + 0x18], edi
mov dword [esi + 4], ecx
jne 0x4f9d0a
mov dword [esp + 0x24], ecx
mov eax, ebx
shld ecx, eax, 0xf
mov ebx, dword [esp + 0x14]
mov esi, edi
mov edi, dword [esp + 0x10]
shl eax, 0xf
shr esi, 0x11
or esi, eax
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0xc]
xor edx, edx
or edx, ecx
and eax, 0xffffffc0
lea ecx, [edi + ebx*8]
mov dword [eax + ecx + 0x20], esi
mov dword [eax + ecx + 0x24], edx
xor edx, edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
shld ecx, eax, 0xf
shr esi, 0x11
shl eax, 0xf
or edx, ecx
or esi, eax
lea ecx, [edi + ebx*8]
mov eax, dword [esp + 0xc]
and eax, 0xffffffb0
mov dword [eax + ecx + 0x28], esi
mov dword [eax + ecx + 0x2c], edx
xor edx, edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
shrd eax, ecx, 0x13
shl esi, 0xd
or edx, eax
shr ecx, 0x13
mov eax, dword [esp + 0xc]
or esi, ecx
and eax, 0xffffff60
lea ecx, [edi + ebx*8]
mov dword [eax + ecx + 0x50], edx
xor edx, edx
mov dword [eax + ecx + 0x54], esi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
shrd eax, ecx, 0x13
shl esi, 0xd
or edx, eax
shr ecx, 0x13
mov eax, dword [esp + 0xc]
or esi, ecx
and eax, 0xffffff50
lea ecx, [edi + ebx*8]
mov dword [eax + ecx + 0x58], edx
xor edx, edx
mov dword [eax + ecx + 0x5c], esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
shrd eax, ecx, 4
shl esi, 0x1c
or edx, eax
shr ecx, 4
mov eax, dword [esp + 0xc]
or esi, ecx
and eax, 0xffffff40
lea ecx, [edi + ebx*8]
mov dword [eax + ecx + 0x60], edx
xor edx, edx
mov dword [eax + ecx + 0x64], esi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
shld ecx, eax, 0xd
shr esi, 0x13
shl eax, 0xd
or esi, eax
mov eax, dword [esp + 0xc]
or edx, ecx
and eax, 0xfffffef0
lea ecx, [edi + ebx*8]
mov dword [eax + ecx + 0x88], esi
mov dword [eax + ecx + 0x8c], edx
xor edx, edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
shld ecx, eax, 0xd
mov esi, dword [esp + 0x24]
shl eax, 0xd
or edx, ecx
shr esi, 0x13
lea ecx, [edi + ebx*8]
or esi, eax
mov eax, dword [esp + 0xc]
and eax, 0xffffff00
mov dword [eax + ecx + 0x80], esi
lea esi, [edi + ebx*8]
mov dword [eax + ecx + 0x84], edx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
shld edx, ecx, 0x1e
shr eax, 2
shl ecx, 0x1e
or ecx, eax
mov eax, dword [esp + 0xc]
and eax, 0xfffffed0
mov dword [eax + esi + 0x98], ecx
mov esi, ebx
mov ebx, edi
lea ecx, [ebx + esi*8]
mov esi, dword [esp + 0x24]
mov dword [eax + ecx + 0x9c], edx
xor edx, edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
shld ecx, eax, 0x1e
shr esi, 2
shl eax, 0x1e
or edx, ecx
or esi, eax
lea ecx, [edi + ebx*8]
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x18]
and eax, 0xfffffee0
mov dword [eax + ecx + 0x90], esi
mov esi, dword [esp + 0x10]
mov dword [eax + ecx + 0x94], edx
xor ecx, ecx
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
shrd eax, edi, 0x11
shl edx, 0xf
or ecx, eax
shr edi, 0x11
mov eax, dword [esp + 0xc]
or edx, edi
and eax, 0xfffffe90
lea edi, [esi + ebx*8]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
shl esi, 0xf
mov dword [eax + edi + 0xb8], ecx
xor ecx, ecx
mov dword [eax + edi + 0xbc], edx
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
shrd ebx, eax, 0x11
xor edx, 0xa09e667f
shr eax, 0x11
or ecx, ebx
or esi, eax
mov eax, dword [esp + 0xc]
and eax, 0xfffffea0
xor dword [esp + 0x2c], 0x3bcc908b
mov dword [eax + edi + 0xb0], ecx
mov dword [eax + edi + 0xb4], esi
mov ecx, edx
mov eax, edx
shr eax, 0x10
movzx eax, al
shr ecx, 0x18
mov ebx, dword [ecx*4 + 0x662db0]
xor ebx, dword [eax*4 + 0x6631b0]
mov eax, edx
shr eax, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x6635b0]
movzx eax, dl
mov edx, dword [esp + 0x2c]
mov ecx, edx
shr ecx, 0x18
xor ebx, dword [eax*4 + 0x6639b0]
mov eax, edx
shr eax, 0x10
mov ecx, dword [ecx*4 + 0x6631b0]
movzx eax, al
xor ecx, dword [eax*4 + 0x6635b0]
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6639b0]
movzx eax, dl
xor ecx, dword [eax*4 + 0x662db0]
xor ecx, ebx
ror ebx, 8
mov edi, ecx
xor ebx, ecx
xor edi, dword [esp + 0x28]
xor ebx, dword [esp + 0x30]
mov edx, edi
xor edx, 0xb67ae858
mov dword [esp + 0x48], ebx
mov ecx, edx
mov eax, edx
shr eax, 0x10
xor ebx, 0x4caa73b2
movzx eax, al
shr ecx, 0x18
mov esi, dword [ecx*4 + 0x662db0]
mov ecx, ebx
xor esi, dword [eax*4 + 0x6631b0]
mov eax, edx
shr eax, 8
movzx eax, al
shr ecx, 0x18
xor esi, dword [eax*4 + 0x6635b0]
mov ecx, dword [ecx*4 + 0x6631b0]
movzx eax, dl
xor esi, dword [eax*4 + 0x6639b0]
mov eax, ebx
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x6635b0]
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6639b0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x662db0]
xor ecx, esi
ror esi, 8
xor esi, ecx
mov dword [esp + 0x40], ecx
mov edx, ecx
mov dword [esp + 0x44], esi
xor edx, 0xc6ef372f
mov ebx, esi
mov ecx, edx
mov eax, edx
shr eax, 0x10
xor ebx, 0xe94f82be
shr ecx, 0x18
movzx eax, al
mov esi, dword [ecx*4 + 0x662db0]
xor esi, dword [eax*4 + 0x6631b0]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, ebx
shr ecx, 0x18
xor esi, dword [eax*4 + 0x6635b0]
mov ecx, dword [ecx*4 + 0x6631b0]
movzx eax, dl
xor esi, dword [eax*4 + 0x6639b0]
mov eax, ebx
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x6635b0]
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6639b0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x662db0]
xor ecx, esi
ror esi, 8
mov eax, ecx
xor esi, ecx
xor eax, edi
xor esi, dword [esp + 0x48]
xor eax, dword [esp + 0x28]
mov edx, eax
mov dword [esp + 0x18], eax
xor esi, dword [esp + 0x30]
xor edx, 0x54ff53a5
mov ecx, edx
mov eax, edx
shr eax, 0x10
mov ebx, esi
movzx eax, al
xor ebx, 0xf1d36f1c
shr ecx, 0x18
mov edi, dword [ecx*4 + 0x662db0]
mov ecx, ebx
xor edi, dword [eax*4 + 0x6631b0]
mov eax, edx
shr eax, 8
movzx eax, al
shr ecx, 0x18
xor edi, dword [eax*4 + 0x6635b0]
mov ecx, dword [ecx*4 + 0x6631b0]
movzx eax, dl
xor edi, dword [eax*4 + 0x6639b0]
mov eax, ebx
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x6635b0]
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6639b0]
movzx eax, bl
xor ebx, ebx
or ebx, esi
mov dword [esp + 0x24], ebx
xor ecx, dword [eax*4 + 0x662db0]
mov eax, dword [esp + 0xc]
xor ecx, edi
ror edi, 8
xor edi, ecx
xor ecx, dword [esp + 0x40]
xor edi, dword [esp + 0x44]
mov dword [esp + 0x1c], edi
xor edi, edi
mov edx, dword [esp + 0x1c]
or edi, ecx
mov ecx, dword [esp + 0x18]
and eax, 0xffffffd0
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], edx
lea esi, [edi + ecx*8]
mov edi, dword [esp + 0x28]
mov dword [eax + esi + 0x18], edx
mov dword [eax + esi + 0x1c], edi
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
and eax, 0xffffffe0
xor edx, edx
mov dword [eax + esi + 0x10], ebx
mov dword [eax + esi + 0x14], ecx
mov eax, ebx
shld ecx, eax, 0xf
mov ebx, dword [esp + 0x14]
mov esi, edi
mov edi, dword [esp + 0x10]
or edx, ecx
shl eax, 0xf
shr esi, 0x11
or esi, eax
mov eax, dword [esp + 0xc]
and eax, 0xffffffa0
lea ecx, [edi + ebx*8]
mov dword [eax + ecx + 0x30], esi
mov dword [eax + ecx + 0x34], edx
xor edx, edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
shld ecx, eax, 0xf
shr esi, 0x11
shl eax, 0xf
or edx, ecx
or esi, eax
lea ecx, [edi + ebx*8]
mov eax, dword [esp + 0xc]
and eax, 0xffffff90
mov dword [eax + ecx + 0x38], esi
mov ecx, ebx
mov ebx, edi
xor edi, edi
lea esi, [ebx + ecx*8]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov dword [eax + esi + 0x3c], edx
mov edx, ebx
mov eax, dword [esp + 0x28]
shld edx, ecx, 0x1e
shr eax, 2
shl ecx, 0x1e
or ecx, eax
shr ebx, 2
mov eax, dword [esp + 0xc]
and eax, 0xffffff80
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], edx
mov dword [eax + esi + 0x40], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + esi + 0x44], edx
xor edx, edx
mov eax, dword [esp + 0x1c]
shld ecx, eax, 0x1e
shl eax, 0x1e
or edi, ecx
mov ecx, dword [esp + 0x18]
or ebx, eax
mov eax, dword [esp + 0xc]
and eax, 0xffffff70
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], edi
mov dword [eax + esi + 0x48], ebx
mov ebx, dword [esp + 0x14]
mov dword [eax + esi + 0x4c], edi
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
shrd eax, ecx, 0x13
shl esi, 0xd
shr ecx, 0x13
or edx, eax
mov eax, dword [esp + 0xc]
or esi, ecx
and eax, 0xffffff30
lea ecx, [edi + ebx*8]
mov dword [eax + ecx + 0x68], edx
mov dword [eax + ecx + 0x6c], esi
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
xor edx, edx
mov ecx, dword [esp + 0x28]
shrd eax, ecx, 4
shl esi, 0x1c
or edx, eax
shr ecx, 4
mov eax, dword [esp + 0xc]
or esi, ecx
and eax, 0xffffff20
lea ecx, [edi + ebx*8]
mov dword [eax + ecx + 0x70], edx
xor edx, edx
mov dword [eax + ecx + 0x74], esi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
shrd eax, ecx, 4
shl esi, 0x1c
or edx, eax
shr ecx, 4
mov eax, dword [esp + 0xc]
or esi, ecx
and eax, 0xffffff10
lea ecx, [edi + ebx*8]
mov dword [eax + ecx + 0x78], edx
mov ecx, ebx
mov ebx, edi
mov edi, dword [esp + 0x3c]
lea edx, [ebx + ecx*8]
mov ecx, dword [esp + 0x48]
mov dword [eax + edx + 0x7c], esi
mov esi, dword [esp + 0xc]
mov eax, esi
mov ebx, dword [esp + 0x40]
and eax, 0xfffffeb0
and esi, 0xfffffec0
mov dword [eax + edx + 0xa8], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + edx + 0xac], ecx
xor ecx, ecx
mov eax, dword [esp + 0x1c]
mov dword [esi + edx + 0xa0], ebx
mov ebx, dword [esp + 0x28]
mov dword [esi + edx + 0xa4], edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
shrd eax, ebx, 0x11
shl edx, 0xf
or ecx, eax
shr ebx, 0x11
mov eax, dword [esp + 0xc]
or edx, ebx
lea ebx, [edi + esi*8]
and eax, 0xfffffe80
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
shl edi, 0xf
mov dword [eax + ebx + 0xc0], ecx
mov ecx, dword [esp + 0x18]
shrd esi, ecx, 0x11
mov dword [eax + ebx + 0xc4], edx
xor eax, eax
shr ecx, 0x11
or eax, esi
or edi, ecx
mov ecx, dword [esp + 0xc]
and ecx, 0xfffffe70
mov dword [ecx + ebx + 0xc8], eax
mov dword [ecx + ebx + 0xcc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [esp + 0x1c], ecx
mov esi, ebx
mov ebx, dword [esp + 0x10]
mov ecx, edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x24], edx
xor edx, edx
mov eax, dword [esp + 0x24]
shrd eax, ecx, 0x13
shl esi, 0xd
or edx, eax
shr ecx, 0x13
mov eax, dword [esp + 0xc]
or esi, ecx
and eax, 0xffffff40
lea ecx, [ebx + edi*8]
mov dword [eax + ecx + 0x60], edx
xor edx, edx
mov dword [eax + ecx + 0x64], esi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
shrd eax, ecx, 0x13
mov esi, dword [esp + 0x24]
or edx, eax
shr ecx, 0x13
mov eax, dword [esp + 0xc]
and eax, 0xffffff30
shl esi, 0xd
or esi, ecx
lea ecx, [ebx + edi*8]
mov dword [eax + ecx + 0x68], edx
xor edx, edx
mov dword [eax + ecx + 0x6c], esi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
shrd eax, ecx, 4
shl esi, 0x1c
or edx, eax
shr ecx, 4
mov eax, dword [esp + 0xc]
or esi, ecx
and eax, 0xffffff00
lea ecx, [ebx + edi*8]
mov dword [eax + ecx + 0x80], edx
xor edx, edx
mov dword [eax + ecx + 0x84], esi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
shrd eax, ecx, 4
shl esi, 0x1c
or edx, eax
shr ecx, 4
mov eax, dword [esp + 0xc]
or esi, ecx
and eax, 0xfffffef0
lea ecx, [ebx + edi*8]
mov dword [eax + ecx + 0x88], edx
xor edx, edx
mov dword [eax + ecx + 0x8c], esi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
shld ecx, eax, 0xd
shr esi, 0x13
shl eax, 0xd
or edx, ecx
or esi, eax
lea ecx, [ebx + edi*8]
mov eax, dword [esp + 0xc]
and eax, 0xfffffe90
mov dword [eax + ecx + 0xb8], esi
mov esi, dword [esp + 0x1c]
mov dword [eax + ecx + 0xbc], edx
xor edx, edx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
shld ecx, eax, 0xd
shr esi, 0x13
shl eax, 0xd
or esi, eax
or edx, ecx
mov eax, dword [esp + 0xc]
lea ecx, [ebx + edi*8]
mov edi, dword [esp + 0x18]
and eax, 0xfffffea0
mov dword [eax + ecx + 0xb0], esi
mov esi, dword [esp + 0x14]
mov dword [eax + ecx + 0xb4], edx
xor ecx, ecx
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
shrd eax, edi, 0x11
shl edx, 0xf
or ecx, eax
shr edi, 0x11
mov eax, dword [esp + 0xc]
or edx, edi
lea edi, [ebx + esi*8]
and eax, 0xfffffe10
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
shl esi, 0xf
mov dword [eax + edi + 0xf8], ecx
xor ecx, ecx
mov dword [eax + edi + 0xfc], edx
mov eax, dword [esp + 0x1c]
shrd ebx, eax, 0x11
shr eax, 0x11
or ecx, ebx
or esi, eax
mov eax, dword [esp + 0xc]
and eax, 0xfffffe20
cmp dword [ebp + 0xc], 0x18
mov dword [eax + edi + 0xf0], ecx
mov dword [eax + edi + 0xf4], esi
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x10]
mov esi, dword [eax + 0x14]
bswap ebx
bswap esi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], esi
jne 0x4f9ee0
mov ecx, ebx
mov edx, esi
not ecx
not edx
jmp 0x4f9eea
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
bswap ecx
bswap edx
xor eax, eax
mov dword [esp + 0x1c], ecx
or eax, esi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x20], eax
mov edi, ebx
xor ebx, ebx
mov dword [esp + 0x24], edi
or ebx, edx
mov dword [esp + 0x40], edx
mov eax, ebx
mov dword [esp + 0x34], ebx
shld ecx, eax, 0xf
mov ebx, dword [esp + 0x14]
mov esi, edi
mov edi, dword [esp + 0x10]
xor edx, edx
shl eax, 0xf
or edx, ecx
shr esi, 0x11
or esi, eax
mov eax, dword [esp + 0xc]
and eax, 0xffffffc0
lea ecx, [edi + ebx*8]
mov dword [eax + ecx + 0x20], esi
mov dword [eax + ecx + 0x24], edx
xor edx, edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
shld ecx, eax, 0xf
shr esi, 0x11
shl eax, 0xf
or edx, ecx
or esi, eax
lea ecx, [edi + ebx*8]
mov eax, dword [esp + 0xc]
and eax, 0xffffffb0
mov dword [eax + ecx + 0x28], esi
mov ecx, ebx
mov ebx, edi
mov edi, dword [esp + 0x1c]
shr edi, 2
lea esi, [ebx + ecx*8]
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
mov dword [eax + esi + 0x2c], edx
mov eax, dword [esp + 0x24]
shld ecx, ebx, 0x1e
mov edx, dword [esp + 0x14]
shr eax, 2
shl ebx, 0x1e
or ebx, eax
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0xc]
and eax, 0xffffff80
mov dword [esp + 0x18], ebx
mov dword [eax + esi + 0x40], ebx
mov ebx, dword [esp + 0x10]
mov dword [eax + esi + 0x44], ecx
xor esi, esi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
shld ecx, eax, 0x1e
shl eax, 0x1e
or esi, ecx
or edi, eax
mov dword [esp + 0x54], esi
mov eax, dword [esp + 0xc]
lea ecx, [ebx + edx*8]
mov ebx, dword [esp + 0x24]
and eax, 0xffffff70
mov edx, dword [esp + 0x34]
shl edx, 0x1c
mov dword [esp + 0x50], edi
mov dword [eax + ecx + 0x48], edi
mov dword [eax + ecx + 0x4c], esi
xor ecx, ecx
mov eax, dword [esp + 0x20]
shrd eax, ebx, 4
shr ebx, 4
or ecx, eax
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
or edx, ebx
mov eax, dword [esp + 0xc]
and eax, 0xfffffee0
lea ebx, [esi + edi*8]
mov dword [eax + ebx + 0x90], ecx
xor ecx, ecx
mov dword [eax + ebx + 0x94], edx
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
shrd eax, edx, 4
mov ebx, dword [esp + 0x20]
or ecx, eax
shr edx, 4
mov eax, dword [esp + 0xc]
and eax, 0xfffffed0
shl ebx, 0x1c
or ebx, edx
lea edx, [esi + edi*8]
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
mov dword [eax + edx + 0x98], ecx
mov dword [eax + edx + 0x9c], ebx
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
and eax, 0xfffffe50
mov ecx, dword [esp + 0x4c]
mov dword [eax + edx + 0xd8], ebx
mov dword [eax + edx + 0xdc], ecx
mov eax, dword [esp + 0xc]
and eax, 0xfffffe60
mov dword [eax + edx + 0xd0], edi
mov dword [eax + edx + 0xd4], esi
mov esi, dword [esp + 0x44]
xor esi, dword [esp + 0x38]
mov edi, dword [esp + 0x48]
mov edx, esi
xor edi, dword [esp + 0x2c]
xor edx, 0xa09e667f
mov ecx, edx
mov eax, edx
shr eax, 0x10
mov ebx, edi
movzx eax, al
xor ebx, 0x3bcc908b
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x662db0]
xor ecx, dword [eax*4 + 0x6631b0]
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6635b0]
movzx eax, dl
mov edx, ecx
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [eax*4 + 0x6639b0]
mov eax, ebx
shr eax, 0x10
mov ecx, dword [ecx*4 + 0x6631b0]
movzx eax, al
xor ecx, dword [eax*4 + 0x6635b0]
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6639b0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x662db0]
xor ecx, edx
ror edx, 8
xor edx, ecx
mov eax, ecx
xor eax, dword [esp + 0x3c]
xor eax, dword [esp + 0x28]
xor edx, dword [esp + 0x40]
xor edx, dword [esp + 0x30]
mov dword [esp + 0x24], edx
mov edx, eax
mov dword [esp + 0x54], eax
xor edx, 0xb67ae858
mov ebx, dword [esp + 0x24]
mov ecx, edx
mov eax, edx
shr eax, 0x10
xor ebx, 0x4caa73b2
movzx eax, al
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x662db0]
xor ecx, dword [eax*4 + 0x6631b0]
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6635b0]
mov dword [esp + 0x20], ecx
movzx eax, dl
mov edx, ecx
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [eax*4 + 0x6639b0]
mov eax, ebx
shr eax, 0x10
mov ecx, dword [ecx*4 + 0x6631b0]
movzx eax, al
xor ecx, dword [eax*4 + 0x6635b0]
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6639b0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x662db0]
xor ecx, edx
ror edx, 8
xor edx, ecx
mov eax, ecx
xor eax, esi
xor edx, edi
xor eax, dword [esp + 0x38]
xor edx, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov edx, eax
mov edi, dword [esp + 0x20]
xor edx, 0xc6ef372f
mov ecx, edx
mov eax, edx
shr eax, 0x10
mov ebx, edi
movzx eax, al
xor ebx, 0xe94f82be
shr ecx, 0x18
mov esi, dword [ecx*4 + 0x662db0]
mov ecx, ebx
xor esi, dword [eax*4 + 0x6631b0]
mov eax, edx
shr eax, 8
movzx eax, al
shr ecx, 0x18
xor esi, dword [eax*4 + 0x6635b0]
mov ecx, dword [ecx*4 + 0x6631b0]
movzx eax, dl
xor esi, dword [eax*4 + 0x6639b0]
mov eax, ebx
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x6635b0]
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6639b0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x662db0]
xor ecx, esi
ror esi, 8
mov eax, ecx
xor esi, ecx
xor eax, dword [esp + 0x54]
xor eax, dword [esp + 0x28]
xor esi, dword [esp + 0x24]
xor esi, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov edx, eax
mov dword [esp + 0x34], esi
xor edx, 0x54ff53a5
mov ebx, esi
mov ecx, edx
mov eax, edx
shr eax, 0x10
xor ebx, 0xf1d36f1c
movzx eax, al
shr ecx, 0x18
mov esi, dword [ecx*4 + 0x662db0]
mov ecx, ebx
xor esi, dword [eax*4 + 0x6631b0]
mov eax, edx
shr eax, 8
movzx eax, al
shr ecx, 0x18
xor esi, dword [eax*4 + 0x6635b0]
mov ecx, dword [ecx*4 + 0x6631b0]
movzx eax, dl
mov edx, dword [esp + 0x1c]
xor esi, dword [eax*4 + 0x6639b0]
mov eax, ebx
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x6635b0]
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6639b0]
movzx eax, bl
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x2c], ebx
xor ecx, dword [eax*4 + 0x662db0]
xor eax, eax
xor ecx, esi
ror esi, 8
xor esi, ecx
xor edx, ecx
xor edi, esi
mov dword [esp + 0x1c], edx
or eax, edi
mov dword [esp + 0x20], edi
mov ecx, edx
mov dword [esp + 0x24], eax
mov esi, ecx
mov dword [esp + 0x28], ecx
xor edi, edi
shr esi, 0x11
or edi, dword [esp + 0x34]
mov ecx, ebx
mov ebx, dword [esp + 0x10]
mov eax, edi
shld ecx, eax, 0xf
mov dword [esp + 0x30], edi
xor edx, edx
mov edi, dword [esp + 0x14]
or edx, ecx
shl eax, 0xf
or esi, eax
mov eax, dword [esp + 0xc]
and eax, 0xffffffa0
lea ecx, [ebx + edi*8]
mov dword [eax + ecx + 0x30], esi
mov esi, dword [esp + 0x2c]
mov dword [eax + ecx + 0x34], edx
xor edx, edx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
shld ecx, eax, 0xf
shr esi, 0x11
shl eax, 0xf
or edx, ecx
or esi, eax
lea ecx, [ebx + edi*8]
mov eax, dword [esp + 0xc]
and eax, 0xffffff90
mov dword [eax + ecx + 0x38], esi
mov esi, dword [esp + 0x30]
mov dword [eax + ecx + 0x3c], edx
xor edx, edx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
shrd eax, ecx, 0x13
shl esi, 0xd
or edx, eax
shr ecx, 0x13
mov eax, dword [esp + 0xc]
or esi, ecx
and eax, 0xffffff20
lea ecx, [ebx + edi*8]
mov dword [eax + ecx + 0x70], edx
xor edx, edx
mov dword [eax + ecx + 0x74], esi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
shrd eax, ecx, 0x13
mov esi, dword [esp + 0x24]
or edx, eax
shr ecx, 0x13
mov eax, dword [esp + 0xc]
and eax, 0xffffff10
shl esi, 0xd
or esi, ecx
lea ecx, [ebx + edi*8]
mov dword [eax + ecx + 0x78], edx
xor edx, edx
mov dword [eax + ecx + 0x7c], esi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
shld ecx, eax, 0xd
shr esi, 0x13
shl eax, 0xd
or edx, ecx
or esi, eax
lea ecx, [ebx + edi*8]
mov eax, dword [esp + 0xc]
and eax, 0xfffffe70
mov dword [eax + ecx + 0xc8], esi
mov dword [eax + ecx + 0xcc], edx
xor edx, edx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
shld ecx, eax, 0xd
shr esi, 0x13
shl eax, 0xd
or edx, ecx
or esi, eax
lea ecx, [ebx + edi*8]
mov eax, dword [esp + 0xc]
and eax, 0xfffffe80
mov dword [eax + ecx + 0xc0], esi
mov ecx, edi
mov edi, ebx
mov ebx, dword [esp + 0x2c]
lea esi, [edi + ecx*8]
mov edi, dword [esp + 0x30]
mov dword [eax + esi + 0xc4], edx
mov ecx, ebx
mov edx, dword [esp + 0x28]
mov eax, edx
shld ecx, edi, 0x1e
shr eax, 2
shl edi, 0x1e
or edi, eax
shr ebx, 2
mov eax, dword [esp + 0xc]
and eax, 0xfffffe30
mov dword [eax + esi + 0xe8], edi
mov dword [eax + esi + 0xec], ecx
xor ecx, ecx
mov eax, dword [esp + 0x24]
shld edx, eax, 0x1e
shl eax, 0x1e
or ecx, edx
or ebx, eax
mov eax, dword [esp + 0xc]
and eax, 0xfffffe40
mov dword [eax + esi + 0xe0], ebx
mov dword [eax + esi + 0xe4], ecx
mov eax, dword [esp + 0x1c]
xor eax, dword [esp + 0x44]
mov edx, eax
mov dword [esp + 0x1c], eax
mov edi, dword [esp + 0x20]
xor edx, 0x10e527fa
xor edi, dword [esp + 0x48]
mov ecx, edx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
mov ebx, edi
movzx eax, al
xor ebx, 0xde682d1d
mov esi, dword [ecx*4 + 0x662db0]
mov ecx, ebx
shr ecx, 0x18
xor esi, dword [eax*4 + 0x6631b0]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x6631b0]
xor esi, dword [eax*4 + 0x6635b0]
movzx eax, dl
mov edx, dword [esp + 0x18]
xor esi, dword [eax*4 + 0x6639b0]
mov eax, ebx
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x6635b0]
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6639b0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x662db0]
xor ecx, esi
ror esi, 8
xor esi, ecx
mov eax, ecx
xor eax, dword [esp + 0x3c]
xor esi, dword [esp + 0x40]
xor edx, eax
mov eax, dword [esp + 0x34]
xor eax, esi
mov dword [esp + 0x18], edx
mov ebx, eax
mov dword [esp + 0x34], eax
xor edx, 0xb05688c2
xor ebx, 0xb3e6c1fd
mov ecx, edx
mov eax, edx
shr eax, 0x10
movzx eax, al
shr ecx, 0x18
mov esi, dword [ecx*4 + 0x662db0]
mov ecx, ebx
xor esi, dword [eax*4 + 0x6631b0]
mov eax, edx
shr eax, 8
movzx eax, al
shr ecx, 0x18
xor esi, dword [eax*4 + 0x6635b0]
mov ecx, dword [ecx*4 + 0x6631b0]
movzx eax, dl
xor esi, dword [eax*4 + 0x6639b0]
mov eax, ebx
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x6635b0]
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6639b0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x662db0]
xor ecx, esi
ror esi, 8
xor esi, ecx
xor esi, edi
xor edi, edi
xor ecx, dword [esp + 0x1c]
xor ebx, ebx
or ebx, dword [esp + 0x34]
or edi, ecx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
and eax, 0xffffffd0
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x48], edi
lea ecx, [ebx + edx*8]
mov dword [eax + ecx + 0x18], esi
mov ecx, edx
mov edx, ebx
mov ebx, dword [esp + 0x28]
lea esi, [edx + ecx*8]
mov edx, dword [esp + 0x18]
mov dword [eax + esi + 0x1c], edi
mov ecx, ebx
mov eax, dword [esp + 0xc]
and eax, 0xffffffe0
mov dword [eax + esi + 0x10], ebx
mov dword [eax + esi + 0x14], edx
mov eax, edi
shld edx, ecx, 0x1e
shr eax, 2
mov ebx, dword [esp + 0x14]
shl ecx, 0x1e
or ecx, eax
mov eax, dword [esp + 0xc]
and eax, 0xffffff60
mov dword [eax + esi + 0x50], ecx
mov ecx, edi
mov dword [eax + esi + 0x54], edx
xor edx, edx
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
shld ecx, eax, 0x1e
shr esi, 2
shl eax, 0x1e
or edx, ecx
or esi, eax
lea ecx, [edi + ebx*8]
mov eax, dword [esp + 0xc]
and eax, 0xffffff50
mov dword [eax + ecx + 0x58], esi
mov esi, dword [esp + 0x28]
mov dword [eax + ecx + 0x5c], edx
xor edx, edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x48]
shrd eax, ecx, 4
shl esi, 0x1c
or edx, eax
shr ecx, 4
mov eax, dword [esp + 0xc]
or esi, ecx
and eax, 0xfffffec0
lea ecx, [edi + ebx*8]
mov dword [eax + ecx + 0xa0], edx
xor edx, edx
mov dword [eax + ecx + 0xa4], esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x2c]
shrd eax, ecx, 4
shl esi, 0x1c
or edx, eax
shr ecx, 4
mov eax, dword [esp + 0xc]
or esi, ecx
and eax, 0xfffffeb0
lea ecx, [edi + ebx*8]
mov dword [eax + ecx + 0xa8], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx + 0xac], esi
xor ecx, ecx
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x10]
shrd eax, edi, 0x11
shl edx, 0xf
or ecx, eax
shr edi, 0x11
mov eax, dword [esp + 0xc]
or edx, edi
lea edi, [esi + ebx*8]
and eax, 0xfffffe00
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
shl esi, 0xf
mov dword [eax + edi + 0x100], ecx
mov ecx, dword [esp + 0x18]
shrd ebx, ecx, 0x11
mov dword [eax + edi + 0x104], edx
xor eax, eax
shr ecx, 0x11
or eax, ebx
or esi, ecx
mov ecx, dword [esp + 0xc]
and ecx, 0xfffffdf0
mov dword [ecx + edi + 0x108], eax
mov dword [ecx + edi + 0x10c], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc