Function at 0x4094f0
Capabilities:
Encode data using xor
Terminate process

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esi], 0x40e440
call fcn.004094c0
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
mov al, 0x5c
push 0
push 0
mov byte [esp + 0x1c], al
mov byte [esp + 0x1d], al
mov byte [esp + 0x1f], al
mov byte [esp + 0x30], al
mov byte [esp + 0x31], al
mov byte [esp + 0x33], al
push 0
lea ebx, [esi + 8]
push 0
lea eax, [esp + 0x24]
mov cl, 0x49
mov dl, 0x57
push 0
push eax
mov dword [ebx], 0
mov byte [esp + 0x2e], 0x2e
mov byte [esp + 0x34], cl
mov byte [esp + 0x35], 0x44
mov byte [esp + 0x36], 0
mov byte [esp + 0x30], 0x53
mov byte [esp + 0x31], cl
mov byte [esp + 0x32], dl
mov byte [esp + 0x33], 0x56
mov byte [esp + 0x42], 0x2e
mov byte [esp + 0x48], 0x43
mov byte [esp + 0x49], 0x45
mov byte [esp + 0x4a], 0
mov byte [esp + 0x44], dl
mov byte [esp + 0x45], cl
mov byte [esp + 0x46], 0x4e
mov byte [esp + 0x47], cl
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 0xffffffff
jne 0x4095b1
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x38]
push 0
push ecx
call edi
cmp eax, 0xffffffff
je 0x4095bc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 2
call ebp
mov al, 0x7b
xor edx, edx
mov byte [esp + 0x27], al
mov byte [esp + 0x29], al
mov al, 0xe6
mov word [esp + 0x31], dx
mov byte [esp + 0x13], al
mov byte [esp + 0x14], al
mov al, 0xe1
mov byte [esp + 0x24], 0x75
mov byte [esp + 0x16], al
mov byte [esp + 0x1f], al
mov byte [esp + 0x25], 0x70
mov byte [esp + 0x26], 0x7e
mov byte [esp + 0x28], 0x73
mov byte [esp + 0x2a], 0x43
mov byte [esp + 0x2b], 0x43
mov byte [esp + 0x2c], 0x40
mov byte [esp + 0x2d], 0x77
mov byte [esp + 0x2e], 0x80
mov byte [esp + 0x2f], 0x81
mov byte [esp + 0x30], 0x16
mov byte [esp + 0x33], dl
mov byte [esp + 0x10], 0xc9
mov byte [esp + 0x11], 0xf2
mov byte [esp + 0x12], 0xc6
mov byte [esp + 0x15], 0xf0
mov byte [esp + 0x17], 0xe0
mov byte [esp + 0x18], 0xed
mov byte [esp + 0x19], 0xfb
mov byte [esp + 0x1a], 0xda
mov byte [esp + 0x1b], 0xf9
mov byte [esp + 0x1c], 0xe9
mov byte [esp + 0x1d], 0xfe
mov byte [esp + 0x1e], 0xeb
mov byte [esp + 0x20], 0xe4
mov byte [esp + 0x21], 0x91
xor eax, eax
mov dl, byte [esp + eax + 0x24]
mov cl, 0xf6
sub cl, al
add dl, cl
mov byte [esp + eax + 0x24], dl
inc eax
cmp eax, 0xc
jle 0x409664
xor eax, eax
mov cl, byte [esp + eax + 0x10]
mov dl, al
add dl, 0x80
xor cl, dl
mov byte [esp + eax + 0x10], cl
inc eax
cmp eax, 0x12
jl 0x40967a
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4096cb
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4096c4
call eax
cmp eax, 1
jne 0x4096c4
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 2
call ebp
jmp 0x4096cb
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esp + 0x24], 0x5a4a7a66
mov dword [esp + 0x28], 0x64526a53
mov dword [esp + 0x2c], 0x724d6d7f
mov dword [esp + 0x30], 0x1739294a
xor eax, eax
mov edi, dword [esp + eax*4 + 0x24]
xor edi, 0x17391832
mov dword [esp + eax*4 + 0x24], edi
inc eax
cmp eax, 4
jb 0x4096ed
lea edx, [esp + 0x24]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
je 0x40971f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 2
call ebp
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
push ebx
push 0x2001f
push 0
push edi
push ebp
mov dword [esi + 0x110], 0x4143e0
mov dword [esi + 0x114], 0x4143dc
mov dword [esi + 0x118], 0x4143d8
mov byte [esi + 0x120], 1
mov byte [esi + 4], 0
mov byte [esi + 0x121], 0
mov dword [esi + 0x11c], 0x1e
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4097a1
push 0
push ebx
push 0
push 0x2001f
push 0
push 0
push 0
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4097a1
push ebx
push 0x20019
push 0
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8