Function at 0x47ed4b
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.00410c10
mov eax, dword [ebp - 0xc]
add eax, 0x20
mov dword [ebp - 0x78], eax
push 0x120c
mov ecx, dword [ebp - 0x78]
call fcn.00411cc0
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.004678e0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 4], eax
call fcn.0047e330
movzx eax, al
test eax, eax
je 0x47ee32
call fcn.0047e350
movzx eax, al
test eax, eax
je 0x47ee32
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00480550
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 0x47ee2d
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.004804f0
pop ecx
pop ecx
jmp 0x47face
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.0047deaa
add esp, 0x14
mov dword [ebp - 0x18], 0x4b0eb0
xor eax, eax
inc eax
je 0x47f0ea
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 + 0x4b0cb0]
shl eax, 0x18
mov ecx, dword [ebp - 0x10]
shr ecx, 8
movzx ecx, cl
movzx ecx, byte [ecx + 0x4b0cb0]
shl ecx, 0x10
xor eax, ecx
mov ecx, dword [ebp - 0x10]
shr ecx, 0
movzx ecx, cl
movzx ecx, byte [ecx + 0x4b0cb0]
shl ecx, 8
xor eax, ecx
mov ecx, dword [ebp - 0x10]
shr ecx, 0x18
movzx ecx, cl
movzx ecx, byte [ecx + 0x4b0cb0]
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 0x47ef97
jmp 0x47f0ea
cmp dword [ebp + 0xc], 0x18
jne 0x47efea
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 0x47f0d6
cmp dword [ebp + 0xc], 0x20
jne 0x47f0d6
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 + 0x4b0cb0]
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 + 0x4b0cb0]
shl eax, 0x10
xor ecx, eax
mov eax, dword [ebp - 0x10]
shr eax, 8
movzx eax, al
movzx eax, byte [eax + 0x4b0cb0]
shl eax, 8
xor ecx, eax
mov eax, dword [ebp - 0x10]
shr eax, 0
movzx eax, al
movzx eax, byte [eax + 0x4b0cb0]
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 0x47ee53
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 0x47f1bc
movzx eax, byte [0x4d4a40]
test eax, eax
jne 0x47f11d
call fcn.0047e231
push 1
call fcn.0045ec60
pop ecx
movzx eax, al
test eax, eax
jne 0x47f13e
push 0x10
push dword [ebp - 4]
push dword [ebp - 4]
call fcn.00460080
add esp, 0xc
jmp 0x47f158
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 4]
je 0x47f158
push 0x10
push dword [ebp - 4]
push 0x10
push dword [ebp - 4]
call fcn.0047fae0
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.0045ec60
pop ecx
movzx eax, al
test eax, eax
jne 0x47f19d
push 0x10
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.00460080
add esp, 0xc
jmp 0x47f1b7
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x20]
je 0x47f1b7
push 0x10
push dword [ebp - 0x1c]
push 0x10
push dword [ebp - 0x20]
call fcn.0047fae0
add esp, 0x10
jmp 0x47fa65
movzx eax, byte [0x4d4a41]
test eax, eax
jne 0x47f1cc
call fcn.0047e020
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 0x47f1f7
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 0x47f626
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 + 0x4b0cb0]
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 + 0x4b0cb0]
mov eax, dword [eax*8 + 0x4d4244]
xor eax, dword [ecx*8 + 0x4d4241]
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 + 0x4b0cb0]
xor eax, dword [ecx*8 + 0x4d4242]
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 + 0x4b0cb0]
xor eax, dword [ecx*8 + 0x4d4243]
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 + 0x4b0cb0]
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 + 0x4b0cb0]
mov eax, dword [eax*8 + 0x4d4244]
xor eax, dword [ecx*8 + 0x4d4241]
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 + 0x4b0cb0]
xor eax, dword [ecx*8 + 0x4d4242]
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 + 0x4b0cb0]
xor eax, dword [ecx*8 + 0x4d4243]
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 + 0x4b0cb0]
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 + 0x4b0cb0]
mov eax, dword [eax*8 + 0x4d4244]
xor eax, dword [ecx*8 + 0x4d4241]
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 + 0x4b0cb0]
xor eax, dword [ecx*8 + 0x4d4242]
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 + 0x4b0cb0]
xor eax, dword [ecx*8 + 0x4d4243]
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 + 0x4b0cb0]
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 + 0x4b0cb0]
mov eax, dword [eax*8 + 0x4d4244]
xor eax, dword [ecx*8 + 0x4d4241]
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 + 0x4b0cb0]
xor eax, dword [ecx*8 + 0x4d4242]
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 + 0x4b0cb0]
xor eax, dword [ecx*8 + 0x4d4243]
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 + 0x4b0cb0]
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 + 0x4b0cb0]
mov eax, dword [eax*8 + 0x4d4244]
xor eax, dword [ecx*8 + 0x4d4241]
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 + 0x4b0cb0]
xor eax, dword [ecx*8 + 0x4d4242]
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 + 0x4b0cb0]
xor eax, dword [ecx*8 + 0x4d4243]
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 + 0x4b0cb0]
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 + 0x4b0cb0]
mov eax, dword [eax*8 + 0x4d4244]
xor eax, dword [ecx*8 + 0x4d4241]
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 + 0x4b0cb0]
xor eax, dword [ecx*8 + 0x4d4242]
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 + 0x4b0cb0]
xor eax, dword [ecx*8 + 0x4d4243]
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 + 0x4b0cb0]
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 + 0x4b0cb0]
mov eax, dword [eax*8 + 0x4d4244]
xor eax, dword [ecx*8 + 0x4d4241]
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 + 0x4b0cb0]
xor eax, dword [ecx*8 + 0x4d4242]
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 + 0x4b0cb0]
xor eax, dword [ecx*8 + 0x4d4243]
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 + 0x4b0cb0]
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 + 0x4b0cb0]
mov eax, dword [eax*8 + 0x4d4244]
xor eax, dword [ecx*8 + 0x4d4241]
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 + 0x4b0cb0]
xor eax, dword [ecx*8 + 0x4d4242]
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 + 0x4b0cb0]
xor eax, dword [ecx*8 + 0x4d4243]
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 0x47f1e5
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 + 0x4b0cb0]
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 + 0x4b0cb0]
mov eax, dword [eax*8 + 0x4d4244]
xor eax, dword [ecx*8 + 0x4d4241]
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 + 0x4b0cb0]
xor eax, dword [ecx*8 + 0x4d4242]
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 + 0x4b0cb0]
xor eax, dword [ecx*8 + 0x4d4243]
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 + 0x4b0cb0]
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 + 0x4b0cb0]
mov eax, dword [eax*8 + 0x4d4244]
xor eax, dword [ecx*8 + 0x4d4241]
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 + 0x4b0cb0]
xor eax, dword [ecx*8 + 0x4d4242]
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 + 0x4b0cb0]
xor eax, dword [ecx*8 + 0x4d4243]
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 + 0x4b0cb0]
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 + 0x4b0cb0]
mov eax, dword [eax*8 + 0x4d4244]
xor eax, dword [ecx*8 + 0x4d4241]
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 + 0x4b0cb0]
xor eax, dword [ecx*8 + 0x4d4242]
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 + 0x4b0cb0]
xor eax, dword [ecx*8 + 0x4d4243]
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 + 0x4b0cb0]
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 + 0x4b0cb0]
mov eax, dword [eax*8 + 0x4d4244]
xor eax, dword [ecx*8 + 0x4d4241]
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 + 0x4b0cb0]
xor eax, dword [ecx*8 + 0x4d4242]
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 + 0x4b0cb0]
xor eax, dword [ecx*8 + 0x4d4243]
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.0045ec60
pop ecx
movzx eax, al
test eax, eax
je 0x47f84f
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
jmp 0x47f85b
push dword [ebp - 0x38]
call fcn.0045e1d0
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.0045ec60
pop ecx
movzx eax, al
test eax, eax
je 0x47f88a
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
jmp 0x47f896
push dword [ebp - 0x40]
call fcn.0045e1d0
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.0045ec60
pop ecx
movzx eax, al
test eax, eax
je 0x47f8dd
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
jmp 0x47f8e9
push dword [ebp - 0x48]
call fcn.0045e1d0
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.0045ec60
pop ecx
movzx eax, al
test eax, eax
je 0x47f919
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
jmp 0x47f925
push dword [ebp - 0x50]
call fcn.0045e1d0
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.0045ec60
pop ecx
movzx eax, al
test eax, eax
je 0x47f96c
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
jmp 0x47f978
push dword [ebp - 0x58]
call fcn.0045e1d0
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.0045ec60
pop ecx
movzx eax, al
test eax, eax
je 0x47f9a8
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
jmp 0x47f9b4
push dword [ebp - 0x60]
call fcn.0045e1d0
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.0045ec60
pop ecx
movzx eax, al
test eax, eax
je 0x47f9fb
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
jmp 0x47fa07
push dword [ebp - 0x68]
call fcn.0045e1d0
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.0045ec60
pop ecx
movzx eax, al
test eax, eax
je 0x47fa37
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
jmp 0x47fa43
push dword [ebp - 0x70]
call fcn.0045e1d0
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.0047e330
movzx eax, al
test eax, eax
je 0x47face
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.0045ec60
pop ecx
movzx eax, al
test eax, eax
jne 0x47fab2
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x2c]
call fcn.00460080
add esp, 0xc
jmp 0x47face
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x2c]
je 0x47face
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.0047fae0
add esp, 0x10
pop esi
leave
ret 0xc