joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400199a0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
xor r15d, r15d
mov rbx, rcx
cmp dword [rcx + 0x20], r15d
je 0x140019a41
mov rax, qword [rcx + 0x18]
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140019a41
movsxd rcx, dword [rax + 0x3c]
mov edx, 0x4550
cmp word [rcx + rax], dx
jne 0x140019a41
lea rbp, [rcx + rax]
mov esi, r15d
movzx eax, word [rbp + 0x14]
lea rdi, [rbp + 0x18]
add rdi, rax
mov r14d, r15d
cmp r15w, word [rbp + 6]
jae 0x140019a41
test esi, esi
jne 0x140019a2d
lea rdx, str..rsrc
mov rcx, rdi
call fcn.140028adc
test eax, eax
jne 0x140019a19
lea esi, [rax + 1]
jmp 0x140019a1d
add rdi, 0x28
movzx ecx, word [rbp + 6]
inc r14d
cmp r14d, ecx
jl 0x1400199fd
test esi, esi
je 0x140019a41
mov ecx, dword [rdi + 0x14]
mov eax, 1
mov qword [rbx + 0x48], rcx
mov ecx, dword [rdi + 0xc]
mov dword [rbx + 0x50], ecx
jmp 0x140019a43
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x14001a5bc
Capabilities:
Resume thread
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, r8
mov rcx, qword [rcx + 0xa0]
cmp r8, rcx
jne 0x14001a62e
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 0xb0]
xor r9d, r9d
mov edx, 0x402
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 8]
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 0xa]
call qword [sym.imp.USER32.dll_SetTimer]
mov rcx, qword [rbx + 0x18]
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
lea rcx, [rbx + 0x48]
mov dword [rbx + 0x30], 1
call fcn.140013a24
mov qword [rbx + 0x50], rax
cmp rdi, qword [rbx + 0xa8]
jne 0x14001a66e
cmp dword [rbx + 0x30], 0
je 0x14001a65a
mov rdx, qword [rbx + 0x28]
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_KillTimer]
mov rcx, qword [rbx + 0x18]
mov edx, 0x80010001
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 8]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14001a6b4
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rdi, rcx
call qword [sym.imp.COMCTL32.dll_InitCommonControls]
movdqa xmm1, xmmword [0x14004b4d0]
lea rax, [0x140019e94]
mov qword [rbp - 0x11], rax
lea r12, str.CLASS_FENATTENTETELECHARGEMENTFW
mov rax, qword [rdi + 0x10]
lea rcx, [rbp - 0x19]
xorps xmm0, xmm0
mov qword [rbp - 1], rax
xor ebx, ebx
mov dword [rbp - 0x19], 3
mov qword [rbp - 9], rbx
movdqa xmmword [rbp + 7], xmm0
movdqa xmmword [rbp + 0x17], xmm1
mov qword [rbp + 0x27], r12
call qword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
jne 0x14001a739
call qword [sym.imp.KERNEL32.dll_GetLastError]
bts eax, 0x1f
jmp 0x14001a8b6
mov edx, 0x1e0
mov rcx, rdi
call fcn.14001a8d4
mov edx, 0xe6
mov rcx, rdi
mov r14d, eax
call fcn.14001a8d4
lea rcx, [rdi + 0x40]
mov r15d, eax
call fcn.140013a24
mov r8, qword [rdi]
mov esi, 0x10000000
mov qword [rdi + 0x50], rax
test r8, r8
je 0x14001a786
xor edx, edx
mov rcx, r8
mov esi, 0x10c00000
call qword [sym.imp.USER32.dll_EnableWindow]
mov r8, qword [rdi]
lea rcx, [rdi + 0x38]
call fcn.140013a24
mov rcx, qword [rdi + 0x10]
mov r9d, esi
mov qword [rsp + 0x58], rbx
mov rdx, r12
mov qword [rsp + 0x50], rcx
xor ecx, ecx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], r8
mov r8, rax
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r14d
mov r14d, 0x80000000
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rsi, rax
test rax, rax
je 0x14001a8a9
mov r14d, 1
mov rcx, rax
mov edx, r14d
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rsi
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, rsi
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
xor r9d, r9d
lea r8d, [r14 + 9]
mov edx, r14d
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetTimer]
mov qword [rdi + 0x28], rax
mov r9, rdi
lea r8, [0x140019d34]
xor edx, edx
lea rax, [rbp + 0x67]
xor ecx, ecx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0x18], rax
test rax, rax
jne 0x14001a869
jmp 0x14001a72a
lea rcx, [rbp - 0x49]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x49]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rbp - 0x49]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x14001a855
cmp qword [rdi], rbx
je 0x14001a890
mov rcx, qword [rdi]
mov edx, r14d
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x10]
mov rcx, r12
call qword [sym.imp.USER32.dll_UnregisterClassW]
jmp 0x14001a8b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
or eax, r14d
mov ebx, eax
mov eax, ebx
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14001c968
Capabilities:
Accept command line arguments

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
mov rsi, rcx
mov ecx, 0x1368
call fcn.14001fb50
mov rdi, rax
mov qword [rsp + 0x50], rax
lea rbx, [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
mov r9, qword [rsi + 0x2d0]
mov r8, qword [rsi + 0x2c8]
mov rcx, rdi
call fcn.14001e928
nop
mov qword [rsi + 8], rax
test rax, rax
jne 0x14001c9ce
xor eax, eax
jmp 0x14001ca03
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.14001cdb0
mov rcx, qword [rsi + 8]
test eax, eax
jne 0x14001c9f9
test rcx, rcx
je 0x14001c9f2
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
and qword [rsi + 8], 0
jmp 0x14001c9ca
call fcn.14001e9ec
mov eax, 1
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14001d360
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
lea r8, str.INFOEXE
mov edx, 0x7c
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r8d, 0x12ca
mov rcx, rdi
mov rdx, rax
call fcn.140020ea0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rdi
ret
Function at 0x14001d58c
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x3e8]
sub rsp, 0x4d0
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rsi, rcx
lea rcx, [rbp - 0x78]
call fcn.1400127c0
nop
mov rax, qword [rsi + 0x87c]
mov qword [rsp + 0x20], rax
mov r8d, 0x82
lea rdx, [rbp - 0x78]
mov rcx, rsi
call fcn.14001e5b8
xor edi, edi
test eax, eax
je 0x14001d72c
lea rdx, [rbp + 0x1c0]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rbp - 0x50]
xor r8d, r8d
lea rdx, [0x14004ac98]
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea rcx, [rsp + 0x70]
call fcn.140017898
nop
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x10000000
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, 0x40000000
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.14001795c
test eax, eax
je 0x14001d721
lea r9, [rbp + 0x3f0]
mov r8d, dword [rbp - 0x68]
mov rdx, qword [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.140017a30
test eax, eax
je 0x14001d721
lea rcx, [rsp + 0x70]
call fcn.1400179f4
mov ecx, 0x148
call fcn.14001fb50
mov rbx, rax
mov qword [rbp + 0x3f8], rax
lea rdx, [rsi + 0xaec]
lea r8, [rsi + 0x8ca]
lea r9, [rsi + 0xffa]
lea r10, [rsi + 0xdd8]
lea r11, [rsi + 0xbb6]
mov ecx, dword [rsi + 0x10d0]
mov dword [rsp + 0x60], ecx
mov ecx, dword [rsi + 0x10cc]
mov dword [rsp + 0x58], ecx
mov ecx, dword [rsi + 0x10c8]
mov dword [rsp + 0x50], ecx
mov eax, dword [rsi + 0x10c4]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x28], r10
mov qword [rsp + 0x20], r11
mov r9d, dword [rsi + 0x890]
lea r8, [rbp - 0x50]
mov rdx, qword [rsi + 8]
mov rcx, rbx
call fcn.14001ac98
nop
mov qword [rsi + 0x1320], rax
test rax, rax
je 0x14001d721
mov rcx, rax
call fcn.14001b060
mov edi, 1
lea rcx, [rsp + 0x70]
call fcn.1400178b0
nop
lea rcx, [rbp - 0x78]
call fcn.1400127d8
mov eax, edi
mov rbx, qword [rsp + 0x500]
add rsp, 0x4d0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001d8b4
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x5c0]
sub rsp, 0x6c0
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov r12, rdx
mov rdi, rcx
xor ebx, ebx
mov r15d, ebx
mov dword [rbp + 0x5b4], ebx
mov esi, ebx
lea rcx, [rsp + 0x58]
call fcn.1400127c0
nop
mov rax, qword [rdi + 0x652]
mov qword [rsp + 0x20], rax
mov r8d, 0x83
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.14001e5b8
test eax, eax
je 0x14001db21
mov r14d, ebx
cmp dword [rdi + 0x65a], ebx
jle 0x14001db21
test r15d, r15d
jne 0x14001d98a
mov rdx, qword [rsp + 0x60]
add rdx, rsi
mov r8d, 0x418
lea rcx, [rbp + 0x1a0]
call fcn.140020ea0
lea rdx, [0x14004a7c8]
lea rcx, [rbp + 0x3aa]
call fcn.140026768
test eax, eax
jne 0x14001d966
lea r15d, [rax + 1]
jmp 0x14001d975
mov eax, dword [rbp + 0x5b4]
add rax, 0x418
add rsi, rax
inc r14d
cmp r14d, dword [rdi + 0x65a]
jl 0x14001d92a
test r15d, r15d
je 0x14001db21
lea rcx, [rsp + 0x70]
call fcn.1400127c0
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0x418
add rdx, rsi
lea rax, [rbp + 0x600]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
mov r8d, dword [rbp + 0x5b4]
call fcn.14001db54
test eax, eax
je 0x14001db15
lea rcx, [rdi + 0x12f0]
call fcn.140013a24
xor r8d, r8d
lea rdx, [rbp - 0x70]
mov rcx, rax
call fcn.140003610
mov qword [rbp + 0x618], rbx
lea r9, [rbp + 0x1a0]
lea r8, [rbp - 0x70]
lea rdx, str._s_s
lea rcx, [rbp + 0x618]
call fcn.1400142bc
lea rcx, [rsp + 0x40]
call fcn.140017898
nop
lea rcx, [rbp + 0x618]
call fcn.140013a24
mov qword [rsp + 0x30], rbx
mov esi, 0x10000000
mov dword [rsp + 0x28], esi
mov r14d, 2
mov dword [rsp + 0x20], r14d
xor r9d, r9d
mov r15d, 0x40000000
mov r8d, r15d
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14001795c
test eax, eax
jne 0x14001dab4
lea rdx, [rbp - 0x70]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rbp + 0x1a0]
lea r8, [rbp - 0x70]
lea rdx, str._s_s
lea rcx, [rbp + 0x618]
call fcn.1400142bc
lea rcx, [rbp + 0x618]
call fcn.140013a24
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r14d
xor r9d, r9d
mov r8d, r15d
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14001795c
test eax, eax
je 0x14001dafd
lea r9, [rbp + 0x610]
mov r8d, dword [rbp + 0x600]
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x40]
call fcn.140017a30
test eax, eax
je 0x14001dafd
lea rcx, [rsp + 0x40]
call fcn.1400179f4
mov dword [rdi + 0x1328], 1
lea rdx, [rbp + 0x618]
mov rcx, r12
call fcn.140013e0c
mov ebx, 1
lea rcx, [rsp + 0x40]
call fcn.1400178b0
nop
lea rcx, [rbp + 0x618]
call fcn.140013988
nop
lea rcx, [rsp + 0x70]
call fcn.1400127d8
jmp 0x14001db35
lea rdx, [rdi + 0x232]
mov rcx, r12
call fcn.140013e2c
mov ebx, 1
lea rcx, [rsp + 0x58]
call fcn.1400127d8
mov eax, ebx
add rsp, 0x6c0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14001ded0
Capabilities:
Check mutex on windows
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x250
cmp dword [0x1400581d8], 0
mov rsi, rdx
mov rdi, rcx
mov ebx, 1
jne 0x14001dfc2
and qword [rcx + 0x12f8], 0
cmp dword [rcx + 0x66e], 0
jne 0x14001dfc2
add rcx, 0x12f0
call fcn.140013a24
mov rcx, rax
lea r8, [rsp + 0x40]
xor edx, edx
call fcn.140003610
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_CharUpperW]
lea r8, [rsp + 0x40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rdi + 0x12f8], rax
test rax, rax
je 0x14001dfd9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14001dfd9
lea r9, [rdi + 0x1300]
mov ecx, ebx
lea r8, [rsp + 0x40]
call fcn.14001a940
mov qword [rdi + 0x1308], rax
test rax, rax
je 0x14001dfc2
mov rcx, qword [rdi + 0x12f8]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [rdi + 0x1308]
lea r8d, [rbx + 3]
lea rdx, [rsp + 0x270]
mov dword [rsp + 0x270], eax
call fcn.140020ea0
mov rcx, qword [rdi + 0x12f8]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, ebx
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
lea r9, [rdi + 0x1300]
xor ecx, ecx
lea r8, [rsp + 0x40]
call fcn.14001a940
mov qword [rdi + 0x1308], rax
test rax, rax
je 0x14001e07d
mov rcx, qword [rdi + 0x12f8]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword [rdi + 0x1308]
mov rcx, qword [rdi + 0x12f8]
mov ebx, dword [rax]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rdi
call fcn.14001cf54
mov edx, ebx
call fcn.14001dd40
mov rbx, rax
test rax, rax
je 0x14001e07d
mov rcx, rax
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov dword [rsp + 0x30], 3
xor r9d, r9d
and dword [rsp + 0x28], 0
xor r8d, r8d
and dword [rsp + 0x20], 0
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowPos]
mov edx, 9
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
or dword [rsi], 0xffffffff
xor eax, eax
jmp 0x14001dfc4
mov rcx, qword [rdi + 0x12f8]
test rcx, rcx
je 0x14001e08f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rdi]
lea rdx, str.Cette_application_ne_peut_pas
mov rcx, rdi
call qword [rax + 8]
jmp 0x14001e073
Function at 0x14001e0a4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5a8]
sub rsp, 0x680
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rdi, rcx
lea rcx, [rsp + 0x30]
call fcn.1400127c0
nop
mov rax, qword [rdi + 0x652]
mov qword [rsp + 0x20], rax
mov r8d, 0x83
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14001e5b8
test eax, eax
je 0x14001d1f9
lea rcx, [rdi + 0x12f0]
call fcn.140013a24
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.140003610
xor r12d, r12d
mov r15d, dword [rdi + 0x65e]
add r15d, dword [rdi + 0x65a]
xor r14d, r14d
lea esi, [r12 + 1]
test r15d, r15d
jle 0x14001d1a4
mov rbx, qword [rsp + 0x38]
add rbx, r12
mov r8d, 0x418
mov rdx, rbx
lea rcx, [rbp + 0x160]
call fcn.140020ea0
lea r8, [rbx + 0x418]
lea r9, [rsp + 0x50]
lea rdx, [rbp + 0x160]
mov rcx, rdi
call fcn.14001d224
test eax, eax
je 0x14001d1f9
mov eax, dword [rbp + 0x574]
add rax, 0x418
add r12, rax
add r14d, esi
cmp r14d, r15d
jl 0x14001d151
call fcn.1400019e4
lea rdi, [rax + 8]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140013e2c
mov rcx, rdi
call fcn.140013dfc
sub eax, esi
movsxd r8, eax
lea rdx, [rbp + 0x5b0]
mov rcx, rdi
call fcn.140013f44
mov rbx, rax
mov rcx, rdi
call fcn.1400139a4
mov rcx, qword [rbx]
mov qword [rdi], rcx
and qword [rbx], 0
lea rcx, [rbp + 0x5b0]
call fcn.140013988
jmp 0x14001d1fb
xor esi, esi
lea rcx, [rsp + 0x30]
call fcn.1400127d8
mov eax, esi
lea r11, [rsp + 0x680]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov ecx, 0x18
call fcn.14001fb50
mov rcx, rax
mov qword [rsp + 0x30], rax
call fcn.1400127c0
mov edx, dword [rdi + 0x662]
mov rcx, rax
mov qword [rdi + 0x1348], rax
mov r8, qword [rax]
call qword [r8 + 8]
mov rcx, qword [rdi + 8]
lea r8, str.INFOEXE
mov edx, 0x7d
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, qword [rdi + 8]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rcx, qword [rdi + 0x1348]
mov rdx, rax
mov r8d, dword [rdi + 0x662]
mov rcx, qword [rcx + 8]
call fcn.140020ea0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rcx, rdi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x14001d0b8
Function at 0x14001e538
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdi, rcx
movzx edx, dx
mov rcx, qword [rcx + 8]
lea r8, str.INFOEXE
mov r14, r9
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
je 0x14001e59f
mov rcx, qword [rdi + 8]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14001e59f
mov rcx, qword [rdi + 8]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, rbx
mov dword [r14], eax
call qword [sym.imp.KERNEL32.dll_LockResource]
jmp 0x14001e5a1
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x14001e744
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov rdi, rcx
xor r14d, r14d
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x28], r14
mov qword [rbp + 0x20], r14
lea r8, str.FILEPATH
lea edx, [r14 + 0x6d]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rcx, rax
call fcn.14000863c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
lea r8, str.FILEPATH
lea edx, [r14 + 0x6e]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.140013e2c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
lea r8, str.FILEPATH
lea edx, [r14 + 0x6f]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.140013e2c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
lea rcx, [rbp + 0x28]
call fcn.140013a24
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.140013a24
mov rcx, rax
call fcn.140008654
lea r8, str.FILEPATH
lea edx, [r14 + 0x70]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.140013e2c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rax, qword [rbp + 0x20]
test rax, rax
je 0x14001e8b4
cmp word [rax], r14w
je 0x14001e8b4
lea rcx, [rbp + 0x20]
call fcn.140013a24
mov rcx, rax
call fcn.140008710
lea r8, str.INFOEXE
mov edx, 0x7f
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
test rdi, rdi
je 0x14001e8fc
mov ecx, dword [rdi]
call fcn.140008750
nop
lea rcx, [rbp + 0x20]
call fcn.140013988
nop
lea rcx, [rbp + 0x28]
call fcn.140013988
nop
lea rcx, [rbp + 0x30]
call fcn.140013988
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rbp
ret

Function at 0x14002b57c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14002b2e0
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1401048c0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1401048d0]
mov dword [rax], 1
mov rax, qword [0x1401048e0]
mov dword [rax], 1
mov rax, qword [0x140104870]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1401048b0]
mov dword [0x14011800c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x140104990]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x140104970]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [str._q_r_]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x140003ba0
Capabilities:
Move file

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
mov rcx, r8
call dbg.as_mut_slice
mov r9, rdx
mov rcx, rdi
mov rdx, rsi
mov r8, rax
add rsp, 0x28
pop rdi
pop rsi
jmp dbg.rename