joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140045000
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x140075040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x140101ce8]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140045203
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140045203
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x140101ce8]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x1400450d4
movsx rdx, word [r8 + 0x6110]
lea rax, [r8 + 0x6114]
mov r9d, dword [r8 + 0x3f98]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x1400450c9
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6110], cx
movsx rax, cx
lea rax, [rax*8 + 0x6114]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x6108]
test rdi, rdi
je 0x1400450f1
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x1400450f4
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, str.imgui_impl_win32
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x140045137
mov rsi, qword [r8 + 0x90]
jmp 0x14004513a
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x140045165
mov dword [rsi + 0x2c], ebx
lea rax, [0x14006a1a0]
mov byte [rdi + 0x31], 1
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x1400451c3
inc rbx
cmp rbx, 5
jl 0x1400451a5
jmp 0x1400451ef
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x140045205
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400570f0
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x140056884
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400568be
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400568c3
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14005690c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14005a900]
cmp byte [rcx + rax], 0
je 0x14005690c
dec r8
sub rdx, 1
jne 0x1400568f2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140057e9c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140057ee6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140057ee6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140057ee6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140057ee6
cmp dword [rcx + 0x84], 0xe
jbe 0x140057ee6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140057ee8
xor al, al
add rsp, 0x28
ret
Function at 0x140003e20
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x140173240]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], 0
lea r8, [0x140121da4]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
nop
cmp qword [rsp + 0x28], 0
jne 0x140003e6d
xor eax, eax
jmp 0x140003f7c
mov r9, qword [rsp + 0x28]
mov r8d, 3
mov edx, 1
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
cmp rax, 3
je 0x140003ea9
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
jmp 0x140003f7c
mov dword [rsp + 0x20], 0
mov eax, 1
imul rax, rax, 0
movzx eax, byte [rsp + rax + 0x30]
cmp eax, 0xff
jne 0x140003ee8
mov eax, 1
imul rax, rax, 1
movzx eax, byte [rsp + rax + 0x30]
cmp eax, 0xfe
jne 0x140003ee8
mov dword [rsp + 0x20], 2
jmp 0x140003f6d
mov eax, 1
imul rax, rax, 0
movzx eax, byte [rsp + rax + 0x30]
cmp eax, 0xfe
jne 0x140003f1c
mov eax, 1
imul rax, rax, 1
movzx eax, byte [rsp + rax + 0x30]
cmp eax, 0xff
jne 0x140003f1c
mov dword [rsp + 0x20], 3
jmp 0x140003f6d
mov eax, 1
imul rax, rax, 0
movzx eax, byte [rsp + rax + 0x30]
cmp eax, 0xef
jne 0x140003f65
mov eax, 1
imul rax, rax, 1
movzx eax, byte [rsp + rax + 0x30]
cmp eax, 0xbb
jne 0x140003f65
mov eax, 1
imul rax, rax, 2
movzx eax, byte [rsp + rax + 0x30]
cmp eax, 0xbf
jne 0x140003f65
mov dword [rsp + 0x20], 4
jmp 0x140003f6d
mov dword [rsp + 0x20], 1
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140100c60
add rsp, 0x48
ret
Function at 0x140004980
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x660
mov rax, qword [0x140173240]
xor rax, rsp
mov qword [rsp + 0x650], rax
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x618
rep stosb byte [rdi], al
lea rcx, [0x1405fdb28]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator__]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x617
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.TESTALGSERVIP
lea rcx, [0x1401222b8]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [rsp + 0x30]
lea rcx, [0x1405fda80]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x618
rep stosb byte [rdi], al
lea rcx, [0x1405fdb28]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator__]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x617
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.TESTALGDEVID
lea rcx, [0x1401222e8]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [rsp + 0x30]
lea rcx, [0x1405fda90]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rcx, [0x1405fdb28]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator__]
mov r9, rax
xor r8d, r8d
lea rdx, str.TESTALGPORT
lea rcx, [0x140122310]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x1405fda88], eax
mov rcx, qword [rsp + 0x650]
xor rcx, rsp
call fcn.140100c60
add rsp, 0x660
pop rdi
ret
Function at 0x140007ee0
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140173240]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
xor r8d, r8d
lea rdx, str.Info
lea rcx, [0x1405fdb20]
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::EnumAdvise]
cmp eax, 0xffffffff
je 0x140007f53
mov r9d, eax
xor r8d, r8d
lea rdx, [rsp + 0x28]
lea rcx, [0x1405fdb20]
call qword [sym.imp.mfc140u.dll_CMouseManager::LoadState]
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov edx, eax
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400053e0
nop
mov edx, 0xffffffff
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
lea rdx, str.custom.png
lea rcx, [rsp + 0x30]
call fcn.140005350
lea rcx, [rsp + 0x30]
call fcn.140005330
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140007feb
lea rax, [rsp + 0x30]
cmp rbx, rax
je 0x140007fe7
mov rcx, rbx
call fcn.140002030
lea rcx, [rsp + 0x30]
call fcn.140002030
lea rcx, [rsp + 0x30]
call fcn.140005790
mov rdx, rax
mov r8, qword [rsp + 0x40]
mov rcx, rbx
call fcn.1400059d0
mov bl, 1
jmp 0x140007fed
xor bl, bl
lea rcx, [rsp + 0x30]
call fcn.1400053b0
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
movzx eax, bl
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140100c60
add rsp, 0x60
pop rbx
ret
Function at 0x140009920
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0xb0
mov ebp, r8d
mov rbx, rdx
mov r14, rcx
test rcx, rcx
jne 0x14000994b
mov eax, 0xffffffff
jmp 0x140009ad3
lea eax, [r8 + 1]
mov qword [rsp + 0xc0], rsi
lea ecx, [rax + rax*2]
mov qword [rsp + 0xc8], rdi
mov edi, ecx
call qword [sym.imp.mfc140u.dll_operator_1]
mov r8d, edi
xor edx, edx
mov rcx, rax
mov rsi, rax
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov dword [rsp + 0xa0], 0x2c2b2a29
movdqa xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqa xmm0, xmmword [0x14014ffd0]
xor r9d, r9d
movdqa xmmword [rsp + 0x50], xmm0
xor r8d, r8d
movdqa xmm0, xmmword [0x14014ffb0]
xor edi, edi
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmm1, xmmword [str.456789:__]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm0, xmmword [0x14014ffc0]
movdqa xmmword [rsp + 0x60], xmm1
movdqa xmm1, xmmword [0x14014ff60]
movdqa xmmword [rsp + 0x90], xmm0
movdqa xmmword [rsp + 0x80], xmm1
mov dword [rsp + 0xa4], 0x302f2e2d
mov word [rsp + 0xa8], 0x3231
mov byte [rsp + 0xaa], getservbyname
test ebp, ebp
je 0x140009a9b
movsx rax, byte [rbx]
cmp al, 0xd
je 0x140009a87
cmp al, 0xa
je 0x140009a87
movsx edx, byte [rsp + rax + 0x30]
inc edi
movsx rax, byte [rbx + 1]
add rbx, 2
shl edx, 6
movsx ecx, byte [rsp + rax + 0x30]
add edx, ecx
shl edx, 0xc
mov ecx, edx
sar ecx, 0x10
mov byte [r8 + rsi], cl
inc r8d
movsx rax, byte [rbx]
cmp al, 0x3d
je 0x140009a80
movsx ecx, byte [rsp + rax + 0x30]
inc rbx
shl ecx, 6
inc edi
add edx, ecx
mov ecx, edx
sar ecx, 8
mov byte [r8 + rsi], cl
inc r8d
movsx rax, byte [rbx]
cmp al, 0x3d
je 0x140009a80
add dl, byte [rsp + rax + 0x30]
inc rbx
mov byte [r8 + rsi], dl
inc r8d
inc edi
mov eax, 4
jmp 0x140009a8f
inc rbx
mov eax, 1
add r9d, eax
cmp r9d, ebp
jb 0x140009a10
lea r8d, [rdi + 1]
mov dword [rsp + 0x20], 0
mov r9d, 0xfde9
mov rdx, r14
mov rcx, rsi
call fcn.1400097c0
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_operator]
mov rsi, qword [rsp + 0xc0]
mov eax, edi
mov rdi, qword [rsp + 0xc8]
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x14000ac70
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov ebp, r9d
mov r14, rdx
xor ebx, ebx
mov rax, qword [rsp + 0x70]
mov rsi, qword [rax + 8]
xor dil, dil
test rsi, rsi
je 0x14000ace8
mov rsi, qword [rsi]
test rsi, rsi
je 0x14000ace8
mov rcx, rsi
call fcn.140005960
mov r15, rax
test rax, rax
je 0x14000ace8
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov rbx, rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov dil, 1
mov r9d, 1
mov r8, rbx
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.libcef.dll_cef_string_utf16_set]
test ebp, ebp
jne 0x14000acf5
lea rcx, str.ALERT_n
jmp 0x14000ad01
cmp ebp, 1
jne 0x14000ad08
lea rcx, str.CONFIRM_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
test rbx, rbx
je 0x14000ad29
test dil, dil
je 0x14000ad29
mov rcx, rbx
call qword [sym.imp.libcef.dll_cef_string_utf16_clear]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rbx
call fcn.140101160
nop
mov rdx, qword [r14]
test rdx, rdx
je 0x14000ad47
mov rax, qword [rdx + 8]
movsxd rcx, dword [rax + 4]
add rdx, 8
add rcx, rdx
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rax, qword [rsp + 0x80]
mov rdx, qword [rax]
test rdx, rdx
je 0x14000ad6d
mov rax, qword [rdx + 8]
movsxd rcx, dword [rax + 4]
add rdx, 8
add rcx, rdx
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov al, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000e350
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x140173240]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, rdx
mov qword [rsp + 0x28], rdx
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp eax, 0xffffffff
je 0x14000e403
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000e3f9
nop dword [rax + rax]
lea rdx, [rsp + 0x5c]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__5]
nop
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CDumpContext::operator__]
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_Ordinal_2903]
test eax, eax
je 0x14000e431
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14000e3b0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140100c60
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov r8d, dword [rsp + 0x38]
mov edx, 1
mov ecx, 0x1f0fff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x14000e466
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x14000e466
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
jmp 0x14000e403
Function at 0x1400190b0
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x88
mov rax, qword [rsp + 0xa0]
add rax, 0x198
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsp + 0xa0]
add rax, 0x1c0
mov rdx, qword [rsp + 0xb0]
mov rcx, rax
call fcn.14001f920
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0xb0]
lea rax, [rcx + rax + 0x1b]
mov rcx, qword [rsp + 0xb0]
mov ecx, dword [rcx + 9]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0xb0]
mov ecx, dword [rcx + 5]
mov dword [rsp + 0x20], ecx
mov r9, rax
mov rax, qword [rsp + 0xb0]
mov r8d, dword [rax + 0x13]
lea rdx, str.alarmSign:_u_event:_s_lat:_d_lon:_d
lea rcx, str.D:_svnplayersvnTLDrivingRecordTLDrivingRecord.cpp_2253_:CTLDrivingRecord::ShowMediaAttachInfo
call fcn.1400c46e0
mov rax, qword [rsp + 0xa0]
add rax, 0x198
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x60]
call qword [sym.imp.DuiLib_u.dll_public:_struct_HWND______ptr64___cdecl_DuiLib::CPaintManagerUI::GetPaintWindow_void_const___ptr64]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x506
mov rcx, rax
call qword [sym.imp.USER32.dll_PostMessageW]
nop
call fcn.140008020
movzx eax, al
test eax, eax
je 0x1400191da
lea rcx, [0x1405fdb40]
call fcn.140076610
movzx eax, al
test eax, eax
je 0x1400191da
lea rax, [rsp + 0x30]
mov rdi, rax
mov rsi, qword [rsp + 0xb0]
mov ecx, 0x4b
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0xa0]
call fcn.140032e20
nop
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.DuiLib_u.dll_public:_void___cdecl_DuiLib::CDuiString::destructor_void____ptr64]
nop
add rsp, 0x88
pop rdi
pop rsi
ret
Function at 0x140032c50
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x210
mov rax, qword [0x140173240]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov eax, dword [rsp + 0x230]
mov rcx, qword [rsp + 0x238]
mov byte [rcx + rax], 0
cmp dword [rsp + 0x228], 0
jl 0x140032dfd
cmp dword [rsp + 0x230], 0
jbe 0x140032dfd
cmp dword [rsp + 0x228], 0
jne 0x140032ce6
lea rcx, [0x1405fdb40]
call fcn.140077060
mov ecx, dword [0x140133afc]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 0xc350
mov rcx, qword [rsp + 0x220]
call fcn.140032880
nop
jmp 0x140032dfd
cmp dword [rsp + 0x228], 1
jne 0x140032d39
lea rcx, [rsp + 0x40]
call fcn.1400a93f0
nop
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 1
mov rdx, qword [0x1405fdb48]
lea rcx, [rsp + 0x40]
call fcn.1400a9510
lea rcx, [rsp + 0x40]
call fcn.1400a9590
nop
lea rcx, [rsp + 0x40]
call fcn.1400a94d0
nop
jmp 0x140032dfd
cmp dword [rsp + 0x228], 0xc738
jne 0x140032dba
movzx eax, word [0x1401270d0]
mov word [rsp + 0x190], ax
lea rax, [rsp + 0x192]
mov rdi, rax
xor eax, eax
mov ecx, 0x62
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x238]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x230]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x228]
lea r8, str.flag:_d_len:_d_msg:_s_n
mov edx, 0x64
lea rcx, [rsp + 0x190]
call fcn.140002f30
lea rcx, [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [rsp + 0x30], 0
jmp 0x140032dfd
cmp dword [rsp + 0x228], 0xc739
jne 0x140032dd1
mov dword [rsp + 0x34], 0
jmp 0x140032dfd
cmp dword [rsp + 0x228], 0xc73a
jne 0x140032de8
mov dword [rsp + 0x38], 0
jmp 0x140032dfd
cmp dword [rsp + 0x228], 0xc73b
jne 0x140032dfd
mov dword [rsp + 0x3c], 0
jmp 0x140032dff
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.140100c60
add rsp, 0x210
pop rdi
ret

Function at 0x140034060
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator__]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400340a0
mov dword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, dword [rsp + 0x20]
jmp 0x1400340b7
mov dword [rsp + 0x24], 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, dword [rsp + 0x24]
add rsp, 0x38
ret
Function at 0x140034bc0
Capabilities:
Get disk information
Get disk size

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x70]
mov dword [rax + 0xb0], 0
mov rax, qword [rsp + 0x70]
mov dword [rax + 0xb4], 0
mov dword [rsp + 0x20], 0
jmp 0x140034bfb
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x70]
add rcx, 0x30
call fcn.140042a30
mov rcx, qword [rsp + 0x28]
cmp rcx, rax
jae 0x140034d34
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
add rcx, 0x30
mov rdx, rax
call fcn.140042a00
add rax, 8
mov edx, 0x104
mov rcx, rax
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0xb8], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
add rcx, 0x30
mov rdx, rax
call fcn.140042a00
add rax, 8
mov edx, 0x104
mov rcx, rax
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x140034d2f
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 0xb0]
mov qword [rsp + 0x38], rax
xor edx, edx
mov rax, qword [rsp + 0x30]
mov ecx, 0x400
div rcx
xor edx, edx
mov ecx, 0x400
div rcx
xor edx, edx
mov ecx, 0x400
div rcx
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0xb0], eax
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 0xb4]
mov qword [rsp + 0x48], rax
xor edx, edx
mov rax, qword [rsp + 0x40]
mov ecx, 0x400
div rcx
xor edx, edx
mov ecx, 0x400
div rcx
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0xb4], eax
jmp 0x140034bf1
add rsp, 0x68
ret
Function at 0x14003d0f0
Capabilities:
Enumerate files on windows
Reference absolute stream path on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2d0
mov rax, qword [0x140173240]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov rcx, qword [rsp + 0x2e8]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov edx, eax
mov rcx, qword [rsp + 0x2e8]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400053e0
nop
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x2e8]
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
lea rdx, [0x140128498]
lea rcx, [rsp + 0x30]
call fcn.140005350
mov byte [rsp + 0x20], 0
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x250
rep stosb byte [rdi], al
lea rcx, [rsp + 0x30]
call fcn.140005330
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x14003d1ec
lea rcx, [rsp + 0x30]
call fcn.140005330
mov r8, rax
lea rdx, [0x140128330]
lea rcx, str.D:_svnplayersvnTLDrivingRecordSearchRecordFile.cpp_1853_:CSearchRecordFile::bExistsRpoFile
call fcn.1400c4810
nop
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
lea rcx, [rsp + 0x30]
call fcn.1400053b0
nop
mov rcx, qword [rsp + 0x2e8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
movzx eax, byte [rsp + 0x21]
jmp 0x14003d2d3
lea rdx, [rsp + 0x9c]
lea rcx, [rsp + 0x50]
call fcn.1400053e0
nop
lea rcx, [rsp + 0x50]
call fcn.140005330
mov r8, rax
lea rdx, [0x1401283c0]
lea rcx, str.D:_svnplayersvnTLDrivingRecordSearchRecordFile.cpp_1859_:CSearchRecordFile::bExistsRpoFile
call fcn.1400c4810
nop
mov eax, dword [rsp + 0x70]
and eax, 0x10
test eax, eax
je 0x14003d241
lea rdx, [0x1401284e8]
lea rcx, str.D:_svnplayersvnTLDrivingRecordSearchRecordFile.cpp_1862_:CSearchRecordFile::bExistsRpoFile
call fcn.1400c46e0
nop
jmp 0x14003d26d
xor r8d, r8d
lea rdx, str..rpo
lea rcx, [rsp + 0x50]
call fcn.140042c10
cmp rax, 0xffffffffffffffff
je 0x14003d26d
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x50]
call fcn.1400053b0
nop
jmp 0x14003d290
lea rcx, [rsp + 0x50]
call fcn.1400053b0
nop
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14003d1ec
cmp qword [rsp + 0x28], 0
je 0x14003d2ac
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rsp + 0x28], 0xffffffffffffffff
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x22], al
lea rcx, [rsp + 0x30]
call fcn.1400053b0
nop
mov rcx, qword [rsp + 0x2e8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
movzx eax, byte [rsp + 0x22]
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140100c60
add rsp, 0x2d0
pop rdi
ret