Function at 0x1003c4c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10062d45
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x10075604]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x15c]
cmp eax, dword [esi + 0x160]
je 0x1003ce25
mov ecx, dword [esi + 0x160]
sub ecx, eax
mov dword [ebp - 0x40], 0
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x1003c567
mov ebx, dword [ebp + 8]
xor edi, edi
xor ecx, ecx
nop dword [eax]
mov eax, dword [esi + 0x15c]
cmp dword [edi + eax + 0x18], ebx
je 0x1003c642
inc ecx
add edi, 0x68
mov dword [ebp - 0x40], ecx
mov ecx, dword [esi + 0x160]
sub ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
mov ecx, dword [ebp - 0x40]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jl 0x1003c530
mov ecx, dword [esi + 0x148]
shl ecx, 2
mov dword [ebp - 0x74], ecx
lea eax, [ecx - 4]
mov dword [ebp - 0x5c], eax
cmp eax, ecx
jge 0x1003ce25
imul edi, eax, 0x68
lea ebx, [esi + 0xc]
nop word [eax + eax]
mov ecx, dword [esi + 0x160]
mov eax, 0x4ec4ec4f
sub ecx, dword [esi + 0x15c]
add ebx, 0x18
imul ecx
mov dword [ebp - 0x40], ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
dec eax
add eax, edx
cmp dword [ebp - 0x5c], eax
jg 0x1003ce25
mov eax, dword [esi + 0x15c]
lea ecx, [ebp - 0x28]
push 0xffffffffffffffff
add eax, edi
mov dword [ebp - 0x70], 0xffc4fc03
push 0
push eax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.100026e0
mov eax, dword [esi + 0x15c]
mov dword [ebp - 4], 4
cmp byte [eax + edi + 0x64], 2
jne 0x1003cadf
movaps xmm0, xmmword [0x10068ec0]
xor ecx, ecx
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0x78657062
mov dword [ebp - 0x44], 0x4c7f7e
nop
mov al, byte [ebp - 0x58]
xor byte [ebp + ecx - 0x57], al
inc ecx
cmp ecx, 0x16
jb 0x1003c620
cmp byte [ebp - 0x57], 0
mov byte [ebp - 0x41], 0
jne 0x1003cab4
xor ecx, ecx
jmp 0x1003cac9
imul edx, ecx, 0x68
mov ebx, 4
mov ecx, eax
mov al, byte [ebp + 0xc]
mov dword [ebp - 0x70], edx
mov byte [edx + ecx + 0x64], al
lea edi, [edx + 0x58]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
sub eax, edx
mov dword [ebp + 0x10], eax
nop dword [eax]
nop dword [eax + eax]
mov ecx, dword [esi + 0x15c]
lea edx, [edx + 2]
movzx eax, word [eax + edx - 2]
lea edi, [edi + 2]
mov word [ecx + edi - 0xa], ax
mov ecx, dword [esi + 0x15c]
movzx eax, word [edx - 2]
mov word [edi + ecx - 2], ax
mov eax, dword [ebp + 0x10]
sub ebx, 1
jne 0x1003c670
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x144]
jne 0x1003c567
or edi, 0xffffffff
xor al, al
mov dword [ebp - 0x5c], edi
mov byte [ebp - 0x29], al
nop word [eax + eax]
movzx ebx, al
mov dword [ebp - 0x90], ebx
push dword [esi + ebx*4 + 0x84]
call fcn.10012750
add esp, 4
test al, al
je 0x1003ca99
mov eax, dword [esi + 0x15c]
mov ecx, dword [ebp - 0x70]
cmp byte [eax + ecx + 0x64], 2
jne 0x1003c7b5
movaps xmm0, xmmword [0x10068e30]
xor ecx, ecx
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0x787e6376
mov word [ebp - 0x44], 0x4a79
mov byte [ebp - 0x42], 0
mov al, byte [ebp - 0x58]
xor byte [ebp + ecx - 0x57], al
inc ecx
cmp ecx, 0x15
jb 0x1003c712
cmp byte [ebp - 0x57], 0
mov byte [ebp - 0x42], 0
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
jne 0x1003c742
xor ecx, ecx
jmp 0x1003c751
lea ecx, [ebp - 0x57]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003c748
sub ecx, edx
push ecx
lea eax, [ebp - 0x57]
push eax
lea ecx, [ebp - 0x8c]
call fcn.10002800
lea eax, [ebp - 0x8c]
mov dword [ebp - 4], 0
push eax
push dword [esi + 0x7c]
call fcn.10013630
mov eax, dword [ebp - 0x78]
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x1003c79b
inc eax
push 1
push eax
push dword [ebp - 0x8c]
call fcn.10002610
add esp, 0xc
push 0xff5cb9fe
push dword [esi + 0x7c]
call fcn.10013600
mov edi, 0xff808080
mov dword [ebp - 0x5c], edi
jmp 0x1003c870
mov cl, 0x3c
mov dword [ebp - 0x3c], 0x5269673c
mov dword [ebp - 0x38], 0x1c4e5958
xor eax, eax
mov dword [ebp - 0x34], 0x61455d4b
mov byte [ebp - 0x30], 0
xor byte [ebp + eax - 0x3b], cl
inc eax
cmp eax, 0xb
jae 0x1003c7e1
mov cl, byte [ebp - 0x3c]
jmp 0x1003c7d2
cmp byte [ebp - 0x3b], 0
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
jne 0x1003c804
xor ecx, ecx
jmp 0x1003c819
lea ecx, [ebp - 0x3b]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003c810
sub ecx, edx
push ecx
lea eax, [ebp - 0x3b]
push eax
lea ecx, [ebp - 0x8c]
call fcn.10002800
lea eax, [ebp - 0x8c]
mov dword [ebp - 4], 1
push eax
push dword [esi + 0x7c]
call fcn.10013630
mov eax, dword [ebp - 0x78]
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x1003c863
inc eax
push 1
push eax
push dword [ebp - 0x8c]
call fcn.10002610
add esp, 0xc
push 0xffc4fc03
push dword [esi + 0x7c]
call fcn.10013600
add esp, 8
lea eax, [ebx + ebx*4]
mov dword [ebp - 0x74], eax
push edi
push dword [esi + eax*4 + 0xb0]
call fcn.10013600
imul edx, dword [ebp - 0x40], 0x34
add esp, 8
mov eax, dword [esi + 0x15c]
lea ecx, [ebx + edx]
movzx eax, word [eax + ecx*2 + 0x58]
lea ecx, [ebx + edx]
push eax
mov eax, dword [esi + 0x15c]
mov bh, 0x2f
mov dword [ebp - 0x94], ecx
mov dl, 0xf
xor bl, bl
movzx eax, word [eax + ecx*2 + 0x50]
mov cl, 0x4b
push eax
mov dh, cl
mov byte [ebp - 0x60], bl
mov ah, dl
mov byte [ebp - 0x68], bh
xor dl, bh
mov byte [ebp - 0x60], 0
mov byte [ebp - 0x65], dl
xor dh, bh
mov byte [ebp - 0x61], dh
mov al, 0xa
sub esp, 0x18
mov ch, al
mov edx, esp
xor al, bh
mov byte [ebp - 0x67], al
xor cl, bh
mov byte [ebp - 0x66], cl
xor bl, bh
mov byte [ebp - 0x64], bl
xor ah, bh
mov byte [ebp - 0x63], ah
xor ch, bh
mov byte [ebp - 0x62], ch
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x1003c919
mov eax, dword [edx]
jmp 0x1003c91b
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x67], 0
jne 0x1003c928
xor ecx, ecx
jmp 0x1003c939
lea ecx, [ebp - 0x67]
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003c930
sub ecx, edi
push ecx
lea eax, [ebp - 0x67]
mov ecx, edx
push eax
call fcn.10002800
lea eax, [ebp - 0x8c]
push eax
call fcn.10031980
add esp, 0x24
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov dword [ebp - 4], 2
jb 0x1003c965
mov edx, dword [edx]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp byte [edx], 0
jne 0x1003c980
xor ecx, ecx
jmp 0x1003c98e
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003c985
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.10002800
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
mov eax, dword [ebp - 0x90]
lea eax, [eax + eax*4]
push dword [esi + eax*4 + 0xb4]
call fcn.10013630
mov eax, dword [ebp - 0x44]
add esp, 8
mov byte [ebp - 4], 2
cmp eax, 0x10
jb 0x1003ca02
mov ecx, dword [ebp - 0x58]
inc eax
cmp eax, 0x1000
jb 0x1003c9f9
test cl, 0x1f
jne 0x1003caae
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x1003caae
sub ecx, eax
cmp ecx, 4
jb 0x1003caae
cmp ecx, 0x23
ja 0x1003caae
mov ecx, eax
push ecx
call fcn.1005e746
add esp, 4
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x1003ca54
mov ecx, dword [ebp - 0x8c]
inc eax
cmp eax, 0x1000
jb 0x1003ca4b
test cl, 0x1f
jne 0x1003caae
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x1003caae
sub ecx, eax
cmp ecx, 4
jb 0x1003caae
cmp ecx, 0x23
ja 0x1003caae
mov ecx, eax
push ecx
call fcn.1005e746
add esp, 4
mov eax, dword [esi + 0x15c]
sub esp, 0xc
mov ecx, dword [ebp - 0x94]
mov dword [esp + 8], 0
movzx eax, word [eax + ecx*2 + 0x50]
mov dword [esp + 4], 0
movd xmm0, eax
mov eax, dword [ebp - 0x74]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push dword [esi + eax*4 + 0xb8]
call fcn.100132d0
mov edi, dword [ebp - 0x5c]
add esp, 0x10
mov al, byte [ebp - 0x29]
inc al
mov byte [ebp - 0x29], al
cmp al, 4
jb 0x1003c6c0
jmp 0x1003c567
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea ecx, [ebp - 0x57]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003cac0
sub ecx, edx
push ecx
lea eax, [ebp - 0x57]
push eax
lea ecx, [ebp - 0x28]
call fcn.1000a650
mov dword [ebp - 0x70], 0xff5cb9fe
jmp 0x1003cb39
mov cl, 0x59
mov dword [ebp - 0x3c], 0xc027959
mov dword [ebp - 0x38], 0x2b3c3d37
xor eax, eax
mov dword [ebp - 0x34], 0x20382e79
mov word [ebp - 0x30], 4
nop
xor byte [ebp + eax - 0x3b], cl
inc eax
cmp eax, 0xc
jae 0x1003cb0f
mov cl, byte [ebp - 0x3c]
jmp 0x1003cb00
cmp byte [ebp - 0x3b], 0
mov byte [ebp - 0x2f], 0
jne 0x1003cb1d
xor ecx, ecx
jmp 0x1003cb2c
lea ecx, [ebp - 0x3b]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003cb23
sub ecx, edx
push ecx
lea eax, [ebp - 0x3b]
push eax
lea ecx, [ebp - 0x28]
call fcn.1000a650
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov dword [ebp - 0x78], 0xf
cmovae edx, dword [ebp - 0x28]
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
cmp byte [edx], 0
jne 0x1003cb62
xor ecx, ecx
jmp 0x1003cb73
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003cb67
sub ecx, ebx
mov ebx, dword [ebp - 0x40]
push ecx
push edx
lea ecx, [ebp - 0x8c]
call fcn.10002800
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 5
push eax
push dword [ebx]
call fcn.10013630
mov eax, dword [ebp - 0x78]
add esp, 8
mov byte [ebp - 4], 4
cmp eax, 0x10
jb 0x1003cbb3
inc eax
push 1
push eax
push dword [ebp - 0x8c]
call fcn.10002610
add esp, 0xc
push dword [ebp - 0x70]
push dword [ebx]
call fcn.10013600
mov eax, dword [esi + 0x15c]
add esp, 8
movaps xmm0, xmmword [0x10068cc0]
xor ecx, ecx
movzx eax, byte [eax + edi + 0x62]
push eax
mov eax, dword [esi + 0x15c]
movzx eax, byte [eax + edi + 0x61]
push eax
movups xmmword [ebp - 0x6c], xmm0
mov al, byte [ebp - 0x6c]
xor byte [ebp + ecx - 0x6b], al
inc ecx
cmp ecx, 0xe
jb 0x1003cbe5
sub esp, 0x18
mov byte [ebp - 0x5d], 0
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x1003cc21
mov eax, dword [edx]
jmp 0x1003cc23
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x6b], 0
jne 0x1003cc30
xor ecx, ecx
jmp 0x1003cc42
lea ecx, [ebp - 0x6b]
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003cc36
sub ecx, ebx
mov ebx, dword [ebp - 0x40]
push ecx
lea eax, [ebp - 0x6b]
mov ecx, edx
push eax
call fcn.10002800
lea eax, [ebp - 0xc8]
push eax
call fcn.10031980
add esp, 0x24
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 4], 6
jb 0x1003cc6b
mov edx, dword [edx]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp byte [edx], 0
jne 0x1003cc86
xor ecx, ecx
jmp 0x1003cc9c
mov ecx, edx
lea ebx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003cc90
sub ecx, ebx
mov ebx, dword [ebp - 0x40]
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.10002800
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 7
push eax
push dword [ebx - 4]
call fcn.10013630
mov eax, dword [ebp - 0x44]
add esp, 8
cmp eax, 0x10
jb 0x1003ccd0
inc eax
push 1
push eax
push dword [ebp - 0x58]
call fcn.10002610
add esp, 0xc
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 4
cmp eax, 0x10
jb 0x1003cd03
inc eax
push 1
push eax
push dword [ebp - 0xc8]
call fcn.10002610
add esp, 0xc
mov eax, dword [esi + 0x15c]
movzx eax, byte [eax + edi + 0x63]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.100384f0
add esp, 8
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 4], 8
jb 0x1003cd2c
mov edx, dword [edx]
mov dword [ebp - 0x9c], 0xf
mov dword [ebp - 0xa0], 0
mov byte [ebp - 0xb0], 0
cmp byte [edx], 0
jne 0x1003cd50
xor ecx, ecx
jmp 0x1003cd61
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003cd55
sub ecx, ebx
mov ebx, dword [ebp - 0x40]
push ecx
push edx
lea ecx, [ebp - 0xb0]
call fcn.10002800
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 9
push eax
push dword [ebx + 8]
call fcn.10013630
mov eax, dword [ebp - 0x9c]
add esp, 8
cmp eax, 0x10
jb 0x1003cda1
inc eax
push 1
push eax
push dword [ebp - 0xb0]
call fcn.10002610
add esp, 0xc
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x9c], 0xf
mov dword [ebp - 0xa0], 0
mov byte [ebp - 0xb0], 0
cmp eax, 0x10
jb 0x1003cdd9
inc eax
push 1
push eax
push dword [ebp - 0xc8]
call fcn.10002610
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xb4], 0xf
mov dword [ebp - 0xb8], 0
mov byte [ebp - 0xc8], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x1003ce12
push 1
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10002610
add esp, 0xc
mov eax, dword [ebp - 0x5c]
add edi, 0x68
inc eax
mov dword [ebp - 0x5c], eax
cmp eax, dword [ebp - 0x74]
jl 0x1003c590
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005e77e
mov esp, ebp
pop ebp
ret 0x10