joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140052fe0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14006c040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14005300d
xor eax, eax
jmp 0x140053179
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140053047
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140053047
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140053179
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14005316c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14005308a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400530b5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140053171
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140053124
sub eax, 1
je 0x140053124
cmp eax, 2
jne 0x14005316c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140053171
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140053152
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14005316c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140053171
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140055f10
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400535c0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14006c040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140053693
cmp byte [rcx + 0x71], 0
je 0x140053693
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14005368f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140053654
sub eax, 1
je 0x140053658
cmp eax, 2
jne 0x14005368f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140055f10
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140053686
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14005368f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14005363c
xor al, al
jmp 0x14005363c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140055f10
add rsp, 0x60
pop rbx
ret

Function at 0x140056c94
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140056cde
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140056cde
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140056cde
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140056cde
cmp dword [rcx + 0x84], 0xe
jbe 0x140056cde
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140056ce0
xor al, al
add rsp, 0x28
ret

Function at 0x140056f10
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 0x140056f4a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140056f4f
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 0x140056f98
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400599e0]
cmp byte [rcx + rax], 0
je 0x140056f98
dec r8
sub rdx, 1
jne 0x140056f7e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140004058
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 edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400040cf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400040cf
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x1400040bc
cmp rbx, rcx
jae 0x1400040cf
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x1400040a7
cmp rbx, rcx
jae 0x1400040cf
movzx eax, word [rbx]
neg ax
sbb rax, rax
and rax, rbx
jmp 0x1400040d1
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 0x140004b08
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x14031a940]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rdi, rcx
mov qword [rsp + 0x20], rcx
cmp byte [rcx + 0x53a], 0
jne 0x140004c25
mov byte [rcx + 0x53a], 1
mov byte [0x140329ef3], 1
call fcn.140007228
nop
jmp 0x140004b51
mov rax, qword [rdi + 0x540]
test rax, rax
je 0x140004b6f
mov rcx, qword [rax]
test rcx, rcx
je 0x140004b6f
mov rcx, qword [rcx + 0x58]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rdx, qword [rdi + 0x558]
test rdx, rdx
je 0x140004b85
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_KillTimer]
mov edx, 0x1a
mov rcx, rdi
call fcn.140005634
xor r8d, r8d
lea edx, [r8 + 0x19]
mov rcx, rdi
call fcn.1400056a4
and qword [rsp + 0x20], 0
call fcn.1400840d4
mov rcx, rax
test rax, rax
je 0x140004c3f
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x20], rbx
mov ecx, 0x1e
call fcn.140086d38
test rax, rax
je 0x140004bee
mov r8d, 0x1e
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400040e8
mov rbx, qword [rsp + 0x20]
lea rcx, [rdi + 0x340]
mov rdx, rbx
call fcn.1400a6994
mov edx, 2
mov rcx, rdi
call fcn.1400a9824
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140004c25
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140220e50
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 0x80004005
call fcn.140002dfc
int3
Function at 0x140005a78
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialogEx.virtual_720
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 0x1400a90bb
cmp dword [rcx + 0xe8], 0
jne 0x1400a90bb
movzx eax, dx
mov dword [rcx + 0xe8], eax
call fcn.1400a8c0c
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 0x1400a90ff
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400a90ff
mov r9, rsi
mov r8, rbp
mov rdx, rax
mov rcx, rbx
call fcn.1400a9434
jmp 0x1400a9101
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 0x1400063a4
Capabilities:
Resume thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x14031a940]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
and qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov rdx, rcx
lea rcx, [0x140006320]
call fcn.140099b34
mov qword [rbx], rax
test rax, rax
jne 0x140006445
and qword [rsp + 0x30], rax
lea rdx, str.Thread_creation_failed
lea rcx, [rsp + 0x30]
call fcn.140003fd8
nop
call fcn.140006380
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140006424
mov r9, qword [rsp + 0x30]
xor r8d, r8d
mov edx, 0x8003
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_PostMessageW]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140006456
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140006456
and dword [rax + 0x50], 0
mov rcx, qword [rbx]
mov rcx, qword [rcx + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140220e50
add rsp, 0x40
pop rbx
ret

Function at 0x140009f44
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14000a3d4
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14000a406
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14000a3e9
mov rax, r8
ret
Function at 0x14000bdf4
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x14000bf91
cmp ecx, 0x7c
je 0x14000bf91
cmp ecx, 0x29
jne 0x14000be3f
cmp dword [rbx + 0x1c], 0
jne 0x14000bf91
lea rdi, [rbx + 0x80]
test dword [rdi], 0x10000000
je 0x14000bf9c
jmp 0x14000bf46
lea rdi, [rbx + 0x80]
cmp ecx, 0x2e
jne 0x14000be66
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.14000c110
mov rcx, rbx
call fcn.14000bdb8
jmp 0x14000bf7f
cmp ecx, 0x5c
jne 0x14000bec6
mov rcx, rbx
call fcn.14000bdb8
test byte [rdi], 0x80
je 0x14000beb9
cmp word [rbx + 0x78], 0x62
jne 0x14000be9a
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.14000c110
mov rcx, rbx
call fcn.14000bdb8
jmp 0x14000bf87
cmp word [rbx + 0x78], 0x42
jne 0x14000beb9
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.14000c110
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x14000be8d
mov rcx, rbx
call fcn.14000d0c8
jmp 0x14000bf7f
cmp ecx, 0x5b
jne 0x14000beea
mov rcx, rbx
call fcn.14000bdb8
mov rcx, rbx
call fcn.14000cf78
cmp dword [rbx + 0x7c], 0x5d
jne 0x14000bfa7
jmp 0x14000be59
cmp ecx, 0x28
jne 0x14000bf0e
mov rcx, rbx
call fcn.14000bdb8
mov rcx, rbx
call fcn.14000d22c
cmp dword [rbx + 0x7c], 0x29
mov dil, al
jne 0x14000bfb2
jmp 0x14000bf72
cmp ecx, 0x5e
jne 0x14000bf1b
lea edx, [rcx - 0x5c]
jmp 0x14000be84
cmp ecx, 0x24
jne 0x14000bf28
lea edx, [rcx - 0x21]
jmp 0x14000be84
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x14000bfd3
cmp ecx, 0x3f
je 0x14000bfd3
cmp ecx, 0x7b
je 0x14000bfd3
cmp ecx, 0x7d
jne 0x14000bf55
test dword [rdi], 0x10000000
je 0x14000bfbd
jmp 0x14000bf62
cmp ecx, 0x5d
jne 0x14000bf62
test dword [rdi], 0x10000000
je 0x14000bfc8
movzx edx, word [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.14000d488
mov dil, 1
mov rcx, rbx
call fcn.14000bdb8
test dil, dil
je 0x14000bf87
mov rcx, rbx
call fcn.14000d340
mov ecx, dword [rbx + 0x7c]
mov al, 1
jmp 0x14000be06
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 5
call fcn.14000a988
int3
mov edx, 4
call fcn.14000a988
int3
mov edx, 5
call fcn.14000a988
int3
mov edx, 6
call fcn.14000a988
int3
mov edx, 4
call fcn.14000a988
int3
mov edx, 0xa
call fcn.14000a988
int3
Function at 0x140011070
Capabilities:
Get common file path
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x530]
sub rsp, 0x630
mov rax, qword [0x14031a940]
xor rax, rsp
mov qword [rbp + 0x520], rax
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x1402d3620]
movdqu xmmword [rsp + 0x48], xmm1
xor edi, edi
mov word [rsp + 0x38], di
mov byte [rsp + 0x30], dil
lea rdx, str.srl::System::Initialize
lea rcx, [rsp + 0x38]
call fcn.1400184d0
nop
call fcn.140021130
cmp dword [rax + 8], 4
jl 0x1400110ec
lea rcx, [rsp + 0x30]
call fcn.140016330
lea rcx, str.Slwga.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsi + 0xc8], rax
lea rcx, str.Tbs.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsi + 0xd0], rax
lea rcx, [rbp + 0x180]
call fcn.140010f90
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
mov r8d, 3
lea rdx, [rbp + 0x180]
lea rcx, [rsp + 0x60]
call fcn.140014320
nop
lea rcx, [rsi + 8]
mov rbx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x60]
test rdx, rdx
jne 0x14001115c
mov r8d, edi
jmp 0x14001116b
mov r8, rbx
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x140011160
call fcn.140002b2c
nop
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
je 0x140011185
call fcn.14022f508
xor r9d, r9d
lea r8d, [r9 + 0x23]
lea rdx, [rbp + 0x2c0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rdx, str._systemrequirementslabcyriconfig.ini
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.SHLWAPI.dll_StrCatW]
lea rax, [rbp + 0x2c0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x64
lea r9, [rbp + 0x1f0]
lea r8, [0x1402c7950]
lea rdx, [0x1402cc280]
lea rcx, str.Detection
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add rsi, 0x10
cmp word [rbp + 0x1f0], 0
jne 0x140011283
lea rcx, [rbp + 0x1b8]
call fcn.140010f90
lea rax, [rbp + 0x78]
mov qword [rbp + 0x70], rax
mov r8d, 3
lea rdx, [rbp + 0x1b8]
lea rcx, [rbp + 0x70]
call fcn.140014320
nop
mov rdx, qword [rbp + 0x70]
test rdx, rdx
je 0x14001123d
nop dword [rax + rax]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140011230
mov rdi, rbx
mov r8d, edi
mov rcx, rsi
call fcn.140002b2c
nop
lea rax, [rbp + 0x78]
mov rcx, qword [rbp + 0x70]
cmp rcx, rax
je 0x14001125b
call fcn.14022f508
mov rcx, rsi
call fcn.1400133d0
lea r9, [rbp + 0x2c0]
mov r8, qword [rsi]
lea rdx, [0x1402cc280]
lea rcx, str.Detection
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x1400112ad
lea rax, [rbp + 0x1f0]
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140011290
mov r8d, ebx
lea rdx, [rbp + 0x1f0]
mov rcx, rsi
call fcn.140002b2c
nop
lea rcx, [rsp + 0x30]
call fcn.140017d20
mov rcx, qword [rbp + 0x520]
xor rcx, rsp
call fcn.140220e50
lea r11, [rsp + 0x630]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140021280
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x14031a940]
xor rax, rsp
mov qword [rsp + 0x168], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
xor ebp, ebp
call fcn.140231aac
lea edx, [rbp + 0xb]
lea rcx, [rsp + 0x150]
call fcn.140231bfc
lea rdx, [rsp + 0x150]
mov rcx, rbx
call fcn.1400184d0
lea rcx, [rsp + 0x30]
call fcn.140019550
nop
cmp dword [rsi + 0x14], ebp
jne 0x1400212f8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsi + 0x14], eax
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140013030
jmp 0x14002131b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsi + 0x14]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
divsd xmm1, qword [0x1402d35d0]
lea rcx, [rsp + 0x40]
call fcn.140021b10
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x48]
call fcn.14001a150
nop
lea rax, [rsp + 0x130]
cmp rdi, rax
je 0x1400213aa
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14002137a
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140021375
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002141c
mov rcx, r8
call fcn.1400041d4
movups xmm0, xmmword [rsp + 0x130]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x140]
movups xmmword [rdi + 0x10], xmm1
movdqa xmm0, xmmword [0x1402d3620]
movdqu xmmword [rsp + 0x140], xmm0
mov word [rsp + 0x130], bp
mov rdx, qword [rsp + 0x148]
cmp rdx, 8
jb 0x1400213ef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400213e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021422
call fcn.1400041d4
nop
lea rcx, [rsp + 0x30]
call fcn.140019440
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.140220e50
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x170
pop rdi
pop rsi
pop rbp
ret
call fcn.14022a144
nop
call fcn.14022a144
int3
Function at 0x14002e530
Capabilities:
Get common file path
Get file version info

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x14a0
call fcn.140221780
sub rsp, rax
mov rax, qword [0x14031a940]
xor rax, rsp
mov qword [rsp + 0x1490], rax
mov r12, r8
mov r15, rdx
mov r14, rcx
xor r13d, r13d
mov dword [rcx], r13d
mov dword [rdx], r13d
mov dword [r8], r13d
mov edx, 0x1450
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14002e75b
call fcn.1400102e4
mov rcx, rax
test rax, rax
je 0x14002e791
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x40]
mov rbp, 0xffffffffffffffff
cmp rax, 0x10000
lea rax, [rsp + 0x40]
jae 0x14002e5d4
movzx edx, ax
lea rcx, [rsp + 0x20]
call fcn.140010b40
jmp 0x14002e5fb
mov r8, rbp
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14002e5e0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140002b2c
nop
mov rbx, qword [rsp + 0x20]
mov rsi, rbx
mov rdi, r13
movzx eax, word [rbx]
test ax, ax
je 0x14002e68b
nop
movzx edx, ax
lea rcx, [0x1402cd69c]
call fcn.140225584
test rax, rax
je 0x14002e633
mov rax, rsi
test rdi, rdi
cmovne rax, rdi
mov rdi, rax
jmp 0x14002e636
mov rdi, r13
add rsi, 2
movzx eax, word [rsi]
test ax, ax
jne 0x14002e610
test rdi, rdi
je 0x14002e68b
sub rdi, rbx
sar rdi, 1
test edi, edi
js 0x14002e786
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14002e677
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.140002ac8
mov rbx, qword [rsp + 0x20]
cmp edi, dword [rbx - 0xc]
jg 0x14002e786
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov word [rbx + rax*2], r13w
lea rdx, [0x1402cd6a8]
mov r8, rbp
inc r8
cmp word [rdx + r8*2], 0
jne 0x14002e695
lea rcx, [rsp + 0x20]
call fcn.140005b84
lea rdx, [rsp + 0x2c]
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
mov ecx, eax
call fcn.140003f10
mov rsi, rax
mov r9, rax
mov r8d, edi
mov edx, dword [rsp + 0x2c]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov rcx, rsi
test eax, eax
je 0x14002e737
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x30]
lea rdx, [0x1402ce1cc]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14002e72a
cmp dword [rsp + 0x28], 0
je 0x14002e72a
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx + 0x12]
mov dword [r14], eax
movzx eax, word [rcx + 0x10]
mov dword [r15], eax
movzx eax, word [rcx + 0x16]
mov dword [r12], eax
mov rcx, rsi
call fcn.1400041d4
mov dil, 1
jmp 0x14002e73f
call fcn.1400041d4
xor dil, dil
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], ebp
sub ebp, 1
jg 0x14002e757
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
movzx eax, dil
mov rcx, qword [rsp + 0x1490]
xor rcx, rsp
call fcn.140220e50
mov rbx, qword [rsp + 0x14f8]
add rsp, 0x14a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80070057
call fcn.140002dfc
nop
mov ecx, 0x80004005
call fcn.140002dfc
int3
Function at 0x140033450
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rbp, rdx
mov r15, rcx
mov eax, dword [rsp + 0x34]
add eax, eax
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor r12d, r12d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.version
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400335d6
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x1400335d6
mov r14d, dword [rsp + 0x30]
shr r14d, 1
je 0x1400335d6
lea eax, [r14 + 1]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r12
lea rsi, [rax + rax]
cmp rsi, 0x1000
jb 0x14003350d
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x14003363f
call fcn.1400850d8
test rax, rax
je 0x140033645
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140033522
test rsi, rsi
je 0x14003351f
mov rcx, rsi
call fcn.1400850d8
mov rbx, rax
jmp 0x140033522
mov rbx, r12
mov qword [rsp + 0x38], rbx
lea rdi, [rsi + rbx]
mov qword [rsp + 0x48], rdi
mov r8, rsi
xor edx, edx
mov rcx, rbx
call fcn.140225cd0
mov qword [rsp + 0x40], rdi
lea eax, [r14 + r14]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.version
mov rcx, qword [r15]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003359c
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x14003359c
test rbx, rbx
je 0x1400335f5
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400335f1
test al, 1
jne 0x14003359c
shr rax, 1
cmp word [rbx + rax*2 - 2], 0
je 0x1400335f5
test rbx, rbx
je 0x1400335d6
sub rdi, rbx
sar rdi, 1
add rdi, rdi
cmp rdi, 0x1000
jb 0x1400335cb
add rdi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x140033645
mov rbx, rcx
mov rdx, rdi
mov rcx, rbx
call fcn.1400041d4
xor al, al
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov word [rbx], r12w
mov rdx, rbx
mov rcx, rbp
call fcn.1400184d0
nop
test rbx, rbx
je 0x14003363b
sub rdi, rbx
sar rdi, 1
add rdi, rdi
cmp rdi, 0x1000
jb 0x140033630
add rdi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x140033645
mov rbx, rcx
mov rdx, rdi
mov rcx, rbx
call fcn.1400041d4
mov al, 1
jmp 0x1400335d8
call fcn.14000625c
int3
call fcn.14022a144
int3