joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140009430
Capabilities:
Get disk information

Disassembly:
push rbx
push rdi
sub rsp, 0x658
mov rbx, rdx
mov edi, ecx
test rdx, rdx
je 0x14000961b
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140009450
cmp rax, 0x104
ja 0x14000961b
lea rdx, [0x14001fc50]
mov rcx, rbx
call fcn.14000b560
test rax, rax
je 0x14000961b
mov qword [rsp + 0x670], rbp
mov qword [rsp + 0x678], rsi
mov qword [rsp + 0x680], r14
xor r14d, r14d
mov r8d, edi
xor edx, edx
mov ecx, 0x400
mov qword [rsp + 0x650], r15
mov ebp, r14d
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x14000960e
lea rcx, str.psapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14000960e
lea rdx, str.GetProcessImageFileNameW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r15d, [r14 + 1]
test rax, rax
je 0x14000950b
lea rdx, [rsp + 0x440]
mov r8d, 0x104
mov rcx, rdi
call rax
test eax, eax
cmovne ebp, r15d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebp, ebp
je 0x14000960e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x230]
sub rcx, rbx
movzx eax, word [rbx]
lea rbx, [rbx + 2]
mov word [rcx + rbx - 2], ax
test ax, ax
jne 0x140009530
lea rcx, [rsp + 0x230]
call fcn.14000c3c8
lea rdx, [0x14001fc50]
lea rcx, [rsp + 0x230]
call fcn.14000b560
lea rcx, [rsp + 0x440]
mov rbx, rax
call fcn.14000c3c8
lea rdx, [rbx + 4]
lea rcx, [rsp + 0x440]
call fcn.14000b560
test rax, rax
je 0x140009617
mov word [rax - 2], r14w
mov word [rbx + 2], r14w
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], r14w
call fcn.140009ca0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x230]
mov r8d, 0x103
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x140009617
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x440]
call fcn.14000b804
test eax, eax
jne 0x140009617
mov eax, r15d
mov r14, qword [rsp + 0x680]
mov rsi, qword [rsp + 0x678]
mov rbp, qword [rsp + 0x670]
mov r15, qword [rsp + 0x650]
add rsp, 0x658
pop rdi
pop rbx
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400095e4
xor eax, eax
add rsp, 0x658
pop rdi
pop rbx
ret
Function at 0x14000ffd8
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140019760], eax
call fcn.140010980
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140019760], 0
jne case.default.0x14001002e
mov ecx, 1
call fcn.140010980
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
cmp eax, 0x4091d132
or bh, byte [rsi]
adc dword [rdi], ecx
mov cl, byte [rdx + rdi*2 - 0x4a26a37d]
xchg ecx, eax
or ah, byte [rcx + 0xe]
sub al, 0x56
movabs dword [0xfd1a8f40fcbd9a4c], eax
call qword [rsi]
pop rsi
mov dh, 0x96
fdiv st(0)
movabs eax, dword [0x169b4a1f5b881147]
test eax, 0xbc0cc609
invalid
Function at 0x2fc53dec0
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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc53efa0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc53e8c2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc561108]
test eax, eax
je 0x2fc53e95a
lea rax, [0x2fc5610e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc561110]
mov qword [rbp - 8], rax
jmp 0x2fc53e93e
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 0x2fc53e932
cmp qword [rbp - 0x10], 0
je 0x2fc53e932
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 0x2fc53e8f8
lea rax, [0x2fc5610e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc53e95b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc53ea60
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 0x2fc53ea88
mov eax, 0
jmp 0x2fc53ead6
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 0x2fc53eab1
mov eax, 0
jmp 0x2fc53ead6
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 0x2fc53ead1
mov eax, 0
jmp 0x2fc53ead6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc53eadc
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 0x2fc53eb5a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc53eb51
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 0x2fc53eb51
mov rax, qword [rbp - 8]
jmp 0x2fc53eb6f
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 0x2fc53eb24
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d7230
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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d8310
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d7c32
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4fa108]
test eax, eax
je 0x2fc4d7cca
lea rax, [0x2fc4fa0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4fa110]
mov qword [rbp - 8], rax
jmp 0x2fc4d7cae
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 0x2fc4d7ca2
cmp qword [rbp - 0x10], 0
je 0x2fc4d7ca2
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 0x2fc4d7c68
lea rax, [0x2fc4fa0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d7ccb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d7dd0
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 0x2fc4d7df8
mov eax, 0
jmp 0x2fc4d7e46
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 0x2fc4d7e21
mov eax, 0
jmp 0x2fc4d7e46
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 0x2fc4d7e41
mov eax, 0
jmp 0x2fc4d7e46
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d7e4c
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 0x2fc4d7eca
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d7ec1
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 0x2fc4d7ec1
mov rax, qword [rbp - 8]
jmp 0x2fc4d7edf
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 0x2fc4d7e94
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc545510
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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc5465f0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc545f12
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc568108]
test eax, eax
je 0x2fc545faa
lea rax, [0x2fc5680e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc568110]
mov qword [rbp - 8], rax
jmp 0x2fc545f8e
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 0x2fc545f82
cmp qword [rbp - 0x10], 0
je 0x2fc545f82
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 0x2fc545f48
lea rax, [0x2fc5680e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc545fab
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc5460b0
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 0x2fc5460d8
mov eax, 0
jmp 0x2fc546126
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 0x2fc546101
mov eax, 0
jmp 0x2fc546126
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 0x2fc546121
mov eax, 0
jmp 0x2fc546126
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc54612c
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 0x2fc5461aa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc5461a1
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 0x2fc5461a1
mov rax, qword [rbp - 8]
jmp 0x2fc5461bf
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 0x2fc546174
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x3b7b71667
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push rbp
mov eax, 0x3d960
call fcn.3b7b726b0
sub rsp, rax
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x3d8d4], 0
lea r8, str.3601121
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateMutexA]
call rax
mov qword [rbp + 0x3d8c8], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
cmp eax, 0xb7
sete al
test al, al
je 0x3b7b716ff
cmp qword [rbp + 0x3d8c8], 0
je 0x3b7b716de
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
cmp eax, 0xb7
jne 0x3b7b716de
mov eax, 1
jmp 0x3b7b716e3
mov eax, 0
test al, al
je 0x3b7b716ff
mov rax, qword [rbp + 0x3d8c8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
jmp 0x3b7b718ff
mov dword [rbp + 0x3d88c], 0
mov dword [rbp + 0x3d8c4], 0x3d8dc
mov qword [rbp + 0x3d8b8], 0
lea rax, str.KERNEL32.DLL
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp + 0x3d8b8], rax
cmp qword [rbp + 0x3d8b8], 0
sete al
test al, al
jne 0x3b7b718f8
mov dword [rbp + 0x3d8dc], 0
jmp 0x3b7b717d5
mov dword [rbp + 0x3d8d8], 0
jmp 0x3b7b717c2
mov eax, dword [rbp + 0x3d8dc]
cdqe
lea rdx, [rax*8]
lea rax, sym.tmp_ObkuSl.dll_dict_words
mov rdx, qword [rdx + rax]
mov eax, dword [rbp + 0x3d8d8]
cdqe
lea rcx, [rax*8]
lea rax, sym.tmp_ObkuSl.dll_translate_dict
mov rax, qword [rcx + rax]
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x3b7b717bb
mov eax, dword [rbp + 0x3d8d8]
mov edx, eax
mov eax, dword [rbp + 0x3d8dc]
cdqe
mov byte [rbp + rax - 0x50], dl
jmp 0x3b7b717ce
add dword [rbp + 0x3d8d8], 1
cmp dword [rbp + 0x3d8d8], 0xff
jle 0x3b7b71763
add dword [rbp + 0x3d8dc], 1
mov eax, dword [rbp + 0x3d8dc]
cmp eax, dword [rbp + 0x3d8c4]
jb 0x3b7b71757
mov rax, qword [rbp + 0x3d8b8]
mov edx, 0xf16faef4
mov rcx, rax
call sym.tmp_ObkuSl.dll_GetProcAddressH_HINSTANCE____unsigned_long_
mov qword [rbp + 0x3d8b0], rax
cmp qword [rbp + 0x3d8b0], 0
je 0x3b7b718fb
mov rax, qword [rbp + 0x3d8b8]
mov edx, 0x9cf8dc2a
mov rcx, rax
call sym.tmp_ObkuSl.dll_GetProcAddressH_HINSTANCE____unsigned_long_
mov qword [rbp + 0x3d8a8], rax
cmp qword [rbp + 0x3d8a8], 0
je 0x3b7b718fe
mov r10, qword [rbp + 0x3d8b0]
mov eax, dword [rbp + 0x3d8c4]
mov r9d, 4
mov r8d, 0x3000
mov rdx, rax
mov ecx, 0
call r10
mov qword [rbp + 0x3d8a0], rax
mov ecx, dword [rbp + 0x3d8c4]
lea rdx, [rbp - 0x50]
mov rax, qword [rbp + 0x3d8a0]
mov r8, rcx
mov rcx, rax
call sub.msvcrt.dll_memmove
mov r10, qword [rbp + 0x3d8a8]
mov edx, dword [rbp + 0x3d8c4]
lea rcx, [rbp + 0x3d88c]
mov rax, qword [rbp + 0x3d8a0]
mov r9, rcx
mov r8d, 0x20
mov rcx, rax
call r10
mov dword [rbp + 0x3d89c], eax
mov qword [rbp + 0x3d890], 0
mov rax, qword [rbp + 0x3d8a0]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8, rax
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
mov qword [rbp + 0x3d890], rax
jmp 0x3b7b718ff
nop
jmp 0x3b7b718ff
nop
jmp 0x3b7b718ff
nop
add rsp, 0x3d960
pop rbp
ret
Function at 0x3b7b71af0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.3b7b72700
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.3b7b72700
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x3b7b71b60
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x3b7d63064]
mov rbx, rcx
test esi, esi
jle 0x3b7b71c90
mov rax, qword [0x3b7d63068]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x3b7b71bab
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x3b7b71c35
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x3b7b71b90
mov rcx, rbx
call fcn.3b7b723c0
mov rdi, rax
test rax, rax
je 0x3b7b71cb2
mov rax, qword [0x3b7d63068]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.3b7b72500
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x3b7d63068]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x3b7b71c97
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x3b7b71c2e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x3b7b71c40
add dword [0x3b7d63064], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x3b7d63068]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x3b7b71c2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.3b7b71af0
nop dword [rax]
xor esi, esi
jmp 0x3b7b71bb8
mov rax, qword [0x3b7d63068]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.3b7b71af0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.3b7b71af0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x3b7b72030
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x3b7d630a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x3b7d63080]
test rbx, rbx
je 0x3b7b7208c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x3b7b72083
test rsi, rsi
je 0x3b7b72083
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x3b7b72068
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x3b7b723c0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x3b7d60990]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x3b7b723e0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x3b7b723e8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x3b7b723e0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x3b7b7243d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x3b7b72434
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x3b7b723e0
add rax, 0x28
cmp rax, r9
jne 0x3b7b72420
xor eax, eax
ret

Function at 0x3b7b72440
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x3b7d60990]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x3b7b7245f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x3b7b72468
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x3b7b7245f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x3b7b72500
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x3b7d60990]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x3b7b7251f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x3b7b72528
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x2fc4cffa0
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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d1080
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d09a2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f3108]
test eax, eax
je 0x2fc4d0a3a
lea rax, [0x2fc4f30e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f3110]
mov qword [rbp - 8], rax
jmp 0x2fc4d0a1e
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 0x2fc4d0a12
cmp qword [rbp - 0x10], 0
je 0x2fc4d0a12
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 0x2fc4d09d8
lea rax, [0x2fc4f30e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d0a3b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d0b40
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 0x2fc4d0b68
mov eax, 0
jmp 0x2fc4d0bb6
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 0x2fc4d0b91
mov eax, 0
jmp 0x2fc4d0bb6
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 0x2fc4d0bb1
mov eax, 0
jmp 0x2fc4d0bb6
mov eax, 1
add rsp, 0x20
pop rbp
ret