Function at 0x180012b70
Capabilities:
Create directory
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2d0]
sub rsp, 0x3d0
mov rax, qword [0x1800660c0]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
mov r15, rdx
mov ebx, ecx
xor esi, esi
mov dword [rsp + 0x48], esi
mov qword [rsp + 0x38], rsi
lea r8, [rsp + 0x38]
lea rdx, [0x180014530]
mov r14d, 6
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
mov rdi, qword [rsp + 0x38]
movzx edx, bx
lea r8, str.object
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
test rax, rax
je 0x180013097
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r13, rax
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x38], eax
mov edx, 0x104
lea rcx, [rbp + 0xb0]
call fcn.18001ec3c
xor edx, edx
lea rcx, [rbp + 0xb0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], rsi
mov qword [rbp + 0xa8], 7
mov word [rbp + 0x90], si
lea rax, [rbp + 0xb0]
mov rdi, 0xffffffffffffffff
mov rdx, rdi
nop dword [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x180012c70
lea rcx, [rbp + 0x90]
cmp rdx, 7
ja 0x180012cab
mov qword [rbp + 0xa0], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp + 0xb0]
call fcn.1800321a0
mov word [rbp + rbx + 0x90], si
jmp 0x180012cc2
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0xb0]
movzx r8d, byte [rsp + 0x30]
call fcn.1800134e0
mov rdx, qword [rbp + 0xa0]
mov r8, qword [rbp + 0xa8]
mov rax, r8
sub rax, rdx
lea rcx, [rbp + 0x90]
cmp rax, 1
jb 0x180012d0b
lea rax, [rdx + 1]
mov qword [rbp + 0xa0], rax
cmp r8, 7
cmova rcx, qword [rbp + 0x90]
mov eax, dword [0x18005e868]
mov word [rcx + rdx*2], ax
mov word [rcx + rdx*2 + 2], si
jmp 0x180012d30
mov qword [rsp + 0x20], 1
lea r9, [0x18005e868]
movzx r8d, byte [rsp + 0x30]
mov edx, 1
call fcn.1800134e0
nop dword [rax + rax]
inc rdi
cmp word [r15 + rdi*2], 0
jne 0x180012d30
mov r12, qword [rbp + 0xa0]
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
sub rax, r12
cmp rdi, rax
ja 0x180012d8c
lea rax, [rdi + r12]
mov qword [rbp + 0xa0], rax
lea rbx, [rbp + 0x90]
cmp rcx, 7
cmova rbx, qword [rbp + 0x90]
lea rcx, [rbx + r12*2]
lea r8, [rdi + rdi]
mov rdx, r15
call fcn.1800321a0
lea rax, [r12 + rdi]
mov word [rbx + rax*2], si
jmp 0x180012da9
mov qword [rsp + 0x20], rdi
mov r9, r15
movzx r8d, byte [rsp + 0x30]
mov rdx, rdi
lea rcx, [rbp + 0x90]
call fcn.1800134e0
lea rax, [0x18005e870]
mov qword [rbp - 0x80], rax
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x38], rsi
mov dword [rbp + 0x40], esi
mov qword [rbp + 0x48], rsi
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x60], xmm1
movdqa xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x80], 0
mov dword [rsp + 0x48], 1
lea r15, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x28], r15
mov dword [rbp + 0x24], 0x98
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x28]
call fcn.180003600
nop
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x80], r12
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x7c], edx
lea rcx, [rbp - 0x78]
call fcn.180003410
nop
lea rdx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 7
cmova rdx, qword [rbp + 0x90]
mov r8d, 0x32
lea rcx, [rbp - 0x78]
call fcn.1800032b0
mov ebx, 2
test rax, rax
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
je 0x180012e8d
mov eax, 4
cmp qword [rbp + rcx - 0x38], 0
cmovne eax, esi
mov dword [rbp + rcx - 0x70], eax
test dword [rbp + rcx - 0x6c], eax
jne 0x1800130c7
jmp 0x180012eae
mov eax, r14d
cmp qword [rbp + rcx - 0x38], 0
cmovne eax, ebx
or eax, dword [rbp + rcx - 0x70]
and eax, 0x17
mov dword [rbp + rcx - 0x70], eax
and eax, dword [rbp + rcx - 0x6c]
jne 0x1800130ff
cmp qword [rbp + 8], 0
je 0x180012ff5
mov r8d, dword [rsp + 0x38]
mov rdx, r13
lea rcx, [rbp - 0x80]
call fcn.180013250
lea rcx, [rbp - 0x78]
call fcn.1800031a0
test rax, rax
jne 0x180012f03
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
cmp qword [rbp + rcx - 0x38], 0
cmovne r14d, ebx
or r14d, dword [rbp + rcx - 0x70]
and r14d, 0x17
mov dword [rbp + rcx - 0x70], r14d
and r14d, dword [rbp + rcx - 0x6c]
jne 0x180013151
mov ecx, 0x28
call fcn.180015dc4
mov rdi, rax
mov qword [rsp + 0x38], rax
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x50]
call fcn.180012930
mov r14, rax
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
mov word [rdi], si
cmp rdi, rax
je 0x180012f98
mov rdx, qword [rax + 0x10]
mov r9, rax
cmp qword [rax + 0x18], 7
jbe 0x180012f59
mov r9, qword [rax]
cmp rdx, 7
ja 0x180012f90
mov r15, rdi
cmp qword [rdi + 0x18], 7
jbe 0x180012f6c
mov r15, qword [rdi]
mov qword [rdi + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
mov rcx, r15
call fcn.1800321a0
mov word [rbx + r15], si
lea r15, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
jmp 0x180012f98
mov rcx, rdi
call fcn.1800136c0
lea rax, [rbp + 0xb0]
mov qword [rdi + 0x20], rax
mov rdx, qword [r14 + 0x18]
cmp rdx, 7
jbe 0x180012fe2
mov rcx, qword [r14]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x180012fdd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800130c1
mov rcx, r8
call fcn.180015d88
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], 7
mov word [r14], si
mov rsi, rdi
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x80], r12
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x7c], edx
lea rcx, [rbp - 0x78]
call fcn.180002980
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x80], r15
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x7c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x28], rax
lea rcx, [rbp + 0x28]
call fcn.1800149b8
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 7
jbe 0x180013094
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001308f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800131a6
call fcn.180015d88
mov rax, rsi
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.180015d60
mov rbx, qword [rsp + 0x420]
add rsp, 0x3d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.18001df38
nop
lea rbx, str.ios_base::badbit_set
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.180004ae0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1800047c0
lea rdx, [0x180064050]
lea rcx, [rsp + 0x50]
call fcn.180017c24
int3
test al, 4
je 0x18001310c
lea rbx, str.ios_base::badbit_set
jmp 0x180013120
test bl, al
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.180004ae0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1800047c0
lea rdx, [0x180064050]
lea rcx, [rsp + 0x50]
call fcn.180017c24
int3
test r14b, 4
je 0x180013160
lea rbx, str.ios_base::badbit_set
jmp 0x180013175
test bl, r14b
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.180004ae0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1800047c0
lea rdx, [0x180064050]
lea rcx, [rsp + 0x50]
call fcn.180017c24
nop
call fcn.18001df38
int3