Function at 0x180003c90
Capabilities:
Accept command line arguments
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x2e0]
sub rsp, 0x3e0
mov rdi, rcx
xor r14d, r14d
cmp edx, 1
jne 0x1800040e4
mov dword [rbp - 0x50], 0x11c
mov qword [rbp - 0x44], r14
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x3c]
call fcn.180065190
mov word [rbp + 0xc6], r14w
xor eax, eax
mov dword [rbp + 0xc8], eax
mov r8b, 3
lea edx, [rax + 2]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov rcx, rax
mov r8b, 3
lea edx, [r14 + 1]
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov rcx, rax
mov r8b, 3
lea edx, [r14 + 0x20]
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov qword [rbp - 0x4c], 0xa
mov word [rbp + 0xc4], r14w
mov r8, rax
lea edx, [r14 + 0x23]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x1800040e4
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.18000e710
nop
mov rax, qword [0x18009c348]
test rax, rax
je 0x180003dd4
mov rcx, qword [0x18009c348]
mov rax, qword [0x18009c340]
mov rdx, qword [rax]
movzx eax, byte [rcx]
xor al, 0xd5
mov byte [rdx], al
movzx eax, byte [rcx + 1]
xor al, 0xee
mov byte [rdx + 1], al
movzx eax, byte [rcx + 2]
xor al, 0x8a
mov byte [rdx + 2], al
movzx eax, byte [rcx + 3]
xor al, 0x55
mov byte [rdx + 3], al
movzx eax, byte [rcx + 4]
xor al, 0x10
mov byte [rdx + 4], al
movzx eax, byte [rcx + 5]
xor al, 0x66
mov byte [rdx + 5], al
movzx eax, byte [rcx + 6]
xor al, 0xf1
mov byte [rdx + 6], al
movzx eax, byte [rcx + 7]
xor al, 0x30
mov byte [rdx + 7], al
movzx eax, byte [rcx + 8]
xor al, 0xd5
mov byte [rdx + 8], al
mov rax, qword [0x18009c340]
mov rcx, qword [rax]
mov byte [rcx + 9], r14b
mov qword [0x18009c348], r14
lea rdx, [0x18009c340]
lea rcx, [rsp + 0x58]
call fcn.18000e630
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x68]
call fcn.18000e9d0
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x78]
call fcn.1800108c0
xor r8d, r8d
lea rdx, [rbp - 0x68]
mov rcx, rax
call fcn.180010670
mov rbx, rax
lea rcx, [rbp - 0x80]
call fcn.18000ec70
lea rcx, [rsp + 0x58]
call fcn.18000ec70
shr rbx, 0x3f
test bl, bl
jne 0x1800040da
mov edx, 0x66
lea r8d, [rdx - 0x5c]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x1800040da
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x1800040da
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x1800040da
test ebx, ebx
je 0x1800040da
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.180015bf0
nop
lea rcx, [rbp + 0xd0]
call fcn.180015e30
nop
mov edx, 0x20
lea rcx, [rbp + 0x318]
call fcn.180015c90
nop
lea rcx, [rbp + 0x318]
call fcn.180015e50
mov rbx, rax
lea rcx, [rbp + 0x318]
call fcn.180015d00
mov r8, rax
mov r9d, ebx
call fcn.180001620
lea rcx, [rbp + 0x318]
call fcn.180015e50
mov rbx, rax
lea rcx, [rbp + 0x318]
call fcn.180015d00
mov rdx, rax
mov r8, rbx
lea rcx, [rbp + 0xd0]
call fcn.180017970
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x78]
call fcn.180015900
mov r9, qword [rbp - 0x70]
mov r8, qword [rbp - 0x78]
lea rdx, [rbp + 0xd0]
lea rcx, [rsp + 0x48]
call fcn.180001800
nop
mov rcx, qword [rbp + 0x318]
test rcx, rcx
je 0x180003f53
call fcn.180011550
mov qword [rbp + 0x318], r14
lea rcx, [rbp + 0xd0]
call fcn.180011670
nop
lea rcx, [rsp + 0x48]
call fcn.180015e50
mov rbx, rax
lea rcx, [rsp + 0x48]
call fcn.180015d00
mov rdx, rax
mov r8, rbx
lea rcx, [rsp + 0x40]
call fcn.18001a030
nop
lea rcx, [rsp + 0x40]
call fcn.180015e50
mov rbx, rax
lea rcx, [rsp + 0x40]
call fcn.180015d00
mov rdx, rbx
mov rcx, rax
call fcn.180002bb0
mov rbx, rax
mov rax, qword [0x18009c358]
test rax, rax
je 0x180003ff8
mov rcx, qword [0x18009c358]
mov rax, qword [0x18009c350]
mov rdx, qword [rax]
movzx eax, byte [rcx]
xor al, 0xd5
mov byte [rdx], al
movzx eax, byte [rcx + 1]
xor al, 0xee
mov byte [rdx + 1], al
movzx eax, byte [rcx + 2]
xor al, 0x8a
mov byte [rdx + 2], al
mov rax, qword [0x18009c350]
mov rcx, qword [rax]
mov byte [rcx + 3], 0
mov qword [0x18009c358], r14
lea rdx, [0x18009c350]
lea rcx, [rsp + 0x60]
call fcn.18000e630
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x180004018
mov rdx, qword [rax]
jmp 0x18000401b
mov rdx, r14
mov rcx, rbx
call fcn.1800031d0
mov rdi, rax
lea rcx, [rsp + 0x60]
call fcn.18000ec70
test rdi, rdi
je 0x18000409e
mov ecx, 0x20
call fcn.180062900
mov rbx, rax
mov rcx, rax
call fcn.180018520
lea rax, [0x180093768]
mov qword [rbx], rax
mov qword [rbx + 0x18], rdi
mov rcx, rbx
call fcn.180011610
mov qword [rsp + 0x70], rbx
mov r8d, 0x100000
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x68]
call fcn.180014960
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x18000408e
call fcn.180011550
mov qword [rsp + 0x68], r14
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x18000409e
call fcn.180011550
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1800040b2
call fcn.180011550
mov qword [rsp + 0x40], r14
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1800040c6
call fcn.180011550
mov qword [rsp + 0x48], r14
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1800040da
call fcn.180011550
mov qword [rsp + 0x50], r14
lea rcx, [rsp + 0x78]
call fcn.18000ec70
mov eax, 1
lea r11, [rsp + 0x3e0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret