joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400594d0
Capabilities:
Print debug messages

Disassembly:
push r12
push rbx
sub rsp, 0x58
mov r12, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400594f0
add rsp, 0x58
pop rbx
pop r12
ret
lea rdx, [rsp + 0x48]
mov r9d, 0x400
mov r8d, eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], rdx
mov ecx, 0x1100
xor edx, edx
mov dword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
jne 0x140059538
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1400594e4
int3
mov rcx, qword [rsp + 0x48]
mov rbx, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rbx
mov rcx, r12
call rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140059525
Function at 0x140059650
Capabilities:
Check mutex on windows

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x30
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [0x140153ac0]
mov dword [rsp + 0x2c], eax
lea rcx, [rsp + 0x2c]
lea r9, [rsp + 0x30]
movzx eax, byte [rcx]
add rcx, 1
add rdx, 2
mov r8d, eax
and eax, 0xf
shr r8b, 4
add eax, 0x61
add r8d, 0x41
mov byte [rdx - 1], al
mov byte [rdx - 2], r8b
cmp rcx, r9
jne 0x140059673
lea rax, [0x140153ac8]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x1a]
jmp 0x1400596bb
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x1400596b8
lea rax, [0x140153b00]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x19]
jmp 0x1400596eb
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x1400596e8
xor ecx, ecx
mov byte [0x140153b19], 0x2d
movabs rax, 0x6161616161616161
movabs rdx, 0x6161616161616161
mov qword [0x140153b22], rdx
lea r8, [0x140153ac0]
lea rbx, [0x140153b1a]
mov qword [0x140153b32], rdx
mov qword [0x140153b42], rdx
mov qword [0x140153b52], rdx
xor edx, edx
mov qword [0x140153b1a], rax
mov qword [0x140153b2a], rax
mov qword [0x140153b3a], rax
mov qword [0x140153b4a], rax
mov byte [0x140153b5a], 0
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, 0xffffffff
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1400598c6
lea rcx, [0x140153b00]
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x140059811
lea rsi, [0x140153a00]
lea r8, [0x140153b5a]
mov rax, rbx
lea ecx, [rbx + 0x40]
nop dword [rax]
mov edx, ecx
sub edx, eax
bt rsi, rdx
jae 0x1400597bd
mov byte [rax], 0x41
add rax, 1
cmp r8, rax
jne 0x1400597b0
lea rcx, [0x140153b00]
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
je 0x1400598b3
lea rcx, [0x140059560]
mov qword [0x140153a00], rsi
call sub.msvcrt.dll__onexit
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [0x140153a00]
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
mov r8d, 0x5b
lea rdx, [0x140153b00]
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_GetAtomNameA]
lea r8, [0x140153b5a]
xor edx, edx
lea r10d, [rbx + 0x40]
mov r11d, eax
mov r9d, 1
mov rax, rbx
test r11d, r11d
je 0x1400598e6
nop dword [rax]
cmp byte [rax], 0x41
jne 0x140059863
mov ecx, r10d
mov rbx, r9
sub ecx, eax
shl rbx, cl
or rdx, rbx
add rax, 1
cmp r8, rax
jne 0x140059850
mov rax, rdx
mov qword [0x140153a00], rax
lea rsi, [0x140153a00]
jmp 0x140059889
cmp rdx, rsi
je 0x1400597ef
mov rdx, rax
mov rax, qword [rax + 8]
test rax, rax
jne 0x140059880
cmp rdx, rsi
je 0x1400597ef
mov qword [rdx + 8], rsi
lea rcx, [0x140059560]
call sub.msvcrt.dll__onexit
jmp 0x1400597ef
lea rcx, str.failed_to_add_string_to_atom_table_n
call fcn.1400594d0
xor eax, eax
jmp 0x140059808
lea rcx, str.failed_to_to_lock_creation_mutex_n
call fcn.1400594d0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
lea rcx, str.failed_to_get_string_from_atom_n
call fcn.1400594d0
xor eax, eax
jmp 0x14005986f
Function at 0x1400035e0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
mov ecx, 0x7fff
call fcn.1400525f0
mov rbx, rax
test rax, rax
jne 0x140003658
lea rax, str.cant_allocate_memory_for_expanded_path
mov r9d, 0x57a
mov qword [rsp + 0x38], rax
lea r8, str.H5_expand_windows_env_vars
mov rax, qword [0x14022a420]
lea rdx, str..._srcH5system.c
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov rax, qword [0x140229f90]
mov qword [rsp + 0x28], rax
mov rax, qword [0x140229f80]
mov qword [rsp + 0x20], rax
call fcn.140051c80
lea eax, [rbx - 1]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rdi]
mov r8d, 0x7fff
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp eax, 0x7fff
jle 0x14000368c
lea rax, str.expanded_path_is_too_long
mov r9d, 0x57e
mov qword [rsp + 0x38], rax
mov rax, qword [0x14022a418]
jmp 0x1400036a9
test eax, eax
jne 0x1400036f3
lea rax, str.failed_to_expand_path
mov r9d, 0x581
mov qword [rsp + 0x38], rax
mov rax, qword [0x14022a148]
mov qword [rsp + 0x30], rax
lea r8, str.H5_expand_windows_env_vars
mov rax, qword [0x140229f90]
lea rdx, str..._srcH5system.c
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov rax, qword [0x140229f80]
mov qword [rsp + 0x20], rax
call fcn.140051c80
mov rcx, rbx
call fcn.140052740
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rdi]
call fcn.140052740
mov qword [rdi], rbx
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400179f0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x48
xor edx, edx
lea rcx, [0x140230860]
mov r8d, 0x138
call sub.VCRUNTIME140.dll_memset
cmp byte [0x14022d437], 0
lea rax, [0x1401c1d40]
mov qword [0x140230870], rax
lea rax, [0x1401c1d44]
mov qword [0x140230880], rax
lea rax, str.bdefgioptvz
mov qword [0x140230890], rax
lea rax, [0x1401c1d4c]
mov qword [0x1402308a0], rax
lea rax, [0x1401c1d50]
mov qword [0x1402308b0], rax
lea rax, [0x1401c1d54]
mov qword [0x1402308c0], rax
lea rax, [0x1401c1d58]
mov qword [0x1402308d0], rax
lea rax, [0x1401c1d5c]
mov qword [0x1402308e0], rax
lea rax, [0x1401c1d60]
mov qword [0x1402308f0], rax
lea rax, [0x1401c1d64]
mov qword [0x140230900], rax
lea rax, [0x1401c1d68]
mov qword [0x140230910], rax
lea rax, [0x1401c1d6c]
mov qword [0x140230920], rax
lea rax, [0x1401c1d70]
mov qword [0x140230930], rax
lea rax, [0x1401c1d74]
mov qword [0x140230940], rax
lea rax, [0x1401bcc78]
mov qword [0x140230950], rax
lea rax, [0x1401c1d78]
mov qword [0x140230960], rax
lea rax, [0x1401c1d7c]
mov qword [0x140230970], rax
lea rax, [0x1401c1d80]
mov qword [0x140230980], rax
jne 0x140017b20
lea rcx, [fcn.140017c50]
call fcn.1401b9230
mov byte [0x14022d437], 1
call fcn.14000ea80
test eax, eax
jns 0x140017b7e
lea rax, str.unable_to_initialize_error_interface
mov r9d, 0xd7
mov qword [rsp + 0x38], rax
lea r8, str.H5_init_library
mov rax, qword [0x14022a400]
lea rdx, str..._srcH5.c
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov rax, qword [0x14022a048]
mov qword [rsp + 0x28], rax
mov rax, qword [0x140229f80]
mov qword [rsp + 0x20], rax
call fcn.140051c80
mov eax, 0xffffffff
add rsp, 0x48
ret
call fcn.140016700
test eax, eax
jns 0x140017b96
lea rax, str.unable_to_initialize_property_list_interface
mov r9d, 0xd9
jmp 0x140017b36
call fcn.140021070
test eax, eax
jns 0x140017bae
lea rax, str.unable_to_initialize_datatype_interface
mov r9d, 0xdb
jmp 0x140017b36
call fcn.14008c290
test eax, eax
jns 0x140017bc9
lea rax, str.unable_to_initialize_dataset_interface
mov r9d, 0xdd
jmp 0x140017b36
call fcn.140056970
test eax, eax
jns 0x140017be4
lea rax, str.unable_to_initialize_metadata_caching_interface
mov r9d, 0xdf
jmp 0x140017b36
call fcn.140005ea0
test eax, eax
jns 0x140017bff
lea rax, str.unable_to_initialize_link_interface
mov r9d, 0xe1
jmp 0x140017b36
call fcn.14009a1b0
test eax, eax
jns 0x140017c1a
lea rax, str.unable_to_initialize_FS_interface
mov r9d, 0xe3
jmp 0x140017b36
lea rcx, str._all
call fcn.140017620
lea rcx, str.HDF5_DEBUG
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rcx, rax
call fcn.140017620
xor eax, eax
add rsp, 0x48
ret
Function at 0x140089d20
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x48
cmp byte [0x14022d641], 0
jne 0x140089d3d
cmp byte [0x14022d435], 0
je 0x140089d3d
xor eax, eax
add rsp, 0x48
ret
lea rcx, [0x1401d9c90]
call fcn.1400682a0
test eax, eax
jns 0x140089da2
lea rax, str.unable_to_initialize_interface
mov r9d, 0xa9
mov qword [rsp + 0x38], rax
lea r8, str.H5D__init_package
mov rax, qword [0x14022a400]
lea rdx, str..._srcH5Dint.c
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov rax, qword [0x14022a090]
mov qword [rsp + 0x28], rax
mov rax, qword [0x140229f80]
mov qword [rsp + 0x20], rax
call fcn.140051c80
mov eax, 0xffffffff
add rsp, 0x48
ret
xor edx, edx
mov qword [rsp + 0x40], rbx
mov r8d, 0x1240
lea rcx, [0x14022dc00]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [0x140227498]
call fcn.140068000
mov rbx, rax
test rax, rax
jne 0x140089df9
lea rax, str.cant_get_default_dataset_creation_property_list
mov r9d, 0xb2
mov qword [rsp + 0x38], rax
mov rax, qword [0x14022a2e0]
mov qword [rsp + 0x30], rax
mov rax, qword [0x14022a090]
jmp 0x140089eb3
lea r8, [0x14022dcf8]
mov rcx, rbx
lea rdx, str.layout
call fcn.140016520
test eax, eax
jns 0x140089e22
lea rax, str.cant_retrieve_layout
mov r9d, 0xb6
jmp 0x140089e9b
lea r8, [0x14022dcd8]
mov rcx, rbx
lea rdx, [0x1401cbb14]
call fcn.140016520
test eax, eax
jns 0x140089e4b
lea rax, str.cant_retrieve_external_file_list
mov r9d, 0xba
jmp 0x140089e9b
lea r8, [0x14022dc38]
mov rcx, rbx
lea rdx, str.fill_value
call fcn.140016520
test eax, eax
jns 0x140089e74
lea rax, str.cant_retrieve_fill_value
mov r9d, 0xbc
jmp 0x140089e9b
lea r8, [0x14022dc90]
mov rcx, rbx
lea rdx, str.pline
call fcn.140016520
test eax, eax
jns 0x140089ee8
lea rax, str.cant_retrieve_pipeline_filter
mov r9d, 0xbe
mov qword [rsp + 0x38], rax
mov rax, qword [0x14022a148]
mov qword [rsp + 0x30], rax
mov rax, qword [0x14022a040]
mov qword [rsp + 0x28], rax
lea r8, str.H5D__init_package
mov rax, qword [0x140229f80]
lea rdx, str..._srcH5Dint.c
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.140051c80
mov rbx, qword [rsp + 0x40]
mov eax, 0xffffffff
add rsp, 0x48
ret
lea rcx, str.HDF5_VDS_PREFIX
mov byte [0x14022ee40], 1
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
lea rcx, str.HDF5_EXTFILE_PREFIX
mov qword [0x14022ee50], rax
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rbx, qword [rsp + 0x40]
mov qword [0x14022ee48], rax
xor eax, eax
add rsp, 0x48
ret
Function at 0x1400980e0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
xor edi, edi
mov byte [rsp + 0x70], 0
cmp byte [0x14022eea2], dil
mov ebx, edx
mov esi, ecx
mov qword [rsp + 0x40], rdi
jne 0x140098250
cmp byte [0x14022d435], dil
jne 0x14009834d
lea rcx, str.HDF5_PLUGIN_PRELOAD
mov byte [0x14022eea2], 1
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rcx, rax
test rax, rax
je 0x140098165
movzx eax, byte [rax]
cmp al, byte [0x1401de664]
jne 0x140098165
movzx eax, byte [rcx + 1]
cmp al, byte [0x1401de665]
jne 0x140098165
movzx eax, byte [rcx + 2]
cmp al, byte [0x1401de666]
jne 0x140098165
mov dword [0x14022aaa8], edi
mov byte [0x14022aaac], dil
call fcn.14017afc0
test eax, eax
jns 0x14009817d
lea rax, str.cant_create_plugin_cache
mov r9d, 0xa7
jmp 0x140098197
call fcn.14017b250
test eax, eax
jns 0x14009823a
lea rax, str.cant_create_plugin_search_path_table
mov r9d, 0xab
mov qword [rsp + 0x38], rax
lea r8, str.H5PL__init_package
mov rax, qword [0x14022a400]
lea rdx, str..._srcH5PLint.c
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov rax, qword [0x140229f90]
mov qword [rsp + 0x28], rax
mov rax, qword [0x140229f80]
mov qword [rsp + 0x20], rax
call fcn.140051c80
lea rax, str.interface_initialization_failed
mov byte [0x14022eea2], dil
mov qword [rsp + 0x38], rax
mov r9d, 0xf5
mov rax, qword [0x14022a400]
mov qword [rsp + 0x30], rax
mov rax, qword [0x14022a048]
mov qword [rsp + 0x28], rax
lea r8, str.H5PL_load
mov rax, qword [0x140229f80]
lea rdx, str..._srcH5PLint.c
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.140051c80
mov rax, rdi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
cmp byte [0x14022eea2], dil
jne 0x140098250
cmp byte [0x14022d435], dil
jne 0x14009834d
test esi, esi
je 0x14009827b
lea rax, str.Invalid_plugin_type_specified
mov r9d, pe_nt_image_headers64
mov qword [rsp + 0x38], rax
mov rax, qword [0x14022a1e0]
mov qword [rsp + 0x30], rax
mov rax, qword [0x140229f90]
jmp 0x140098201
test byte [0x14022aaa8], 1
jne 0x1400982ae
lea rax, str.filter_plugins_disabled
mov r9d, 0xfb
mov qword [rsp + 0x38], rax
mov rax, qword [0x14022a1e0]
mov qword [rsp + 0x30], rax
mov rax, qword [0x140229f90]
jmp 0x140098201
lea r8, [rsp + 0x40]
mov dword [rsp + 0x78], edi
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x7c], ebx
lea rcx, [rsp + 0x78]
call fcn.14017b090
test eax, eax
jns 0x1400982f8
lea rax, str.search_in_plugin_cache__failed
mov r9d, 0x109
mov qword [rsp + 0x38], rax
mov rax, qword [0x14022a148]
mov qword [rsp + 0x30], rax
mov rax, qword [0x140229f90]
jmp 0x140098201
cmp byte [rsp + 0x70], dil
jne 0x140098348
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x78]
call fcn.14017b470
test eax, eax
jns 0x140098341
lea rax, str.search_in_path_table_failed
mov r9d, 0x10e
mov qword [rsp + 0x38], rax
mov rax, qword [0x14022a148]
mov qword [rsp + 0x30], rax
mov rax, qword [0x140229f90]
jmp 0x140098201
cmp byte [rsp + 0x70], dil
je 0x14009834d
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x60]
mov rax, rdi
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140102560
Capabilities:
Encode data using xor

Disassembly:
cmp byte [0x14022d641], 0
mov r10, rcx
jne 0x140102578
cmp byte [0x14022d435], 0
je 0x140102578
xor eax, eax
ret
mov ecx, dword [rcx + 0x9cc]
mov rax, qword [rdx]
cmp ecx, 1
jbe 0x1401025b8
add rdx, 8
lea r8, [r10 + 0x109c]
lea r9d, [rcx - 1]
nop word [rax + rax]
movzx ecx, byte [r8]
lea r8, [r8 + 4]
shl rax, cl
xor rax, qword [rdx]
lea rdx, [rdx + 8]
sub r9, 1
jne 0x1401025a0
xor edx, edx
div qword [r10 + 0xd10]
mov eax, edx
ret

Function at 0x140121bc0
Capabilities:
Hash data using djb2

Disassembly:
movsx edx, byte [rcx]
mov eax, 0x1505
test edx, edx
je 0x140121be0
nop dword [rax]
imul eax, eax, 0x21
lea rcx, [rcx + 1]
add eax, edx
movsx edx, byte [rcx]
test edx, edx
jne 0x140121bd0
ret
Function at 0x14017b250
Capabilities:
Query environment variable

Disassembly:
push rdi
sub rsp, 0x50
xor edi, edi
cmp byte [0x14022eea2], dil
jne 0x14017b26e
cmp byte [0x14022d435], dil
jne 0x14017b45f
mov ecx, 0x80
mov qword [rsp + 0x68], rsi
mov dword [0x14022f2f0], edi
mov dword [0x14022c560], 0x10
call fcn.1400525f0
mov qword [0x14022f2e8], rax
test rax, rax
jne 0x14017b2ee
lea rax, str.cant_allocate_memory_for_path_table
mov r9d, 0xfd
mov qword [rsp + 0x38], rax
lea r8, str.H5PL__create_path_table
mov rax, qword [0x14022a420]
lea rdx, str..._srcH5PLpath.c
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov rax, qword [0x140229f90]
mov qword [rsp + 0x28], rax
mov rax, qword [0x140229f80]
mov qword [rsp + 0x20], rax
call fcn.140051c80
mov edi, 0xffffffff
jmp 0x14017b438
lea rcx, str.HDF5_PLUGIN_PATH
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
lea rcx, str._ALLUSERSPROFILE_hdf5libplugin
cmovne rcx, rax
call fcn.140052660
mov rsi, rax
test rax, rax
jne 0x14017b325
lea rax, str.cant_allocate_memory_for_path_copy
mov r9d, 0x109
jmp 0x14017b2a6
lea rdx, [0x1401bca40]
mov qword [rsp + 0x60], rbx
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok]
mov rbx, rax
test rax, rax
je 0x14017b426
cmp byte [0x14022eea2], dil
jne 0x14017b358
cmp byte [0x14022d435], dil
jne 0x14017b36a
mov edx, dword [0x14022f2f0]
mov rcx, rbx
call fcn.14017b830
test eax, eax
js 0x14017b386
lea rdx, [0x1401bca40]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok]
mov rbx, rax
test rax, rax
jne 0x14017b346
jmp 0x14017b426
lea rax, str.unable_to_append_search_path
mov r9d, 0x195
mov qword [rsp + 0x38], rax
lea r8, str.H5PL__append_path
mov rax, qword [0x14022a1a0]
lea rdx, str..._srcH5PLpath.c
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov rax, qword [0x140229f90]
mov qword [rsp + 0x28], rax
mov rax, qword [0x140229f80]
mov qword [rsp + 0x20], rax
call fcn.140051c80
mov qword [rsp + 0x40], rbx
lea rax, str.cant_insert_path:__s
mov qword [rsp + 0x38], rax
lea r8, str.H5PL__create_path_table
mov rax, qword [0x14022a420]
lea rdx, str..._srcH5PLpath.c
mov qword [rsp + 0x30], rax
mov r9d, 0x112
mov rax, qword [0x140229f90]
xor ecx, ecx
mov qword [rsp + 0x28], rax
mov rax, qword [0x140229f80]
mov qword [rsp + 0x20], rax
call fcn.140051c80
mov edi, 0xffffffff
mov rcx, rsi
call fcn.140052740
mov rbx, qword [rsp + 0x60]
cmp edi, 0xffffffff
jne 0x14017b45a
mov rcx, qword [0x14022f2e8]
test rcx, rcx
je 0x14017b450
call fcn.140052740
mov qword [0x14022f2e8], rax
mov dword [0x14022c560], 0
mov rsi, qword [rsp + 0x68]
mov eax, edi
add rsp, 0x50
pop rdi
ret
Function at 0x10001e024
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
push r12
sub rsp, 0xb0
and dword [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x1000301f8], rdi
je 0x10001e07d
cmp rax, rdi
jne 0x10001e070
mov esi, 1
jmp 0x10001e07d
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10001e057
mov eax, dword [0x1000301f0]
cmp eax, 1
jne 0x10001e092
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x10001e0f7
mov eax, dword [0x1000301f0]
test eax, eax
jne 0x10001e0ed
mov dword [0x1000301f0], 1
lea r12, [0x100001690]
lea rdi, [0x100001678]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], eax
cmp rdi, r12
jae 0x10001e0df
test eax, eax
jne 0x10001e0df
mov rcx, qword [rdi]
test rcx, rcx
je 0x10001e0d4
call rcx
mov dword [rsp + 0x30], eax
add rdi, 8
mov qword [rsp + 0x38], rdi
jmp 0x10001e0bd
test eax, eax
je 0x10001e0f7
mov eax, 0xff
jmp 0x10001e241
mov dword [0x10002f924], 1
mov eax, dword [0x1000301f0]
cmp eax, 1
jne 0x10001e11f
lea rdx, [0x100001670]
lea rcx, [0x1000015f8]
call sub.msvcrt.dll__initterm
mov dword [0x1000301f0], 2
test esi, esi
jne 0x10001e12c
xor eax, eax
xchg qword [0x1000301f8], rax
cmp qword [0x100030210], 0
je 0x10001e155
lea rcx, [0x100030210]
call fcn.10001e5dc
test eax, eax
je 0x10001e155
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100030210]
mov rax, qword [sym.imp.msvcrt.dll__acmdln]
mov rdi, qword [rax]
mov qword [rsp + 0x28], rdi
mov esi, dword [rsp + 0x20]
cmp byte [rdi], 0x20
ja 0x10001e1e0
cmp byte [rdi], 0
je 0x10001e176
test esi, esi
jne 0x10001e1e0
cmp byte [rdi], 0
je 0x10001e18a
cmp byte [rdi], 0x20
ja 0x10001e18a
inc rdi
mov qword [rsp + 0x28], rdi
jmp 0x10001e176
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rdi
xor edx, edx
lea rcx, [0x100000000]
call fcn.100008db4
mov dword [0x10002f920], eax
cmp dword [0x10002f904], 0
jne 0x10001e1c9
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x10002f924], 0
jne 0x10001e1de
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x10002f920]
jmp 0x10001e241
cmp byte [rdi], 0x22
jne 0x10001e1f2
xor eax, eax
test esi, esi
sete al
mov esi, eax
mov dword [rsp + 0x20], eax
movzx ecx, byte [rdi]
call qword [sym.imp.msvcrt.dll__ismbblead]
test eax, eax
je 0x10001e207
inc rdi
mov qword [rsp + 0x28], rdi
inc rdi
mov qword [rsp + 0x28], rdi
jmp 0x10001e168
lea r11, [rsp + 0xb0]
mov rsi, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop r12
ret
sub rsp, 0x28
call fcn.10016c000
add rsp, 0x28
jmp 0x10001e024
Function at 0x140072160
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140071c40
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14007219f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140117478]
jmp 0x1400721a9
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x1400d38b0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x14010ccb0
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
sub rsp, 0xe8
xorps xmm0, xmm0
xor edx, edx
movups xmmword [rsp + 0x70], xmm0
xor eax, eax
xor r9d, r9d
mov qword [r11 - 0x18], rax
xor r8d, r8d
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [r11 - 0x78]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
movups xmmword [r11 - 0x48], xmm0
mov dword [rsp + 0x28], 0x8000000
movups xmmword [r11 - 0x38], xmm0
mov dword [rsp + 0x20], edx
movups xmmword [r11 - 0x68], xmm0
movups xmmword [r11 - 0x58], xmm0
movups xmmword [r11 - 0x28], xmm0
mov dword [rsp + 0x70], 0x68
mov word [r11 - 0x38], dx
mov rdx, rcx
xor ecx, ecx
mov dword [r11 - 0x3c], 1
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0xe8
ret