joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001218
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_WerSetFlags]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_HeapSetInformation]
call fcn.140001460
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.1400017e0
mov ebx, dword [rsp + 0x20]
mov rdi, rax
sub ebx, 1
je 0x1400037bf
cmp ebx, 1
je 0x1400037a6
and dword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
lea rdx, [rdi + 8]
mov ecx, ebx
call fcn.140001e00
test al, al
je 0x1400037d0
mov eax, dword [rsp + 0x20]
jmp 0x140001294
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rax + 8]
lea rdx, str._private
call qword [sym.imp.MSVCR120_CLR0400.dll__wcsicmp]
test eax, eax
jne 0x140001270
test ebx, ebx
setg cl
call fcn.140006410
nop
jmp 0x140001270
lea rdx, [rdi + 8]
mov ecx, ebx
call fcn.1400050b0
nop
jmp 0x140001294

Function at 0x140001520
Capabilities:
Hash data using djb2
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xb0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xa0], rax
or rbp, 0xffffffffffffffff
mov rbx, rcx
mov r8, rbp
xor esi, esi
inc r8
cmp word [rcx + r8*2], si
jne 0x140001555
mov eax, edx
neg eax
mov eax, 0x3f
sbb ecx, ecx
and ecx, 8
sub eax, ecx
cdqe
cmp r8, rax
ja 0x1400015d3
mov edi, 0x40
test edx, edx
je 0x140003a3f
cmp dword [0x14001b1b8], esi
jne 0x1400039ef
lea r8, str.COMPlus_
mov rdx, rdi
lea rcx, [rsp + 0x20]
call qword [sym.imp.MSVCR120_CLR0400.dll_wcscpy_s]
jmp 0x1400015a7
mov r8, rbx
lea rcx, [rsp + 0x20]
mov rdx, rdi
call qword [sym.imp.MSVCR120_CLR0400.dll_wcscat_s]
xor r8d, r8d
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
movsxd rdi, eax
test eax, eax
jne 0x140002420
xor eax, eax
jmp 0x1400015d8
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140001030
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov eax, 2
mul rdi
cmovo rax, rbp
mov rcx, rax
call fcn.140001a70
mov rbx, rax
test rax, rax
je 0x14000244d
mov r8d, edi
lea rcx, [rsp + 0x20]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rax, rbx
jmp 0x1400015d8
movzx ecx, word [rbx]
mov r8, rbx
mov edx, 0x1505
jmp 0x140003a14
lea eax, [rcx - 0x61]
cmp eax, 0x19
ja 0x140003a07
and ecx, 0xffffffdf
imul edx, edx, 0x21
xor edx, ecx
add r8, 2
movzx ecx, word [r8]
test ecx, ecx
jne 0x1400039fc
movzx ecx, dl
mov eax, ecx
mov edx, ecx
shr rax, 5
lea rcx, [0x14001b1c0]
and edx, 0x1f
mov eax, dword [rcx + rax*4]
bt eax, edx
jb 0x14000158f
jmp 0x1400015d3
mov word [rsp + 0x20], si
jmp 0x1400015a7
Function at 0x140001ab0
Capabilities:
Terminate process

Disassembly:
movzx r9d, si
mov r8, rbx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001218
mov dword [0x14001b038], eax
cmp dword [0x14001b020], 0
jne 0x140003f08
mov ecx, eax
call qword [sym.imp.MSVCR120_CLR0400.dll_exit]
nop
jmp 0x140003f08
sub rsp, 0x28
call fcn.1400016e0
add rsp, 0x28
jmp 0x140001ac0
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x30
and qword [rax - 0x10], 0
and dword [rax - 0x18], 0
call qword [sym.imp.MSVCR120_CLR0400.dll___crtGetShowWindowMode]
movzx esi, ax
mov rcx, qword gs:[0x30]
mov rdx, qword [rcx + 8]
xor ebx, ebx
xor eax, eax
lock cmpxchg qword [0x14001b218], rdx
jne 0x140003e92
mov eax, dword [0x14001b220]
cmp eax, 1
je 0x140003ea7
mov eax, dword [0x14001b220]
test eax, eax
jne 0x140003ebf
mov dword [0x14001b220], 1
lea rdx, [0x1400117c8]
lea rcx, [0x1400117a8]
call sub.MSVCR120_CLR0400.dll__initterm_e
test eax, eax
jne 0x140003eb5
mov eax, dword [0x14001b220]
cmp eax, 1
jne 0x140001b6c
lea rdx, [0x1400117a0]
lea rcx, [0x140011758]
call fcn.1400ac000
mov dword [0x14001b220], 2
test ebx, ebx
jne 0x140001b79
xor eax, eax
xchg qword [0x14001b218], rax
cmp qword [0x14001b238], 0
jne 0x140003ecf
mov rax, qword [sym.imp.MSVCR120_CLR0400.dll__acmdln]
mov rbx, qword [rax]
mov qword [rsp + 0x28], rbx
mov edi, dword [rsp + 0x20]
cmp byte [rbx], 0x20
jbe 0x140001bc4
cmp byte [rbx], 0x22
je 0x140003f20
movzx ecx, byte [rbx]
call qword [sym.imp.MSVCR120_CLR0400.dll__ismbblead]
test eax, eax
jne 0x140003f33
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x140001b9a
cmp byte [rbx], 0
je 0x140001bcd
test edi, edi
jne 0x140001b9f
mov al, byte [rbx]
dec al
cmp al, 0x1f
ja 0x1400011e1
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x140001bcd
cmp rax, rdx
jne 0x140003ea1
mov ebx, 1
jmp 0x140001b02
jmp 0x140001af1
lea ecx, [rax + 0x1e]
call sub.MSVCR120_CLR0400.dll__amsg_exit
jmp 0x140001b44
mov eax, 0xff
jmp 0x140003f6e
mov dword [0x14001b37c], 1
jmp 0x140001b44
lea rcx, [0x14001b238]
call fcn.14000e710
test eax, eax
je 0x140001b87
mov rbx, qword [0x14001b238]
mov rcx, rbx
mov rax, qword [0x140011568]
call rax
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call rbx
nop
jmp 0x140001b87
cmp dword [0x14001b37c], 0
jne 0x140003f1d
call qword [sym.imp.MSVCR120_CLR0400.dll__cexit]
mov eax, dword [0x14001b038]
jmp 0x140003f6e
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [rsp + 0x20], eax
jmp 0x140001ba8
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x140001bb9
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140002074
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov dword [rax + 0x20], r9d
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
and qword [rbp - 0x28], 0
mov rbx, r8
and dword [rbp + 0x48], 0
mov r14, rdx
mov esi, dword [rbp + 0x50]
mov r12, rcx
mov dword [rbp - 0x30], 4
test sil, 1
je 0x1400020cd
mov edx, dword [rbp + 0x58]
call fcn.140001520
mov rdi, rax
test rax, rax
jne 0x140003a4a
test sil, 0xe
je 0x1400021bf
mov rcx, r12
call fcn.1400021e8
test eax, eax
je 0x1400021bf
mov r13d, 0x20019
test sil, 2
je 0x14000213a
mov rcx, qword [0x14001b0c8]
xor edi, edi
mov qword [rbp - 0x20], rcx
cmp rcx, 0xffffffffffffffff
jne 0x140003aa5
lea rax, [rbp - 0x20]
mov r9d, r13d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoft.NETFramework
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, 1
test eax, eax
je 0x140003aa1
test sil, 4
je 0x1400021bf
mov rcx, qword [0x14001b0d0]
xor edi, edi
mov qword [rbp - 0x18], rcx
cmp rcx, 0xffffffffffffffff
jne 0x140002183
lea rax, [rbp - 0x18]
mov r9d, r13d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoft.NETFramework
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, 1
test eax, eax
jne 0x1400021bf
mov rcx, qword [rbp - 0x18]
lea rax, [rbp - 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x48]
lea rax, [rbp - 0x28]
mov rdx, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movsxd rsi, eax
test edi, edi
je 0x1400021b6
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rsi, rsi
je 0x140003af5
mov qword [rbx], r14
mov eax, 0x80004005
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.MSVCR120_CLR0400.dll__errno]
mov r8d, 0x10
lea rdx, [rbp - 0x10]
mov rcx, rdi
and dword [rax], 0
call qword [sym.imp.MSVCR120_CLR0400.dll_wcstoul]
mov r13d, eax
call qword [sym.imp.MSVCR120_CLR0400.dll__errno]
cmp dword [rax], 0x22
je 0x140003a82
cmp qword [rbp - 0x10], rdi
je 0x140003a82
mov r15d, 1
jmp 0x140003a85
xor r15d, r15d
mov rcx, rdi
call fcn.1400011b0
test r15d, r15d
je 0x1400020cd
mov qword [rbx], r13
xor eax, eax
jmp 0x1400021c7
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x48]
lea rax, [rbp - 0x28]
mov rdx, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movsxd r15, eax
test edi, edi
je 0x140003ad8
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r15, r15
jne 0x14000213a
cmp dword [rbp + 0x48], 4
jne 0x14000213a
mov rax, qword [rbp - 0x28]
mov qword [rbx], rax
jmp 0x140003a99
cmp dword [rbp + 0x48], 4
jne 0x1400021bf
jmp 0x140003aeb
Function at 0x1400021e8
Capabilities:
Hash data using djb2

Disassembly:
xor r8d, r8d
mov rdx, rcx
cmp dword [0x14001b1bc], r8d
jne 0x140003d7c
mov r8d, 1
mov eax, r8d
ret
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r8w
jne 0x140003d80
cmp rax, 0x50
ja 0x1400021fb
movzx ecx, word [rcx]
mov r9d, 0x1505
jmp 0x140003db8
lea eax, [rcx - 0x61]
cmp eax, 0x19
ja 0x140003daa
and ecx, 0xffffffdf
imul r9d, r9d, 0x21
xor r9d, ecx
add rdx, 2
movzx ecx, word [rdx]
test ecx, ecx
jne 0x140003d9f
movzx ecx, r9b
mov eax, ecx
mov edx, ecx
shr rax, 5
lea rcx, [0x14001b1e0]
and edx, 0x1f
mov eax, dword [rcx + rax*4]
bt eax, edx
jb 0x1400021fb
jmp 0x140002201
Function at 0x1400040e0
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
mov eax, 0x2048
call fcn.140002cb0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2030], rax
lea rax, [rsp + 0x2058]
mov r9, rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
or r8, 0xffffffffffffffff
mov edx, 0x1000
call qword [sym.imp.MSVCR120_CLR0400.dll__vsnwprintf_s]
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x14000414d
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x140004179
call qword [sym.imp.MSVCR120_CLR0400.dll___iob_func]
lea r8, [rsp + 0x30]
lea rdx, [0x140011e20]
lea rcx, [rax + 0x30]
call qword [sym.imp.MSVCR120_CLR0400.dll_fwprintf]
call qword [sym.imp.MSVCR120_CLR0400.dll___iob_func]
lea rcx, [rax + 0x30]
call qword [sym.imp.MSVCR120_CLR0400.dll_fflush]
mov rcx, qword [rsp + 0x2030]
xor rcx, rsp
call fcn.140001030
add rsp, 0x2048
ret

Function at 0x140005328
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbp
push rbx
lea rbp, [rax - 0x178]
sub rsp, 0x268
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x150], rax
xor ebx, ebx
cmp byte [0x14001c17c], bl
jne 0x14000538f
lea r8, [rsp + 0x20]
lea rcx, str.NGenServiceDebugLog
call fcn.140001f80
mov dword [0x14001c178], eax
mov byte [0x14001c17c], 1
jmp 0x140005395
mov eax, dword [0x14001c178]
test eax, eax
je 0x140005405
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x34], 0x200
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x30], 2
mov rax, qword [rsp + 0x40]
mov word [rax], bx
lea r8, [rbp + 0x188]
mov rdx, qword [rbp + 0x180]
lea rcx, [rsp + 0x30]
call fcn.14000ac5c
lea rcx, [rsp + 0x30]
call fcn.14000a0b8
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
test byte [rsp + 0x38], 8
je 0x140005405
mov rcx, qword [rsp + 0x40]
call fcn.1400011b0
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.140001030
add rsp, 0x268
pop rbx
pop rbp
ret
Function at 0x140005f68
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x40
call fcn.140005420
and qword [rsp + 0x30], 0
lea rcx, str.Calling_StartServiceCtrlDispatcher_n
and qword [rsp + 0x38], 0
mov qword [rsp + 0x20], rax
lea rax, [0x140005ea0]
mov qword [rsp + 0x28], rax
call fcn.140005328
mov rbx, qword [0x14001b920]
test rbx, rbx
jne 0x140005ff9
cmp byte [0x14001b90f], bl
jne 0x140005ff5
xor r8d, r8d
lea rcx, str.advapi32.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
je 0x140005fe2
lea rdx, str.StartServiceCtrlDispatcherW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [0x14001b920], rax
jmp 0x140005fe9
mov rbx, qword [0x14001b920]
mov byte [0x14001b90f], 1
test rbx, rbx
jne 0x140005ff9
xor eax, eax
jmp 0x140006009
mov rcx, rbx
call qword [0x140011568]
lea rcx, [rsp + 0x20]
call rbx
test eax, eax
jne 0x140006023
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.StartServiceCtrlDispatcher_failed_with_error__d.__Will_try_slow_path_n
call fcn.140005328
jmp 0x140006040
lea rcx, str.StartServiceCtrlDispatcher_done__exiting_n
call fcn.140005328
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x40
pop rbx
ret

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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x178]
sub rsp, 0x270
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x160], rax
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x44], 0x200
mov qword [rsp + 0x50], rbx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x40], 2
mov rax, qword [rsp + 0x50]
mov word [rax], bx
lea rcx, [rsp + 0x40]
call fcn.1400047e4
lea rdx, str._ndpsetup.bat
lea rcx, [rsp + 0x40]
call fcn.1400044a0
lea rcx, [rsp + 0x40]
call fcn.14000a0b8
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140006105
mov dword [rsp + 0x30], ebx
lea r9, [rsp + 0x30]
lea r8, str.Install
lea rdx, str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Client
call fcn.14000c3d4
test eax, eax
je 0x140006103
cmp dword [rsp + 0x30], 1
je 0x140006105
mov bl, 1
test byte [rsp + 0x48], 8
je 0x140006116
mov rcx, qword [rsp + 0x50]
call fcn.1400011b0
mov al, bl
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140001030
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rbp
ret
Function at 0x14000c3d4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rdi
mov rbx, r9
mov rdi, r8
and qword [rbp - 0x18], 0
lea rax, [rbp - 0x18]
mov qword [r11 - 0x38], rax
mov r9d, 0x20019
call fcn.140007804
test eax, eax
jne 0x14000c465
mov dword [rbp + 0x30], 4
mov dword [rbp + 0x10], 4
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x30]
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000c465
cmp dword [rbp + 0x30], 4
jne 0x14000c465
cmp dword [rbp + 0x10], 4
jne 0x14000c465
mov eax, dword [rbp - 0x20]
mov dword [rbx], eax
mov ebx, 1
jmp 0x14000c467
xor ebx, ebx
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14000c476
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret
Function at 0x14000720c
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14000719c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400205b8]
jmp 0x140007248
cmp qword [rbx + 0x18], rdi
je 0x14000724f
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000723f
jmp 0x140007269
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400205b8]
call fcn.140011c68
lea rcx, [0x140021170]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
invalid
out dx, eax
mov ebp, 0xbdefff32
xor bh, bh
out dx, eax
mov ebp, 0xbdefff32
xor bh, bh
out dx, eax
mov ebp, 0xbcefff32
xor bh, bh
out dx, eax
mov esp, 0xbcefff31
out dx, eax
mov esp, 0xbcefff31
xor edi, edi
out dx, al
mov esp, 0xbceeff31
xor edi, edi
in al, dx
mov dh, 0x2d
invalid
invalid
mov ss, word [rcx]
adc edi, edi
out dx, eax
mov esp, 0xbcefff31
xor edi, edi
out dx, al
mov esp, 0xbceeff31
xor edi, edi
in al, dx
mov dh, 0x2d
invalid
adc edi, edi
fisttp dword [rcx - 0x762400f4]
or al, 0xff
fisttp dword [rcx - 0x772400f4]
or al, 0xff
fisttp dword [rax - 0x772400f4]
or al, 0xff
fimul dword [rax - 0x772500f4]
or al, 0xff
fimul dword [rax - 0x782500f4]
or edi, edi
fiadd dword [rdi - 0x782500f5]
or edi, edi
fiadd dword [rdi - 0x782500f5]
or edi, edi
fiadd dword [rdi - 0x782500f5]
or edi, edi
fiadd dword [rsi - 0x792500f5]
or edi, edi
fiadd dword [rsi - 0x792500f6]
or bh, bh
fiadd dword [rsi - 0x792600f6]
or bh, bh
fld dword [rbp - 0x7a2600f6]
or bh, bh
fld dword [rbp - 0x7a2600f6]
or bh, bh
fld dword [rbp - 0x7a2600f7]
or edi, edi
fld dword [rcx + rcx + 0x984d9ff]
invalid
or bh, bh
fiadd dword [rsi - 0x792500f6]
or bh, bh
fld dword [rsi - 0x7a2600f6]
or bh, bh
fld dword [rbp - 0x7a2600f6]
or bh, bh
fld dword [rbp - 0x7a2600f6]
or edi, edi
fld dword [rbp - 0x7b2600f7]
or edi, edi
fld dword [rcx + rcx + 0x984d9ff]
invalid
Function at 0x1400449e0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1400449ed
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400449fd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400449e5
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x140044a15
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140044a02
sub eax, 3
jb 0x140044a2f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140044a66
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x140044a56
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140044a54
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140044a43
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.1400449a2
jmp 0x1400449ed
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x7200
mov dl, 5
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140044ab2
cmp rsi, rcx
jae 0x140044aba
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140044a99
cmp al, 0x8f
ja 0x140044a99
cmp byte [rsi - 2], 0xf
je 0x140044a9f
sub al, 0xe8
cmp al, 1
ja 0x140044a83
cmp rsi, rcx
jae 0x140044aba
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140044a89
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140044aba
lodsb al, byte [rsi]
jmp 0x140044a99
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x42000]
mov eax, dword [rdi]
or eax, eax
je 0x140044b17
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x44000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140044ac7
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140044b11
mov qword [rbx], rax
add rbx, 8
jmp 0x140044ae7
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140044b51
cmp al, 0xef
ja 0x140044b43
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140044b23
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140044b32
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.140044bd0], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.140044bd0
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140044bc0
sub rsp, 0xffffffffffffff80
jmp 0x1400013f0
Function at 0x140008210
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x140324cc0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor esi, esi
mov qword [rbp - 0x21], rsi
movdqa xmm0, xmmword [0x1402d8150]
movdqu xmmword [rbp - 0x11], xmm0
mov word [rbp - 0x21], si
lea rcx, [rbp - 0x21]
call fcn.140063670
mov ebx, eax
test eax, eax
js 0x14000828b
lea rcx, [rbp - 0x21]
cmp qword [rbp - 9], 8
cmovae rcx, qword [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
test eax, eax
je 0x140008277
mov ebx, esi
jmp 0x14000828b
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov qword [rbp - 0x41], rsi
movdqa xmm0, xmmword [0x1402d8150]
movdqu xmmword [rbp - 0x31], xmm0
mov word [rbp - 0x41], si
test ebx, ebx
js 0x1400083b8
lea rdx, [rbp - 0x41]
mov cl, 1
call fcn.1400650ec
mov ebx, eax
test eax, eax
js 0x1400083b8
mov r8d, SafeArrayUnaccessData
lea rdx, str.FileSyncHelperlogs
lea rcx, [rbp - 0x41]
call fcn.14000a25c
lea rdx, [rbp - 0x41]
cmp qword [rbp - 0x29], 8
cmovae rdx, qword [rbp - 0x41]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea rax, [rbp - 0x41]
cmp qword [rbp - 0x29], 8
cmovae rax, qword [rbp - 0x41]
xor r9d, r9d
mov byte [rsp + 0x48], sil
mov dword [rsp + 0x40], 3
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], sil
xor r8d, r8d
lea rsi, str.FileSyncHelper
mov rdx, rsi
mov rcx, rsi
call fcn.14002010c
mov ebx, eax
lea rax, [0x1402d6410]
mov qword [rbp + 0x37], rax
mov dword [rbp + 0x2f], 3
mov dword [rbp + 0x3f], ebx
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x38], 2
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0x7df240a5
lea rax, [0x1402d6cc8]
mov qword [rsp + 0x20], rax
lea r9, str.InitializeLogging
mov r8d, reloc.OLEAUT32.dll_RegisterTypeLib
lea rdx, str.D:dbs_shodct0905_113328cmdqclientonedriveProductElevatedHelperServerexewinmain.cpp
lea rcx, [rbp - 1]
call fcn.14001f5f8
lea rdx, [rbp + 0x2f]
lea rcx, [rbp - 1]
call fcn.140020644
call fcn.14002025c
mov rdx, rsi
lea rcx, str.App_Name
call fcn.1400203d8
nop
lea rcx, [rbp - 0x41]
call fcn.14000a1f8
nop
lea rcx, [rbp - 0x21]
call fcn.14000a1f8
mov eax, ebx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400b4b90
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret