Function at 0x43886c
Capabilities:
Create thread
Encode data using xor
Set file attributes
Terminate process

Disassembly:
push 0x160
mov eax, 0x583a50
call fcn.00560e29
cmp dword [0x69882c], 1
jne 0x438420
mov dword [ebp - 0x10], 0x58fa7c
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x10]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x43837a
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call fcn.00565205
mov edx, eax
xor eax, eax
mov dword [ebp - 0x10], eax
pop ecx
test esi, esi
je 0x438371
sub edi, edx
lea ecx, [eax + edx]
and eax, 7
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [ebx + 0xf]
jb 0x438356
mov eax, dword [ebx + 0xf]
mov edi, edx
mov byte [edx + eax], 0
push 1
push 0x40
push 8
push edi
lea ecx, [ebp - 0x16c]
call fcn.00424676
and dword [ebp - 4], 0
mov dword [ebp - 0x10], 0x594678
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x10]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x4383e4
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call fcn.00565205
mov edx, eax
xor eax, eax
mov dword [ebp - 0x10], eax
pop ecx
test esi, esi
je 0x4383db
sub edi, edx
lea ecx, [eax + edx]
and eax, 7
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [ebx + 0xf]
jb 0x4383c0
mov eax, dword [ebx + 0xf]
mov edi, edx
mov byte [edx + eax], 0
lea eax, [ebp - 0x16c]
push edi
push eax
call fcn.0042163d
push dword [0x698760]
lea eax, [ebp - 0x16c]
push eax
call fcn.0042163d
add esp, 0x10
lea ecx, [ebp - 0x16c]
call fcn.004251dc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x16c]
call fcn.004247cb
cmp dword [0x69883c], 1
jne 0x4385d6
lea eax, [ebp - 0x1c]
push eax
call fcn.005660ac
lea eax, [ebp - 0x1c]
push eax
call fcn.00565e0d
pop ecx
pop ecx
push 1
push 0x40
push 8
push 0x5912c4
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x14], eax
call fcn.00424676
mov dword [ebp - 0x10], 0x58fae0
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x10]
add edi, 0x14
mov dword [ebp - 4], 1
cmp byte [ebx + 0x13], 0
je 0x4384b5
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call fcn.00565205
mov edx, eax
xor eax, eax
mov dword [ebp - 0x10], eax
pop ecx
test esi, esi
je 0x4384ac
sub edi, edx
lea ecx, [eax + edx]
and eax, 7
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [ebx + 0xf]
jb 0x438491
mov eax, dword [ebx + 0xf]
mov edi, edx
mov byte [edx + eax], 0
lea eax, [ebp - 0xc4]
push edi
push eax
call fcn.0042163d
push dword [ebp - 0x14]
call fcn.00565c00
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0042163d
mov dword [ebp - 0x10], 0x5946c0
add esp, 0x14
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x10]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x43852e
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call fcn.00565205
mov edx, eax
xor eax, eax
mov dword [ebp - 0x10], eax
pop ecx
test esi, esi
je 0x438525
sub edi, edx
lea ecx, [eax + edx]
and eax, 7
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [ebx + 0xf]
jb 0x43850a
mov eax, dword [ebx + 0xf]
mov edi, edx
mov byte [edx + eax], 0
lea eax, [ebp - 0xc4]
push edi
push eax
call fcn.0042163d
push dword [0x698760]
lea eax, [ebp - 0xc4]
push eax
call fcn.0042163d
mov dword [ebp - 0x10], 0x58fb28
add esp, 0x10
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x10]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x4385a4
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call fcn.00565205
mov edx, eax
xor eax, eax
mov dword [ebp - 0x10], eax
pop ecx
test esi, esi
je 0x43859b
sub edi, edx
lea ecx, [eax + edx]
and eax, 7
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [ebx + 0xf]
jb 0x438580
mov eax, dword [ebx + 0xf]
mov edi, edx
mov byte [edx + eax], 0
lea eax, [ebp - 0xc4]
push edi
push eax
call fcn.0042163d
pop ecx
pop ecx
lea ecx, [ebp - 0xc4]
call fcn.004251dc
push 2
push 0x5912c4
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0xc4]
call fcn.004247cb
mov eax, dword [0x698830]
cmp eax, 1
jne 0x438604
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x4386ac
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 2
jne 0x438615
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x43878c
jmp 0x4385ea
cmp eax, 3
jne 0x438626
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x431a24
jmp 0x4385ea
cmp eax, 4
jne 0x4386a5
xor eax, eax
push eax
push eax
push eax
push 0x4299be
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x10], 0x594658
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x10]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x438691
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call fcn.00565205
mov edx, eax
xor eax, eax
mov dword [ebp - 0x10], eax
pop ecx
test esi, esi
je 0x438688
sub edi, edx
lea ecx, [eax + edx]
and eax, 7
mov al, byte [eax + ebx + 7]
xor al, byte [edi + ecx]
mov byte [ecx], al
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [ebx + 0xf]
jb 0x43866d
mov eax, dword [ebx + 0xf]
mov edi, edx
mov byte [edx + eax], 0
push 0x200010
push edi
push dword [0x698760]
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
jmp 0x4385fe
push dword [0x698760]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x438898
push dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, 0x6c1d90
call fcn.00437490
push eax
call fcn.0043730e
pop ecx
jmp 0x43830a
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
ret