joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002bce0
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0xe0
mov rax, qword [0x14009b3d0]
xor rax, rsp
mov qword [rsp + 0xd0], rax
cmp qword [rcx + 0x28], 0
mov rdi, rdx
mov rbx, rcx
je 0x14002bd66
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x64
lea rcx, [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__strtime]
lea rcx, [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__strdate]
mov rax, qword [rdi]
lea r9, [rsp + 0x38]
mov rcx, qword [rbx + 0x28]
lea r8, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, str._s__s___s_:__s_n
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.140004b00
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14005d930
mov rbx, qword [rsp + 0x100]
add rsp, 0xe0
pop rdi
ret
Function at 0x14002c0a8
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x158]
sub rsp, 0x250
mov rax, qword [0x14009b3d0]
xor rax, rsp
mov qword [rbp + reloc.mfc140.dll_Ordinal_320], rax
mov ebx, ecx
mov edi, Ordinal_262
mov r8d, edi
lea rcx, [rsp + 0x20]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r8d, edi
lea rcx, [rbp + 0x30]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
lea rdx, [rsp + 0x20]
xor ecx, ecx
lea r8d, [r9 + 0x2b]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x14002c21f
lea esi, [rdi - 1]
mov edx, esi
lea r8, [rsp + 0x20]
lea rcx, [rbp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, str.IntelWirelessCommon_
mov edx, edi
lea rcx, [rbp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov byte [rbp + reloc.mfc140.dll_Ordinal_307], 0
test bl, 1
je 0x14002c17a
lea r8, [rbp + 0x30]
mov edx, esi
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, str.Libeay32.dll
mov edx, edi
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test bl, 6
je 0x14002c1b1
lea r8, [rbp + 0x30]
mov rdx, rsi
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, [0x140074f68]
mov rdx, rdi
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test bl, 4
je 0x14002c1e8
lea r8, [rbp + 0x30]
mov rdx, rsi
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, str.TraceApi.dll
mov rdx, rdi
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test bl, 8
je 0x14002c21f
lea r8, [rbp + 0x30]
mov rdx, rsi
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, str.CustomUIResource.dll
mov rdx, rdi
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, qword [rbp + reloc.mfc140.dll_Ordinal_320]
xor rcx, rsp
call fcn.14005d930
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140034cf4
Capabilities:
Get mac address on windows

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r15, r8
mov r14, rdx
mov r12, rcx
and dword [rax + 0x18], 0
xor edi, edi
mov dword [rsp + 0x88], edi
and dword [r8], edi
lea rdx, [rax + 0x18]
xor ecx, ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x140034e42
mov eax, dword [rsp + 0x80]
test eax, eax
jne 0x140034d79
lea rax, str.MediaNotification.cpp
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 0x2be
lea edx, [rdi + 0x35]
mov r9d, edx
lea r8, str.CMediaNotification::IsIpAddressValidHelper___GetAdaptersInfo_returns_ulBufSize__0_n
lea rcx, [rsp + 0x28]
call fcn.140006d78
xor eax, eax
jmp 0x140034e44
mov rcx, rax
call sub.mfc140.dll_Ordinal_265
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x140034dcf
test r14, r14
je 0x140034dcf
lea rdx, [rsp + 0x80]
mov rcx, rax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x140034e02
cmp dword [rsp + 0x80], edi
je 0x140034e02
lea rcx, [rbx + 0x198]
mov r8d, 6
mov rdx, r14
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140034ddf
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140034dae
test rsi, rsi
je 0x140034ddd
mov rcx, rsi
call fcn.14005c3ac
nop
jmp 0x140034e42
mov eax, dword [rbx + 0x1a8]
mov dword [r15], eax
lea rdx, [rbx + 0x1c0]
mov rcx, r12
call fcn.140034ed8
mov edi, eax
mov dword [rsp + 0x88], eax
jmp 0x140034dcf
lea rax, str.MediaNotification.cpp
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 0x2c9
lea r8, str.CMediaNotification::IsIpAddressValidHelper___2nd_GetAdaptersInfo_did_NOT_return_ERROR_SUCCESS_n
mov edx, 0x35
lea rcx, [rsp + 0x28]
call fcn.140006d78
nop
mov rcx, rbx
call fcn.14005c3ac
nop
jmp 0x140034d72
mov eax, edi
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x1400355c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
mov ebp, r9d
mov rcx, qword [rcx + 0x10]
mov rbx, r8
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rsi + 0x18]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rsi + 0x20]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
lea rax, [rsi + 0x28]
mov r9, rbx
mov qword [rsp + 0x28], rax
mov r8, rdi
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsi + 8], rax
test ebp, ebp
je 0x14003562f
mov edx, ebp
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
cmp dword [rsp + 0x60], 0
je 0x14003563e
mov rcx, rsi
call fcn.140035658
mov rax, qword [rsi + 8]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400400c8
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x50
xor ebx, ebx
lea rcx, [rsp + 0x20]
xor edx, edx
lea r8d, [rbx + 0x30]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x140073e40]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.GetNativeSystemInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x20]
test rax, rax
je 0x14004010b
call rax
jmp 0x140040111
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [rsp + 0x20], 9
je 0x140040121
cmp word [rsp + 0x20], 6
jne 0x140040126
mov ebx, 1
mov eax, ebx
add rsp, 0x50
pop rbx
ret
Function at 0x140043b04
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
mov dword [rsp + 0x38], edx
mov r8d, edx
mov rdi, rcx
mov ebx, edx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x140043b4c
mov r9d, ebx
mov r8, rsi
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140047684
Capabilities:
Get logon sessions
Get session user name

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xf78]
mov eax, 0x1050
call fcn.14005dd10
sub rsp, rax
mov rax, qword [0x14009b3d0]
xor rax, rsp
mov qword [rbp + 0xf40], rax
mov r15, rdx
lea rcx, [rsp + 0x24]
lea rdx, [rsp + 0x28]
call sub.Secur32.dll_LsaEnumerateLogonSessions
test eax, eax
je 0x1400476de
xor eax, eax
jmp 0x14004786e
xor esi, esi
mov dword [rsp + 0x20], 2
lea ecx, [rsi + 2]
call sub.mfc140.dll_Ordinal_265
mov rdi, rax
test rax, rax
jne 0x140047704
mov rcx, qword [rsp + 0x28]
call sub.Secur32.dll_LsaFreeReturnBuffer
jmp 0x1400476d7
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
jne 0x140047758
cmp eax, 0x7a
jne 0x1400476f8
mov rcx, rdi
call fcn.14005c3ac
mov ecx, dword [rsp + 0x20]
call sub.mfc140.dll_Ordinal_265
lea rdx, [rsp + 0x20]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x1400476f8
xor r14d, r14d
lea eax, [r14 + 1]
mov ebx, eax
cmp dword [rsp + 0x24], esi
jle 0x140047848
mov rax, qword [rsp + 0x28]
mov rdx, r15
movsxd rcx, r14d
lea rcx, [rax + rcx*8]
call sub.Secur32.dll_LsaGetLogonSessionData
test eax, eax
je 0x140047790
mov rcx, r15
call sub.Secur32.dll_LsaFreeReturnBuffer
jmp 0x140047834
mov rax, qword [r15]
cmp dword [rax + 0x40], 2
je 0x1400477a4
cmp dword [rax + 0x40], 0xb
je 0x1400477a4
mov rcx, rax
jmp 0x140047786
mov r12, qword [rax + 0x18]
test r12, r12
je 0x140047834
movzx r13d, word [rax + 0x10]
mov ecx, r13d
call sub.mfc140.dll_Ordinal_265
mov rsi, rax
test rax, rax
je 0x140047832
mov r8d, r13d
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x38]
mov r8d, 3
mov rdx, r12
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.14003466c
mov r8, qword [rsp + 0x30]
or r9, 0xffffffffffffffff
mov edx, r13d
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
cmp rcx, rax
je 0x14004781a
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x140047843
mov rcx, qword [r15]
jmp 0x140047786
xor ebx, ebx
inc r14d
cmp r14d, dword [rsp + 0x24]
jge 0x140047848
jmp 0x14004776b
mov ebx, 1
mov rcx, qword [rsp + 0x28]
call sub.Secur32.dll_LsaFreeReturnBuffer
test rsi, rsi
je 0x14004785f
mov rcx, rsi
call fcn.14005c3ac
test rdi, rdi
je 0x14004786c
mov rcx, rdi
call fcn.14005c3ac
mov eax, ebx
mov rcx, qword [rbp + 0xf40]
xor rcx, rsp
call fcn.14005d930
lea r11, [rsp + 0x1050]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400478a0
Capabilities:
Get disk information

Disassembly:
sub rsp, 0x288
mov rax, qword [0x14009b3d0]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor edx, edx
lea rcx, [rsp + reloc.MurocApi.dll_Ordinal_352]
mov r8d, Ordinal_262
call sub.VCRUNTIME140.dll_memset
and dword [rsp + 0x40], 0
lea rcx, [rsp + 0x50]
and dword [rsp + 0x48], 0
xor edx, edx
and dword [rsp + 0x44], 0
mov r8d, Ordinal_262
call sub.VCRUNTIME140.dll_memset
mov r8d, Ordinal_262
lea rax, [rsp + 0x50]
mov dword [rsp + 0x38], r8d
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + reloc.MurocApi.dll_Ordinal_352]
lea rax, [rsp + 0x44]
xor ecx, ecx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [rsp + 0x40]
mov edx, 0x3d5b2a34
test eax, eax
cmove ecx, edx
mov eax, ecx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14005d930
add rsp, 0x288
ret
Function at 0x140049968
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rdi, rdx
mov r8d, Ordinal_51
lea rdx, [rsp + 0x20]
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x140049996
lea ecx, [rax + 0x19]
int 0x29
test byte [rsp + 0x44], 0x44
je 0x1400499f0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r9d, dword [rsp + 0x54]
xor edx, edx
lea ecx, [r9 - 1]
mov eax, ecx
lea r8, [r9 - 1]
and eax, edi
and ecx, ebx
add eax, ecx
not r8
dec rax
and r8, rbx
add rax, r9
div r9
xor edx, edx
mov rcx, rax
mov rax, rdi
div r9
add rcx, rax
mov eax, ecx
test ecx, ecx
je 0x1400499f0
lock or dword [r8], 0
add r8, r9
sub rax, 1
jne 0x1400499e2
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret

Function at 0x140049a04
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
movsxd r8, dword [0x14000003c]
lea rdi, [0x140000000]
add r8, rdi
mov r11, rdx
mov rbx, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x140049a77
mov r9d, dword [r8 + 0xf0]
xor edx, edx
test r9d, r9d
je 0x140049a77
movzx eax, word [r8 + 0x14]
lea rcx, [r8 + 0x18]
movzx r10d, word [r8 + 6]
add rcx, rax
mov r9d, dword [r9 + rdi + 0xc]
test r10d, r10d
je 0x140049a77
mov eax, dword [rcx + 0xc]
cmp r9d, eax
jb 0x140049a6c
mov r8d, dword [rcx + 8]
add eax, r8d
cmp r9d, eax
jb 0x140049a84
inc edx
add rcx, 0x28
cmp edx, r10d
jb 0x140049a58
xor eax, eax
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
mov dword [rbx], r8d
mov eax, dword [rcx + 0x24]
mov dword [r11], eax
mov eax, dword [rcx + 0xc]
add rax, rdi
jmp 0x140049a79
Function at 0x14004ac20
Capabilities:
Get session user name

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rbp, rcx
mov dword [rsp + 0x68], 0
lea r8, [rsp + 0x68]
xor edx, edx
lea ecx, [rdx + 2]
call sub.Secur32.dll_GetUserNameExA
mov eax, dword [rsp + 0x68]
test eax, eax
je 0x14004ad6d
lea ecx, [rax + 1]
call sub.mfc140.dll_Ordinal_265
mov rdi, rax
test rax, rax
je 0x14004ad6d
lea r8, [rsp + 0x68]
mov rdx, rax
mov ecx, 2
call sub.Secur32.dll_GetUserNameExA
test al, al
je 0x14004ad65
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140.dll_Ordinal_316]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140.dll_Ordinal_316]
nop
mov rdx, rdi
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc140.dll_Ordinal_310]
nop
xor r8d, r8d
mov dl, 0x5c
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc140.dll_Ordinal_4502]
mov esi, eax
cmp eax, 0xffffffff
je 0x14004ad2f
mov rcx, qword [rsp + 0x70]
mov ebx, dword [rcx - 0x10]
mov r8d, eax
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc140.dll_Ordinal_8025]
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140.dll_Ordinal_1504]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
sub ebx, esi
lea r8d, [rbx - 1]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc140.dll_Ordinal_12547]
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140.dll_Ordinal_1504]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x20]
mov rcx, rbp
call fcn.14004b770
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
mov rcx, rdi
call fcn.14005c3ac
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004d9c0
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x190
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x1a8], rbx
mov rax, qword [0x14009b3d0]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor edi, edi
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140.dll_Ordinal_316]
nop
lea rdx, [rsp + 0x70]
mov ecx, Ordinal_262
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
dec eax
cmp byte [rsp + rax + 0x70], 0x5c
je 0x14004da36
or r9, 0xffffffffffffffff
lea r8, [0x14006f88c]
mov edx, Ordinal_262
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcat_s]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140.dll_Ordinal_1507]
lea r8, [0x14006f3e4]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14004e930
test eax, eax
je 0x14004db10
mov r8d, 0x1012
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x38]
call sub.mfc140.dll_Ordinal_486
nop
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x38]
mov rax, qword [rsp + 0x38]
call qword [rax + 0x68]
mov r8d, dword [rbx + 0x38]
mov rdx, qword [rbx + 0x40]
lea rcx, [rsp + 0x38]
call sub.mfc140.dll_Ordinal_14146
lea rcx, [rsp + 0x38]
call sub.mfc140.dll_Ordinal_2796
cmp dword [rbx + 0x50], 0
je 0x14004db05
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140.dll_Ordinal_4937]
mov rcx, rax
call qword [sym.imp.PfQOSMgr.dll_Wlan_VoIP_ImportQoSProfiles_Internal]
test eax, eax
je 0x14004db00
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140.dll_Ordinal_316]
nop
lea rdx, str.Failed_to_import_the_IT_VoIP_database_
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140.dll_Ordinal_4648]
lea rdx, [rsp + 0x28]
mov rcx, qword [rbx + 0x20]
call fcn.14004e7f0
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
jmp 0x14004db05
mov edi, 1
lea rcx, [rsp + 0x38]
call fcn.14005c4cc
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
nop
mov eax, edi
jmp 0x14004db22
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.14005d930
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x190
pop rdi
ret
Function at 0x180018200
Capabilities:
Encode data using xor

Disassembly:
stc
sbb ebx, dword [rbp - 0x5ada1844]
mov esi, 0x748372a5
invalid

Function at 0x180635058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1806351df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x180635089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18063506f
add dl, dl
jne 0x180635096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1806350f6
xor eax, eax
add dl, dl
jne 0x1806350a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1806351ad
add dl, dl
jne 0x1806350b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1806350c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1806350d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1806350dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1806350ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18063507e
mov eax, 1
add dl, dl
jne 0x180635106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180635113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1806350fb
sub eax, ebx
mov ebx, 1
jne 0x18063514c
mov ecx, 1
add dl, dl
jne 0x18063512e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18063513b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180635123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18063507e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180635168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180635175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18063515d
cmp eax, 0x7d00
jae 0x18063519b
cmp eax, 0x500
jb 0x180635196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18063507e
cmp eax, 0x7f
ja 0x18063519e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18063507e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1806351d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x18063507e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x142f8e630
Capabilities:
Encode data using xor

Disassembly:
jmp 0x142f8e63a
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x142f8e663
pop rbp
sub rbp, 0x33
sub rbp, 0x2f8e630
sub rsp, 0x20
in al, dx
and byte [rax], al
add byte [rax], al
jmp 0x142f8e682
mov rax, 0x2f8e630
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffffea2e2a33
invalid
xor byte [rax], dl
inc rax
dec rcx
jne 0x142f8e6a1
jmp 0x142f8e6b8
jnp 0x142f8e674
fidivr dword [rax + 0x33330fba]
xor edi, dword [rbx - 0x4e]
cmp esi, dword [rdx]
xor esi, dword [rbx]
jnp 0x142f8e6fc
fidivr dword [rbx - 0xc]
xor al, 0x33
xor esi, dword [rbx]
jnp 0x142f8e6c8
int1
sbb esi, dword [rbx]
xor esi, dword [rbx]
jnp 0x142f8e69f
sar dword [rbx + 0x32], 1
mov eax, 0x33333fb2
xor edi, dword [rbx + 0x32]
invalid
xor esi, dword [rbx]
jnp 0x142f8e732
fidivr dword [rbx - 0x77]
or eax, 0x3358ce60
xor esi, dword [rbx]
xor ebx, ebx
xor esi, dword ss:[rbx]
xor ebx, edx
and eax, 0xf2333333
xor esi, dword [rbx]
xor esi, edx
invalid
add byte [rsi + 0x33333333], dh
xor edi, dword [rbx - 0x76]
out 0x81, eax
xor dword [rbx], esi
xor esi, dword [rbx]
xor edi, dword [rbx + 0x32]
fcmovu st(0), st(3)
xor esi, dword ss:[rbx]
xor ebx, edx
mov esi, 0x61333331
fisttp dword [rsi + 0x33]
xor esi, dword [rbx]
imul esp, dword [rbx + rdi*2 - 0x46], 0xfa027be4
jnp 0x142f8e762
loope 0x142f8e712
invalid
Function at 0x2fc4caf10
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4cb912
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f0108]
test eax, eax
je 0x2fc4cb9aa
lea rax, [0x2fc4f00e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f0110]
mov qword [rbp - 8], rax
jmp 0x2fc4cb98e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4cb982
cmp qword [rbp - 0x10], 0
je 0x2fc4cb982
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4cb948
lea rax, [0x2fc4f00e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4cb9ab
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4cbab0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4cbad8
mov eax, 0
jmp 0x2fc4cbb26
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4cbb01
mov eax, 0
jmp 0x2fc4cbb26
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4cbb21
mov eax, 0
jmp 0x2fc4cbb26
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4cbb2c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4cbbaa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4cbba1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4cbba1
mov rax, qword [rbp - 8]
jmp 0x2fc4cbbbf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4cbb74
mov eax, 0
add rsp, 0x20
pop rbp
ret