Function at 0x1004fd70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10068a60
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x1007c040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x68], 0
lea ecx, [ebp - 0x2b]
xorps xmm0, xmm0
mov word [ebp - 0x2c], 0x4c
mov byte [ebp - 0x2b], 0
lea edx, [ecx + 1]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004fdd0
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.100051a0
mov dword [ebp - 4], 0
mov edi, dword [esi + 0x3c]
test edi, edi
je 0x1004fe0d
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004fe0d
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call dword [0x10073638]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x1004fe4a
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004fe40
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1004fe40
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100641c5
add esp, 8
xorps xmm0, xmm0
mov word [ebp - 0x2c], 0x2b
lea ecx, [ebp - 0x2b]
mov byte [ebp - 0x2b], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x14], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004fe70
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.100051a0
mov dword [ebp - 4], 1
mov edi, dword [esi + 0x40]
test edi, edi
je 0x1004fead
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004fead
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call dword [0x10073638]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x1004feea
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004fee0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1004fee0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100641c5
add esp, 8
xorps xmm0, xmm0
mov word [ebp - 0x2c], 0x30
lea ecx, [ebp - 0x2b]
mov byte [ebp - 0x2b], 0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x50], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004ff10
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.100051a0
mov dword [ebp - 4], 2
mov edi, dword [esi + 0x44]
test edi, edi
je 0x1004ff4d
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004ff4d
lea eax, [ebp - 0x64]
mov ecx, edi
push eax
call dword [0x10073608]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x50]
cmp ecx, 0xf
jbe 0x1004ff8a
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004ff80
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1004ff80
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100641c5
add esp, 8
mov edi, dword [esi + 0x34]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
test edi, edi
je 0x1004ffbd
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004ffbd
lea ecx, [edi + 0xb8]
mov dl, 2
call fcn.10012f70
mov eax, dword [0x1007f860]
test eax, eax
je 0x10050001
mov ecx, dword [esi + 0x30]
cmp ecx, 1
jne 0x1004ffd3
mov eax, dword [eax + 0x4c]
jmp 0x1004ffdb
cmp ecx, 2
jne 0x10050001
mov eax, dword [eax + 0x50]
cmp eax, dword [esi + 0x2c]
jae 0x10050001
mov edi, dword [esi + 0x34]
test edi, edi
je 0x10050001
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10050001
mov dl, 7
lea ecx, [edi + 0xb8]
call fcn.10012f70
mov edx, dword [esi + 0x24]
test edx, edx
jne 0x1005000c
xor eax, eax
jmp 0x10050025
mov ecx, dword [0x10073588]
mov eax, 0x10624dd3
mul edx
shr edx, 6
imul eax, edx, 0x3e8
push eax
call ecx
mov ecx, dword [esi + 0x24]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
test eax, eax
je 0x10050753
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 3
cmp dword [eax], 0
je 0x10050141
test ecx, ecx
je 0x10050141
mov eax, 0x12e0be83
mov edi, ecx
mul ecx
sub edi, edx
shr edi, 1
add edi, edx
shr edi, 0x1d
cmp edi, 4
jae 0x10050141
mov eax, dword [ebp - 0x2c]
cmp byte [eax + 4], 0x2d
jae 0x10050141
push 4
push 0x10b8050
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10050141
mov eax, 0x10624dd3
mov esi, dword [0x1007358c]
mul dword [ebp - 0x30]
shr edx, 6
sub edi, edx
imul eax, edi, 0x3e8
add eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 4]
mov ecx, dword [ecx*4 + 0x10b8050]
call esi
mov esi, dword [ebp - 0x34]
mov edi, eax
mov dword [ebp - 0x30], eax
test eax, eax
je 0x10050143
cmp dword [eax + 0x3c], 0
je 0x10050143
push dword [esi + 0x24]
xor edx, edx
lea ecx, [ebp - 0x98]
push eax
call fcn.1000caa0
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.1000d630
mov ecx, dword [ebp - 0x84]
cmp ecx, 0xf
jbe 0x1005013c
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050132
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10050132
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100641c5
add esp, 8
mov edi, dword [ebp - 0x30]
jmp 0x1005019e
xor edi, edi
push dword [esi + 0x24]
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x98]
push 0
call fcn.1000caa0
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.1000d630
mov ecx, dword [ebp - 0x84]
cmp ecx, 0xf
jbe 0x1005019e
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050194
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10050194
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100641c5
add esp, 8
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x100501c2
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100501c2
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push eax
call dword [0x10073608]
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x98]
push edi
call fcn.1000ce60
add esp, 4
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 4
mov edi, dword [esi + 0x38]
test edi, edi
je 0x100501fa
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100501fa
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x10073638]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x84]
cmp ecx, 0xf
jbe 0x1005023a
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050230
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10050230
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100641c5
add esp, 8
mov eax, dword [esi + 0x30]
cmp eax, 1
jne 0x100503f4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4c]
mov edx, dword [esi + 0x2c]
call fcn.10011370
mov edx, dword [ebp - 0x3c]
mov eax, 3
mov edi, edx
mov dword [ebp - 0x68], 2
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x100502d7
nop dword [eax]
mov ecx, edi
sub ecx, eax
cmp edx, ecx
jb 0x10050ea9
mov esi, dword [ebp - 0x38]
mov eax, esi
sub eax, edx
cmp eax, 1
jb 0x100502b1
lea eax, [edx + 1]
cmp esi, 0xf
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x4c]
cmova eax, dword [ebp - 0x4c]
sub edx, ecx
inc edx
push edx
lea esi, [eax + ecx]
lea eax, [esi + 1]
push esi
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi], 0x2e
jmp 0x100502c1
sub esp, 8
push ecx
push dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.10011210
mov eax, dword [ebp - 0x2c]
inc edi
add eax, 4
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x100502d4
mov edx, dword [ebp - 0x3c]
jmp 0x10050270
mov esi, dword [ebp - 0x34]
cmp dword [ebp - 0x38], 0xf
lea eax, [ebp - 0x4c]
movaps xmm0, xmmword [str.aALA_A1]
cmova eax, dword [ebp - 0x4c]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x60], xmm0
mov byte [ebp - 0x50], 0
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0xf
jb 0x100502f4
sub esp, 0x18
mov byte [ebp - 0x50], 0
mov edx, esp
lea ecx, [ebp - 0x5f]
xorps xmm0, xmm0
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10050324
sub ecx, edi
lea eax, [ebp - 0x5f]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
lea eax, [ebp - 0x80]
push eax
call fcn.10004d30
add esp, 0x20
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 6
mov edi, dword [esi + 0x3c]
test edi, edi
je 0x1005036b
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1005036b
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x10073638]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x1005039f
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050395
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100503ee
push ecx
push edx
call fcn.100641c5
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
mov dword [ebp - 0x68], 0
cmp ecx, 0xf
jbe 0x10050564
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005055a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005055a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp eax, 2
jne 0x10050564
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4c]
mov edx, dword [esi + 0x2c]
call fcn.10011370
mov edx, dword [ebp - 0x3c]
mov eax, 3
mov edi, edx
mov dword [ebp - 0x68], 4
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x1005048b
mov ecx, edi
sub ecx, eax
cmp edx, ecx
jb 0x10050ea9
mov esi, dword [ebp - 0x38]
mov eax, esi
sub eax, edx
cmp eax, 1
jb 0x10050465
lea eax, [edx + 1]
cmp esi, 0xf
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x4c]
cmova eax, dword [ebp - 0x4c]
sub edx, ecx
inc edx
push edx
lea esi, [eax + ecx]
lea eax, [esi + 1]
push esi
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi], 0x2e
jmp 0x10050475
sub esp, 8
push ecx
push dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.10011210
mov eax, dword [ebp - 0x2c]
inc edi
add eax, 4
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x10050488
mov edx, dword [ebp - 0x3c]
jmp 0x10050424
mov esi, dword [ebp - 0x34]
cmp dword [ebp - 0x38], 0xf
lea eax, [ebp - 0x4c]
movaps xmm0, xmmword [0x10075520]
cmova eax, dword [ebp - 0x4c]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x60], xmm0
mov byte [ebp - 0x50], 0
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0xf
jb 0x100504a8
sub esp, 0x18
mov byte [ebp - 0x50], 0
mov edx, esp
lea ecx, [ebp - 0x5f]
xorps xmm0, xmm0
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100504d8
sub ecx, edi
lea eax, [ebp - 0x5f]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
lea eax, [ebp - 0x80]
push eax
call fcn.10004d30
add esp, 0x20
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 8
mov edi, dword [esi + 0x3c]
test edi, edi
je 0x1005051f
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1005051f
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x10073638]
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x1005039f
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050395
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100503ee
jmp 0x10050395
push ecx
push edx
call fcn.100641c5
add esp, 8
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x4c]
mov edx, dword [esi + 0x28]
call fcn.10011370
mov edx, dword [ebp - 0x3c]
mov eax, 3
mov edi, edx
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x100505f7
nop dword [eax + eax]
mov ecx, edi
sub ecx, eax
cmp edx, ecx
jb 0x10050ea9
mov esi, dword [ebp - 0x38]
mov eax, esi
sub eax, edx
cmp eax, 1
jb 0x100505d1
lea eax, [edx + 1]
cmp esi, 0xf
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x4c]
cmova eax, dword [ebp - 0x4c]
sub edx, ecx
inc edx
push edx
lea esi, [eax + ecx]
lea eax, [esi + 1]
push esi
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi], 0x2e
jmp 0x100505e1
sub esp, 8
push ecx
push dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.10011210
mov eax, dword [ebp - 0x2c]
inc edi
add eax, 4
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x100505f4
mov edx, dword [ebp - 0x3c]
jmp 0x10050590
mov esi, dword [ebp - 0x34]
cmp dword [ebp - 0x38], 0xf
lea eax, [ebp - 0x4c]
movaps xmm0, xmmword [0x10074e20]
cmova eax, dword [ebp - 0x4c]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x60], xmm0
mov word [ebp - 0x50], 0x4b
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0x10
jb 0x10050616
sub esp, 0x18
mov byte [ebp - 0x4f], 0
mov edx, esp
lea ecx, [ebp - 0x5f]
xorps xmm0, xmm0
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10050646
sub ecx, edi
lea eax, [ebp - 0x5f]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
lea eax, [ebp - 0x80]
push eax
call fcn.10004d30
add esp, 0x20
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0xa
mov edi, dword [esi + 0x40]
test edi, edi
je 0x1005068d
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1005068d
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x10073638]
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x100506c5
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100506bb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100503ee
push ecx
push edx
call fcn.100641c5
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
cmp ecx, 0xf
jbe 0x1005070f
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050705
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100503ee
push ecx
push edx
call fcn.100641c5
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10050e26
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050744
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100503ee
push ecx
push edx
call fcn.100641c5
add esp, 8
jmp 0x10050e26
lea eax, [ecx - 1]
cmp eax, 0x5f5e0fe
ja 0x10050e26
mov edx, dword [esi + 0x54]
sub edx, dword [esi + 0x50]
sar edx, 2
call fcn.10010740
mov ecx, dword [esi + 0x50]
mov edi, dword [ecx + eax*4 - 4]
test edi, edi
je 0x100508f3
mov ecx, dword [0x10073588]
mov eax, 0x10624dd3
mul edi
mov eax, edx
shr eax, 6
mov dword [ebp - 0x30], eax
imul eax, eax, 0x3e8
push eax
call ecx
mov ecx, eax
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x100508f3
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xb
cmp dword [ecx], 0
je 0x10050a35
mov eax, 0x12e0be83
mov esi, edi
mul edi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 0x1d
cmp esi, 4
jae 0x10050a32
cmp byte [ecx + 4], 0x2d
jae 0x10050a32
push 4
push 0x10b8050
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10050a2f
sub esi, dword [ebp - 0x30]
mov edx, dword [0x1007358c]
imul eax, esi, 0x3e8
add eax, edi
push eax
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 4]
mov ecx, dword [ecx*4 + 0x10b8050]
call edx
test eax, eax
je 0x10050a2f
cmp dword [eax + 0x3c], 0
je 0x10050a2f
push edi
push eax
xor edx, edx
lea ecx, [ebp - 0x98]
call fcn.1000caa0
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.1000d630
mov ecx, dword [ebp - 0x84]
cmp ecx, 0xf
jbe 0x10050895
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005088b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100503ee
push ecx
push edx
call fcn.100641c5
add esp, 8
mov esi, dword [ebp - 0x34]
mov edi, dword [esi + 0x44]
test edi, edi
je 0x100508b8
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100508b8
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call dword [0x10073608]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x100508f3
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100508e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100503ee
push ecx
push edx
call fcn.100641c5
add esp, 8
mov eax, dword [esi + 0x30]
cmp eax, 1
jne 0x10050a94
mov edx, dword [esi + 0x2c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10010c60
add esp, 4
mov dword [ebp - 4], 0xc
cmp dword [eax + 0x14], 0xf
jbe 0x1005091d
mov eax, dword [eax]
movaps xmm0, xmmword [str.kKFK__K_]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x60], xmm0
mov byte [ebp - 0x50], 0
nop
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0xf
jb 0x10050930
sub esp, 0x18
mov byte [ebp - 0x50], 0
mov edx, esp
lea ecx, [ebp - 0x5f]
xorps xmm0, xmm0
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10050960
sub ecx, edi
lea eax, [ebp - 0x5f]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
lea eax, [ebp - 0x80]
push eax
call fcn.10004d30
add esp, 0x20
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0xd
mov edi, dword [esi + 0x3c]
test edi, edi
je 0x100509a7
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100509a7
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x10073638]
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x100509df
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100509d5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100503ee
push ecx
push edx
call fcn.100641c5
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
cmp ecx, 0xf
jbe 0x10050c53
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050c49
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10050c49
jmp 0x100503ee
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
push edi
mov edx, ecx
lea ecx, [ebp - 0x98]
push 0
call fcn.1000caa0
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.1000d630
mov ecx, dword [ebp - 0x84]
cmp ecx, 0xf
jbe 0x10050898
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050a85
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100503ee
push ecx
push edx
call fcn.100641c5
add esp, 8
jmp 0x10050898
cmp eax, 2
jne 0x10050c53
mov dword [ebp - 4], 0xe
lea ecx, [ebp - 0x4c]
mov edx, dword [esi + 0x2c]
call fcn.10011370
mov edx, dword [ebp - 0x3c]
mov eax, 3
mov edi, edx
mov dword [ebp - 0x68], 0x10
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x10050b2e
mov ecx, edi
sub ecx, eax
cmp edx, ecx
jb 0x10050ea9
mov esi, dword [ebp - 0x38]
mov eax, esi
sub eax, edx
cmp eax, 1
jb 0x10050b08
lea eax, [edx + 1]
cmp esi, 0xf
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x4c]
cmova eax, dword [ebp - 0x4c]
sub edx, ecx
inc edx
push edx
lea esi, [eax + ecx]
lea eax, [esi + 1]
push esi
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi], 0x2e
jmp 0x10050b18
sub esp, 8
push ecx
push dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.10011210
mov eax, dword [ebp - 0x2c]
inc edi
add eax, 4
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x10050b2b
mov edx, dword [ebp - 0x3c]
jmp 0x10050ac7
mov esi, dword [ebp - 0x34]
cmp dword [ebp - 0x38], 0xf
lea eax, [ebp - 0x4c]
movaps xmm0, xmmword [0x10074f60]
cmova eax, dword [ebp - 0x4c]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x60], xmm0
mov byte [ebp - 0x50], 0
nop dword [eax + eax]
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0xf
jb 0x10050b50
sub esp, 0x18
mov byte [ebp - 0x50], 0
mov edx, esp
lea ecx, [ebp - 0x5f]
xorps xmm0, xmm0
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10050b80
sub ecx, edi
lea eax, [ebp - 0x5f]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
lea eax, [ebp - 0x80]
push eax
call fcn.10004d30
add esp, 0x20
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0xf
mov edi, dword [esi + 0x3c]
test edi, edi
je 0x10050bc7
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10050bc7
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x10073638]
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x10050bff
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050bf5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100503ee
push ecx
push edx
call fcn.100641c5
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
mov dword [ebp - 0x68], 0
cmp ecx, 0xf
jbe 0x10050c53
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050c49
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100503ee
push ecx
push edx
call fcn.100641c5
add esp, 8
mov dword [ebp - 4], 0x10
lea ecx, [ebp - 0x4c]
mov edx, dword [esi + 0x28]
call fcn.10011370
mov edx, dword [ebp - 0x3c]
mov eax, 3
mov edi, edx
mov dword [ebp - 0x68], 8
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x10050ce7
nop dword [eax]
mov ecx, edi
sub ecx, eax
cmp edx, ecx
jb 0x10050ea9
mov esi, dword [ebp - 0x38]
mov eax, esi
sub eax, edx
cmp eax, 1
jb 0x10050cc1
lea eax, [edx + 1]
cmp esi, 0xf
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x4c]
cmova eax, dword [ebp - 0x4c]
sub edx, ecx
inc edx
push edx
lea esi, [eax + ecx]
lea eax, [esi + 1]
push esi
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi], 0x2e
jmp 0x10050cd1
sub esp, 8
push ecx
push dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.10011210
mov eax, dword [ebp - 0x2c]
inc edi
add eax, 4
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x10050ce4
mov edx, dword [ebp - 0x3c]
jmp 0x10050c80
mov esi, dword [ebp - 0x34]
cmp dword [ebp - 0x38], 0xf
lea eax, [ebp - 0x4c]
movaps xmm0, xmmword [0x100754f0]
cmova eax, dword [ebp - 0x4c]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x60], xmm0
mov word [ebp - 0x50], 8
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0x10
jb 0x10050d06
sub esp, 0x18
mov byte [ebp - 0x4f], 0
mov edx, esp
lea ecx, [ebp - 0x5f]
xorps xmm0, xmm0
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10050d36
sub ecx, edi
lea eax, [ebp - 0x5f]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
lea eax, [ebp - 0x98]
push eax
call fcn.10004d30
add esp, 0x20
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0x11
mov edi, dword [esi + 0x40]
test edi, edi
je 0x10050d80
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10050d80
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x10073638]
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x84]
cmp ecx, 0xf
jbe 0x10050dbe
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050db4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100503ee
push ecx
push edx
call fcn.100641c5
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
cmp ecx, 0xf
jbe 0x10050e14
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050e0a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100503ee
push ecx
push edx
call fcn.100641c5
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
mov edi, dword [esi + 0xfc]
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10050e70
push 4
add edi, 0xe5
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10050e70
cmp byte [edi], al
je 0x10050e70
mov edi, dword [esi + 0xfc]
test edi, edi
je 0x10050e70
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10050e70
push eax
mov ecx, edi
call dword [0x100735d4]
mov esi, dword [esi + 0x34]
test esi, esi
je 0x10050e8e
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10050e8e
push 1
mov ecx, esi
call dword [0x100735d4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10064164
mov esp, ebp
pop ebp
ret
call fcn.100105e0
int3