Function at 0x49c55c
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x22f
push 0
push 0
dec ecx
jne 0x49c564
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 4]
call fcn.00405a64
lea ebx, [ebp - 0x10d4]
xor eax, eax
push ebp
push 0x49e73e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x49e6f3
lea edx, [ebp - 0x1130]
mov eax, dword [ebp - 4]
call fcn.0049aea4
mov edx, dword [ebp - 0x1130]
lea eax, [ebp - 4]
call fcn.0040567c
lea eax, [ebp - 0x112c]
push eax
call sub.kernel32.dll_GetLocalTime
xor eax, eax
mov dword [ebp - 0x90], eax
movzx eax, word [ebp - 0x112c]
mov word [ebp - 0x9a], ax
movzx eax, word [ebp - 0x112a]
mov word [ebp - 0x9c], ax
movzx eax, word [ebp - 0x1126]
mov word [ebp - 0x9e], ax
movzx eax, word [ebp - 0x1124]
mov word [ebp - 0xa0], ax
movzx eax, word [ebp - 0x1122]
movzx edx, word [ebp - 0x1120]
mov word [ebp - 0xa2], dx
movzx edx, word [ebp - 0x111e]
mov word [ebp - 0xa4], dx
movzx edx, ax
cmp edx, dword [ebp - 0x90]
jl 0x49c63d
sub ax, word [ebp - 0x90]
jmp 0x49c796
movzx edx, word [ebp - 0xa0]
imul edx, edx, 0x3c
cmp edx, dword [ebp - 0x90]
jl 0x49c6a2
movzx eax, word [ebp - 0xa0]
imul eax, eax, 0x3c
sub eax, dword [ebp - 0x90]
cdq
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
push 0
push 0x3c
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xac]
call fcn.00406704
mov word [ebp - 0xa0], ax
push 0
push 0x3c
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xac]
call fcn.00406798
jmp 0x49c796
movzx edx, word [ebp - 0x9e]
dec edx
add edx, edx
add edx, edx
add edx, edx
lea edx, [edx + edx*2]
imul edx, edx, 0x3c
movzx ecx, word [ebp - 0xa0]
imul ecx, ecx, 0x3c
add edx, ecx
cmp edx, dword [ebp - 0x90]
jl 0x49c796
movzx eax, word [ebp - 0x9e]
dec eax
add eax, eax
add eax, eax
add eax, eax
lea eax, [eax + eax*2]
imul eax, eax, 0x3c
movzx edx, word [ebp - 0xa0]
imul edx, edx, 0x3c
add eax, edx
sub eax, dword [ebp - 0x90]
cdq
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
push 0
push 0x18
push 0
push 0x3c
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xac]
call fcn.00406704
call fcn.00406704
mov word [ebp - 0x9e], ax
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xac]
push edx
push eax
movzx eax, word [ebp - 0x9e]
add eax, eax
add eax, eax
add eax, eax
lea eax, [eax + eax*2]
imul eax, eax, 0x3c
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
push 0
push 0x3c
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xac]
call fcn.00406704
mov word [ebp - 0xa0], ax
inc word [ebp - 0x9e]
push 0
push 0x3c
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xac]
call fcn.00406798
movzx edx, word [ebp - 0x9a]
movzx ecx, word [ebp - 0x9c]
add edx, ecx
movzx ecx, word [ebp - 0x9e]
add edx, ecx
movzx ecx, word [ebp - 0xa0]
add edx, ecx
movzx eax, ax
add edx, eax
mov dword [ebp - 0x8c], edx
lea eax, [ebp - 8]
call fcn.004055e4
mov eax, dword [ebp - 4]
test eax, eax
je 0x49c7d7
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x6c]
call fcn.00405d04
mov eax, ebx
mov ecx, 0xff
mov edx, 0x1000
call fcn.00403e38
lea eax, [ebp - 0x111c]
mov ecx, 0xff
mov edx, 0x48
call fcn.00403e38
lea edx, [ebp - 0x1134]
mov eax, dword [ebp - 0x8c]
call fcn.0040cd7c
mov eax, dword [ebp - 0x1134]
lea edx, [ebp - 0xd4]
call fcn.0048fd04
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov edx, 8
call fcn.00403e38
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0xd4]
mov ecx, 8
call fcn.004035b8
mov esi, 0x40
mov ecx, 8
mov eax, esi
xor edx, edx
div ecx
mov esi, eax
mov edx, ebx
mov eax, dword [0x588f88]
mov ecx, 0x1000
call fcn.004035b8
lea edx, [ebp - 0x111c]
mov eax, dword [0x588cdc]
mov ecx, 0x48
call fcn.004035b8
xor eax, eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x70], 0x12
lea eax, [ebp - 0x111c]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x60]
add eax, 3
xor edx, edx
div esi
movzx ecx, byte [ebp + edx - 0x5c]
mov eax, dword [ebp - 0x60]
add eax, 2
xor edx, edx
div esi
movzx eax, byte [ebp + edx - 0x5c]
shl eax, 8
add ecx, eax
mov eax, dword [ebp - 0x60]
inc eax
xor edx, edx
div esi
movzx eax, byte [ebp + edx - 0x5c]
shl eax, 0x10
add ecx, eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [ebp + eax - 0x5c]
shl eax, 0x18
add ecx, eax
mov eax, dword [ebp - 0xc0]
xor dword [eax], ecx
mov eax, dword [ebp - 0x60]
add eax, 4
xor edx, edx
div esi
mov dword [ebp - 0x60], edx
add dword [ebp - 0xc0], 4
dec dword [ebp - 0x70]
jne 0x49c89f
lea eax, [ebp - 0x68]
xor ecx, ecx
mov edx, 8
call fcn.00403e38
mov dword [ebp - 0x70], 9
lea eax, [ebp - 0x111c]
mov dword [ebp - 0xc0], eax
lea edx, [ebp - 0x68]
mov ecx, edx
mov eax, dword [ecx]
add edx, 4
mov edx, dword [edx]
mov esi, eax
and esi, 0xff
shl esi, 0x18
mov edi, eax
and edi, 0xff00
shl edi, 8
or esi, edi
mov edi, eax
and edi, 0xff0000
shr edi, 8
or esi, edi
and eax, 0xff000000
shr eax, 0x18
or esi, eax
mov eax, esi
mov esi, edx
and esi, 0xff
shl esi, 0x18
mov edi, edx
and edi, 0xff00
shl edi, 8
or esi, edi
mov edi, edx
and edi, 0xff0000
shr edi, 8
or esi, edi
and edx, 0xff000000
shr edx, 0x18
or esi, edx
mov edx, esi
xor eax, dword [ebp - 0x111c]
mov esi, eax
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, eax
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, eax
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, eax
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor edx, esi
xor edx, dword [ebp - 0x1118]
mov esi, edx
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, edx
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, edx
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, edx
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor eax, esi
xor eax, dword [ebp - 0x1114]
mov esi, eax
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, eax
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, eax
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, eax
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor edx, esi
xor edx, dword [ebp - 0x1110]
mov esi, edx
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, edx
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, edx
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, edx
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor eax, esi
xor eax, dword [ebp - 0x110c]
mov esi, eax
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, eax
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, eax
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, eax
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor edx, esi
xor edx, dword [ebp - 0x1108]
mov esi, edx
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, edx
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, edx
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, edx
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor eax, esi
xor eax, dword [ebp - 0x1104]
mov esi, eax
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, eax
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, eax
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, eax
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor edx, esi
xor edx, dword [ebp - 0x1100]
mov esi, edx
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, edx
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, edx
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, edx
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor eax, esi
xor eax, dword [ebp - 0x10fc]
mov esi, eax
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, eax
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, eax
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, eax
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor edx, esi
xor edx, dword [ebp - 0x10f8]
mov esi, edx
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, edx
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, edx
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, edx
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor eax, esi
xor eax, dword [ebp - 0x10f4]
mov esi, eax
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, eax
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, eax
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, eax
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor edx, esi
xor edx, dword [ebp - 0x10f0]
mov esi, edx
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, edx
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, edx
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, edx
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor eax, esi
xor eax, dword [ebp - 0x10ec]
mov esi, eax
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, eax
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, eax
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, eax
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor edx, esi
xor edx, dword [ebp - 0x10e8]
mov esi, edx
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, edx
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, edx
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, edx
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor eax, esi
xor eax, dword [ebp - 0x10e4]
mov esi, eax
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, eax
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, eax
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, eax
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor edx, esi
xor edx, dword [ebp - 0x10e0]
mov esi, edx
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, edx
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, edx
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, edx
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor eax, esi
xor eax, dword [ebp - 0x10dc]
xor edx, dword [ebp - 0x10d8]
mov esi, eax
and esi, 0xff
shl esi, 0x18
mov edi, eax
and edi, 0xff00
shl edi, 8
or esi, edi
mov edi, eax
and edi, 0xff0000
shr edi, 8
or esi, edi
and eax, 0xff000000
shr eax, 0x18
or esi, eax
mov eax, esi
mov esi, edx
and esi, 0xff
shl esi, 0x18
mov edi, edx
and edi, 0xff00
shl edi, 8
or esi, edi
mov edi, edx
and edi, 0xff0000
shr edi, 8
or esi, edi
and edx, 0xff000000
shr edx, 0x18
or esi, edx
mov edx, esi
mov dword [ecx], edx
lea edx, [ebp - 0x68]
add edx, 4
mov dword [edx], eax
movzx eax, byte [ebp - 0x65]
movzx edx, byte [ebp - 0x66]
shl edx, 8
add eax, edx
movzx edx, byte [ebp - 0x67]
shl edx, 0x10
add eax, edx
movzx edx, byte [ebp - 0x68]
shl edx, 0x18
add eax, edx
mov edx, dword [ebp - 0xc0]
mov dword [edx], eax
movzx eax, byte [ebp - 0x61]
movzx edx, byte [ebp - 0x62]
shl edx, 8
add eax, edx
movzx edx, byte [ebp - 0x63]
shl edx, 0x10
add eax, edx
movzx edx, byte [ebp - 0x64]
shl edx, 0x18
add eax, edx
mov edx, dword [ebp - 0xc0]
mov dword [edx + 4], eax
add dword [ebp - 0xc0], 8
dec dword [ebp - 0x70]
jne 0x49c924
mov dword [ebp - 0x60], 4
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0x70], 0x80
mov eax, dword [ebp - 0xc0]
mov ecx, eax
lea edx, [ebp - 0x68]
mov eax, dword [edx]
add edx, 4
mov edx, dword [edx]
mov esi, eax
and esi, 0xff
shl esi, 0x18
mov edi, eax
and edi, 0xff00
shl edi, 8
or esi, edi
mov edi, eax
and edi, 0xff0000
shr edi, 8
or esi, edi
and eax, 0xff000000
shr eax, 0x18
or esi, eax
mov eax, esi
mov esi, edx
and esi, 0xff
shl esi, 0x18
mov edi, edx
and edi, 0xff00
shl edi, 8
or esi, edi
mov edi, edx
and edi, 0xff0000
shr edi, 8
or esi, edi
and edx, 0xff000000
shr edx, 0x18
or esi, edx
mov edx, esi
xor eax, dword [ebp - 0x111c]
mov esi, eax
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, eax
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, eax
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, eax
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor edx, esi
xor edx, dword [ebp - 0x1118]
mov esi, edx
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, edx
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, edx
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, edx
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor eax, esi
xor eax, dword [ebp - 0x1114]
mov esi, eax
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, eax
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, eax
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, eax
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor edx, esi
xor edx, dword [ebp - 0x1110]
mov esi, edx
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, edx
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, edx
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, edx
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor eax, esi
xor eax, dword [ebp - 0x110c]
mov esi, eax
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, eax
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, eax
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, eax
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor edx, esi
xor edx, dword [ebp - 0x1108]
mov esi, edx
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, edx
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, edx
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, edx
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor eax, esi
xor eax, dword [ebp - 0x1104]
mov esi, eax
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, eax
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, eax
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, eax
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor edx, esi
xor edx, dword [ebp - 0x1100]
mov esi, edx
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, edx
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, edx
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, edx
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor eax, esi
xor eax, dword [ebp - 0x10fc]
mov esi, eax
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, eax
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, eax
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, eax
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor edx, esi
xor edx, dword [ebp - 0x10f8]
mov esi, edx
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, edx
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, edx
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, edx
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor eax, esi
xor eax, dword [ebp - 0x10f4]
mov esi, eax
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, eax
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, eax
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, eax
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor edx, esi
xor edx, dword [ebp - 0x10f0]
mov esi, edx
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, edx
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, edx
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, edx
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor eax, esi
xor eax, dword [ebp - 0x10ec]
mov esi, eax
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, eax
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, eax
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, eax
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor edx, esi
xor edx, dword [ebp - 0x10e8]
mov esi, edx
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, edx
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, edx
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, edx
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor eax, esi
xor eax, dword [ebp - 0x10e4]
mov esi, eax
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, eax
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, eax
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, eax
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor edx, esi
xor edx, dword [ebp - 0x10e0]
mov esi, edx
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, edx
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, edx
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, edx
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor eax, esi
xor eax, dword [ebp - 0x10dc]
xor edx, dword [ebp - 0x10d8]
mov esi, eax
and esi, 0xff
shl esi, 0x18
mov edi, eax
and edi, 0xff00
shl edi, 8
or esi, edi
mov edi, eax
and edi, 0xff0000
shr edi, 8
or esi, edi
and eax, 0xff000000
shr eax, 0x18
or esi, eax
mov eax, esi
mov esi, edx
and esi, 0xff
shl esi, 0x18
mov edi, edx
and edi, 0xff00
shl edi, 8
or esi, edi
mov edi, edx
and edi, 0xff0000
shr edi, 8
or esi, edi
and edx, 0xff000000
shr edx, 0x18
or esi, edx
mov edx, esi
lea esi, [ebp - 0x68]
mov dword [esi], edx
lea edx, [ebp - 0x68]
add edx, 4
mov dword [edx], eax
movzx eax, byte [ebp - 0x65]
movzx edx, byte [ebp - 0x66]
shl edx, 8
add eax, edx
movzx edx, byte [ebp - 0x67]
shl edx, 0x10
add eax, edx
movzx edx, byte [ebp - 0x68]
shl edx, 0x18
add eax, edx
mov dword [ecx], eax
movzx eax, byte [ebp - 0x61]
movzx edx, byte [ebp - 0x62]
shl edx, 8
add eax, edx
movzx edx, byte [ebp - 0x63]
shl edx, 0x10
add eax, edx
movzx edx, byte [ebp - 0x64]
shl edx, 0x18
add eax, edx
mov dword [ecx + 4], eax
add ecx, 8
dec dword [ebp - 0x70]
jne 0x49cf17
add dword [ebp - 0xc0], 0x400
dec dword [ebp - 0x60]
jne 0x49cf08
lea eax, [ebp - 8]
call fcn.00405ad4
mov dword [ebp - 0x54], eax
lea eax, [ebp - 4]
call fcn.00405ad4
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x88]
mov ecx, 0xff
mov edx, 8
call fcn.00403e38
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x6c]
test eax, eax
jns 0x49d533
add eax, 7
sar eax, 3
test eax, eax
jbe 0x49db48
mov dword [ebp - 0xb8], eax
mov edx, dword [ebp - 0x78]
mov esi, dword [ebp - 0x74]
mov eax, esi
mov ecx, 8
call fcn.004035b8
lea edx, [ebp - 0x80]
mov eax, esi
mov ecx, 8
call fcn.004035b8
mov ecx, dword [ebp - 0x78]
mov eax, dword [ecx]
mov edx, dword [ebp - 0x78]
add edx, 4
mov edx, dword [edx]
mov esi, eax
shr esi, 0x18
mov edi, eax
shr edi, 8
and edi, 0xff00
or esi, edi
mov edi, eax
shl edi, 8
and edi, 0xff0000
or esi, edi
shl eax, 0x18
or esi, eax
mov eax, esi
mov esi, edx
shr esi, 0x18
mov edi, edx
shr edi, 8
and edi, 0xff00
or esi, edi
mov edi, edx
shl edi, 8
and edi, 0xff0000
or esi, edi
shl edx, 0x18
or esi, edx
mov edx, esi
xor eax, dword [ebp - 0x10d8]
mov esi, eax
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, eax
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, eax
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, eax
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor edx, esi
xor edx, dword [ebp - 0x10dc]
mov esi, edx
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, edx
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, edx
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, edx
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor eax, esi
xor eax, dword [ebp - 0x10e0]
mov esi, eax
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, eax
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, eax
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, eax
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor edx, esi
xor edx, dword [ebp - 0x10e4]
mov esi, edx
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, edx
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, edx
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, edx
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor eax, esi
xor eax, dword [ebp - 0x10e8]
mov esi, eax
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, eax
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, eax
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, eax
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor edx, esi
xor edx, dword [ebp - 0x10ec]
mov esi, edx
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, edx
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, edx
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, edx
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor eax, esi
xor eax, dword [ebp - 0x10f0]
mov esi, eax
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, eax
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, eax
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, eax
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor edx, esi
xor edx, dword [ebp - 0x10f4]
mov esi, edx
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, edx
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, edx
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, edx
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor eax, esi
xor eax, dword [ebp - 0x10f8]
mov esi, eax
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, eax
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, eax
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, eax
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor edx, esi
xor edx, dword [ebp - 0x10fc]
mov esi, edx
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, edx
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, edx
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, edx
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor eax, esi
xor eax, dword [ebp - 0x1100]
mov esi, eax
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, eax
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, eax
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, eax
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor edx, esi
xor edx, dword [ebp - 0x1104]
mov esi, edx
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, edx
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, edx
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, edx
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor eax, esi
xor eax, dword [ebp - 0x1108]
mov esi, eax
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, eax
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, eax
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, eax
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor edx, esi
xor edx, dword [ebp - 0x110c]
mov esi, edx
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, edx
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, edx
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, edx
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor eax, esi
xor eax, dword [ebp - 0x1110]
mov esi, eax
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, eax
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, eax
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, eax
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor edx, esi
xor edx, dword [ebp - 0x1114]
mov esi, edx
shr esi, 0x18
and esi, 0xff
mov esi, dword [ebx + esi*4]
mov edi, edx
shr edi, 0x10
and edi, 0xff
add esi, dword [ebx + edi*4 + 0x400]
mov edi, edx
shr edi, 8
and edi, 0xff
xor esi, dword [ebx + edi*4 + 0x800]
mov edi, edx
and edi, 0xff
add esi, dword [ebx + edi*4 + 0xc00]
xor eax, esi
xor eax, dword [ebp - 0x1118]
xor edx, dword [ebp - 0x111c]
mov esi, eax
shr esi, 0x18
mov edi, eax
shr edi, 8
and edi, 0xff00
or esi, edi
mov edi, eax
shl edi, 8
and edi, 0xff0000
or esi, edi
shl eax, 0x18
or esi, eax
mov eax, esi
mov esi, edx
shr esi, 0x18
mov edi, edx
shr edi, 8
and edi, 0xff00
or esi, edi
mov edi, edx
shl edi, 8
and edi, 0xff0000
or esi, edi
shl edx, 0x18
or esi, edx
mov edx, esi
mov dword [ecx], edx
mov edx, dword [ebp - 0x78]
add edx, 4
mov dword [edx], eax
mov ecx, 1
mov eax, dword [ebp - 0x78]
cdq
push edx
push eax
mov eax, ecx
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
sub eax, 1
sbb edx, 0
movzx eax, byte [eax]
push eax
lea eax, [ebp - 0x88]
cdq
push edx
push eax
mov eax, ecx
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
sub eax, 1
sbb edx, 0
pop edx
xor dl, byte [eax]
push edx
mov eax, dword [ebp - 0x78]
cdq
push edx
push eax
mov eax, ecx
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
sub eax, 1
sbb edx, 0
pop edx
mov byte [eax], dl
inc ecx
cmp ecx, 9
jne 0x49dab5
lea edx, [ebp - 0x88]
lea eax, [ebp - 0x80]
mov ecx, 8
call fcn.004035b8
mov eax, dword [ebp - 0x74]
add eax, 8
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x78]
add eax, 8
mov dword [ebp - 0x78], eax
dec dword [ebp - 0xb8]
jne 0x49d544
mov eax, dword [ebp - 0x6c]
and eax, 0x80000007
jns 0x49db57
dec eax
or eax, 0xfffffff8
inc eax
test eax, eax
je 0x49e187
lea eax, [ebp - 0x88]
mov eax, dword [eax]
lea edx, [ebp - 0x88]
add edx, 4
mov edx, dword [edx]
mov ecx, eax
and ecx, 0xff
shl ecx, 0x18
mov esi, eax
and esi, 0xff00
shl esi, 8
or ecx, esi
mov esi, eax
and esi, 0xff0000
shr esi, 8
or ecx, esi
and eax, 0xff000000
shr eax, 0x18
or ecx, eax
mov eax, ecx
mov ecx, edx
and ecx, 0xff
shl ecx, 0x18
mov esi, edx
and esi, 0xff00
shl esi, 8
or ecx, esi
mov esi, edx
and esi, 0xff0000
shr esi, 8
or ecx, esi
and edx, 0xff000000
shr edx, 0x18
or ecx, edx
mov edx, ecx
xor eax, dword [ebp - 0x111c]
mov ecx, eax
shr ecx, 0x18
and ecx, 0xff
mov ecx, dword [ebx + ecx*4]
mov esi, eax
shr esi, 0x10
and esi, 0xff
add ecx, dword [ebx + esi*4 + 0x400]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ecx, dword [ebx + esi*4 + 0x800]
mov esi, eax
and esi, 0xff
add ecx, dword [ebx + esi*4 + 0xc00]
xor edx, ecx
xor edx, dword [ebp - 0x1118]
mov ecx, edx
shr ecx, 0x18
and ecx, 0xff
mov ecx, dword [ebx + ecx*4]
mov esi, edx
shr esi, 0x10
and esi, 0xff
add ecx, dword [ebx + esi*4 + 0x400]
mov esi, edx
shr esi, 8
and esi, 0xff
xor ecx, dword [ebx + esi*4 + 0x800]
mov esi, edx
and esi, 0xff
add ecx, dword [ebx + esi*4 + 0xc00]
xor eax, ecx
xor eax, dword [ebp - 0x1114]
mov ecx, eax
shr ecx, 0x18
and ecx, 0xff
mov ecx, dword [ebx + ecx*4]
mov esi, eax
shr esi, 0x10
and esi, 0xff
add ecx, dword [ebx + esi*4 + 0x400]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ecx, dword [ebx + esi*4 + 0x800]
mov esi, eax
and esi, 0xff
add ecx, dword [ebx + esi*4 + 0xc00]
xor edx, ecx
xor edx, dword [ebp - 0x1110]
mov ecx, edx
shr ecx, 0x18
and ecx, 0xff
mov ecx, dword [ebx + ecx*4]
mov esi, edx
shr esi, 0x10
and esi, 0xff
add ecx, dword [ebx + esi*4 + 0x400]
mov esi, edx
shr esi, 8
and esi, 0xff
xor ecx, dword [ebx + esi*4 + 0x800]
mov esi, edx
and esi, 0xff
add ecx, dword [ebx + esi*4 + 0xc00]
xor eax, ecx
xor eax, dword [ebp - 0x110c]
mov ecx, eax
shr ecx, 0x18
and ecx, 0xff
mov ecx, dword [ebx + ecx*4]
mov esi, eax
shr esi, 0x10
and esi, 0xff
add ecx, dword [ebx + esi*4 + 0x400]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ecx, dword [ebx + esi*4 + 0x800]
mov esi, eax
and esi, 0xff
add ecx, dword [ebx + esi*4 + 0xc00]
xor edx, ecx
xor edx, dword [ebp - 0x1108]
mov ecx, edx
shr ecx, 0x18
and ecx, 0xff
mov ecx, dword [ebx + ecx*4]
mov esi, edx
shr esi, 0x10
and esi, 0xff
add ecx, dword [ebx + esi*4 + 0x400]
mov esi, edx
shr esi, 8
and esi, 0xff
xor ecx, dword [ebx + esi*4 + 0x800]
mov esi, edx
and esi, 0xff
add ecx, dword [ebx + esi*4 + 0xc00]
xor eax, ecx
xor eax, dword [ebp - 0x1104]
mov ecx, eax
shr ecx, 0x18
and ecx, 0xff
mov ecx, dword [ebx + ecx*4]
mov esi, eax
shr esi, 0x10
and esi, 0xff
add ecx, dword [ebx + esi*4 + 0x400]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ecx, dword [ebx + esi*4 + 0x800]
mov esi, eax
and esi, 0xff
add ecx, dword [ebx + esi*4 + 0xc00]
xor edx, ecx
xor edx, dword [ebp - 0x1100]
mov ecx, edx
shr ecx, 0x18
and ecx, 0xff
mov ecx, dword [ebx + ecx*4]
mov esi, edx
shr esi, 0x10
and esi, 0xff
add ecx, dword [ebx + esi*4 + 0x400]
mov esi, edx
shr esi, 8
and esi, 0xff
xor ecx, dword [ebx + esi*4 + 0x800]
mov esi, edx
and esi, 0xff
add ecx, dword [ebx + esi*4 + 0xc00]
xor eax, ecx
xor eax, dword [ebp - 0x10fc]
mov ecx, eax
shr ecx, 0x18
and ecx, 0xff
mov ecx, dword [ebx + ecx*4]
mov esi, eax
shr esi, 0x10
and esi, 0xff
add ecx, dword [ebx + esi*4 + 0x400]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ecx, dword [ebx + esi*4 + 0x800]
mov esi, eax
and esi, 0xff
add ecx, dword [ebx + esi*4 + 0xc00]
xor edx, ecx
xor edx, dword [ebp - 0x10f8]
mov ecx, edx
shr ecx, 0x18
and ecx, 0xff
mov ecx, dword [ebx + ecx*4]
mov esi, edx
shr esi, 0x10
and esi, 0xff
add ecx, dword [ebx + esi*4 + 0x400]
mov esi, edx
shr esi, 8
and esi, 0xff
xor ecx, dword [ebx + esi*4 + 0x800]
mov esi, edx
and esi, 0xff
add ecx, dword [ebx + esi*4 + 0xc00]
xor eax, ecx
xor eax, dword [ebp - 0x10f4]
mov ecx, eax
shr ecx, 0x18
and ecx, 0xff
mov ecx, dword [ebx + ecx*4]
mov esi, eax
shr esi, 0x10
and esi, 0xff
add ecx, dword [ebx + esi*4 + 0x400]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ecx, dword [ebx + esi*4 + 0x800]
mov esi, eax
and esi, 0xff
add ecx, dword [ebx + esi*4 + 0xc00]
xor edx, ecx
xor edx, dword [ebp - 0x10f0]
mov ecx, edx
shr ecx, 0x18
and ecx, 0xff
mov ecx, dword [ebx + ecx*4]
mov esi, edx
shr esi, 0x10
and esi, 0xff
add ecx, dword [ebx + esi*4 + 0x400]
mov esi, edx
shr esi, 8
and esi, 0xff
xor ecx, dword [ebx + esi*4 + 0x800]
mov esi, edx
and esi, 0xff
add ecx, dword [ebx + esi*4 + 0xc00]
xor eax, ecx
xor eax, dword [ebp - 0x10ec]
mov ecx, eax
shr ecx, 0x18
and ecx, 0xff
mov ecx, dword [ebx + ecx*4]
mov esi, eax
shr esi, 0x10
and esi, 0xff
add ecx, dword [ebx + esi*4 + 0x400]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ecx, dword [ebx + esi*4 + 0x800]
mov esi, eax
and esi, 0xff
add ecx, dword [ebx + esi*4 + 0xc00]
xor edx, ecx
xor edx, dword [ebp - 0x10e8]
mov ecx, edx
shr ecx, 0x18
and ecx, 0xff
mov ecx, dword [ebx + ecx*4]
mov esi, edx
shr esi, 0x10
and esi, 0xff
add ecx, dword [ebx + esi*4 + 0x400]
mov esi, edx
shr esi, 8
and esi, 0xff
xor ecx, dword [ebx + esi*4 + 0x800]
mov esi, edx
and esi, 0xff
add ecx, dword [ebx + esi*4 + 0xc00]
xor eax, ecx
xor eax, dword [ebp - 0x10e4]
mov ecx, eax
shr ecx, 0x18
and ecx, 0xff
mov ecx, dword [ebx + ecx*4]
mov esi, eax
shr esi, 0x10
and esi, 0xff
add ecx, dword [ebx + esi*4 + 0x400]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ecx, dword [ebx + esi*4 + 0x800]
mov esi, eax
and esi, 0xff
add ecx, dword [ebx + esi*4 + 0xc00]
xor edx, ecx
xor edx, dword [ebp - 0x10e0]
mov ecx, edx
shr ecx, 0x18
and ecx, 0xff
mov ecx, dword [ebx + ecx*4]
mov esi, edx
shr esi, 0x10
and esi, 0xff
add ecx, dword [ebx + esi*4 + 0x400]
mov esi, edx
shr esi, 8
and esi, 0xff
xor ecx, dword [ebx + esi*4 + 0x800]
mov esi, edx
and esi, 0xff
add ecx, dword [ebx + esi*4 + 0xc00]
xor eax, ecx
xor eax, dword [ebp - 0x10dc]
xor edx, dword [ebp - 0x10d8]
mov ecx, eax
and ecx, 0xff
shl ecx, 0x18
mov esi, eax
and esi, 0xff00
shl esi, 8
or ecx, esi
mov esi, eax
and esi, 0xff0000
shr esi, 8
or ecx, esi
and eax, 0xff000000
shr eax, 0x18
or ecx, eax
mov eax, ecx
mov ecx, edx
and ecx, 0xff
shl ecx, 0x18
mov esi, edx
and esi, 0xff00
shl esi, 8
or ecx, esi
mov esi, edx
and esi, 0xff0000
shr esi, 8
or ecx, esi
and edx, 0xff000000
shr edx, 0x18
or ecx, edx
mov edx, ecx
lea ecx, [ebp - 0x88]
mov dword [ecx], edx
lea edx, [ebp - 0x88]
add edx, 4
mov dword [edx], eax
mov ecx, dword [ebp - 0x6c]
and ecx, 0x80000007
jns 0x49e0f7
dec ecx
or ecx, 0xfffffff8
inc ecx
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x74]
call fcn.004035b8
mov ecx, 8
mov eax, dword [ebp - 0x6c]
cdq
idiv ecx
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x6c]
test eax, eax
jbe 0x49e187
mov dword [ebp - 0xb8], eax
mov ecx, 1
mov eax, dword [ebp - 0x78]
cdq
push edx
push eax
mov eax, ecx
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
sub eax, 1
sbb edx, 0
movzx eax, byte [eax]
push eax
lea eax, [ebp - 0x88]
cdq
push edx
push eax
mov eax, ecx
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
sub eax, 1
sbb edx, 0
pop edx
xor dl, byte [eax]
push edx
mov eax, dword [ebp - 0x78]
cdq
push edx
push eax
mov eax, ecx
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
sub eax, 1
sbb edx, 0
pop edx
mov byte [eax], dl
inc ecx
dec dword [ebp - 0xb8]
jne 0x49e122
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040567c
mov eax, dword [ebp - 4]
cmp byte [eax], 0x23
je 0x49e19e
mov al, 1
jmp 0x49e1d2
mov eax, dword [ebp - 4]
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0
je 0x49e1c1
mov eax, dword [ebp - 0xbc]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xbc]
cmp byte [eax + edx - 1], 0x21
setne al
test al, al
jne 0x49e6e0
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x49e1e6
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 4]
push eax
mov ecx, ebx
sub ecx, 2
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00405adc
push 1
lea eax, [ebp - 0x1138]
push eax
mov byte [ebp - 0x113c], 9
mov byte [ebp - 0x113b], 0x7c
lea ecx, [ebp - 0x113c]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0049c3a4
mov edx, dword [ebp - 0x1138]
lea eax, [ebp - 4]
call fcn.0040567c
push 1
lea eax, [ebp - 0x1140]
push eax
mov byte [ebp - 0x113c], 9
mov byte [ebp - 0x113b], 0x7c
lea ecx, [ebp - 0x113c]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0049c3a4
mov edx, dword [ebp - 0x1140]
lea eax, [ebp - 4]
call fcn.0040567c
push 1
lea eax, [ebp - 0x1144]
push eax
mov byte [ebp - 0x113c], 9
mov byte [ebp - 0x113b], 0x7c
lea ecx, [ebp - 0x113c]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0049c3a4
mov edx, dword [ebp - 0x1144]
lea eax, [ebp - 4]
call fcn.0040567c
push 1
lea eax, [ebp - 0x1148]
push eax
mov byte [ebp - 0x113c], 9
mov byte [ebp - 0x113b], 0x7c
lea ecx, [ebp - 0x113c]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049c3a4
mov edx, dword [ebp - 0x1148]
lea eax, [ebp - 4]
call fcn.0040567c
push 1
lea eax, [ebp - 0x114c]
push eax
mov byte [ebp - 0x113c], 9
mov byte [ebp - 0x113b], 0x7c
lea ecx, [ebp - 0x113c]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0049c3a4
mov edx, dword [ebp - 0x114c]
lea eax, [ebp - 4]
call fcn.0040567c
push 1
lea eax, [ebp - 0x1150]
push eax
mov byte [ebp - 0x113c], 9
mov byte [ebp - 0x113b], 0x7c
lea ecx, [ebp - 0x113c]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.0049c3a4
mov edx, dword [ebp - 0x1150]
lea eax, [ebp - 4]
call fcn.0040567c
push 1
lea eax, [ebp - 0x1154]
push eax
mov byte [ebp - 0x113c], 9
mov byte [ebp - 0x113b], 0x7c
lea ecx, [ebp - 0x113c]
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.0049c3a4
mov edx, dword [ebp - 0x1154]
lea eax, [ebp - 4]
call fcn.0040567c
push 1
lea eax, [ebp - 0x1158]
push eax
mov byte [ebp - 0x113c], 9
mov byte [ebp - 0x113b], 0x7c
lea ecx, [ebp - 0x113c]
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0049c3a4
mov edx, dword [ebp - 0x1158]
lea eax, [ebp - 4]
call fcn.0040567c
push 1
lea eax, [ebp - 0x115c]
push eax
mov byte [ebp - 0x113c], 9
mov byte [ebp - 0x113b], 0x7c
lea ecx, [ebp - 0x113c]
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.0049c3a4
mov edx, dword [ebp - 0x115c]
lea eax, [ebp - 4]
call fcn.0040567c
push 1
lea eax, [ebp - 0x1160]
push eax
mov byte [ebp - 0x113c], 9
mov byte [ebp - 0x113b], 0x7c
lea ecx, [ebp - 0x113c]
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
call fcn.0049c3a4
mov edx, dword [ebp - 0x1160]
lea eax, [ebp - 4]
call fcn.0040567c
or edx, 0xffffffff
mov eax, dword [ebp - 0x1c]
call fcn.0040cf24
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x10], 0
je 0x49e6f3
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x10]
call fcn.0040567c
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x10]
call fcn.0040567c
push 0
lea eax, [ebp - 0x1164]
push eax
mov byte [ebp - 0x1168], 0x2f
lea ecx, [ebp - 0x1168]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0049c3a4
mov edx, dword [ebp - 0x1164]
lea eax, [ebp - 4]
call fcn.0040567c
push 0
lea eax, [ebp - 0x116c]
push eax
mov byte [ebp - 0x1168], 0x2f
lea ecx, [ebp - 0x1168]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.0049c3a4
mov edx, dword [ebp - 0x116c]
lea eax, [ebp - 4]
call fcn.0040567c
lea eax, [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.0040567c
push 0
lea eax, [ebp - 0x1170]
push eax
mov byte [ebp - 0x1168], 0x2f
lea ecx, [ebp - 0x1168]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0049c3a4
mov edx, dword [ebp - 0x1170]
lea eax, [ebp - 4]
call fcn.0040567c
push 0
lea eax, [ebp - 0x1174]
push eax
mov byte [ebp - 0x1168], 0x2f
lea ecx, [ebp - 0x1168]
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.0049c3a4
mov edx, dword [ebp - 0x1174]
lea eax, [ebp - 4]
call fcn.0040567c
mov dl, 1
mov eax, dword [0x49b9b8]
call fcn.0049baa4
mov ebx, eax
lea eax, [ebx + 8]
mov edx, dword [ebp - 0x4c]
mov edx, dword [edx + 8]
call fcn.00405638
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x4c]
call fcn.0049ea60
mov dword [ebx + 4], eax
lea eax, [ebx + 0x10]
mov edx, dword [ebp - 0x14]
call fcn.00405638
lea eax, [ebx + 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00405638
lea eax, [ebx + 0x14]
mov edx, dword [ebp - 0x18]
call fcn.00405638
mov eax, dword [ebp - 0x94]
mov dword [ebx + 0x18], eax
lea eax, [ebx + 0x1c]
mov edx, dword [ebp - 0x20]
call fcn.00405638
lea eax, [ebx + 0x20]
mov edx, dword [ebp - 0x24]
call fcn.00405638
mov eax, dword [ebp - 0x28]
mov edx, 0x49e754
call fcn.00405a0c
sete dl
mov eax, ebx
call fcn.0049e968
lea eax, [ebx + 0x40]
mov edx, dword [ebp - 0x34]
call fcn.00405638
xor edx, edx
mov eax, dword [ebp - 0x38]
call fcn.0040cf24
mov dword [ebx + 0x44], eax
xor edx, edx
mov eax, dword [ebp - 0x40]
call fcn.0040cf24
mov dword [ebx + 0x4c], eax
mov byte [ebx + 0x25], 0
mov eax, dword [ebx + 4]
movzx eax, byte [eax + 0x31]
mov byte [ebx + 0x31], al
xor edx, edx
mov eax, dword [ebp - 0x44]
call fcn.0040cf24
mov dword [ebx + 0x270], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x38]
mov dword [ebx + 0x34], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x38]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x38]
mov edx, dword [ebx + 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x38]
mov edx, dword [ebx + 4]
mov dword [edx + 0x38], eax
or edx, 0xffffffff
mov eax, dword [ebp - 0x2c]
call fcn.0040cf24
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
jl 0x49e636
cmp dword [ebp - 0x98], 0xff
jg 0x49e636
movzx eax, byte [ebp - 0x98]
call fcn.0049ba70
mov edx, dword [ebx + 4]
mov dword [edx + 0x34], eax
or edx, 0xffffffff
mov eax, dword [ebp - 0x30]
call fcn.0040cf24
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
jl 0x49e66d
cmp dword [ebp - 0x98], 0xff
jg 0x49e66d
movzx eax, byte [ebp - 0x98]
call fcn.0049ba70
mov dword [ebx + 0x38], eax
jmp 0x49e678
lea eax, [ebx + 0xc]
mov edx, dword [ebp - 0x48]
call fcn.00405638
cmp dword [ebx + 0x4c], 0
jle 0x49e6b9
lea edx, [ebp - 0x117c]
mov eax, dword [ebx + 0x18]
call fcn.0040cd7c
mov ecx, dword [ebp - 0x117c]
mov edx, dword [ebx + 0x14]
lea eax, [ebp - 0x1178]
call fcn.004058fc
mov edx, dword [ebp - 0x1178]
mov eax, dword [0x591b80]
mov ecx, dword [eax]
call dword [ecx + 0x54]
test eax, eax
jl 0x49e6b9
xor eax, eax
mov dword [ebx + 0x4c], eax
mov eax, dword [ebp - 0x28]
mov edx, 0x49e754
call fcn.00405a0c
sete dl
mov eax, dword [ebx + 4]
call fcn.0049e968
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov ecx, ebx
call fcn.0049ea48
jmp 0x49e6f3
inc dword [ebp - 0x90]
cmp dword [ebp - 0x90], 6
jne 0x49c5cb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e745
lea eax, [ebp - 0x117c]
mov edx, 5
call fcn.00405608
lea eax, [ebp - 0x1164]
mov edx, 0xa
call fcn.00405608
lea eax, [ebp - 0x1138]
mov edx, 3
call fcn.00405608
lea eax, [ebp - 0x48]
mov edx, 0x12
call fcn.00405608
ret