Function at 0x410150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
mov eax, dword [0x44f050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xdc], eax
mov esi, edx
mov dword [ebp - 0xd4], edi
mov dword [ebp - 0xc4], esi
cmp dword [edi + 0x14], 0x48534946
mov cl, byte [edi]
mov ebx, dword [esi + 0x50]
mov byte [ebp - 0xc9], cl
jne 0x410efe
cmp dword [esi + 0x4c], 0x48534946
jne 0x410ee8
lea eax, [ebx - 2]
cmp eax, 0xe
ja 0x410ee8
test bl, 1
jne 0x410ee8
cmp cl, 3
jne 0x4102bf
xor ebx, ebx
mov byte [edi], 1
mov dword [ebp - 0xd0], ebx
lea eax, [edi + 1]
lea ecx, [ebp - 0x14]
mov edx, esi
push ecx
push 0x80
push eax
mov ecx, edi
call fcn.0040f3e0
mov ecx, ebx
mov eax, ebx
mov bl, byte [ebp - 0xd0]
and ecx, 7
shr eax, 3
mov edx, 0x80
sar edx, cl
and bl, 7
mov ecx, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0xd4], edx
mov esi, 4
mov bh, byte [eax + ecx]
mov cl, bl
and bh, dl
mov edx, dword [ebp - 0xdc]
add edx, eax
mov al, byte [ebp - 0x14]
and al, 0x80
shr al, cl
mov ecx, dword [ebp - 0xd4]
xor al, bh
not cl
and cl, byte [edx]
or al, cl
mov cl, 7
sub cl, bl
mov byte [edx], al
shr bh, cl
lea ecx, [edi + 0xe]
nop dword [eax]
mov dl, byte [ecx + 2]
lea ecx, [ecx - 4]
mov bl, byte [ecx + 5]
mov al, dl
add al, al
shr dl, 7
xor al, bh
mov bh, byte [ecx + 3]
mov byte [ecx + 6], al
mov al, bl
add al, al
shr bl, 7
xor al, dl
mov dl, byte [ecx + 4]
mov byte [ecx + 5], al
mov al, dl
add al, al
shr dl, 7
xor bl, al
mov al, bh
add al, al
shr bh, 7
xor dl, al
mov byte [ecx + 4], bl
mov byte [ecx + 3], dl
sub esi, 1
jne 0x410240
mov ebx, dword [ebp - 0xd0]
lea eax, [edi + 1]
mov esi, dword [ebp - 0xc4]
inc ebx
mov dword [ebp - 0xd0], ebx
cmp ebx, 0x80
jl 0x4101d0
mov byte [edi], 3
mov eax, 0x80
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041f622
mov esp, ebp
pop ebp
ret
cmp byte [esi], 1
je 0x41030d
mov edi, edx
add esi, 0xa4
add edi, 0x9c
lea edi, [edi + ebx*8]
cmp esi, edi
jae 0x4102fe
nop dword [eax]
mov eax, dword [edi]
mov edx, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
add esi, 8
mov dword [edi], edx
mov dword [edi + 4], ecx
sub edi, 8
cmp esi, edi
jb 0x4102e0
mov esi, dword [ebp - 0xc4]
mov edi, dword [ebp - 0xd4]
mov byte [esi], 1
lea eax, [ebx*8 + 0x20]
push eax
lea eax, [esi + 0x84]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.00420b90
add esp, 0xc
cmp byte [ebp - 0xc9], 2
jne 0x41035a
mov eax, dword [edi + 0x18]
mov dword [ebp - 0xd8], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0xe0], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0xe4], eax
mov eax, dword [edi + 0x24]
mov dword [ebp - 0xd0], eax
jmp 0x410378
xor eax, eax
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xd8], eax
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov edx, eax
xor edx, dword [ebp - 0xa4]
mov dword [ebp - 0xe8], eax
mov eax, edx
shr eax, 8
movzx ecx, al
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ebx, dword [edi + 4]
xor ebx, dword [ebp - 0xa0]
mov dword [ebp - 0xbc], edx
mov edx, dword [esi + ecx*8 + 0x128]
xor edx, dword [esi + eax*8 + 0x924]
mov ecx, dword [ebp - 0xbc]
mov eax, ecx
shr eax, 0x18
mov dword [ebp - 0xc0], ebx
xor edx, dword [esi + eax*8 + 0x928]
movzx eax, cl
xor edx, dword [esi + eax*8 + 0x124]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [esi + ecx*8 + 0x928]
xor ecx, dword [esi + eax*8 + 0x924]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [esi + eax*8 + 0x124]
movzx eax, bl
mov ebx, dword [edi + 8]
xor ebx, dword [ebp - 0x9c]
rol ebx, 1
xor ecx, dword [esi + eax*8 + 0x128]
mov eax, dword [ebp - 0x1c]
add eax, ecx
add eax, edx
xor ebx, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xb8], ebx
lea ebx, [eax + ecx*2]
mov eax, dword [ebp - 0xb8]
shr eax, 8
add ebx, edx
xor ebx, dword [ebp - 0x98]
movzx ecx, al
mov eax, dword [ebp - 0xb8]
xor ebx, dword [edi + 0xc]
shr eax, 0x10
mov edx, dword [esi + ecx*8 + 0x128]
mov ecx, dword [ebp - 0xb8]
movzx eax, al
ror ebx, 1
mov dword [ebp - 0xc8], ebx
xor edx, dword [esi + eax*8 + 0x924]
mov eax, ecx
shr eax, 0x18
xor edx, dword [esi + eax*8 + 0x928]
movzx eax, cl
xor edx, dword [esi + eax*8 + 0x124]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [esi + ecx*8 + 0x928]
xor ecx, dword [esi + eax*8 + 0x924]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [esi + eax*8 + 0x124]
movzx eax, bl
mov ebx, dword [ebp - 0xbc]
xor ecx, dword [esi + eax*8 + 0x128]
mov eax, dword [ebp - 0x24]
rol ebx, 1
add eax, ecx
rol dword [ebp - 0xb8], 1
add eax, edx
mov edi, dword [ebp - 0xb8]
xor ebx, eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xbc], ebx
lea ebx, [eax + ecx*2]
mov eax, dword [ebp - 0xbc]
shr eax, 8
add ebx, edx
movzx ecx, al
mov eax, dword [ebp - 0xbc]
shr eax, 0x10
movzx eax, al
mov edx, dword [esi + ecx*8 + 0x128]
mov ecx, dword [ebp - 0xbc]
xor ebx, dword [ebp - 0xc0]
xor edx, dword [esi + eax*8 + 0x924]
mov eax, ecx
shr eax, 0x18
ror ebx, 1
xor edx, dword [esi + eax*8 + 0x928]
movzx eax, cl
xor edx, dword [esi + eax*8 + 0x124]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [esi + ecx*8 + 0x928]
xor ecx, dword [esi + eax*8 + 0x924]
movzx eax, bl
xor ecx, dword [esi + eax*8 + 0x128]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [esi + eax*8 + 0x124]
mov eax, dword [ebp - 0x2c]
add eax, ecx
add eax, edx
xor edi, eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xb8], edi
lea eax, [eax + ecx*2]
add eax, edx
xor eax, dword [ebp - 0xc8]
ror eax, 1
mov dword [ebp - 0xc0], eax
mov eax, edi
shr eax, 8
movzx ecx, al
mov eax, edi
shr eax, 0x10
movzx eax, al
mov edx, dword [esi + ecx*8 + 0x128]
mov ecx, edi
mov edi, dword [ebp - 0xc4]
xor edx, dword [esi + eax*8 + 0x924]
mov eax, ecx
shr eax, 0x18
xor edx, dword [esi + eax*8 + 0x928]
movzx eax, cl
xor edx, dword [esi + eax*8 + 0x124]
mov esi, dword [ebp - 0xc0]
mov eax, esi
shr eax, 0x10
movzx ecx, al
mov eax, esi
shr eax, 8
movzx eax, al
mov ecx, dword [edi + ecx*8 + 0x928]
xor ecx, dword [edi + eax*8 + 0x924]
mov eax, esi
shr eax, 0x18
mov esi, edi
xor ecx, dword [esi + eax*8 + 0x124]
mov eax, dword [ebp - 0xc0]
movzx eax, al
xor ecx, dword [esi + eax*8 + 0x128]
rol dword [ebp - 0xbc], 1
mov eax, dword [ebp - 0x34]
add eax, ecx
rol dword [ebp - 0xb8], 1
add eax, edx
mov edi, dword [ebp - 0xb8]
xor dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x30]
lea eax, [eax + ecx*2]
add eax, edx
xor eax, ebx
mov ebx, dword [ebp - 0xbc]
ror eax, 1
mov dword [ebp - 0xc8], eax
mov eax, ebx
shr eax, 8
movzx ecx, al
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov edx, dword [esi + ecx*8 + 0x128]
xor edx, dword [esi + eax*8 + 0x924]
mov eax, ebx
shr eax, 0x18
xor edx, dword [esi + eax*8 + 0x928]
movzx eax, bl
mov ebx, dword [ebp - 0xc8]
xor edx, dword [esi + eax*8 + 0x124]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [esi + ecx*8 + 0x928]
xor ecx, dword [esi + eax*8 + 0x924]
movzx eax, bl
xor ecx, dword [esi + eax*8 + 0x128]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [esi + eax*8 + 0x124]
mov eax, dword [ebp - 0x3c]
add eax, ecx
add eax, edx
xor edi, eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xb8], edi
lea eax, [eax + ecx*2]
add eax, edx
xor eax, dword [ebp - 0xc0]
ror eax, 1
mov dword [ebp - 0xc0], eax
mov eax, edi
shr eax, 8
movzx ecx, al
mov eax, edi
shr eax, 0x10
movzx eax, al
mov edx, dword [esi + ecx*8 + 0x128]
mov ecx, edi
mov edi, dword [ebp - 0xc4]
xor edx, dword [esi + eax*8 + 0x924]
mov eax, ecx
shr eax, 0x18
xor edx, dword [esi + eax*8 + 0x928]
movzx eax, cl
xor edx, dword [esi + eax*8 + 0x124]
mov esi, dword [ebp - 0xc0]
mov eax, esi
shr eax, 0x10
movzx ecx, al
mov eax, esi
shr eax, 8
movzx eax, al
mov ecx, dword [edi + ecx*8 + 0x928]
xor ecx, dword [edi + eax*8 + 0x924]
mov eax, esi
shr eax, 0x18
mov esi, edi
xor ecx, dword [esi + eax*8 + 0x124]
mov eax, dword [ebp - 0xc0]
movzx eax, al
xor ecx, dword [esi + eax*8 + 0x128]
mov eax, dword [ebp - 0x44]
add eax, ecx
rol dword [ebp - 0xbc], 1
add eax, edx
rol dword [ebp - 0xb8], 1
xor dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x40]
mov edi, dword [ebp - 0xb8]
lea eax, [eax + ecx*2]
add eax, edx
xor eax, ebx
mov ebx, dword [ebp - 0xbc]
ror eax, 1
mov dword [ebp - 0xc8], eax
mov eax, ebx
shr eax, 8
movzx ecx, al
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov edx, dword [esi + ecx*8 + 0x128]
xor edx, dword [esi + eax*8 + 0x924]
mov eax, ebx
shr eax, 0x18
xor edx, dword [esi + eax*8 + 0x928]
movzx eax, bl
mov ebx, dword [ebp - 0xc8]
xor edx, dword [esi + eax*8 + 0x124]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [esi + ecx*8 + 0x928]
xor ecx, dword [esi + eax*8 + 0x924]
movzx eax, bl
xor ecx, dword [esi + eax*8 + 0x128]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [esi + eax*8 + 0x124]
mov eax, dword [ebp - 0x4c]
add eax, ecx
add eax, edx
xor edi, eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xb8], edi
lea eax, [eax + ecx*2]
add eax, edx
xor eax, dword [ebp - 0xc0]
ror eax, 1
mov dword [ebp - 0xc0], eax
mov eax, edi
shr eax, 8
movzx ecx, al
mov eax, edi
shr eax, 0x10
movzx eax, al
mov edx, dword [esi + ecx*8 + 0x128]
mov ecx, edi
mov edi, dword [ebp - 0xc4]
xor edx, dword [esi + eax*8 + 0x924]
mov eax, ecx
shr eax, 0x18
xor edx, dword [esi + eax*8 + 0x928]
movzx eax, cl
xor edx, dword [esi + eax*8 + 0x124]
mov esi, dword [ebp - 0xc0]
mov eax, esi
shr eax, 0x10
movzx ecx, al
mov eax, esi
shr eax, 8
movzx eax, al
mov ecx, dword [edi + ecx*8 + 0x928]
xor ecx, dword [edi + eax*8 + 0x924]
mov eax, esi
shr eax, 0x18
mov esi, edi
xor ecx, dword [esi + eax*8 + 0x124]
mov eax, dword [ebp - 0xc0]
movzx eax, al
rol dword [ebp - 0xbc], 1
rol dword [ebp - 0xb8], 1
mov edi, dword [ebp - 0xb8]
xor ecx, dword [esi + eax*8 + 0x128]
mov eax, dword [ebp - 0x54]
add eax, ecx
add eax, edx
xor dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x50]
lea eax, [eax + ecx*2]
add eax, edx
xor eax, ebx
mov ebx, dword [ebp - 0xbc]
ror eax, 1
mov dword [ebp - 0xc8], eax
mov eax, ebx
shr eax, 8
movzx ecx, al
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov edx, dword [esi + ecx*8 + 0x128]
xor edx, dword [esi + eax*8 + 0x924]
mov eax, ebx
shr eax, 0x18
xor edx, dword [esi + eax*8 + 0x928]
movzx eax, bl
mov ebx, dword [ebp - 0xc8]
xor edx, dword [esi + eax*8 + 0x124]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [esi + ecx*8 + 0x928]
xor ecx, dword [esi + eax*8 + 0x924]
movzx eax, bl
xor ecx, dword [esi + eax*8 + 0x128]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [esi + eax*8 + 0x124]
mov eax, dword [ebp - 0x5c]
add eax, ecx
add eax, edx
xor edi, eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xb8], edi
lea eax, [eax + ecx*2]
add eax, edx
xor eax, dword [ebp - 0xc0]
ror eax, 1
mov dword [ebp - 0xc0], eax
mov eax, edi
shr eax, 8
movzx ecx, al
mov eax, edi
shr eax, 0x10
movzx eax, al
mov edx, dword [esi + ecx*8 + 0x128]
mov ecx, edi
mov edi, dword [ebp - 0xc4]
xor edx, dword [esi + eax*8 + 0x924]
mov eax, ecx
shr eax, 0x18
xor edx, dword [esi + eax*8 + 0x928]
movzx eax, cl
xor edx, dword [esi + eax*8 + 0x124]
mov esi, dword [ebp - 0xc0]
mov eax, esi
shr eax, 0x10
movzx ecx, al
mov eax, esi
shr eax, 8
movzx eax, al
mov ecx, dword [edi + ecx*8 + 0x928]
xor ecx, dword [edi + eax*8 + 0x924]
mov eax, esi
shr eax, 0x18
mov esi, edi
rol dword [ebp - 0xbc], 1
rol dword [ebp - 0xb8], 1
mov edi, dword [ebp - 0xb8]
xor ecx, dword [esi + eax*8 + 0x124]
mov eax, dword [ebp - 0xc0]
movzx eax, al
xor ecx, dword [esi + eax*8 + 0x128]
mov eax, dword [ebp - 0x64]
add eax, ecx
add eax, edx
xor dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x60]
lea eax, [eax + ecx*2]
add eax, edx
xor eax, ebx
mov ebx, dword [ebp - 0xbc]
ror eax, 1
mov dword [ebp - 0xc8], eax
mov eax, ebx
shr eax, 8
movzx ecx, al
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov edx, dword [esi + ecx*8 + 0x128]
xor edx, dword [esi + eax*8 + 0x924]
mov eax, ebx
shr eax, 0x18
xor edx, dword [esi + eax*8 + 0x928]
movzx eax, bl
mov ebx, dword [ebp - 0xc8]
xor edx, dword [esi + eax*8 + 0x124]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [esi + ecx*8 + 0x928]
xor ecx, dword [esi + eax*8 + 0x924]
movzx eax, bl
xor ecx, dword [esi + eax*8 + 0x128]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [esi + eax*8 + 0x124]
mov eax, dword [ebp - 0x6c]
add eax, ecx
add eax, edx
xor edi, eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xb8], edi
lea eax, [eax + ecx*2]
add eax, edx
xor eax, dword [ebp - 0xc0]
ror eax, 1
mov dword [ebp - 0xc0], eax
mov eax, edi
shr eax, 8
movzx ecx, al
mov eax, edi
shr eax, 0x10
movzx eax, al
mov edx, dword [esi + ecx*8 + 0x128]
mov ecx, edi
mov edi, dword [ebp - 0xc4]
xor edx, dword [esi + eax*8 + 0x924]
mov eax, ecx
shr eax, 0x18
xor edx, dword [esi + eax*8 + 0x928]
movzx eax, cl
xor edx, dword [esi + eax*8 + 0x124]
mov esi, dword [ebp - 0xc0]
mov eax, esi
shr eax, 0x10
movzx ecx, al
mov eax, esi
shr eax, 8
movzx eax, al
mov ecx, dword [edi + ecx*8 + 0x928]
xor ecx, dword [edi + eax*8 + 0x924]
rol dword [ebp - 0xbc], 1
mov eax, esi
shr eax, 0x18
mov esi, edi
rol dword [ebp - 0xb8], 1
mov edi, dword [ebp - 0xb8]
xor ecx, dword [esi + eax*8 + 0x124]
mov eax, dword [ebp - 0xc0]
movzx eax, al
xor ecx, dword [esi + eax*8 + 0x128]
mov eax, dword [ebp - 0x74]
add eax, ecx
add eax, edx
xor dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x70]
lea eax, [eax + ecx*2]
add eax, edx
xor eax, ebx
mov ebx, dword [ebp - 0xbc]
ror eax, 1
mov dword [ebp - 0xc8], eax
mov eax, ebx
shr eax, 8
movzx ecx, al
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov edx, dword [esi + ecx*8 + 0x128]
xor edx, dword [esi + eax*8 + 0x924]
mov eax, ebx
shr eax, 0x18
xor edx, dword [esi + eax*8 + 0x928]
movzx eax, bl
mov ebx, dword [ebp - 0xc8]
xor edx, dword [esi + eax*8 + 0x124]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [esi + ecx*8 + 0x928]
xor ecx, dword [esi + eax*8 + 0x924]
movzx eax, bl
xor ecx, dword [esi + eax*8 + 0x128]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [esi + eax*8 + 0x124]
mov eax, dword [ebp - 0x7c]
add eax, ecx
add eax, edx
xor edi, eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xb8], edi
lea eax, [eax + ecx*2]
add eax, edx
xor eax, dword [ebp - 0xc0]
ror eax, 1
mov dword [ebp - 0xc0], eax
mov eax, edi
shr eax, 8
movzx ecx, al
mov eax, edi
shr eax, 0x10
movzx eax, al
mov edx, dword [esi + ecx*8 + 0x128]
mov ecx, edi
mov edi, dword [ebp - 0xc4]
xor edx, dword [esi + eax*8 + 0x924]
mov eax, ecx
shr eax, 0x18
xor edx, dword [esi + eax*8 + 0x928]
movzx eax, cl
xor edx, dword [esi + eax*8 + 0x124]
mov esi, dword [ebp - 0xc0]
mov eax, esi
shr eax, 0x10
movzx ecx, al
mov eax, esi
shr eax, 8
movzx eax, al
mov ecx, dword [edi + ecx*8 + 0x928]
xor ecx, dword [edi + eax*8 + 0x924]
mov eax, esi
shr eax, 0x18
mov esi, edi
rol dword [ebp - 0xbc], 1
mov edi, dword [ebp - 0xbc]
rol dword [ebp - 0xb8], 1
xor ecx, dword [esi + eax*8 + 0x124]
mov eax, dword [ebp - 0xc0]
movzx eax, al
xor ecx, dword [esi + eax*8 + 0x128]
mov eax, dword [ebp - 0x84]
add eax, ecx
add eax, edx
xor edi, eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0xbc], edi
lea eax, [eax + ecx*2]
add eax, edx
xor eax, ebx
mov ebx, edi
ror eax, 1
mov ecx, ebx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc8], eax
mov eax, ebx
shr eax, 8
movzx eax, al
shr ecx, 0x18
mov edi, dword [ebp - 0xb8]
mov edx, dword [esi + eax*8 + 0x128]
mov eax, ebx
xor edx, dword [esi + ecx*8 + 0x928]
shr eax, 0x10
movzx eax, al
xor edx, dword [esi + eax*8 + 0x924]
movzx eax, bl
mov ebx, dword [ebp - 0xc8]
xor edx, dword [esi + eax*8 + 0x124]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [esi + ecx*8 + 0x928]
xor ecx, dword [esi + eax*8 + 0x924]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [esi + eax*8 + 0x124]
movzx eax, bl
xor ecx, dword [esi + eax*8 + 0x128]
mov eax, dword [ebp - 0x8c]
add eax, ecx
add eax, edx
xor edi, eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xb8], edi
lea eax, [eax + ecx*2]
mov ecx, edi
add eax, edx
xor eax, dword [ebp - 0xc0]
ror eax, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc4], eax
mov eax, ecx
shr eax, 8
movzx eax, al
shr ecx, 0x18
mov edx, dword [esi + eax*8 + 0x128]
xor edx, dword [esi + ecx*8 + 0x928]
mov ecx, edi
mov eax, edi
shr eax, 0x10
movzx eax, al
xor edx, dword [esi + eax*8 + 0x924]
movzx eax, cl
xor edx, dword [esi + eax*8 + 0x124]
mov edi, dword [ebp - 0xc4]
mov eax, edi
shr eax, 0x10
movzx ecx, al
mov eax, edi
shr eax, 8
movzx eax, al
rol dword [ebp - 0xbc], 1
mov ecx, dword [esi + ecx*8 + 0x928]
xor ecx, dword [esi + eax*8 + 0x924]
mov eax, edi
shr eax, 0x18
xor ecx, dword [esi + eax*8 + 0x124]
mov eax, edi
mov edi, dword [ebp - 0xd4]
movzx eax, al
xor ecx, dword [esi + eax*8 + 0x128]
mov eax, dword [ebp - 0x94]
mov esi, dword [ebp - 0xbc]
add eax, ecx
add eax, edx
xor esi, eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xbc], esi
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0xdc]
add eax, edx
xor eax, ebx
ror eax, 1
cmp byte [edi], 1
mov dword [ebp - 0xc0], eax
jne 0x410e46
mov eax, dword [ebp - 0xb8]
xor eax, dword [ebp - 0xb4]
mov edx, dword [ebp - 0xd8]
mov ebx, dword [ebp - 0xe0]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc4]
xor eax, dword [ebp - 0xb0]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xac]
xor eax, esi
mov esi, dword [ebp - 0xe4]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0xa8]
jmp 0x410eae
mov eax, dword [ebp - 0xd8]
xor eax, dword [ebp - 0xb8]
xor eax, dword [ebp - 0xb4]
mov edi, dword [ebp + 8]
mov edx, dword [ebp - 0xe8]
mov dword [ecx], eax
mov eax, dword [ebp - 0xe0]
xor eax, dword [ebp - 0xc4]
xor eax, dword [ebp - 0xb0]
mov ebx, dword [edi + 4]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xe4]
xor eax, dword [ebp - 0xac]
xor eax, dword [ebp - 0xbc]
mov esi, dword [edi + 8]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0xd0]
mov edi, dword [edi + 0xc]
xor eax, dword [ebp - 0xa8]
mov dword [ebp - 0xd0], edi
mov edi, dword [ebp - 0xd4]
xor eax, dword [ebp - 0xc0]
cmp byte [ebp - 0xc9], 2
mov dword [ecx + 0xc], eax
jne 0x410ed2
mov eax, dword [ebp - 0xd0]
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], esi
mov dword [edi + 0x24], eax
pop edi
pop esi
mov eax, 0x80
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041f622
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xfffffffd
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041f622
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0xfffffffb
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041f622
mov esp, ebp
pop ebp
ret