Function at 0x1400c6de0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1e8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov rbp, qword [rsp + 0x250]
movsx esi, cl
mov rbx, r9
mov r13, rdx
mov qword [rsp + 0xa0], rdx
lea rcx, [rsp + 0xc0]
mov edx, 0x104
mov qword [rsp + 0x88], rbx
mov r12, r8
mov byte [rsp + 0x61], sil
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
or r14, 0xffffffffffffffff
mov r8d, esi
mov dword [rsp + 0x68], esi
mov rcx, r14
mov rdx, rax
mov qword [rsp + 0x90], rax
nop dword [rax + rax]
inc rcx
cmp byte [rcx + rbp], 0
jne 0x1400c6e60
mov eax, r12d
mov r15d, r8d
imul eax, r13d
sub r15d, eax
sub r15d, ebx
sub r15d, edx
add r15d, dword [rsp + 0x258]
sub r15d, ecx
mov rcx, r14
nop word [rax + rax]
inc rcx
cmp byte [rcx + rbp], 0
jne 0x1400c6e90
movzx eax, r12b
imul cl
mov ecx, ebx
imul ecx, edx
lea edi, [rax + r13]
mov r13d, 0xfffffff7
mov dword [rsp + 0x80], ecx
add dil, sil
movzx r9d, dil
mov eax, r9d
mov dword [rsp + 0x70], r9d
imul eax, r15d
sub r13d, eax
mov eax, r12d
imul eax, ebx
lea ebx, [r8 - 9]
sub ecx, eax
sub ecx, r9d
sub ecx, r13d
add ebx, ecx
lea rcx, str.pince_nez
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x78], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, eax
mov dword [rsp + 0x64], eax
movzx eax, sil
movzx ecx, bl
imul r12b
sub cl, al
sub cl, dl
mov byte [rsp + 0x60], cl
cmp dil, r13b
jne 0x1400c6f28
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, r14
movzx esi, al
mov qword [rsp + 0xa8], rax
shl sil, 6
inc rcx
cmp byte [rcx + rbp], 0
jne 0x1400c6f40
imul ecx, dword [rsp + 0x88]
movsx rax, byte [rsp + 0x61]
mov r8, qword [rsp + 0x78]
add r8d, 0xfffffffd
mov edx, 0x388
imul ecx, dword [rsp + 0x258]
sub eax, ecx
movzx ecx, dil
sub eax, ebx
sub eax, r13d
add eax, ecx
xor ecx, ecx
add eax, r12d
add eax, r8d
lea r8d, [rcx + 0x10]
mov dword [rsp + 0x6c], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
movzx eax, byte [rsp + 0x90]
imul byte [rsp + 0x88]
movzx edx, byte [rsp + 0xa8]
mov r8d, dword [rsp + 0x258]
add dl, dl
sub dl, al
movzx eax, dil
add dl, 0x1d
add dl, dl
imul r15b
sub dl, al
movzx eax, r13b
shl al, 3
lea ecx, [rax + r13]
movzx eax, byte [rsp + 0x60]
sub dl, cl
mov ecx, dword [rsp + 0x64]
sub dl, r12b
sub dl, al
sub dl, cl
add dl, r8b
movzx r8d, sil
add dl, byte [rsp + 0x61]
mov dword [rsp + 0x90], r8d
movsx r9d, dl
movzx edx, cl
mov rcx, r14
mov dword [rsp + 0x64], edx
mov dword [rsp + 0x98], r9d
inc rcx
cmp byte [rcx + rbp], 0
jne 0x1400c7007
movsx eax, al
mov esi, r9d
mov r9d, r13d
imul eax, edx
mov edx, dword [rsp + 0x6c]
imul esi, edx
sub esi, eax
mov eax, dword [rsp + 0x78]
imul eax, r13d
sub esi, eax
lea eax, [r8 + r8*4]
lea r8, str.chard
add esi, eax
movzx eax, dil
xor edi, edi
sub esi, dword [rsp + 0xa0]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
add esi, eax
mov qword [rsp + 0x40], rdi
add esi, dword [rsp + 0x68]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
sub esi, ecx
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], edx
lea rdx, str.c2a2
mov ecx, r13d
sub esi, 0x24
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea r8d, [rdi + 0xf]
mov edx, 0x2d9
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r9d, dword [rsp + 0x98]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], 0x40
mov qword [rsp + 0xb0], rax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
lea r8, str.root
lea rdx, str.plough
mov edi, 1
mov ecx, r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [rsp + 0x98], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
sub edi, dword [rsp + 0x258]
imul edi, dword [rsp + 0x88]
sub edi, esi
mov rsi, qword [rsp + 0xa0]
add edi, 0x7e
add edi, dword [rsp + 0x68]
add edi, r12d
add edi, esi
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.c2a2
mov edx, eax
mov rax, r14
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1400c7150
mov ecx, dword [rsp + 0x6c]
inc eax
movsx edx, dl
shl ecx, 4
imul ebx, r13d
imul eax, dword [rsp + 0xa8]
sub edx, ecx
movsx rcx, byte [rsp + 0x60]
lea r8d, [rcx + rdx*2]
mov rcx, qword [rsp + 0x98]
mov rdx, qword [rsp + 0xb0]
imul ecx, edx
shl r8d, 2
sub r8d, ecx
mov ecx, r12d
add eax, r8d
mov r8, qword [rsp + 0x78]
imul ecx, r8d
add eax, ecx
lea ecx, [rbx + rbx*8]
add eax, ecx
mov rcx, r14
inc rcx
cmp byte [rcx + rbp], 0
jne 0x1400c71b0
imul ecx, dword [rsp + 0x258]
sub eax, ecx
imul ecx, edi, 7
add eax, ecx
lea rcx, str.tourist
sub eax, dword [rsp + 0x80]
sub eax, dword [rsp + 0x64]
sub eax, dword [rsp + 0x70]
sub eax, r12d
add eax, dword [rsp + 0x90]
add eax, dword [rsp + 0x68]
add eax, esi
add eax, edx
add eax, r15d
inc r14
cmp byte [rcx + r14], 0
jne 0x1400c71f3
sub eax, r14d
sub eax, 0x3a
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x1e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret