Function at 0x1003dce0
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 0x10067ee2
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xd0
mov eax, dword [0x1007c040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xa0]
mov dword [ebp - 0x64], eax
mov eax, dword [esi + 0xa4]
mov dword [ebp - 0x60], eax
mov eax, dword [esi + 0xa8]
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0xac]
mov dword [ebp - 0x58], eax
mov eax, dword [esi + 0xb0]
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 0xb4]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0xb8]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 0xbc]
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0xc0]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0xc4]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0xc8]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0xcc]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0xd0]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0xd4]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0xd8]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0xdc]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0xe0]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0xe4]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0xe8]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0xec]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.1003e900
movzx ecx, word [esi + 0xf6]
movzx eax, word [esi + 0xf4]
movaps xmm0, xmmword [0x10075240]
push ecx
push eax
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x6c], 0x3e7f75
xor ecx, ecx
mov al, byte [ebp - 0x7c]
xor byte [ebp + ecx - 0x7b], al
inc ecx
cmp ecx, 0x12
jb 0x1003de10
sub esp, 0x18
mov byte [ebp - 0x69], 0
mov edx, esp
lea ecx, [ebp - 0x7b]
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 0x1003de40
sub ecx, edi
lea eax, [ebp - 0x7b]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
lea eax, [ebp - 0xdc]
push eax
call fcn.10004d30
add esp, 0x24
mov edx, eax
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 0xf
jbe 0x1003de75
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x84], 0
xorps xmm0, xmm0
mov dword [ebp - 0x80], 0
movups xmmword [ebp - 0x94], xmm0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003de95
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x94]
call fcn.100051a0
mov byte [ebp - 4], 1
mov edi, dword [esi + 0x50]
test edi, edi
je 0x1003ded2
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003ded2
lea eax, [ebp - 0x94]
mov ecx, edi
push eax
call dword [0x10073638]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x80]
cmp ecx, 0xf
jbe 0x1003df09
mov edx, dword [ebp - 0x94]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003deff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003df54
push ecx
push edx
call fcn.100641c5
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
cmp ecx, 0xf
jbe 0x1003df64
mov edx, dword [ebp - 0xdc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003df5a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003df5a
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
movzx eax, word [esi + 0xf8]
test ax, ax
jne 0x1003e036
mov cl, 0x7b
mov byte [ebp - 0x66], 0
mov al, 0x56
mov byte [ebp - 0x68], cl
xor al, cl
mov byte [ebp - 0x66], 0
xorps xmm0, xmm0
mov byte [ebp - 0x67], al
lea ecx, [ebp - 0x67]
mov dword [ebp - 0x84], 0
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x80], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003dfb0
sub ecx, edx
lea eax, [ebp - 0x67]
push ecx
push eax
lea ecx, [ebp - 0x94]
call fcn.100051a0
mov dword [ebp - 4], 2
mov edi, dword [esi + 0x54]
test edi, edi
je 0x1003dff4
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push edi
call eax
test eax, eax
jne 0x1003dff4
lea eax, [ebp - 0x94]
mov ecx, edi
push eax
call dword [0x10073638]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x80]
cmp ecx, 0xf
jbe 0x1003e1b0
mov edx, dword [ebp - 0x94]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003e1a6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003e1a6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push eax
mov cl, 0x1b
mov dword [ebp - 0x78], 0x78724f1b
mov dword [ebp - 0x74], 0x216f7e70
xor eax, eax
mov dword [ebp - 0x70], 0x7f3e383b
mov byte [ebp - 0x6c], 0
xor byte [ebp + eax - 0x77], cl
inc eax
cmp eax, 0xb
jae 0x1003e063
mov cl, byte [ebp - 0x78]
jmp 0x1003e054
sub esp, 0x18
mov byte [ebp - 0x6c], 0
mov edx, esp
lea ecx, [ebp - 0x77]
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 0x1003e086
sub ecx, edi
lea eax, [ebp - 0x77]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
lea eax, [ebp - 0xdc]
push eax
call fcn.10004d30
add esp, 0x20
mov edx, eax
mov dword [ebp - 4], 3
cmp dword [edx + 0x14], 0xf
jbe 0x1003e0bb
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x84], 0
xorps xmm0, xmm0
mov dword [ebp - 0x80], 0
movups xmmword [ebp - 0x94], xmm0
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003e0e0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x94]
call fcn.100051a0
mov byte [ebp - 4], 4
mov edi, dword [esi + 0x54]
test edi, edi
je 0x1003e11e
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push edi
call eax
test eax, eax
jne 0x1003e11e
lea eax, [ebp - 0x94]
mov ecx, edi
push eax
call dword [0x10073638]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x80]
cmp ecx, 0xf
jbe 0x1003e155
mov edx, dword [ebp - 0x94]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003e14b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e1a0
push ecx
push edx
call fcn.100641c5
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
cmp ecx, 0xf
jbe 0x1003e1b0
mov edx, dword [ebp - 0xdc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003e1a6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003e1a6
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
movzx eax, word [esi + 0xf4]
movss xmm1, dword [0x10074730]
test ax, ax
je 0x1003e1cf
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
sub esp, 8
mov byte [ebp - 0x6c], 0
xor ecx, ecx
movsd qword [esp], xmm0
movaps xmm0, xmmword [0x10075100]
movups xmmword [ebp - 0x7c], xmm0
nop dword [eax + eax]
mov al, byte [ebp - 0x7c]
xor byte [ebp + ecx - 0x7b], al
inc ecx
cmp ecx, 0xf
jb 0x1003e1f0
sub esp, 0x18
mov byte [ebp - 0x6c], 0
mov edx, esp
lea ecx, [ebp - 0x7b]
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 0x1003e220
sub ecx, edi
lea eax, [ebp - 0x7b]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
lea eax, [ebp - 0xc4]
push eax
call fcn.10004d30
add esp, 0x24
mov edx, eax
mov dword [ebp - 4], 5
cmp dword [edx + 0x14], 0xf
jbe 0x1003e255
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x9c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x98], 0
movups xmmword [ebp - 0xac], xmm0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003e278
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0xac]
call fcn.100051a0
mov byte [ebp - 4], 6
mov edi, dword [esi + 0x58]
test edi, edi
je 0x1003e2b5
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003e2b5
lea eax, [ebp - 0xac]
mov ecx, edi
push eax
call dword [0x10073638]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x98]
cmp ecx, 0xf
jbe 0x1003e2ef
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003e2e5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e33d
push ecx
push edx
call fcn.100641c5
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0xf
mov byte [ebp - 0xac], 0
cmp ecx, 0xf
jbe 0x1003e34d
mov edx, dword [ebp - 0xc4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003e343
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003e343
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 ecx, esi
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0xf
mov byte [ebp - 0xc4], 0
call fcn.1003d0f0
mov edi, dword [esi]
test edi, edi
je 0x1003e38c
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003e38c
push 1
mov ecx, edi
call dword [0x100735d4]
mov byte [esi + 0xfa], 1
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.10064164
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret