Function at 0x43be30
Capabilities:
Create thread
Encode data using xor
Terminate process

Disassembly:
push 0xb8
mov eax, 0x5838fb
call fcn.00560e29
xor ebx, ebx
cmp dword [0x69882c], 1
jne 0x43bf99
mov dword [ebp - 0x10], 0x58fa7c
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x10]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x43bea2
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 0x43be99
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 0x43be7e
mov eax, dword [ebx + 0xf]
mov edi, edx
mov byte [edx + eax], 0
push 1
push 0x40
push 8
push edi
lea ecx, [ebp - 0xc4]
call fcn.00424676
and dword [ebp - 4], 0
mov dword [ebp - 0x10], 0x594f9c
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x10]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x43bf0c
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 0x43bf03
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 0x43bee8
mov eax, dword [ebx + 0xf]
mov edi, edx
mov byte [edx + eax], 0
lea eax, [ebp - 0xc4]
push edi
push eax
call fcn.0042163d
mov dword [ebp - 0x10], 0x594fc0
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x10]
pop ecx
add edi, 0x14
cmp byte [ebx + 0x13], 0
pop ecx
je 0x43bf72
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 0x43bf66
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 0x43bf4b
mov eax, dword [ebx + 0xf]
mov edi, edx
xor ebx, ebx
mov byte [edx + eax], bl
jmp 0x43bf74
xor ebx, ebx
lea eax, [ebp - 0xc4]
push edi
push eax
call fcn.0042163d
pop ecx
pop ecx
lea ecx, [ebp - 0xc4]
call fcn.004251dc
lea ecx, [ebp - 0xc4]
call fcn.004247cb
mov eax, dword [0x698830]
push ebx
cmp eax, 1
jne 0x43bfc5
push ebx
push ebx
push 0x43c14b
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 0x43bfd3
push ebx
push ebx
push 0x43c0d3
jmp 0x43bfab
cmp eax, 3
jne 0x43bfe1
push ebx
push ebx
push 0x431a24
jmp 0x43bfab
cmp eax, 4
jne 0x43c0ce
push ebx
push ebx
push 0x4299be
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x10], 0x594ff4
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x10]
add ebx, 0x14
mov dword [ebp - 0x1c], ebx
cmp byte [edi + 0x13], 0
je 0x43c053
mov esi, dword [edi + 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 0x43c047
sub ebx, edx
lea ecx, [eax + edx]
and eax, 7
mov al, byte [eax + edi + 7]
xor al, byte [ebx + ecx]
mov byte [ecx], al
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [edi + 0xf]
jb 0x43c02c
mov eax, dword [edi + 0xf]
mov ebx, edx
mov dword [ebp - 0x1c], edx
mov byte [edx + eax], 0
mov dword [ebp - 0x10], 0x594fc0
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x10]
add edi, 0x14
mov dword [ebp - 0x18], eax
cmp byte [eax + 0x13], 0
je 0x43c0b8
mov esi, dword [eax + 0xf]
lea eax, [esi + 1]
push eax
call fcn.00565205
mov edx, dword [ebp - 0x18]
pop ecx
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
test esi, esi
je 0x43c0af
mov ebx, ecx
sub edi, ebx
lea ecx, [eax + ebx]
and eax, 7
mov al, byte [eax + edx + 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 [edx + 0xf]
jb 0x43c08e
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0xf]
mov edi, ecx
mov byte [ecx + eax], 0
push 0x200010
push ebx
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
jmp 0x43bfbf
jmp 0x43bfbf