joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400cd2a0
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [0x1401e4320]
cmp byte [rbx + 0x5568], 0
jne 0x1400cd416
cmp dword [rbx + 0x5590], 0
je 0x1400cd2dd
mov r8d, 0x2fa1
lea rdx, str.D:SourceGithubReposMetricLoader2LoaderMetricImGuiimgui.cpp
lea rcx, str.g.SettingsWindows.empty__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400cd40f
lea rdx, [0x140189b88]
mov qword [rsp + 0x40], rdi
call fcn.1400b25a0
mov rdi, rax
test rax, rax
je 0x1400cd40a
mov qword [rsp + 0x30], rbp
mov rcx, rax
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x1400cd3f7
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400cd3f7
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x1400cd3f7
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400cd3f7
mov rbp, rsi
cmp rsi, 0xffffffffffffffff
je 0x1400cd3f7
mov rax, qword [0x1401e4320]
test rax, rax
je 0x1400cd386
inc dword [rax + 0xf4]
mov rdx, qword [0x1401e4330]
mov rcx, rbp
call qword [0x1401da4f0]
mov rsi, rax
test rax, rax
je 0x1400cd3f7
mov r9, rdi
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
cmp rax, rbp
je 0x1400cd3c2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x1400cd3d3
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdx, rbp
mov rcx, rsi
call fcn.1400b5f90
mov rax, qword [0x1401e4320]
test rax, rax
je 0x1400cd3e5
dec dword [rax + 0xf4]
mov rdx, qword [0x1401e4330]
mov rcx, rsi
call qword [0x1401da4f8]
jmp 0x1400cd400
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov byte [rbx + 0x5568], 1
movss xmm0, dword [rbx + 0x556c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1400cd467
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x556c], xmm0
jb 0x1400cd467
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400cd456
call fcn.1400c2470
mov dword [rbx + 0x556c], 0
add rsp, 0x20
pop rbx
ret
mov byte [rbx + 0xdc], 1
mov dword [rbx + 0x556c], 0
add rsp, 0x20
pop rbx
ret
Function at 0x140110f50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
movsxd rsi, edx
mov rdi, rcx
imul rbx, rsi, 0x68
add rbx, qword [rcx + 0x18]
cmp rbx, qword [rcx + 0x18]
jb 0x140110f79
cmp rbx, qword [rcx + 0x20]
jb 0x140110f93
mov r8d, 0x259
lea rdx, str.D:SourceGithubReposMetricLoader2LoaderMetricImGuiimgui_internal.h
lea rcx, str.p___Data__p___DataEnd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r9, qword [rdi + 0x188]
mov dword [rdi + 0x7c], esi
test dword [rbx], 0x10000
movss xmm0, dword [rbx + 0x34]
je 0x140110fb2
addss xmm0, dword [rdi + 0x94]
lea rsi, [r9 + 0x118]
movss dword [rsi], xmm0
movss xmm1, dword [rdi + 0xc8]
addss xmm1, dword [rdi + 0x84]
movss dword [r9 + 0x130], xmm0
subss xmm0, dword [r9 + 0x48]
movss dword [r9 + 0x11c], xmm1
subss xmm0, dword [r9 + 0x15c]
movss dword [r9 + 0x160], xmm0
mov eax, dword [rdi + 0x90]
mov dword [r9 + 0x150], eax
movsx eax, byte [rbx + 0x62]
mov dword [r9 + 0x170], eax
movss dword [r9 + 0x23c], xmm1
mov eax, dword [rbx + 0x34]
mov dword [r9 + 0x238], eax
mov eax, dword [rbx + 0x38]
mov dword [r9 + 0x240], eax
mov eax, dword [rbx + 0x3c]
mov dword [r9 + 0x1dc], eax
cmp byte [rbx + 0x5a], 0
jne 0x14011104d
maxss xmm1, dword [rdi + 0x88]
movss dword [r9 + 0x11c], xmm1
movzx eax, byte [rbx + 0x60]
mov byte [r9 + 0xd0], al
cmp byte [rbx + 0x60], 0
je 0x140111073
mov rax, qword [0x1401e4320]
xor ecx, ecx
mov dword [rax + 0x40b0], ecx
mov dword [rax + 0x40b8], ecx
test dword [rdi + 4], 0x100000
je 0x140111087
mov r8d, 2
jmp 0x140111107
movups xmm0, xmmword [rbx + 0x20]
mov rax, qword [r9 + 0x2c0]
movss xmm4, dword [rbx + 0x20]
movss xmm3, dword [rbx + 0x24]
movss xmm2, dword [rbx + 0x28]
movss xmm1, dword [rbx + 0x2c]
movups xmmword [r9 + 0x258], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x2c0]
movups xmm0, xmmword [rsp + 0x20]
movsxd rdx, dword [rax + 0x58]
mov rcx, qword [rax + 0x60]
add rdx, rdx
movups xmmword [rcx + rdx*8 - 0x10], xmm0
movzx r8d, byte [rbx + 0x57]
mov rdx, qword [r9 + 0x2c0]
mov rcx, qword [rdi + 0x1a0]
call fcn.1400fccb0
mov rdi, qword [0x1401e4320]
cmp byte [rdi + 0x55c4], 0
je 0x14011114c
cmp byte [rbx + 0x60], 0
jne 0x14011114c
xor r8d, r8d
lea rdx, [0x1401a79d8]
mov rcx, rsi
call fcn.1400b6730
mov dword [rdi + 0x55f8], 0x7f7fffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140136d40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rdi
push r12
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm7
mov rax, qword [0x1401dedc0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rax, qword [0x1401e4320]
lea rdx, [rsp + 0x30]
movss xmm1, dword [rcx + 0x2c]
mov rdi, rcx
movss xmm0, dword [rax + 0x3948]
mov r12, qword [rax + 0x3fe0]
subss xmm1, xmm0
movaps xmm2, xmm0
movss xmm0, dword [rcx + 0x30]
addss xmm2, dword [rax + 0x3d50]
movss xmm6, dword [r12 + 0x118]
movss xmm7, dword [r12 + 0x11c]
movss dword [r12 + 0x11c], xmm0
movss dword [r12 + 0x118], xmm1
addss xmm2, dword [rcx + 0x2c]
movss dword [rcx + 0x2c], xmm2
xor ecx, ecx
movups xmm0, xmmword [rax + 0x39d0]
movups xmmword [rsp + 0x30], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [0x1401608e4]
movss dword [rsp + 0x3c], xmm0
call fcn.1400bdaf0
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov ecx, reloc.WS2_32.dll_setsockopt
movups xmmword [rsp + 0x20], xmm0
call fcn.1400bdaf0
xor edx, edx
lea rcx, [0x140193f24]
lea r8d, [rdx + 0x50]
call fcn.140120660
mov ecx, 2
movzx ebx, al
call fcn.1400bcee0
xor ebp, ebp
test bl, bl
je 0x140136f1f
mov eax, dword [rdi]
mov qword [rsp + 0xa8], rsi
mov esi, ebp
test eax, eax
jle 0x140136f12
mov qword [rsp + 0xb0], r14
mov r14d, ebp
mov qword [rsp + 0x70], r15
mov r15d, ebp
test r14, r14
js 0x140136e61
cmp esi, eax
jl 0x140136e7b
mov r8d, 0x74d
lea rdx, str.D:SourceGithubReposMetricLoader2LoaderMetricImGuiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [rdi + 8]
add rbx, r15
test dword [rbx + 4], 0x200000
jne 0x140136ef2
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140136e99
mov rcx, qword [rcx]
jmp 0x140136ece
mov eax, dword [rbx + 0x24]
cmp eax, 0xffffffff
je 0x140136ea9
cmp eax, dword [rdi + 0x88]
jl 0x140136ec3
mov r8d, 0x987
lea rdx, str.D:SourceGithubReposMetricLoader2LoaderMetricImGuiimgui_internal.h
lea rcx, str.tab__NameOffset____1__tab__NameOffset___TabsNames.Buf.Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rcx, dword [rbx + 0x24]
add rcx, qword [rdi + 0x90]
mov eax, dword [rbx]
lea r9, [rsp + 0x20]
cmp dword [rdi + 0x18], eax
mov qword [rsp + 0x20], 0
sete dl
xor r8d, r8d
call fcn.140132fb0
test al, al
cmovne rbp, rbx
mov eax, dword [rdi]
inc esi
inc r14
add r15, 0x30
cmp esi, eax
jl 0x140136e58
mov r15, qword [rsp + 0x70]
mov r14, qword [rsp + 0xb0]
call fcn.1400ac360
mov rsi, qword [rsp + 0xa8]
movss dword [r12 + 0x118], xmm6
mov rax, rbp
movss dword [r12 + 0x11c], xmm7
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14014b190
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
add rsp, 0x78
pop r12
pop rdi
pop rbp
pop rbx
ret
Function at 0x14013c2a0
Capabilities:
Create process on windows
Create process suspended
Use process replacement

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x7d0
mov rax, qword [0x1401dedc0]
xor rax, rsp
mov qword [rsp + 0x7c0], rax
xorps xmm0, xmm0
lea rdx, str.explorer.exe
xor eax, eax
mov rsi, rcx
mov qword [rsp + 0xd0], rax
lea rcx, [rsp + 0x5b0]
mov eax, 1
mov ebp, r9d
movups xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x70], WSAGetLastError
movups xmmword [rsp + 0xb0], xmm0
mov word [rsp + 0xb0], ax
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0xc0], xmm0
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
xor r14d, r14d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x5b0]
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], r14
xor ecx, ecx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14013c452
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
movsxd rcx, dword [rax + 0x3c]
cmp dword [rcx + rax], 0x4550
jne 0x14013c452
mov eax, 0x10b
cmp ax, word [rcx + rbx + 0x18]
jne 0x14013c452
mov qword [rsp + 0x7f8], rdi
mov r9d, 0x3000
mov edi, dword [rcx + rbx + 0x50]
mov rdx, rbx
mov rcx, qword [rsp + 0x50]
mov r8d, edi
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
test rax, rax
je 0x14013c44a
mov rcx, qword [rsp + 0x50]
mov r9d, edi
mov r8, rbx
mov qword [rsp + 0x20], r14
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14013c44a
xor edx, edx
lea rcx, [rsp + 0xe0]
mov r8d, 0x4d0
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0xe0]
mov dword [rsp + 0x110], 0x10000b
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0xe0]
mov qword [rsp + 0x1d8], r14
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rdi, qword [rsp + 0x7f8]
mov ecx, 0x80
call fcn.14014ac08
mov rbx, rax
test rax, rax
je 0x14013c4bd
xorps xmm0, xmm0
lea rcx, [rax + 0x30]
movups xmmword [rax], xmm0
mov edx, 2
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
movups xmmword [rax + 0x70], xmm0
mov qword [rax + 0x18], r14
mov qword [rax + 0x20], r14
mov qword [rax + 0x28], r14
mov dword [rcx], r14d
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
movups xmmword [rcx + 0x18], xmm0
movups xmmword [rcx + 0x28], xmm0
movups xmmword [rcx + 0x38], xmm0
mov qword [rcx + 0x48], r14
call sub.MSVCP140.dll__Mtx_init_in_situ
jmp 0x14013c4c0
mov rbx, r14
mov r8d, ebp
mov rdx, rsi
mov rcx, rbx
call fcn.1400038d0
xor eax, eax
mov rcx, qword [rsp + 0x7c0]
xor rcx, rsp
call fcn.14014b190
mov rbx, qword [rsp + 0x800]
add rsp, 0x7d0
pop r14
pop rsi
pop rbp
ret
Function at 0x14013c500
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x148
mov rax, qword [0x1401dedc0]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rsi, rdx
mov rbx, rcx
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_139]
test rbx, rbx
je 0x14013c69f
test rsi, rsi
je 0x14013c69f
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x14013c69f
movsxd rax, dword [rbx + 0x3c]
cmp dword [rax + rbx], 0x4550
jne 0x14013c69f
mov r15d, dword [rax + rbx + 0x88]
test r15d, r15d
je 0x14013c69f
mov r13d, dword [rax + rbx + 0x8c]
lea rdi, [rbx + r15]
xor edx, edx
mov r14d, 0xffffffff
cmp rsi, 0xffff
ja 0x14013c5a9
sub esi, dword [rdi + 0x10]
cmp esi, dword [rdi + 0x14]
jae 0x14013c69f
mov eax, dword [rdi + 0x1c]
add rax, rbx
mov r8d, dword [rax + rsi*4]
jmp 0x14013c65e
mov eax, dword [rdi + 0x18]
test eax, eax
je 0x14013c64b
mov qword [rsp + 0x140], r12
lea r10d, [rax - 1]
mov r12d, dword [rdi + 0x20]
mov r11d, edx
add r12, rbx
test r10d, r10d
js 0x14013c643
mov qword [rsp + 0x190], rbp
nop word [rax + rax]
lea r9d, [r10 + r11]
mov r8, rsi
sar r9d, 1
mov eax, dword [r12 + r9*4]
add rax, rbx
sub r8, rax
movzx ecx, byte [rax]
cmp cl, byte [rax + r8]
jne 0x14013c608
inc rax
test cl, cl
jne 0x14013c5f4
mov eax, edx
jmp 0x14013c60d
sbb eax, eax
or eax, 1
cmp eax, 0xffffffff
je 0x14013c632
test eax, eax
je 0x14013c621
cmp eax, 1
jne 0x14013c636
lea r10d, [r9 - 1]
jmp 0x14013c636
mov ecx, dword [rdi + 0x24]
lea r11d, [r10 + 1]
add rcx, rbx
movzx r14d, word [rcx + r9*2]
jmp 0x14013c636
lea r11d, [r9 + 1]
cmp r11d, r10d
jle 0x14013c5e0
mov rbp, qword [rsp + 0x190]
mov r12, qword [rsp + 0x140]
cmp r14d, dword [rdi + 0x14]
jae 0x14013c69f
mov eax, dword [rdi + 0x1c]
add rax, rbx
mov ecx, r14d
mov r8d, dword [rax + rcx*4]
test r8d, r8d
je 0x14013c69f
cmp r8d, r15d
jb 0x14013c738
lea eax, [r15 + r13]
cmp r8d, eax
jae 0x14013c738
mov ecx, r8d
add rcx, rbx
mov rbx, rcx
movzx eax, byte [rcx]
test al, al
je 0x14013c69f
nop dword [rax]
cmp al, 0x2e
je 0x14013c6c2
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x14013c690
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14014b190
add rsp, 0x148
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
ret
mov r8, rbx
sub r8, rcx
cmp r8, 0x104
jae 0x14013c69f
test r8, r8
je 0x14013c6f3
movzx eax, byte [rcx + rdx]
test al, al
je 0x14013c6ea
mov byte [rsp + rdx + 0x20], al
inc rdx
cmp rdx, r8
jb 0x14013c6d6
cmp rdx, 0x104
jae 0x14013c743
lea rcx, [rsp + 0x20]
mov byte [rsp + rdx + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
je 0x14013c69f
cmp byte [rbx + 1], 0x23
lea rdx, [rbx + 1]
jne 0x14013c72b
lea rcx, [rbx + 2]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
movsxd rbx, eax
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_539]
mov rdx, rbx
mov rcx, rdi
call fcn.14013c500
jmp 0x14013c6a1
mov eax, r8d
add rax, rbx
jmp 0x14013c6a1
call fcn.14014b4f8
int3
Function at 0x14013c8a0
Capabilities:
Parse pe header

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_139]
xor esi, esi
mov eax, 0x5a4d
movzx ebx, si
cmp word [rdi], ax
jne 0x14013cb1f
movsxd rax, dword [rdi + 0x3c]
cmp dword [rax + rdi], 0x4550
jne 0x14013cb1f
mov ecx, dword [rax + rdi + 0x98]
test ecx, ecx
je 0x14013cb1f
mov edx, dword [rax + rdi + 0x9c]
add rcx, rdi
lea rdi, [rdx + rcx]
call fcn.14013c750
mov r8, rax
test rax, rax
je 0x14013cb1f
mov qword [rsp + 0x50], rbp
mov edx, 0x295a
mov qword [rsp + 0x58], r12
mov ebp, 0xa28
mov qword [rsp + 0x60], r13
mov r12d, 0x2580
mov qword [rsp + 0x28], r14
mov r13d, 0x2800
mov qword [rsp + 0x20], r15
mov r14d, 0xece
mov r15d, 0x23f0
mov r9d, 0x3839
mov r10d, 0x3ad7
mov r11d, 0x3fab
movzx ecx, word [r8]
mov ebx, esi
mov rax, rsi
test cx, cx
je 0x14013cad5
cmp cx, 0x2e
jne 0x14013c96d
inc rax
jmp 0x14013c973
cmp rax, 2
je 0x14013c986
movzx ecx, word [r8 + 2]
add r8, 2
test cx, cx
jne 0x14013c962
jmp 0x14013cad5
add r8, 2
test cx, cx
je 0x14013cad5
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x14013c9bd
movzx eax, bx
sub cx, 0x30
shl ax, 2
add bx, ax
add bx, bx
add bx, cx
movzx ecx, word [r8]
add r8, 2
test cx, cx
jne 0x14013c993
cmp bx, bp
je 0x14013cb06
cmp bx, r14w
je 0x14013cb06
movzx eax, bx
mov ecx, 0x1770
sub ax, cx
cmp ax, 2
jbe 0x14013cb06
movzx eax, bx
mov ecx, 0x1db0
sub ax, cx
cmp ax, 1
jbe 0x14013cb06
cmp bx, r15w
je 0x14013cb06
cmp bx, r12w
je 0x14013cb06
cmp bx, r13w
je 0x14013cb06
cmp bx, dx
je 0x14013cb06
cmp bx, r9w
je 0x14013cb06
cmp bx, r10w
je 0x14013cb06
cmp bx, r11w
je 0x14013cb06
mov eax, 0x42ee
cmp bx, ax
je 0x14013cb06
mov eax, 0x4563
cmp bx, ax
je 0x14013cb06
movzx eax, bx
mov ecx, 0x47ba
sub ax, cx
cmp ax, 1
jbe 0x14013cb06
movzx eax, bx
mov ecx, 0x4a61
sub ax, cx
cmp ax, 4
jbe 0x14013cb06
mov eax, 0x55f0
cmp bx, ax
je 0x14013cb06
mov eax, 0x585d
cmp bx, ax
je 0x14013cb06
mov eax, 0x5867
cmp bx, ax
je 0x14013cb06
mov eax, 0x5b9b
cmp bx, ax
je 0x14013cb06
mov eax, 0x5bb9
cmp bx, ax
je 0x14013cb06
mov eax, 0x6531
cmp bx, ax
je 0x14013cb06
mov eax, 0x657e
cmp bx, ax
je 0x14013cb06
mov eax, 0x65a0
cmp bx, ax
je 0x14013cb06
mov rdx, rdi
mov rcx, r8
sub rdx, r8
call fcn.14013c750
mov r8, rax
mov edx, 0x295a
mov r9d, 0x3839
mov r10d, 0x3ad7
mov r11d, 0x3fab
test rax, rax
jne 0x14013c950
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x60]
mov r12, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov r15, qword [rsp + 0x20]
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_539]
movzx eax, bx
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x14013cd40
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rbx, rcx
xorps xmm0, xmm0
movups xmmword [rcx + 8], xmm0
xor edi, edi
mov qword [rcx + 0x18], rdi
mov qword [rcx + 0x20], reloc.WS2_32.dll_ntohs
mov byte [rcx + 8], dil
add rcx, 0x40
mov dword [rcx], edi
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rdi
movups xmmword [rcx + 0x18], xmm0
movups xmmword [rcx + 0x28], xmm0
movups xmmword [rcx + 0x38], xmm0
mov qword [rcx + 0x48], rdi
lea edx, [rdi + 2]
call sub.MSVCP140.dll__Mtx_init_in_situ
nop
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_157]
lea ecx, [rdi + 0x48]
call fcn.14014ac08
test rax, rax
je 0x14013cdca
mov qword [rax], rdi
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], rdi
mov qword [rax + 0x28], rdi
mov qword [rax + 0x30], rdi
mov qword [rax + 0x38], rdi
mov qword [rax + 0x40], rdi
jmp 0x14013cdcd
mov rax, rdi
mov qword [rbx], rax
mov rcx, rbx
call fcn.14013ff90
test al, al
jne 0x14013cde8
xor edx, edx
lea rcx, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_557]
nop
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14013fd20
Capabilities:
Check for trap flag exception

Disassembly:
push r13
push rbp
sub rsp, 0x138
lea r13, [rsp + 0x20]
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1401dedc0]
xor rax, r13
mov qword [rbp + 0xe0], rax
mov qword [rbp + 8], 0
pushfq
pop rax
bts rax, 8
push rax
popfq
nop
jmp 0x14013ff74
mov rcx, qword [rbp + 0xe0]
xor rcx, r13
call fcn.14014b190
lea rsp, [r13 + 0x118]
pop rbp
pop r13
ret
Function at 0x140142e40
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov rax, qword [rsp + 0x28]
add rsp, 0x10
syscall
sub rsp, 0x10
ret

Function at 0x140148870
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 0x1401488aa
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1401488af
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 0x1401488f8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1401488f8
dec r8
sub rdx, 1
jne 0x1401488de
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140149880
Capabilities:
Generate random numbers via winapi

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [rcx]
lea r8, [rsp + 0x30]
mov edx, 4
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x1401498aa
mov eax, dword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
lea rdx, str.error_while_reading
mov rcx, rbx
call fcn.140149930
int3

Function at 0x14014c19c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14014c1e6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14014c1e6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14014c1e6
mov eax, reloc.SecureEngineSDK64.dll_Ordinal_523
cmp word [rcx + 0x18], ax
jne 0x14014c1e6
cmp dword [rcx + 0x84], 0xe
jbe 0x14014c1e6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14014c1e8
xor al, al
add rsp, 0x28
ret
Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, 0xd0092ef8
jnp 0x14003f6b4
sar byte [rbx + 0x2f], 1
cmpsb byte [rsi], byte [rdi]
imul eax, dword [rbp - 0x6e], 0x10
sub al, 3
invalid
sbb eax, 0x83a3b962
ret 0xf729
sub eax, 0xcc571657
xchg edi, eax
mov word [rbp - 0x42b3ebad], es
invalid
mov cl, 0xa
ror dword [rbp + 0x28], cl
mov bh, 0xb5
loopne 0x14003f682
lodsb al, byte cs:[rsi]
mov eax, esi
push rdx
mov edx, 0x55249064
add eax, esi
cdq
ret 0xf9f8
movabs eax, dword [0x21c56c96f5617387]
xchg ebx, eax
pop rdi
iretd
mov ah, 0xb4
invalid
mov edi, 0xbb3d3e51
test al, 0x9a
mov cl, 0xcf
mov ebx, 0xcfb19aa8
rcl edi, 0xff
invalid
loope 0x14003f6bf
cmp ah, bh
and eax, 0xac9e744c
invalid
xor eax, 0xb14f819f
sal dword [rsi - 0x7ce7e8f5], cl
or al, 0xb0
sub cl, byte [rsp + rcx*2 - 0x77f5ccb]
fld qword [rdx + 0xba7fe8b]
or ebx, dword [rbx + 0x32]
sub eax, 0x3623c19b
movsd dword [rdi], dword [rsi]
loope 0x14003f754
movabs dword [0x66840a6391d394b3], eax
xor ah, al
movsb byte [rdi], byte [rsi]
push rsi
out 8, eax
jae 0x14003f6ee
out 0x66, eax
loopne 0x14003f7ba
sti
xchg ebp, eax
invalid
xchg esi, eax
mov ebx, 0x84f244b7
invalid
invalid
clc
jbe 0x14003f754
invalid
loop 0x14003f765
shl eax, 0xf6
and bh, byte [rsi - 0x4040ddcc]
loop 0x14003f749
jrcxz 0x14003f76e
dec byte cs:[0xcc6103ee]
sbb bl, bh
invalid