Function at 0x10001d90
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10003c98
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x520
mov eax, dword [0x10009004]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x51c], ecx
mov dword [ebp - 0x508], ecx
mov dword [ebp - 4], 0
movups xmm0, xmmword [str.Keet96vUkMdJThac]
movzx eax, byte [0x1000754c]
mov byte [ebp - 0x20], al
movzx eax, byte [0x10007560]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x518], ecx
lea ecx, [ebp - 0x48]
movups xmm0, xmmword [str.ivnpFrICQCEKklCi]
mov byte [ebp - 0x4c], al
movups xmmword [ebp - 0x530], xmm0
movups xmmword [ebp - 0x5c], xmm0
call fcn.100011d0
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x504], esi
lea eax, [esi + 1]
push eax
call fcn.10003221
add esp, 4
mov ecx, eax
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
mov dword [ebp - 0x514], ecx
cmovae eax, dword [ebp - 0x48]
inc esi
push esi
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
push esi
call fcn.10003221
add esp, 0x10
mov ecx, eax
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
mov dword [ebp - 0x500], ecx
cmovae eax, dword [ebp - 0x48]
push esi
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov dword [ebp - method.AES.virtual_0], vtable.AES.0
mov byte [ebp - 0x4d4], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x5c]
movups xmm0, xmmword [ebp - 0x530]
push 0x10
push eax
lea eax, [ebp - 0xe4]
mov dword [ebp - 0x110], 0x10
push eax
mov dword [ebp - 0x10c], 0x10
movups xmmword [ebp - 0x104], xmm0
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x110]
add esp, 0x18
cmp eax, 0x10
je 0x10001f11
cmp eax, 0x18
mov eax, dword [ebp - 0x10c]
je 0x10001f07
mov ecx, 0xe
jmp 0x10001f30
xor ecx, ecx
cmp eax, 0x20
sete cl
jmp 0x10001f29
mov eax, dword [ebp - 0x10c]
cmp eax, 0x10
jne 0x10001f21
lea ecx, [eax - 6]
jmp 0x10001f30
xor ecx, ecx
cmp eax, 0x18
setne cl
lea ecx, [ecx*2 + 0xc]
cdq
xor edi, edi
and edx, 3
mov dword [ebp - 0x108], ecx
add eax, edx
mov dword [ebp - 0x4ec], ecx
sar eax, 2
mov dword [ebp - 0x4e0], eax
mov dword [ebp - 0x4f8], edi
test ecx, ecx
js 0x10001f9e
lea esi, [ebp - 0x4d0]
nop dword [eax]
lea edx, [eax*4]
test eax, eax
jle 0x10001f8e
mov ecx, edx
mov edi, esi
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x4e0]
mov edi, dword [ebp - 0x4f8]
mov dword [ebp - 0x4ec], ecx
inc edi
add esi, 0x20
mov dword [ebp - 0x4f8], edi
cmp edi, ecx
jle 0x10001f60
jmp 0x10001fa5
lea edx, [eax*4]
xor esi, esi
test ecx, ecx
js 0x10001fea
lea edi, [ebp - 0x2f0]
mov dword [ebp - 0x4f8], edi
test eax, eax
jle 0x10001fdc
mov ecx, edx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x4e0]
mov edi, dword [ebp - 0x4f8]
mov dword [ebp - 0x4ec], ecx
inc esi
add edi, 0x20
mov dword [ebp - 0x4f8], edi
cmp esi, ecx
jle 0x10001fb7
lea edx, [ecx + 1]
imul edx, eax
lea edi, [ebp - 0x30]
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x4f0], edx
cdq
and edx, 3
lea esi, [edx + eax]
sar esi, 2
lea eax, [ebp - 0xc4]
mov dword [ebp - 0x4e4], esi
mov dword [ebp - 0x4f8], eax
test esi, esi
jle 0x100020c9
mov dword [ebp - 0x4dc], esi
nop dword [eax]
movzx esi, byte [edi]
lea edi, [edi + 4]
movzx eax, byte [edi - 3]
shl esi, 8
or esi, eax
movzx eax, byte [edi - 2]
shl esi, 8
or esi, eax
movzx eax, byte [edi - 1]
shl esi, 8
or esi, eax
mov eax, dword [ebp - 0x4f8]
mov dword [eax], esi
add eax, 4
sub dword [ebp - 0x4dc], 1
mov dword [ebp - 0x4f8], eax
jne 0x10002030
mov esi, dword [ebp - 0x4e4]
xor edi, edi
cmp edi, dword [ebp - 0x4f0]
jge 0x100020bb
mov eax, edi
cdq
idiv dword [ebp - 0x4e0]
mov esi, eax
mov eax, dword [ebp + edi*4 - 0xc4]
lea ecx, [edx + esi*8]
mov dword [ebp + ecx*4 - 0x4d0], eax
mov eax, dword [ebp - 0x108]
sub eax, esi
mov esi, dword [ebp - 0x4e4]
lea ecx, [edx + eax*8]
mov eax, dword [ebp + edi*4 - 0xc4]
inc edi
mov dword [ebp + ecx*4 - 0x2f0], eax
cmp edi, esi
jl 0x10002073
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x4ec], ecx
jmp 0x100020cb
xor edi, edi
cmp edi, dword [ebp - 0x4f0]
jge 0x10002283
mov dword [ebp - 0x4e8], 0x10006bd8
mov edx, dword [ebp + esi*4 - 0xc8]
mov eax, edx
sar eax, 0x10
movzx eax, al
movsx ecx, byte [eax + 0x10005670]
mov eax, dword [ebp - 0x4e8]
inc dword [ebp - 0x4e8]
movsx eax, byte [eax]
xor ecx, eax
mov eax, edx
sar eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x10005670]
xor ecx, eax
movzx eax, dl
shl ecx, 8
sar edx, 0x18
movzx eax, byte [eax + 0x10005670]
xor ecx, eax
movzx eax, dl
shl ecx, 8
movzx eax, byte [eax + 0x10005670]
xor ecx, eax
xor dword [ebp - 0xc4], ecx
mov ecx, 1
cmp esi, 8
je 0x10002180
cmp esi, ecx
jle 0x10002169
mov eax, dword [ebp + ecx*4 - 0xc8]
xor dword [ebp + ecx*4 - 0xc4], eax
inc ecx
cmp ecx, esi
jl 0x10002151
jmp 0x10002204
mov dword [ebp - 0x4dc], 0
test esi, esi
jle 0x1000226b
jmp 0x10002210
mov eax, dword [ebp + ecx*4 - 0xc8]
xor dword [ebp + ecx*4 - 0xc4], eax
inc ecx
cmp ecx, 4
jl 0x10002180
mov ecx, dword [ebp - 0xb8]
mov eax, ecx
sar eax, 0x18
movzx eax, al
movsx edx, byte [eax + 0x10005670]
mov eax, ecx
sar eax, 0x10
movzx eax, al
shl edx, 8
sar ecx, 8
movzx eax, byte [eax + 0x10005670]
xor edx, eax
movzx eax, cl
shl edx, 8
mov ecx, 5
movzx eax, byte [eax + 0x10005670]
xor edx, eax
movzx eax, byte [ebp - 0xb8]
shl edx, 8
movzx eax, byte [eax + 0x10005670]
xor edx, eax
xor dword [ebp - 0xb4], edx
nop dword [eax]
mov eax, dword [ebp + ecx*4 - 0xc8]
xor dword [ebp + ecx*4 - 0xc4], eax
inc ecx
cmp ecx, 8
jl 0x100021f0
mov dword [ebp - 0x4dc], 0
nop
cmp edi, dword [ebp - 0x4f0]
jge 0x10002277
mov eax, edi
inc edi
cdq
idiv dword [ebp - 0x4e0]
mov esi, eax
mov eax, dword [ebp - 0x4dc]
mov eax, dword [ebp + eax*4 - 0xc4]
lea ecx, [edx + esi*8]
mov dword [ebp + ecx*4 - 0x4d0], eax
mov eax, dword [ebp - 0x108]
sub eax, esi
mov esi, dword [ebp - 0x4e4]
lea ecx, [edx + eax*8]
mov edx, dword [ebp - 0x4dc]
mov eax, dword [ebp + edx*4 - 0xc4]
inc edx
mov dword [ebp + ecx*4 - 0x2f0], eax
mov dword [ebp - 0x4dc], edx
cmp edx, esi
jl 0x10002210
cmp edi, dword [ebp - 0x4f0]
jl 0x100020e1
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x4ec], ecx
mov esi, 1
mov dword [ebp - 0x4f8], esi
cmp ecx, esi
jle 0x10002326
mov eax, dword [ebp - 0x4e0]
lea edx, [ebp - 0x2d0]
mov dword [ebp - 0x4dc], edx
test eax, eax
jle 0x10002312
mov esi, edx
mov edi, eax
mov edx, dword [esi]
lea esi, [esi + 4]
mov eax, edx
sar eax, 0x18
movzx ecx, al
mov eax, edx
sar eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x10006ff8]
xor ecx, dword [eax*4 + 0x10005770]
mov eax, edx
sar eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x10005f70]
movzx eax, dl
xor ecx, dword [eax*4 + 0x10006bf8]
mov dword [esi - 4], ecx
sub edi, 1
jne 0x100022b0
mov ecx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x4e0]
mov edx, dword [ebp - 0x4dc]
mov esi, dword [ebp - 0x4f8]
mov dword [ebp - 0x4ec], ecx
inc esi
add edx, 0x20
mov dword [ebp - 0x4f8], esi
mov dword [ebp - 0x4dc], edx
cmp esi, ecx
jl 0x100022a8
mov edi, dword [ebp - 0x504]
mov byte [ebp - 0x4d4], 1
test edi, edi
je 0x10002c61
mov eax, edi
xor edx, edx
mov edi, dword [ebp - 0x10c]
div edi
test edx, edx
jne 0x10002c5b
mov eax, dword [ebp - 0x500]
mov dword [ebp - 0x4f4], eax
mov eax, dword [ebp - 0x504]
mov dword [ebp - 0x510], edx
div edi
mov esi, dword [ebp - 0x514]
mov dword [ebp - 0x4f8], esi
test eax, eax
je 0x10002c5b
nop dword [eax]
cmp byte [ebp - 0x4d4], 0
je 0x10002b03
cmp edi, 0x10
jne 0x100027a3
mov edx, dword [ebp - 0x4f8]
mov esi, dword [ebp - 0x4ec]
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
shl ecx, 0x18
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 2]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 3]
or ecx, eax
movzx eax, byte [edx + 5]
xor ecx, dword [ebp - 0x2f0]
mov dword [ebp - 0x4e4], ecx
movzx ecx, byte [edx + 4]
shl ecx, 0x18
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 6]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 7]
or ecx, eax
movzx eax, byte [edx + 9]
xor ecx, dword [ebp - 0x2ec]
mov dword [ebp - 0x4dc], ecx
movzx ecx, byte [edx + 8]
shl ecx, 0x18
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 0xa]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 0xb]
or ecx, eax
movzx eax, byte [edx + 0xd]
xor ecx, dword [ebp - 0x2e8]
mov dword [ebp - 0x4e0], ecx
movzx ecx, byte [edx + 0xc]
shl eax, 0x10
shl ecx, 0x18
or ecx, eax
movzx eax, byte [edx + 0xe]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 0xf]
or eax, ecx
mov ecx, eax
mov dword [ebp - 0x4e8], eax
xor ecx, dword [ebp - 0x2e4]
mov dword [ebp - 0x4e8], ecx
cmp esi, 1
jle 0x100025d8
lea eax, [ebp - 0x2c8]
dec esi
mov dword [ebp - 0x4f0], eax
mov dword [ebp - 0x4fc], esi
mov eax, ecx
mov edx, dword [ebp - 0x4dc]
sar eax, 0x10
movzx ecx, al
mov eax, dword [ebp - 0x4e0]
sar eax, 8
movzx eax, al
mov edi, dword [ecx*4 + 0x10004270]
xor edi, dword [eax*4 + 0x10005270]
mov eax, dword [ebp - 0x4e4]
sar eax, 0x18
movzx eax, al
xor edi, dword [eax*4 + 0x10006778]
movzx eax, dl
xor edi, dword [eax*4 + 0x10006370]
mov eax, dword [ebp - 0x4f0]
xor edi, dword [eax - 8]
mov eax, dword [ebp - 0x4e8]
sar eax, 8
movzx ecx, al
mov eax, edx
sar eax, 0x18
movzx eax, al
mov esi, dword [ecx*4 + 0x10005270]
mov ecx, dword [ebp - 0x4e0]
xor esi, dword [eax*4 + 0x10006778]
mov eax, dword [ebp - 0x4e4]
sar eax, 0x10
movzx eax, al
xor esi, dword [eax*4 + 0x10004270]
movzx eax, cl
xor esi, dword [eax*4 + 0x10006370]
mov eax, dword [ebp - 0x4f0]
xor esi, dword [eax - 4]
mov eax, ecx
sar eax, 0x18
movzx ecx, al
mov eax, edx
sar eax, 0x10
movzx eax, al
mov edx, dword [ecx*4 + 0x10006778]
mov ecx, dword [ebp - 0x4e8]
xor edx, dword [eax*4 + 0x10004270]
mov eax, dword [ebp - 0x4e4]
sar eax, 8
movzx eax, al
xor edx, dword [eax*4 + 0x10005270]
movzx eax, cl
sar ecx, 0x18
movzx ecx, cl
xor edx, dword [eax*4 + 0x10006370]
mov eax, dword [ebp - 0x4f0]
mov ecx, dword [ecx*4 + 0x10006778]
xor edx, dword [eax]
mov eax, dword [ebp - 0x4e0]
sar eax, 0x10
movzx eax, al
mov dword [ebp - 0x4e0], edx
xor ecx, dword [eax*4 + 0x10004270]
mov eax, dword [ebp - 0x4dc]
sar eax, 8
movzx eax, al
mov dword [ebp - 0x4dc], esi
xor ecx, dword [eax*4 + 0x10005270]
mov eax, dword [ebp - 0x4e4]
movzx eax, al
xor ecx, dword [eax*4 + 0x10006370]
mov eax, dword [ebp - 0x4f0]
add dword [ebp - 0x4f0], 0x20
xor ecx, dword [eax + 4]
mov eax, edi
sub dword [ebp - 0x4fc], 1
mov dword [ebp - 0x4e8], ecx
mov dword [ebp - 0x4e4], eax
jne 0x10002471
mov esi, dword [ebp - 0x4ec]
jmp 0x100025de
mov eax, dword [ebp - 0x4e4]
sar eax, 0x18
movzx eax, al
shl esi, 5
mov edi, dword [ebp - 0x4f4]
mov edx, dword [ebp + esi - 0x2f0]
mov ecx, edx
sar ecx, 0x18
xor cl, byte [eax + 0x10004170]
mov eax, dword [ebp - 0x4f4]
mov byte [eax], cl
mov ecx, edx
mov eax, dword [ebp - 0x4e8]
sar eax, 0x10
movzx eax, al
sar ecx, 0x10
xor cl, byte [eax + 0x10004170]
mov eax, dword [ebp - 0x4f4]
mov byte [eax + 1], cl
mov ecx, edx
mov eax, dword [ebp - 0x4e0]
sar eax, 8
movzx eax, al
sar ecx, 8
xor cl, byte [eax + 0x10004170]
mov eax, dword [ebp - 0x4f4]
mov byte [eax + 2], cl
mov ecx, dword [ebp - 0x4dc]
movzx eax, cl
movzx eax, byte [eax + 0x10004170]
xor al, dl
mov edx, dword [ebp - 0x4f4]
mov byte [edx + 3], al
mov eax, ecx
mov edx, dword [ebp + esi - 0x2ec]
mov ecx, edx
sar eax, 0x18
movzx eax, al
sar ecx, 0x18
xor cl, byte [eax + 0x10004170]
mov eax, dword [ebp - 0x4f4]
mov byte [eax + 4], cl
mov ecx, edx
mov eax, dword [ebp - 0x4e4]
sar eax, 0x10
movzx eax, al
sar ecx, 0x10
xor cl, byte [eax + 0x10004170]
mov eax, dword [ebp - 0x4f4]
mov byte [eax + 5], cl
mov ecx, edx
mov eax, dword [ebp - 0x4e8]
sar eax, 8
movzx eax, al
sar ecx, 8
xor cl, byte [eax + 0x10004170]
mov byte [edi + 6], cl
mov ecx, dword [ebp - 0x4e0]
movzx eax, cl
movzx eax, byte [eax + 0x10004170]
xor al, dl
mov edx, dword [ebp + esi - 0x2e8]
mov byte [edi + 7], al
mov eax, ecx
sar eax, 0x18
mov ecx, edx
movzx eax, al
sar ecx, 0x18
xor cl, byte [eax + 0x10004170]
mov eax, dword [ebp - 0x4dc]
sar eax, 0x10
mov byte [edi + 8], cl
mov ecx, edx
movzx eax, al
sar ecx, 0x10
xor cl, byte [eax + 0x10004170]
mov eax, dword [ebp - 0x4e4]
mov byte [edi + 9], cl
mov ecx, edx
sar eax, 8
movzx eax, al
sar ecx, 8
xor cl, byte [eax + 0x10004170]
mov byte [edi + 0xa], cl
mov ecx, dword [ebp - 0x4e8]
movzx eax, cl
sar ecx, 0x18
movzx eax, byte [eax + 0x10004170]
xor al, dl
mov edx, dword [ebp + esi - 0x2e4]
mov byte [edi + 0xb], al
movzx eax, cl
mov ecx, edx
sar ecx, 0x18
xor cl, byte [eax + 0x10004170]
mov eax, dword [ebp - 0x4e0]
sar eax, 0x10
movzx eax, al
mov byte [edi + 0xc], cl
mov ecx, edx
sar ecx, 0x10
xor cl, byte [eax + 0x10004170]
mov eax, dword [ebp - 0x4dc]
sar eax, 8
movzx eax, al
mov byte [edi + 0xd], cl
mov ecx, edx
sar ecx, 8
xor cl, byte [eax + 0x10004170]
mov eax, dword [ebp - 0x4e4]
movzx eax, al
mov byte [edi + 0xe], cl
movzx eax, byte [eax + 0x10004170]
xor al, dl
mov byte [edi + 0xf], al
jmp 0x10002b09
mov eax, edi
cdq
and edx, 3
lea edi, [edx + eax]
sar edi, 2
mov dword [ebp - 0x4fc], edi
cmp edi, 4
jne 0x100027f1
mov eax, dword [0x10006b84]
mov dword [ebp - 0x4dc], eax
mov eax, dword [0x10006b8c]
mov dword [ebp - 0x4e4], eax
mov eax, dword [0x10006b94]
mov dword [ebp - 0x4f0], eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x4e0], eax
xor eax, eax
mov dword [ebp - 0x4e8], eax
jmp 0x10002841
cmp edi, 6
mov edx, 0x20
mov eax, 0x40
cmove eax, edx
mov edx, dword [eax + 0x10006b84]
mov dword [ebp - 0x4dc], edx
mov edx, dword [eax + 0x10006b8c]
mov eax, dword [eax + 0x10006b94]
mov dword [ebp - 0x4f0], eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x4e0], eax
xor eax, eax
mov dword [ebp - 0x4e4], edx
mov dword [ebp - 0x4e8], eax
test edi, edi
jle 0x100028c1
mov cl, byte [esi + 1]
mov al, byte [esi]
mov dl, byte [esi + 2]
add esi, 3
mov edi, dword [ebp - 0x4e0]
mov dword [ebp - 0x4ec], esi
movzx esi, al
shl esi, 8
movzx eax, cl
mov ecx, dword [ebp - 0x4ec]
or esi, eax
shl esi, 8
movzx eax, dl
or esi, eax
movzx eax, byte [ecx]
inc ecx
shl esi, 8
or esi, eax
mov dword [ebp - 0x4ec], ecx
mov ecx, dword [ebp - 0x4e8]
mov eax, edi
mov dword [eax], esi
add eax, 4
mov dword [ebp - 0x4e0], eax
mov eax, dword [ebp + ecx*4 - 0x2f0]
inc ecx
xor eax, esi
mov dword [ebp - 0x4e8], ecx
mov esi, dword [ebp - 0x4ec]
mov dword [edi], eax
mov edi, dword [ebp - 0x4fc]
cmp ecx, edi
jl 0x10002841
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebp - 0x4e4]
mov esi, 1
mov dword [ebp - 0x4e8], esi
cmp ecx, esi
jle 0x100029f1
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x4ec], eax
mov dword [ebp - 0x4fc], 0
test edi, edi
jle 0x100029a9
mov esi, dword [ebp - 0x4dc]
mov ecx, dword [ebp - 0x4f0]
mov dword [ebp - 0x4e0], eax
mov eax, edx
sub eax, esi
sub ecx, esi
mov dword [ebp - 0x508], eax
mov dword [ebp - 0x50c], ecx
add eax, esi
cdq
idiv edi
mov eax, dword [ebp + edx*4 - 0x84]
sar eax, 8
movzx ecx, al
mov eax, dword [ebp - 0x50c]
add eax, esi
cdq
idiv edi
mov ecx, dword [ecx*4 + 0x10005270]
movzx eax, byte [ebp + edx*4 - 0x84]
xor ecx, dword [eax*4 + 0x10006370]
mov eax, esi
cdq
inc esi
idiv edi
movsx eax, word [ebp + edx*4 - 0x82]
mov edx, dword [ebp - 0x4fc]
movzx eax, al
xor ecx, dword [eax*4 + 0x10004270]
movzx eax, byte [ebp + edx*4 - 0x81]
xor ecx, dword [eax*4 + 0x10006778]
mov eax, dword [ebp - 0x4e0]
xor ecx, dword [eax]
add eax, 4
mov dword [ebp + edx*4 - 0xa4], ecx
inc edx
mov dword [ebp - 0x4e0], eax
mov eax, dword [ebp - 0x508]
mov dword [ebp - 0x4fc], edx
cmp edx, edi
jl 0x10002916
mov esi, dword [ebp - 0x4e8]
lea eax, [edi*4]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x84]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x4ec]
inc esi
mov ecx, dword [ebp - 0x108]
add eax, 0x20
mov edx, dword [ebp - 0x4e4]
add esp, 0xc
mov dword [ebp - 0x4e8], esi
mov dword [ebp - 0x4ec], eax
cmp esi, ecx
jl 0x100028e0
xor eax, eax
mov dword [ebp - 0x4fc], eax
test edi, edi
jle 0x10002b03
mov esi, dword [ebp - 0x4f4]
lea edx, [ebp - 0x2f0]
shl ecx, 5
add ecx, edx
mov edx, dword [ebp - 0x4e4]
sub dword [ebp - 0x4dc], edx
sub dword [ebp - 0x4f0], edx
mov dword [ebp - 0x4e8], ecx
nop word [eax + eax]
movzx eax, byte [ebp + eax*4 - 0x81]
mov ecx, dword [ecx]
sar ecx, 0x18
xor cl, byte [eax + 0x10004170]
mov eax, dword [ebp - 0x4dc]
add eax, edx
mov byte [esi], cl
cdq
inc esi
idiv edi
mov ecx, dword [ebp - 0x4e8]
mov dword [ebp - 0x4e0], esi
movsx eax, word [ebp + edx*4 - 0x82]
mov esi, dword [ecx]
mov ecx, esi
movzx eax, al
sar ecx, 0x10
xor cl, byte [eax + 0x10004170]
mov eax, dword [ebp - 0x4e0]
mov byte [eax], cl
inc eax
mov dword [ebp - 0x4e0], eax
mov ecx, esi
mov eax, dword [ebp - 0x4e4]
cdq
idiv edi
sar ecx, 8
mov esi, dword [ebp - 0x4e0]
mov eax, dword [ebp + edx*4 - 0x84]
sar eax, 8
movzx eax, al
xor cl, byte [eax + 0x10004170]
mov eax, dword [ebp - 0x4e4]
add eax, dword [ebp - 0x4f0]
cdq
idiv edi
mov byte [esi], cl
mov ecx, dword [ebp - 0x4e8]
movzx eax, byte [ebp + edx*4 - 0x84]
mov edx, dword [ebp - 0x4e4]
inc edx
mov dword [ebp - 0x4e4], edx
mov al, byte [eax + 0x10004170]
xor al, byte [ecx]
add ecx, 4
mov byte [esi + 1], al
add esi, 2
mov eax, dword [ebp - 0x4fc]
inc eax
mov dword [ebp - 0x4e8], ecx
mov dword [ebp - 0x4fc], eax
cmp eax, edi
jl 0x10002a30
mov edi, dword [ebp - 0x4f4]
cmp byte [ebp - 0x4d4], 0
lea edx, [ebp - 0xe4]
mov esi, dword [ebp - 0x10c]
mov eax, edi
je 0x10002bf2
xor edi, edi
test esi, esi
jle 0x10002bf2
cmp esi, 0x40
jb 0x10002bca
lea ecx, [ebp + esi - 0xe5]
cmp dword [ebp - 0x4f4], ecx
ja 0x10002b5f
mov ecx, edx
mov dword [ebp - 0x508], ecx
mov ecx, dword [ebp - 0x4f4]
dec ecx
add ecx, esi
cmp ecx, edx
jae 0x10002bca
mov ecx, esi
and ecx, 0x8000003f
jns 0x10002b6e
dec ecx
or ecx, 0xffffffc0
inc ecx
mov dword [ebp - 0x4dc], esi
sub dword [ebp - 0x4dc], ecx
mov ecx, dword [ebp - 0x4dc]
movups xmm1, xmmword [eax]
add edi, 0x40
movups xmm0, xmmword [edx]
pxor xmm1, xmm0
movups xmm0, xmmword [edx + 0x10]
movups xmmword [eax], xmm1
movups xmm1, xmmword [eax + 0x10]
pxor xmm1, xmm0
movups xmm0, xmmword [edx + 0x20]
movups xmmword [eax + 0x10], xmm1
movups xmm1, xmmword [eax + 0x20]
pxor xmm1, xmm0
movups xmm0, xmmword [edx + 0x30]
add edx, 0x40
movups xmmword [eax + 0x20], xmm1
movups xmm1, xmmword [eax + 0x30]
pxor xmm1, xmm0
movups xmmword [eax + 0x30], xmm1
add eax, 0x40
cmp edi, ecx
jl 0x10002b80
cmp edi, esi
jge 0x10002bf2
mov ecx, esi
sub edx, eax
sub ecx, edi
mov dword [ebp - 0x4fc], ecx
nop word [eax + eax]
mov cl, byte [edx + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub dword [ebp - 0x4fc], 1
jne 0x10002be0
push esi
mov esi, dword [ebp - 0x4f8]
lea eax, [ebp - 0xe4]
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edi, dword [ebp - 0x10c]
xor edx, edx
mov eax, dword [ebp - 0x504]
add esi, edi
div edi
mov ecx, dword [ebp - 0x510]
add esp, 0xc
add dword [ebp - 0x4f4], edi
inc ecx
mov dword [ebp - 0x4f8], esi
mov dword [ebp - 0x510], ecx
cmp ecx, eax
jae 0x10002c49
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x4ec], ecx
jmp 0x10002380
mov edi, dword [ebp - 0x504]
mov eax, dword [ebp - 0x500]
mov al, byte [edi + eax - 1]
jmp 0x10002c6b
mov edi, dword [ebp - 0x504]
mov eax, dword [ebp - 0x500]
mov al, byte [eax + edi - 1]
movsx esi, al
lea ecx, [edi - 1]
mov edx, edi
sub edx, esi
cmp ecx, edx
jb 0x10002caa
mov eax, dword [ebp - 0x500]
nop
movsx eax, byte [ecx + eax]
cmp eax, esi
jne 0x10002c99
mov eax, dword [ebp - 0x500]
mov byte [ecx + eax], 0
dec ecx
cmp ecx, edx
jae 0x10002c80
jmp 0x10002caa
push edi
push 0
push dword [ebp - 0x500]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push dword [ebp - 0x500]
lea ecx, [ebp - 0x60]
call fcn.100014f0
push dword [ebp - 0x514]
call fcn.1000322a
push dword [ebp - 0x500]
call fcn.1000322a
mov esi, dword [ebp - 0x51c]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x34]
add esp, 8
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [ebp - 0x60]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x50]
movq qword [esi + 0x10], xmm0
cmp ecx, 0x10
jb 0x10002d32
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002d28
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10002d28
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10002d84
add esp, 8
mov eax, esi
jmp 0x10002d58
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10002d76
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret