Function at 0x1002dd30
Capabilities:
Encode data using xor

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 0x100697f3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
mov eax, dword [0x1007e040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
movzx ecx, word [ebx + 0xc]
movzx eax, word [ebx + 8]
movzx edx, word [ebx + 0x14]
mov dword [ebp - 0x70], ecx
movzx ecx, word [ebx + 0x10]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], 0
mov dword [ebp - 4], 1
test ax, ax
je 0x1002e3e8
test cx, cx
je 0x1002e3e8
cmp dword [edi + 0x2c], 0
ja 0x1002e3e8
cmp dword [ebx + 0x2c], 0xf
lea edx, [ebx + 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
cmova edx, dword [ebx + 0x18]
mov ecx, edx
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002dde0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10005220
mov byte [ebp - 4], 2
mov esi, dword [edi + 4]
test esi, esi
je 0x1002de17
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002de17
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call dword [0x10075274]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x1002de51
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002de47
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002de47
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100662c0
add esp, 8
cmp dword [ebx + 0x44], 0xf
lea edx, [ebx + 0x30]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
cmova edx, dword [ebx + 0x30]
mov ecx, edx
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002de76
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10005220
mov byte [ebp - 4], 3
mov esi, dword [edi + 8]
test esi, esi
je 0x1002dead
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002dead
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call dword [0x10075274]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x1002dee7
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002dedd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002dedd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100662c0
add esp, 8
mov esi, dword [edi + 0xc]
test esi, esi
je 0x1002df04
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002df04
push eax
mov ecx, esi
call dword [0x10075278]
mov esi, dword [edi + 0x10]
test esi, esi
je 0x1002df21
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002df21
push eax
mov ecx, esi
call dword [0x10075278]
mov esi, dword [ebp - 0x48]
cmp si, 0xffff
je 0x1002e3ca
cmp word [ebp - 0x6c], 0xffff
je 0x1002e3ca
mov ecx, dword [0x1007f480]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 7
jb 0x1002e480
cmp dword [0x1007f484], 0xf
mov eax, 0x1007f470
push 7
cmova eax, dword [0x1007f470]
push str.symbol_
push ecx
push eax
push ecx
push dword [ebp - 0x68]
lea ecx, [ebp - 0x2c]
call fcn.1000dae0
mov dword [ebp - 0x64], 0x10
mov eax, dword [ebp - 0x70]
mov byte [ebp - 4], 4
test ax, ax
jne 0x1002dffc
movaps xmm0, xmmword [0x10077020]
xor ecx, ecx
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0x3b71342d
mov word [ebp - 0x4c], 0x2b27
mov byte [ebp - 0x4a], al
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0x15
jb 0x1002dfa7
xorps xmm0, xmm0
mov byte [ebp - 0x4a], 0
lea ecx, [ebp - 0x5f]
mov dword [ebp - 0x78], 0
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x74], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002dfd6
sub ecx, edx
lea eax, [ebp - 0x5f]
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.10005220
lea ecx, [ebp - 0x88]
mov eax, 0x11
jmp 0x1002e04b
cmp dword [ebp - 0x18], 0xf
xorps xmm0, xmm0
cwde
push eax
movsx eax, si
push eax
push 1
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
push eax
sub esp, 0x18
mov ecx, esp
push 0x10
movups xmmword [ecx], xmm0
push str._ss__d__d__d.dxt
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10005220
lea eax, [ebp - 0xa0]
push eax
call fcn.10004db0
mov ecx, eax
add esp, 0x2c
mov eax, 0x12
mov dword [ebp - 0x34], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x48], eax
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov dword [ebp - 4], 6
test al, 2
je 0x1002e0f0
mov ecx, dword [ebp - 0x8c]
and eax, 0xfffffffd
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x64], eax
cmp ecx, 0xf
jbe 0x1002e0d5
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002e0c8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e12a
push ecx
push edx
call fcn.100662c0
mov eax, dword [ebp - 0x48]
add esp, 8
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
mov byte [ebp - 4], 7
test al, 1
je 0x1002e13a
mov ecx, dword [ebp - 0x74]
and eax, 0xfffffffe
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x64], eax
cmp ecx, 0xf
jbe 0x1002e13a
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002e130
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002e130
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100662c0
add esp, 8
mov esi, dword [edi + 0x14]
test esi, esi
je 0x1002e15a
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002e15a
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call dword [0x10075244]
mov ecx, dword [edi + 0x14]
sub esp, 0x1c
call fcn.10013ae0
mov eax, dword [ebp - 0x68]
add esp, 0x1c
test ax, ax
jne 0x1002e1ec
movaps xmm0, xmmword [0x100773b0]
xor ecx, ecx
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0x672d6871
mov word [ebp - 0x4c], 0x777b
mov byte [ebp - 0x4a], al
nop dword [eax]
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0x15
jb 0x1002e190
xorps xmm0, xmm0
mov byte [ebp - 0x4a], 0
lea ecx, [ebp - 0x5f]
mov dword [ebp - 0x78], 0
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x74], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002e1c0
sub ecx, edx
lea eax, [ebp - 0x5f]
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.10005220
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 8
or dword [ebp - 0x48], 4
jmp 0x1002e26e
cmp dword [ebp - 0x18], 0xf
movaps xmm0, xmmword [0x10076bd0]
cwde
push eax
mov eax, dword [ebp - 0x6c]
cwde
push eax
lea eax, [ebp - 0x2c]
mov word [ebp - 0x4c], 0x1f
cmova eax, dword [ebp - 0x2c]
xor ecx, ecx
push 1
push eax
movups xmmword [ebp - 0x5c], xmm0
mov al, byte [ebp - 0x5c]
xor byte [ebp + ecx - 0x5b], al
inc ecx
cmp ecx, 0x10
jb 0x1002e214
sub esp, 0x18
mov byte [ebp - 0x4b], 0
mov edx, esp
lea ecx, [ebp - 0x5b]
xorps xmm0, xmm0
lea esi, [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 0x1002e244
sub ecx, esi
lea eax, [ebp - 0x5b]
push ecx
push eax
mov ecx, edx
call fcn.10005220
lea eax, [ebp - 0xb8]
push eax
call fcn.10004db0
add esp, 0x2c
mov ecx, eax
or dword [ebp - 0x48], 8
push ecx
lea ecx, [ebp - 0x44]
call fcn.1000dbd0
mov eax, dword [ebp - 0x48]
test al, 8
je 0x1002e2d8
mov ecx, dword [ebp - 0xa4]
and eax, 0xfffffff7
mov dword [ebp - 0x48], eax
cmp ecx, 0xf
jbe 0x1002e2bd
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002e2b0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e30c
push ecx
push edx
call fcn.100662c0
mov eax, dword [ebp - 0x48]
add esp, 8
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
mov dword [ebp - 4], 7
test al, 4
je 0x1002e31c
mov ecx, dword [ebp - 0x74]
cmp ecx, 0xf
jbe 0x1002e31c
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002e312
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002e312
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100662c0
add esp, 8
mov esi, dword [edi + 0x18]
test esi, esi
je 0x1002e33c
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002e33c
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call dword [0x10075244]
mov ecx, dword [edi + 0x18]
sub esp, 0x1c
call fcn.10013ae0
mov byte [ebp - 4], 4
add esp, 0x1c
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x1002e37e
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002e374
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e3ba
push ecx
push edx
call fcn.100662c0
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp ecx, 0xf
jbe 0x1002e3ca
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002e3c0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002e3c0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100662c0
add esp, 8
mov esi, dword [edi + 0x34]
test esi, esi
je 0x1002e3e8
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002e3e8
push 1
mov ecx, esi
call dword [0x10075210]
mov ecx, dword [ebx + 0x2c]
cmp ecx, 0xf
jbe 0x1002e418
mov edx, dword [ebx + 0x18]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002e40e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e450
push ecx
push edx
call fcn.100662c0
add esp, 8
mov ecx, dword [ebx + 0x44]
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0xf
mov byte [ebx + 0x18], 0
cmp ecx, 0xf
jbe 0x1002e460
mov edx, dword [ebx + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002e456
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002e456
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100662c0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1006625f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x40
call fcn.100050b0
int3