joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402ffea0
Capabilities:
Get disk information
Get file size
Read file via mapping

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x880
mov rax, qword [0x140601e40]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov r14, r9
mov r15, r8
mov rsi, rdx
mov rdi, rcx
xor bl, bl
call qword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x1402ffee1
xor al, al
jmp 0x1403000c5
mov qword [rsp + 0x878], rbp
lea rdx, [rsp + 0x30]
xor ebp, ebp
mov rcx, rdi
mov dword [rsp + 0x30], ebp
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [rsp + 0x30]
mov word [rsi], bp
test eax, eax
jne 0x1402fff10
test edx, edx
je 0x1403000ba
shl rdx, 0x20
xor r9d, r9d
mov eax, eax
mov rcx, rdi
or rdx, rax
mov qword [rsp + 0x28], rbp
mov qword [r14], rdx
xor edx, edx
lea r8d, [r9 + 2]
mov qword [rsp + 0x870], r12
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov r12, rax
test rax, rax
je 0x1403000b2
xor r9d, r9d
mov qword [rsp + 0x20], 1
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r14, rax
test rax, rax
je 0x1403000a9
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, r15d
mov r8, rsi
mov rcx, rax
mov rdx, r14
call sub.KERNEL32.dll_K32GetMappedFileNameW
test eax, eax
je 0x14030009e
xor edx, edx
lea rcx, [rsp + 0x460]
mov r8d, 0x400
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x460]
mov ecx, 0x1ff
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x14030009e
mov eax, dword [0x140522658]
lea rbx, [rsp + 0x460]
mov dword [rsp + 0x34], eax
movzx eax, word [0x14052265c]
mov word [rsp + 0x38], ax
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rbx]
lea rdx, [rsp + 0x40]
mov r8d, 0x104
mov word [rsp + 0x34], ax
lea rcx, [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x140300084
lea rcx, [rsp + 0x40]
call fcn.1402facc0
mov rdi, rax
cmp rax, 0x104
jae 0x140300084
mov r8, rax
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1402fae10
test eax, eax
jne 0x140300081
cmp word [rsi + rdi*2], 0x5c
jne 0x140300081
lea rax, [rsi + rdi*2]
mov edx, 0x104
lea r9, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r8, [0x140522660]
mov bpl, 1
lea rcx, [rsp + 0x250]
call fcn.1402f8a80
mov r8, r15
lea rdx, [rsp + 0x250]
mov rcx, rsi
call fcn.1402fabd0
jmp 0x140300084
xor bpl, bpl
movzx eax, word [rbx]
add rbx, 2
test ax, ax
jne 0x140300084
test bpl, bpl
jne 0x14030009e
cmp word [rbx], ax
jne 0x1402ffff0
mov rcx, r14
mov bl, 1
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r12, qword [rsp + 0x870]
mov rbp, qword [rsp + 0x878]
movzx eax, bl
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.140284180
add rsp, 0x880
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1403000f0
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov byte [rdx], 0
mov rdi, r8
lea rdx, [rsp + 0x38]
mov rcx, rbx
mov dword [rsp + 0x38], edi
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x14030012b
mov r8, rdi
lea rdx, str._unknown_machine_name_
mov rcx, rbx
call fcn.1402fab70
mov rcx, rbx
call fcn.1402fac40
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140300340
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x120], 0
mov rax, rdx
mov rbx, rcx
je 0x140300386
mov r9, qword [rcx + 0x120]
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, qword [rbx + 0x120]
mov rdi, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
test eax, eax
mov rax, rdi
je 0x14030038d
mov rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140300420
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x120], 0
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
je 0x140300491
cmp r8, 0xffffffffffffffff
jne 0x140300453
mov rcx, rdx
call fcn.1402fac40
mov rdi, rax
mov r9, qword [rsi + 0x120]
mov r8, rdi
mov edx, 1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsi + 0x120]
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
cmp rbx, rdi
sete al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor al, al
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1403004b0
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x60
xor eax, eax
mov esi, r8d
mov qword [r11 - 0x38], rax
mov rdi, rdx
mov qword [r11 - 0x30], rax
mov rbx, rcx
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], rax
mov qword [r11 - 0x10], rax
test r9b, r9b
je 0x140300588
xor edx, edx
lea rcx, [r11 - 0x38]
call fcn.1402cdf70
mov rax, qword [rbx]
lea rdx, str.Callstack:_r_n
mov r8, 0xffffffffffffffff
mov rcx, rbx
call qword [rax + 0xa0]
cmp qword [rbx + 0x8c0], 0
mov rcx, rbx
mov r10, qword [rbx]
mov rax, qword [rsp + 0x90]
je 0x14030055e
mov r8, qword [rbx + 0x8c0]
lea rdx, [rbx + 0x740]
mov qword [rsp + 0x28], rax
mov r9d, reloc.WS2_32.dll_inet_addr
mov byte [rsp + 0x20], 1
call qword [r10 + 0x170]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov r9b, 1
mov qword [rsp + 0x20], rax
mov r8d, reloc.WS2_32.dll_inet_addr
lea rdx, [rsp + 0x30]
call qword [r10 + 0x168]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
test rdi, rdi
je 0x14030059b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x1403005fc
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.1402cdfb0
test al, al
je 0x1403005ee
mov rax, qword [rbx]
lea rdx, str.Callstack:_r_n
mov r8, 0xffffffffffffffff
mov rcx, rbx
call qword [rax + 0xa0]
mov rax, qword [rsp + 0x90]
lea rdx, [rsp + 0x30]
mov r10, qword [rbx]
mov r9b, 1
mov r8d, reloc.WS2_32.dll_inet_addr
mov qword [rsp + 0x20], rax
mov rcx, rbx
call qword [r10 + 0x168]
test rdi, rdi
je 0x1403005fc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x140300610
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x140601e40]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rdi, rcx
xor r8d, r8d
lea rcx, [rsp + 0x50]
mov edx, 0x104
call fcn.1402f7690
mov rax, qword [rdi]
lea r8, [rsp + 0x50]
lea rdx, str.App_path
mov rcx, rdi
call qword [rax + 0x80]
mov rax, qword [rdi]
lea r8, [0x140522d14]
lea rdx, str.Language
mov rcx, rdi
call qword [rax + 0x80]
mov rax, qword [rdi]
lea r8, str.Microsoft_Visual_C_compiler__version_1939
lea rdx, str.Compiler
mov rcx, rdi
call qword [rax + 0x80]
mov rax, qword [rdi]
lea r8, str.64_bit
lea rdx, str.Addressing
mov rcx, rdi
call qword [rax + 0x80]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test eax, eax
je 0x140300788
mov edx, esi
mov qword [rsp + 0x188], rbx
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x14030075d
mov r9, rax
lea rcx, [rsp + 0x50]
mov r8d, esi
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x140300754
lea r9, [rsp + 0x44]
mov rcx, rbx
lea r8, [rsp + 0x48]
lea rdx, [0x14046f718]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x140300754
mov rax, qword [rsp + 0x48]
mov rcx, rdi
mov r11, qword [rdi]
movzx edx, word [rax + 0xc]
movzx r8d, word [rax + 0xe]
movzx r10d, word [rax + 8]
movzx r9d, word [rax + 0xa]
mov dword [rsp + 0x30], edx
lea rdx, str.App_version
mov dword [rsp + 0x28], r8d
lea r8, [0x140522d80]
mov dword [rsp + 0x20], r10d
call qword [r11 + 0x88]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, qword [rsp + 0x188]
mov al, 1
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140284180
mov rsi, qword [rsp + 0x190]
add rsp, 0x170
pop rdi
ret
mov al, 1
jmp 0x140300767
Function at 0x1403018f0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x140601e40]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor dil, dil
mov rbx, rcx
cmp dword [rcx + 0x14], 0
je 0x1403019e9
xor edx, edx
mov qword [rsp + 0x288], rsi
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1403019a9
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x238
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rsi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x14030199b
mov dil, 1
nop dword [rax + rax]
mov rax, qword [rbx]
lea r9, [rsp + 0x4c]
mov r8d, dword [rsp + 0x28]
lea rdx, str.0x_08x__ls_r_n
mov rcx, rbx
call qword [rax + 0x78]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140301970
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test dil, dil
jne 0x1403019bc
mov rax, qword [rbx]
lea rdx, str._info_currently_unavailable_for_this_platform_or_process__r_n
xor r8d, r8d
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
mov rsi, qword [rsp + 0x288]
movzx eax, dil
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140284180
mov rbx, qword [rsp + 0x290]
add rsp, 0x270
pop rdi
ret
mov rax, qword [rcx]
lea rdx, str.kOptionReportProcessList_is_currently_disabled._Use_ReportWriter::SetOption_to_enable_it._r_n
xor r8d, r8d
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
movzx eax, dil
jmp 0x1403019c8
Function at 0x140303050
Capabilities:
Enumerate threads

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x68
mov rax, qword [0x140601e40]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rcx
xor bl, bl
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov ecx, 4
mov ebp, eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1403031bb
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x1c
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1403031ae
mov qword [rsp + 0x98], r12
mov qword [rsp + 0xa0], r13
mov qword [rsp + 0x60], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea r13, str.__exception_thread_
mov qword [rsp + 0xa8], r14
mov r15d, eax
xor r12d, r12d
nop dword [rax + rax]
cmp dword [rsp + 0x3c], ebp
jne 0x14030317a
mov r9d, dword [rsp + 0x38]
lea rcx, [0x140437188]
cmp r9d, dword [rdi + 0x738]
lea r8, str.SysThreadId__DWORD_:__u_s__Windows_thread_base_priority:__ld
mov eax, dword [rsp + 0x40]
lea rdx, str.Thread
mov r10, qword [rdi]
sete bl
cmp r9d, r15d
mov dword [rsp + 0x28], eax
sete r14b
test bl, bl
cmovne rcx, r13
mov qword [rsp + 0x20], rcx
mov rcx, rdi
call qword [r10 + 0x88]
test bl, bl
jne 0x14030317a
mov r8d, dword [rsp + 0x38]
mov edx, 1
lea ecx, [rdx + 9]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x14030317a
mov rax, qword [rdi]
movzx r9d, r14b
mov r8d, dword [rsp + 0x38]
mov rdx, rbx
mov rcx, rdi
mov qword [rsp + 0x20], r12
call qword [rax + 0x158]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1403030e0
mov r15, qword [rsp + 0x60]
mov bl, 1
mov r14, qword [rsp + 0xa8]
mov r13, qword [rsp + 0xa0]
mov r12, qword [rsp + 0x98]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x1403031ce
mov rax, qword [rdi]
lea rdx, str._info_currently_unavailable_for_this_platform_or_process__r_n
xor r8d, r8d
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
movzx eax, bl
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140284180
add rsp, 0x68
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140303fa0
Capabilities:
Get system information on windows
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [rdx]
mov rbx, rdx
mov rdi, rcx
cmp dword [rax], 0x80000000
jae 0x140303fc8
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
add rcx, 0x10
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [rdi + 0x1c], 1
jne 0x14030403f
mov rax, qword [rbx]
cmp dword [rax], 0xc00000fd
jne 0x140304032
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x34]
lea r9, [rsp + 0x20]
mov rax, qword [rdi + 0x9a0]
lea r8, [fcn.1403040a0]
dec rcx
add rax, 0x40000
not rcx
mov rdx, rbx
and rcx, rax
mov rax, qword [rdi + 0x9a0]
mov qword [rsp + 0x20], rcx
mov rcx, rdi
mov qword [rsp + 0x28], rax
call fcn.140308b00
jmp 0x14030404f
mov rdx, rbx
mov rcx, rdi
call fcn.1403040a0
jmp 0x14030404f
cmp dword [rdi + 0x3c], 2
je 0x14030404f
lea rcx, [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [rdi + 0x3c], 1
jne 0x140304077
mov ebx, dword [rdi + 0x48]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [rdi + 0x48]
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
lea rcx, [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x70]
xor eax, eax
cmp dword [rdi + 0x3c], 2
setne al
add rsp, 0x60
pop rdi
ret
Function at 0x140305790
Capabilities:
Get system information on windows
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov rdi, rdx
add rcx, 0x10
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [rbx + 0x1c], 1
jne 0x1403057dd
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r9, qword [rbx + 0x9a0]
lea r8, [0x140305840]
add r9, 0x40000
mov rdx, rdi
mov rcx, rbx
call fcn.140308b00
jmp 0x1403057ed
cmp dword [rbx + 0x3c], 2
je 0x1403057ed
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [rbx + 0x3c], 1
jne 0x1403057fd
mov ecx, dword [rbx + 0x48]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [rbx + 0x3c], 2
je 0x140305818
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140020620
lea rdx, [0x1405f4c58]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x140305bf0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x21c8], 0
mov rsi, r8
mov rax, rdx
mov rbx, rcx
je 0x140305c43
mov r9, qword [rcx + 0x21c8]
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rdi, rax
cmp rax, rsi
jne 0x140305c43
mov rcx, qword [rbx + 0x21c8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
test eax, eax
mov rax, rdi
je 0x140305c4a
mov rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140306840
Capabilities:
Terminate process

Disassembly:
cmp qword [rcx + 0x1048], 0
je 0x140306836
mov rcx, qword [rcx + 0x1048]
jmp 0x140306840
ret
push rbx
sub rsp, 0x80
mov rbx, rcx
mov qword [rsp + 0xa0], rdi
add rcx, 0x10
mov edi, edx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [rbx + 0x1c], 1
jne 0x140306a1b
lea rcx, [rbx + 0x290]
mov qword [rsp + 0x98], rsi
xor edx, edx
mov byte [rbx + 9], 1
mov r8d, 0x4d0
call sub.VCRUNTIME140.dll_memset
xor esi, esi
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
call fcn.1402fd620
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1402cdf70
mov rax, qword [rsp + 0x38]
mov qword [rbx + 0x388], rax
mov rax, qword [rsp + 0x40]
mov qword [rbx + 0x328], rax
mov rax, qword [rsp + 0x48]
mov qword [rbx + 0x330], rax
call fcn.1402fd620
mov rcx, rax
mov qword [rbx + 0x250], rax
call sub.KERNEL32.dll_GetThreadId
lea r8, [rbx + 0x25c]
mov dword [rbx + 0x258], eax
lea rdx, [rbx + 0x258]
lea rcx, [rbx + 0x250]
lea r9d, [rsi + 0x18]
call fcn.140305670
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x90], rax
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
lea rdx, [rbx + 0x290]
lea rcx, [rsp + 0x50]
movups xmm0, xmmword [rax]
movups xmmword [rbx + 0x160], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x170], xmm1
mov eax, dword [rax + 0x20]
mov dword [rbx + 0x180], eax
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
call fcn.1402cdf40
lea rcx, [rbx + 0x188]
lea r8, [rsp + 0x50]
lea edx, [rsi + 0x18]
call fcn.1402cdd40
mov qword [rbx + 0x248], rax
lea rcx, [rbx + 0x760]
mov rax, qword [rbx + 0x388]
lea rdx, str.Simulated_exception__d.
mov r8d, edi
mov qword [rbx + 0x278], rax
call fcn.1403088c0
cmp qword [rbx], 0
mov rsi, qword [rsp + 0x98]
je 0x140306a2b
mov rax, qword [rbx]
xor edx, edx
mov rcx, rax
mov r8, qword [rax]
call qword [r8 + 0x178]
mov rax, qword [rbx]
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x110]
test al, 1
je 0x140306a04
mov rax, qword [rbx]
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x168]
mov rax, qword [rbx]
mov edx, 1
mov rcx, rax
mov r8, qword [rax]
call qword [r8 + 0x178]
jmp 0x140306a2b
cmp dword [rbx + 0x3c], 2
je 0x140306a2b
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [rbx + 0x3c], 1
mov rdi, qword [rsp + 0xa0]
jne 0x140306a43
mov ecx, dword [rbx + 0x48]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, [rbx + 0x10]
add rsp, 0x80
pop rbx
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x14030ab40
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
call fcn.14030abf0
xor r8d, r8d
xor edx, edx
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ebx, eax
test eax, eax
jne 0x14030ab7b
mov rcx, rsi
call fcn.140309730
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov rcx, rbx
mov qword [rsp + 0x30], rdi
call fcn.140309750
mov r8d, ebx
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov rcx, rsi
mov ebx, eax
call fcn.140309730
mov rcx, rdi
test ebx, ebx
jne 0x14030abc2
call fcn.140309730
mov rdi, qword [rsp + 0x30]
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
call fcn.14030abf0
mov rcx, rdi
mov rbx, rax
call fcn.140309730
mov rdi, qword [rsp + 0x30]
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
Function at 0x14030f2f0
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x80
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rdi, rcx
lea r14, vtable.grpc_core::ExecCtx.0
mov qword [rax - 0x58], r14
xor ebp, ebp
mov qword [rax - 0x50], rbp
xorps xmm0, xmm0
movdqa xmmword [rax - 0x48], xmm0
mov qword [rax - 0x38], rbp
mov qword [rax - 0x30], 1
call sub.KERNEL32.dll_GetCurrentProcessorNumber
nop
mov dword [rsp + 0x60], eax
mov byte [rsp + 0x64], bpl
mov qword [rsp + 0x68], rbp
mov edx, dword [0x14062d9a0]
mov rax, qword gs:[0x58]
mov ecx, 0x68
mov rsi, qword [rax + rdx*8]
add rsi, rcx
mov rax, qword [rsi]
mov qword [rsp + 0x70], rax
call fcn.14034a8f0
nop
lea rax, [rsp + 0x30]
mov qword [rsi], rax
mov rbx, qword [rdi]
cmp rbx, qword [rdi + 8]
je 0x14030f3ab
nop word [rax + rax]
cmp dword [rbx], 2
jne 0x14030f3a1
mov rax, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x10]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
add rbx, 0x20
cmp rbx, qword [rdi + 8]
jne 0x14030f390
mov qword [rsp + 0x30], r14
or qword [rsp + 0x58], 1
lea rcx, [rsp + 0x30]
call fcn.140351b90
nop
mov rax, qword [rsp + 0x70]
mov qword [rsi], rax
test byte [rsp + 0x58], 4
jne 0x14030f3d6
call fcn.14034a780
nop
lea rcx, [rdi + 0x18]
call fcn.1400adb60
nop
mov rcx, qword [rdi + 0x18]
call fcn.14028443c
nop
mov rcx, qword [rdi]
test rcx, rcx
je 0x14030f46c
mov rax, qword [rdi + 0x10]
sub rax, rcx
sar rax, 5
movabs rdx, 0x7ffffffffffffff
cmp rax, rdx
jbe 0x14030f413
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
shl rax, 5
cmp rax, 0x1000
jb 0x14030f45b
test cl, 0x1f
je 0x14030f42b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14030f43b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
sub rcx, rax
cmp rcx, 8
jae 0x14030f44b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
cmp rcx, 0x27
jbe 0x14030f458
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, rax
call fcn.14028443c
nop
mov qword [rdi], rbp
mov qword [rdi + 8], rbp
mov qword [rdi + 0x10], rbp
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140315a10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
push rbp
push rdi
sub rsp, 0x68
mov rax, qword [0x140601e40]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [r11 + 0x10], rbx
xor edi, edi
test byte [rcx + 8], 1
mov rbp, rcx
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
mov dword [rsp + 0x20], 0
je 0x140315a5b
mov rcx, qword [rcx + 8]
and rcx, 0xfffffffffffffffe
call fcn.14006d940
mov rdi, rax
mov esi, dword [rbp + 0x18]
xor ebx, ebx
add rdi, rsi
test esi, esi
je 0x140315aa3
nop word [rax + rax]
mov rax, qword [rbp + 0x20]
movsxd rcx, ebx
mov rcx, qword [rax + rcx*8 + 8]
call fcn.140315c40
mov ecx, eax
inc ebx
or ecx, 1
bsr edx, ecx
mov dword [rsp + 0x24], edx
lea edx, [rdx + rdx*8]
add edx, 0x49
shr rdx, 6
add rdx, rax
add rdi, rdx
cmp ebx, esi
jb 0x140315a70
mov r15d, dword [rbp + 0x30]
xor r14d, r14d
add rdi, r15
test r15d, r15d
je 0x140315b78
mov qword [rsp + 0x60], r12
lea r12, [0x1406300d0]
mov rax, qword [rbp + 0x38]
xor esi, esi
movsxd rcx, r14d
mov rbx, qword [rax + rcx*8 + 8]
test byte [rbx + 8], 1
je 0x140315ae6
mov rcx, qword [rbx + 8]
and rcx, 0xfffffffffffffffe
call fcn.14006d940
mov rsi, rax
mov rcx, qword [rbx + 0x10]
mov r8, qword [rcx + 0x10]
test r8, r8
je 0x140315b16
mov ecx, r8d
or ecx, 1
bsr edx, ecx
mov dword [rsp + 0x28], edx
lea ecx, [rdx*8 + 0x49]
add ecx, edx
shr rcx, 6
inc rcx
add rcx, r8
add rsi, rcx
cmp rbx, r12
je 0x140315b48
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140315b48
call fcn.140046290
mov ecx, eax
or ecx, 1
bsr edx, ecx
mov dword [rsp + 0x2c], edx
lea edx, [rdx + rdx*8]
add edx, 0x49
shr rdx, 6
inc rdx
add rdx, rax
add rsi, rdx
mov eax, esi
mov dword [rbx + 0x20], esi
or eax, 1
inc r14d
bsr ecx, eax
mov dword [rsp + 0x30], ecx
lea ecx, [rcx + rcx*8]
add ecx, 0x49
shr rcx, 6
add rcx, rsi
add rdi, rcx
cmp r14d, r15d
jb 0x140315ac2
mov r12, qword [rsp + 0x60]
mov rax, qword [rbp + 0x40]
mov r15, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x90]
mov rdx, qword [rax + 0x10]
mov rbx, qword [rsp + 0x88]
test rdx, rdx
je 0x140315bbe
mov eax, edx
or eax, 1
bsr ecx, eax
mov dword [rsp + 0x34], ecx
lea ecx, [rcx + rcx*8]
add ecx, 0x49
shr rcx, 6
inc rcx
add rcx, rdx
add rdi, rcx
lea rax, [0x14062ffe0]
cmp rbp, rax
je 0x140315bf7
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x140315bf7
call fcn.140332340
mov ecx, eax
or ecx, 1
bsr edx, ecx
mov dword [rsp + 0x38], edx
lea edx, [rdx + rdx*8]
add edx, 0x49
shr rdx, 6
inc rdx
add rdx, rax
add rdi, rdx
mov eax, dword [rbp + 0x50]
test eax, eax
je 0x140315c21
jns 0x140315c07
mov eax, 0xa
jmp 0x140315c1b
or eax, 1
bsr eax, eax
mov dword [rsp + 0x3c], eax
lea eax, [rax + rax*8]
add eax, 0x49
shr rax, 6
inc rdi
add rdi, rax
mov dword [rbp + 0x54], edi
mov rax, rdi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140284180
add rsp, 0x68
pop rdi
pop rbp
ret