Function at 0x478ca5
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push esi
mov dword [ebp - 0xc], ecx
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
call fcn.00409d50
mov eax, dword [ebp - 0xc]
add eax, 0x20
mov dword [ebp - 0x78], eax
push 0x120c
mov ecx, dword [ebp - 0x78]
call fcn.00412a80
mov eax, dword [ebp - 0xc]
add eax, 0x20
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
and dword [eax + 4], 0
mov eax, dword [ebp + 0xc]
shr eax, 2
add eax, 6
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, 0x10
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
lea eax, [eax*4 + 4]
push eax
mov ecx, dword [ebp - 0x80]
call fcn.00467c20
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 4], eax
call fcn.00477c00
movzx eax, al
test eax, eax
je 0x478d8c
call fcn.00477c40
movzx eax, al
test eax, eax
je 0x478d8c
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00482740
add esp, 0xc
mov ecx, dword [ebp - 0xc]
add ecx, 4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
call dword [eax + 0x20]
movzx eax, al
test eax, eax
jne 0x478d87
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x84]
push dword [ebp - 0x30]
call fcn.004826e0
pop ecx
pop ecx
jmp 0x479a28
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [ebp + 0xc]
shr eax, 2
push eax
push dword [ebp - 4]
push 1
call fcn.0047745e
add esp, 0x14
mov dword [ebp - 0x18], 0x4eb7e0
xor eax, eax
inc eax
je 0x479044
mov eax, dword [ebp + 0xc]
shr eax, 2
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + eax*4 - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax + str.cw]
shl eax, 0x18
mov ecx, dword [ebp - 0x10]
shr ecx, 8
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
shl ecx, 0x10
xor eax, ecx
mov ecx, dword [ebp - 0x10]
shr ecx, 0
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
shl ecx, 8
xor eax, ecx
mov ecx, dword [ebp - 0x10]
shr ecx, 0x18
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
xor eax, ecx
mov dword [ebp - 0x88], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + eax]
xor eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x18]
xor eax, dword [ecx]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
shr eax, 2
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x8c]
mov dword [ecx + eax*4], edx
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp + 0xc]
shr ecx, 2
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 4]
mov eax, dword [edx + eax]
xor eax, dword [esi + ecx*4]
mov ecx, dword [ebp + 0xc]
shr ecx, 2
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4 + 4], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp + 0xc]
shr ecx, 2
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 4]
mov eax, dword [edx + eax]
xor eax, dword [esi + ecx*4 + 4]
mov ecx, dword [ebp + 0xc]
shr ecx, 2
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4 + 8], eax
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp + 0xc]
shr ecx, 2
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 4]
mov eax, dword [edx + eax]
xor eax, dword [esi + ecx*4 + 8]
mov ecx, dword [ebp + 0xc]
shr ecx, 2
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4 + 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
shr eax, 2
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax*4 + 0x10]
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp - 0x34]
mov edx, dword [edx + 0xc]
lea ecx, [edx + ecx*4]
cmp eax, ecx
jne 0x478ef1
jmp 0x479044
cmp dword [ebp + 0xc], 0x18
jne 0x478f44
push 4
pop eax
shl eax, 2
push 4
pop ecx
imul ecx, ecx, 9
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 4]
mov eax, dword [edx + eax]
xor eax, dword [esi + ecx]
push 4
pop ecx
imul ecx, ecx, 0xa
mov edx, dword [ebp - 4]
mov dword [edx + ecx], eax
push 4
pop eax
imul eax, eax, 5
push 4
pop ecx
imul ecx, ecx, 0xa
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 4]
mov eax, dword [edx + eax]
xor eax, dword [esi + ecx]
push 4
pop ecx
imul ecx, ecx, 0xb
mov edx, dword [ebp - 4]
mov dword [edx + ecx], eax
jmp 0x479030
cmp dword [ebp + 0xc], 0x20
jne 0x479030
push 4
pop eax
imul eax, eax, 0xb
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x10], eax
push 4
pop eax
shl eax, 2
mov ecx, dword [ebp - 0x10]
shr ecx, 0x18
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
shl ecx, 0x18
mov edx, dword [ebp - 4]
xor ecx, dword [edx + eax]
mov eax, dword [ebp - 0x10]
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax + str.cw]
shl eax, 0x10
xor ecx, eax
mov eax, dword [ebp - 0x10]
shr eax, 8
movzx eax, al
movzx eax, byte [eax + str.cw]
shl eax, 8
xor ecx, eax
mov eax, dword [ebp - 0x10]
shr eax, 0
movzx eax, al
movzx eax, byte [eax + str.cw]
xor ecx, eax
push 4
pop eax
imul eax, eax, 0xc
mov edx, dword [ebp - 4]
mov dword [edx + eax], ecx
push 4
pop eax
imul eax, eax, 5
push 4
pop ecx
imul ecx, ecx, 0xc
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 4]
mov eax, dword [edx + eax]
xor eax, dword [esi + ecx]
push 4
pop ecx
imul ecx, ecx, 0xd
mov edx, dword [ebp - 4]
mov dword [edx + ecx], eax
push 4
pop eax
imul eax, eax, 6
push 4
pop ecx
imul ecx, ecx, 0xd
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 4]
mov eax, dword [edx + eax]
xor eax, dword [esi + ecx]
push 4
pop ecx
imul ecx, ecx, 0xe
mov edx, dword [ebp - 4]
mov dword [edx + ecx], eax
push 4
pop eax
imul eax, eax, 7
push 4
pop ecx
imul ecx, ecx, 0xe
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 4]
mov eax, dword [edx + eax]
xor eax, dword [esi + ecx]
push 4
pop ecx
imul ecx, ecx, 0xf
mov edx, dword [ebp - 4]
mov dword [edx + ecx], eax
mov eax, dword [ebp + 0xc]
shr eax, 2
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax*4]
mov dword [ebp - 4], eax
jmp 0x478dad
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
add ecx, 4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
call dword [eax + 0x20]
movzx eax, al
test eax, eax
je 0x479116
movzx eax, byte [0x525050]
test eax, eax
jne 0x479077
call fcn.00477afb
push 1
call fcn.00477c60
pop ecx
movzx eax, al
test eax, eax
jne 0x479098
push 0x10
push dword [ebp - 4]
push dword [ebp - 4]
call fcn.0047741f
add esp, 0xc
jmp 0x4790b2
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 4]
je 0x4790b2
push 0x10
push dword [ebp - 4]
push 0x10
push dword [ebp - 4]
call fcn.0045cb10
add esp, 0x10
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
shl eax, 2
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
shl eax, 2
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x20], eax
push 1
call fcn.00477c60
pop ecx
movzx eax, al
test eax, eax
jne 0x4790f7
push 0x10
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0047741f
add esp, 0xc
jmp 0x479111
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x20]
je 0x479111
push 0x10
push dword [ebp - 0x1c]
push 0x10
push dword [ebp - 0x20]
call fcn.0045cb10
add esp, 0x10
jmp 0x4799bf
movzx eax, byte [0x525051]
test eax, eax
jne 0x479126
call fcn.004778ea
mov dword [ebp - 8], 4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
lea eax, [eax*4 - 4]
mov dword [ebp - 0x14], eax
jmp 0x479151
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
sub eax, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x14]
jae 0x479580
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + eax*4]
shr eax, 0x18
movzx eax, al
movzx eax, byte [eax + str.cw]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4]
shr ecx, 0x10
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
mov eax, dword [eax*8 + 0x524854]
xor eax, dword [ecx*8 + 0x524851]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4]
shr ecx, 8
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
xor eax, dword [ecx*8 + 0x524852]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4]
shr ecx, 0
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
xor eax, dword [ecx*8 + 0x524853]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + eax*4]
shr eax, 0x18
movzx eax, al
movzx eax, byte [eax + str.cw]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4]
shr ecx, 0x10
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
mov eax, dword [eax*8 + 0x524854]
xor eax, dword [ecx*8 + 0x524851]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4]
shr ecx, 8
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
xor eax, dword [ecx*8 + 0x524852]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4]
shr ecx, 0
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
xor eax, dword [ecx*8 + 0x524853]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + eax*4 + 4]
shr eax, 0x18
movzx eax, al
movzx eax, byte [eax + str.cw]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 4]
shr ecx, 0x10
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
mov eax, dword [eax*8 + 0x524854]
xor eax, dword [ecx*8 + 0x524851]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 4]
shr ecx, 8
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
xor eax, dword [ecx*8 + 0x524852]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 4]
shr ecx, 0
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
xor eax, dword [ecx*8 + 0x524853]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + eax*4 + 4]
shr eax, 0x18
movzx eax, al
movzx eax, byte [eax + str.cw]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 4]
shr ecx, 0x10
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
mov eax, dword [eax*8 + 0x524854]
xor eax, dword [ecx*8 + 0x524851]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 4]
shr ecx, 8
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
xor eax, dword [ecx*8 + 0x524852]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 4]
shr ecx, 0
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
xor eax, dword [ecx*8 + 0x524853]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4 + 4], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*4 + 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + eax*4 + 8]
shr eax, 0x18
movzx eax, al
movzx eax, byte [eax + str.cw]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 8]
shr ecx, 0x10
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
mov eax, dword [eax*8 + 0x524854]
xor eax, dword [ecx*8 + 0x524851]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 8]
shr ecx, 8
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
xor eax, dword [ecx*8 + 0x524852]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 8]
shr ecx, 0
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
xor eax, dword [ecx*8 + 0x524853]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + eax*4 + 8]
shr eax, 0x18
movzx eax, al
movzx eax, byte [eax + str.cw]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 8]
shr ecx, 0x10
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
mov eax, dword [eax*8 + 0x524854]
xor eax, dword [ecx*8 + 0x524851]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 8]
shr ecx, 8
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
xor eax, dword [ecx*8 + 0x524852]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 8]
shr ecx, 0
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
xor eax, dword [ecx*8 + 0x524853]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4 + 8], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*4 + 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + eax*4 + 0xc]
shr eax, 0x18
movzx eax, al
movzx eax, byte [eax + str.cw]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 0xc]
shr ecx, 0x10
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
mov eax, dword [eax*8 + 0x524854]
xor eax, dword [ecx*8 + 0x524851]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 0xc]
shr ecx, 8
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
xor eax, dword [ecx*8 + 0x524852]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 0xc]
shr ecx, 0
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
xor eax, dword [ecx*8 + 0x524853]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + eax*4 + 0xc]
shr eax, 0x18
movzx eax, al
movzx eax, byte [eax + str.cw]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 0xc]
shr ecx, 0x10
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
mov eax, dword [eax*8 + 0x524854]
xor eax, dword [ecx*8 + 0x524851]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 0xc]
shr ecx, 8
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
xor eax, dword [ecx*8 + 0x524852]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 0xc]
shr ecx, 0
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
xor eax, dword [ecx*8 + 0x524853]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4 + 0xc], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*4 + 0xc], edx
jmp 0x47913f
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + eax*4]
shr eax, 0x18
movzx eax, al
movzx eax, byte [eax + str.cw]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4]
shr ecx, 0x10
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
mov eax, dword [eax*8 + 0x524854]
xor eax, dword [ecx*8 + 0x524851]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4]
shr ecx, 8
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
xor eax, dword [ecx*8 + 0x524852]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4]
shr ecx, 0
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
xor eax, dword [ecx*8 + 0x524853]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + eax*4 + 4]
shr eax, 0x18
movzx eax, al
movzx eax, byte [eax + str.cw]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 4]
shr ecx, 0x10
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
mov eax, dword [eax*8 + 0x524854]
xor eax, dword [ecx*8 + 0x524851]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 4]
shr ecx, 8
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
xor eax, dword [ecx*8 + 0x524852]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 4]
shr ecx, 0
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
xor eax, dword [ecx*8 + 0x524853]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4 + 4], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + eax*4 + 8]
shr eax, 0x18
movzx eax, al
movzx eax, byte [eax + str.cw]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 8]
shr ecx, 0x10
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
mov eax, dword [eax*8 + 0x524854]
xor eax, dword [ecx*8 + 0x524851]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 8]
shr ecx, 8
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
xor eax, dword [ecx*8 + 0x524852]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 8]
shr ecx, 0
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
xor eax, dword [ecx*8 + 0x524853]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4 + 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + eax*4 + 0xc]
shr eax, 0x18
movzx eax, al
movzx eax, byte [eax + str.cw]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 0xc]
shr ecx, 0x10
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
mov eax, dword [eax*8 + 0x524854]
xor eax, dword [ecx*8 + 0x524851]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 0xc]
shr ecx, 8
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
xor eax, dword [ecx*8 + 0x524852]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 0xc]
shr ecx, 0
movzx ecx, cl
movzx ecx, byte [ecx + str.cw]
xor eax, dword [ecx*8 + 0x524853]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4 + 0xc], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x38], eax
push 1
call fcn.00477c60
pop ecx
movzx eax, al
test eax, eax
je 0x4797a9
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
jmp 0x4797b5
push dword [ebp - 0x38]
call fcn.004778e0
pop ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
shl eax, 2
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x40], eax
push 1
call fcn.00477c60
pop ecx
movzx eax, al
test eax, eax
je 0x4797e4
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
jmp 0x4797f0
push dword [ebp - 0x40]
call fcn.004778e0
pop ecx
mov dword [ebp - 0x44], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x44]
mov dword [ecx + eax], edx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
shl eax, 2
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*4], edx
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x48], eax
push 1
call fcn.00477c60
pop ecx
movzx eax, al
test eax, eax
je 0x479837
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
jmp 0x479843
push dword [ebp - 0x48]
call fcn.004778e0
pop ecx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
shl eax, 2
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + eax*4 + 4]
mov dword [ebp - 0x50], eax
push 1
call fcn.00477c60
pop ecx
movzx eax, al
test eax, eax
je 0x479873
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
jmp 0x47987f
push dword [ebp - 0x50]
call fcn.004778e0
pop ecx
mov dword [ebp - 0x54], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x54]
mov dword [ecx + eax], edx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
shl eax, 2
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*4 + 4], edx
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x58], eax
push 1
call fcn.00477c60
pop ecx
movzx eax, al
test eax, eax
je 0x4798c6
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
jmp 0x4798d2
push dword [ebp - 0x58]
call fcn.004778e0
pop ecx
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
shl eax, 2
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + eax*4 + 8]
mov dword [ebp - 0x60], eax
push 1
call fcn.00477c60
pop ecx
movzx eax, al
test eax, eax
je 0x479902
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
jmp 0x47990e
push dword [ebp - 0x60]
call fcn.004778e0
pop ecx
mov dword [ebp - 0x64], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x64]
mov dword [ecx + eax], edx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
shl eax, 2
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*4 + 8], edx
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x68], eax
push 1
call fcn.00477c60
pop ecx
movzx eax, al
test eax, eax
je 0x479955
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
jmp 0x479961
push dword [ebp - 0x68]
call fcn.004778e0
pop ecx
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
shl eax, 2
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + eax*4 + 0xc]
mov dword [ebp - 0x70], eax
push 1
call fcn.00477c60
pop ecx
movzx eax, al
test eax, eax
je 0x479991
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
jmp 0x47999d
push dword [ebp - 0x70]
call fcn.004778e0
pop ecx
mov dword [ebp - 0x74], eax
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x74]
mov dword [ecx + eax], edx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
shl eax, 2
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*4 + 0xc], edx
call fcn.00477c00
movzx eax, al
test eax, eax
je 0x479a28
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
dec eax
shl eax, 4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
add eax, 0x10
mov dword [ebp - 0x2c], eax
push 1
call fcn.00477c60
pop ecx
movzx eax, al
test eax, eax
jne 0x479a0c
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x2c]
call fcn.0047741f
add esp, 0xc
jmp 0x479a28
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x2c]
je 0x479a28
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.0045cb10
add esp, 0x10
pop esi
leave
ret 0xc