joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140041be0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push r14
sub rsp, 0x20
mov rax, qword gs:[0x58]
mov esi, 8
mov rbx, qword [rax]
cmp byte [rsi + rbx], 0
jne 0x140041c0c
call fcn.140082398
mov r14d, 0x10
mov edx, 0x210
mov qword [rsp + 0x30], rdi
mov rcx, qword [r14 + rbx]
call fcn.140013e20
cmp byte [rax], 0
je 0x140041c8c
xor edx, edx
mov ecx, 0x210
call fcn.140016d20
test al, al
je 0x140041c8c
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140041c8c
cmp byte [rsi + rbx], 0
jne 0x140041c57
call fcn.140082398
mov rdi, qword [r14 + rbx]
cmp byte [rdi + 0x3911], 0
je 0x140041c78
xorps xmm3, xmm3
lea rcx, [rdi + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.140002a90
mov dword [rdi + 0x378], 0x210
mov dword [rdi + 0x938], 0xa0
cmp byte [rsi + rbx], 0
jne 0x140041c97
call fcn.140082398
mov rcx, qword [r14 + rbx]
mov edx, 0x214
call fcn.140013e20
cmp byte [rax], 0
je 0x140041d0c
xor edx, edx
mov ecx, 0x214
call fcn.140016d20
test al, al
je 0x140041d0c
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140041d0c
cmp byte [rsi + rbx], 0
jne 0x140041cd7
call fcn.140082398
mov rdi, qword [r14 + rbx]
cmp byte [rdi + 0x3911], 0
je 0x140041cf8
xorps xmm3, xmm3
lea rcx, [rdi + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.140002a90
mov dword [rdi + 0x37c], 0x214
mov dword [rdi + 0x948], 0xa1
cmp byte [rsi + rbx], 0
jne 0x140041d17
call fcn.140082398
mov rcx, qword [r14 + rbx]
mov edx, 0x212
call fcn.140013e20
cmp byte [rax], 0
je 0x140041d8c
xor edx, edx
mov ecx, 0x212
call fcn.140016d20
test al, al
je 0x140041d8c
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140041d8c
cmp byte [rsi + rbx], 0
jne 0x140041d57
call fcn.140082398
mov rdi, qword [r14 + rbx]
cmp byte [rdi + 0x3911], 0
je 0x140041d78
xorps xmm3, xmm3
lea rcx, [rdi + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.140002a90
mov dword [rdi + 0x264], 0x212
mov dword [rdi + 0x940], 0x5b
cmp byte [rsi + rbx], 0
mov rdi, qword [rsp + 0x30]
jne 0x140041d9c
call fcn.140082398
mov rcx, qword [r14 + rbx]
mov edx, 0x216
call fcn.140013e20
cmp byte [rax], 0
je 0x140041e11
xor edx, edx
mov ecx, 0x216
call fcn.140016d20
test al, al
je 0x140041e11
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140041e11
cmp byte [rsi + rbx], 0
jne 0x140041ddc
call fcn.140082398
mov rbx, qword [r14 + rbx]
cmp byte [rbx + 0x3911], 0
je 0x140041dfd
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.140002a90
mov dword [rbx + 0x268], 0x216
mov dword [rbx + 0x950], 0x5c
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140044dd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword gs:[0x58]
mov rbx, qword [rax]
mov eax, 8
cmp byte [rax + rbx], 0
jne 0x140044df2
call fcn.140082398
mov eax, 0x10
mov rax, qword [rax + rbx]
mov rcx, qword [rax + 0x4f78]
mov r9, qword [rax + 0x4148]
movups xmm0, xmmword [r9 + 0x278]
movups xmmword [rcx + 0x170], xmm0
mov rax, qword [r9 + 0x2e0]
movups xmm0, xmmword [rcx + 0x150]
movss xmm4, dword [rcx + 0x150]
movss xmm3, dword [rcx + 0x154]
movss xmm2, dword [rcx + 0x158]
movss xmm1, dword [rcx + 0x15c]
movups xmmword [r9 + 0x278], 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 + 0x2e0]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, word [rcx + 0x232]
mov rcx, qword [rcx + 0x1a0]
mov rdx, qword [r9 + 0x2e0]
add rsp, 0x30
pop rbx
jmp fcn.140039ec0

Function at 0x140044ed0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword gs:[0x58]
mov rbx, qword [rax]
mov eax, 8
cmp byte [rax + rbx], 0
jne 0x140044ef2
call fcn.140082398
mov eax, 0x10
mov rax, qword [rax + rbx]
mov rcx, qword [rax + 0x4f78]
mov r10, qword [rax + 0x4148]
movsxd rax, dword [rcx + 0x74]
movups xmm0, xmmword [rcx + 0x170]
movss xmm4, dword [rcx + 0x170]
movss xmm3, dword [rcx + 0x174]
movss xmm2, dword [rcx + 0x178]
movss xmm1, dword [rcx + 0x17c]
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
imul r9, rax, 0x70
mov rax, qword [r10 + 0x2e0]
add r9, qword [rcx + 0x18]
movups xmmword [r10 + 0x278], xmm0
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r10 + 0x2e0]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, word [r9 + 0x5c]
mov rdx, qword [r10 + 0x2e0]
mov rcx, qword [rcx + 0x1a0]
add rsp, 0x30
pop rbx
jmp fcn.140039ec0
Function at 0x1400488f0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rax, qword [0x1400bb040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rax, qword gs:[0x58]
movsxd rsi, ecx
mov rbx, qword [rax]
mov eax, 8
cmp byte [rax + rbx], 0
jne 0x140048932
call fcn.140082398
mov eax, 0x10
mov edx, esi
mov rax, qword [rax + rbx]
mov rbx, qword [rax + 0x4148]
mov rcx, rbx
call fcn.140048870
movss xmm6, dword [rbx + 0x58]
mov rcx, rsi
movss xmm4, dword [rbx + 0x5c]
xor rcx, 1
movss xmm5, dword [rbx + 0x94]
movaps xmm3, xmm6
movaps xmm1, xmm4
mov r10d, eax
addss xmm3, dword [rbx + 0x60]
addss xmm1, dword [rbx + 0x64]
movups xmm2, xmmword [rbx + 0x238]
test esi, esi
jne 0x1400489cd
cmp byte [rbx + 0xf1], sil
subss xmm1, xmm5
movss dword [rsp + 0x48], xmm2
mov edx, 0x1c0
shufps xmm2, xmm2, 0xaa
mov eax, 0x140
subss xmm2, xmm5
cmovne edx, eax
movaps xmm0, xmm1
movss dword [rsp + 0x54], xmm1
subss xmm0, dword [rbx + rcx*4 + 0xe8]
movss dword [rsp + 0x50], xmm2
maxss xmm4, xmm0
movss dword [rsp + 0x4c], xmm4
jmp 0x140048a2d
mov eax, dword [rbx + 0x14]
subss xmm3, xmm5
movaps xmm1, xmm2
and eax, 0x401
shufps xmm1, xmm2, 0x55
cmp eax, 1
shufps xmm2, xmm2, 0xff
mov edx, 0x120
subss xmm2, xmm5
movss dword [rsp + 0x4c], xmm1
movaps xmm0, xmm3
movss dword [rsp + 0x50], xmm3
subss xmm0, dword [rbx + rcx*4 + 0xe8]
mov ecx, 0x100
cmovne edx, ecx
cmp byte [rbx + 0xf0], 0
movss dword [rsp + 0x54], xmm2
maxss xmm6, xmm0
movss dword [rsp + 0x48], xmm6
jne 0x140048a2d
bts edx, 7
movss xmm0, dword [rbx + rsi*4 + 0x88]
lea r9, [rsp + 0x40]
cvttss2si rax, dword [rbx + rsi*4 + 0xc0]
mov dword [rsp + 0x30], edx
mov r8d, esi
mov edx, r10d
addss xmm0, xmm0
mov qword [rsp + 0x40], rax
addss xmm0, dword [rbx + rsi*4 + 0x70]
cvttss2si rcx, xmm0
movss xmm0, dword [rbx + rsi*4 + 0x240]
subss xmm0, dword [rbx + rsi*4 + 0x238]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x48]
cvttss2si rax, xmm0
mov qword [rsp + 0x20], rax
call fcn.140048ad0
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rsp + 0x40]
movss dword [rbx + rsi*4 + 0xc0], xmm0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400820c0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
movaps xmm6, xmmword [rsp + 0x60]
mov rsp, r11
pop rdi
ret
Function at 0x14005c300
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov rax, qword gs:[0x58]
mov rdi, rcx
mov r14d, 8
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm7
mov rbp, qword [rax]
cmp byte [r14 + rbp], 0
jne 0x14005c341
call fcn.140082398
cmp byte [r14 + rbp], 0
movss xmm1, dword [rdi + 0x2c]
mov r12d, 0x10
mov rax, qword [r12 + rbp]
movss xmm0, dword [rax + 0x3a40]
mov r15, qword [rax + 0x4148]
subss xmm1, xmm0
movaps xmm2, xmm0
movss xmm0, dword [rdi + 0x30]
addss xmm2, dword [rax + 0x3e80]
movss xmm6, dword [r15 + 0x140]
movss xmm7, dword [r15 + 0x144]
movss dword [r15 + 0x144], xmm0
movss dword [r15 + 0x140], xmm1
addss xmm2, dword [rdi + 0x2c]
movss dword [rdi + 0x2c], xmm2
movups xmm0, xmmword [rax + 0x3ae8]
movups xmmword [rsp + 0x20], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [0x1400adcd4]
movss dword [rsp + 0x2c], xmm0
jne 0x14005c3cb
call fcn.140082398
mov rbx, qword [r12 + rbp]
lea rdx, [rsp + 0x30]
xor esi, esi
mov dword [rsp + 0x30], esi
movups xmm0, xmmword [rbx + 0x3ae8]
lea rcx, [rbx + 0x4b98]
movups xmmword [rsp + 0x34], xmm0
call fcn.14002dd80
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx + 0x3ae8], xmm0
cmp byte [r14 + rbp], sil
jne 0x14005c409
call fcn.140082398
mov rbx, qword [r12 + rbp]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x15
movups xmm0, xmmword [rbx + 0x3c38]
lea rcx, [rbx + 0x4b98]
movups xmmword [rsp + 0x34], xmm0
call fcn.14002dd80
xor edx, edx
mov qword [rbx + 0x3c38], rsi
lea rcx, [0x1400a8ff4]
mov qword [rbx + 0x3c40], rsi
lea r8d, [rdx + 0x50]
call fcn.14004ad40
mov ecx, 2
movzx ebx, al
call fcn.140003fe0
test bl, bl
je 0x14005c4e4
mov ebp, esi
cmp dword [rdi], esi
jle 0x14005c4df
mov r14, rsi
mov rbx, qword [rdi + 8]
add rbx, r14
test dword [rbx + 4], 0x200000
jne 0x14005c4d5
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14005c48f
mov rcx, qword [rcx + 8]
jmp 0x14005c4ab
movsxd rax, dword [rbx + 0x28]
cmp eax, 0xffffffff
jne 0x14005c4a1
lea rcx, [0x1400a3514]
jmp 0x14005c4ab
mov rcx, rax
add rcx, qword [rdi + 0x98]
mov eax, dword [rbx]
lea r9, [rsp + 0xa0]
cmp dword [rdi + 0x18], eax
mov qword [rsp + 0xa0], 0
sete dl
xor r8d, r8d
call fcn.140058e50
test al, al
cmovne rsi, rbx
inc ebp
add r14, 0x38
cmp ebp, dword [rdi]
jl 0x14005c470
call fcn.1400194f0
lea r11, [rsp + 0x70]
movss dword [r15 + 0x140], xmm6
mov rbx, qword [r11 + 0x38]
mov rax, rsi
mov rbp, qword [r11 + 0x40]
movaps xmm6, xmmword [rsp + 0x60]
movss dword [r15 + 0x144], xmm7
movaps xmm7, xmmword [rsp + 0x50]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140081a80
Capabilities:
Enumerate process modules

Disassembly:
push rbx
mov eax, 0x2150
call fcn.1400831f0
sub rsp, rax
mov rax, qword [0x1400bb040]
xor rax, rsp
mov qword [rsp + 0x2140], rax
mov rbx, rcx
test rcx, rcx
je 0x140081af2
lea r9, [rsp + 0x20]
mov dword [rsp + 0x20], 0
mov r8d, 0x2000
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x140081af2
mov rdx, qword [rsp + 0x30]
lea r8, [rsp + 0x2030]
mov r9d, 0x104
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
test eax, eax
je 0x140081af2
mov rax, qword [rsp + 0x30]
jmp 0x140081af4
xor eax, eax
mov rcx, qword [rsp + 0x2140]
xor rcx, rsp
call fcn.1400820c0
add rsp, 0x2150
pop rbx
ret

Function at 0x140082e28
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140082e72
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140082e72
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140082e72
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140082e72
cmp dword [rcx + 0x84], 0xe
jbe 0x140082e72
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140082e74
xor al, al
add rsp, 0x28
ret
Function at 0x2fc512710
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.2fc5137f0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc513112
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc535108]
test eax, eax
je 0x2fc5131aa
lea rax, [0x2fc5350e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc535110]
mov qword [rbp - 8], rax
jmp 0x2fc51318e
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 0x2fc513182
cmp qword [rbp - 0x10], 0
je 0x2fc513182
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 0x2fc513148
lea rax, [0x2fc5350e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc5131ab
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc5132b0
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 0x2fc5132d8
mov eax, 0
jmp 0x2fc513326
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 0x2fc513301
mov eax, 0
jmp 0x2fc513326
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 0x2fc513321
mov eax, 0
jmp 0x2fc513326
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc51332c
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 0x2fc5133aa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc5133a1
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 0x2fc5133a1
mov rax, qword [rbp - 8]
jmp 0x2fc5133bf
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 0x2fc513374
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d50f0
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.2fc4d61d0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d5af2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f8108]
test eax, eax
je 0x2fc4d5b8a
lea rax, [0x2fc4f80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f8110]
mov qword [rbp - 8], rax
jmp 0x2fc4d5b6e
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 0x2fc4d5b62
cmp qword [rbp - 0x10], 0
je 0x2fc4d5b62
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 0x2fc4d5b28
lea rax, [0x2fc4f80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d5b8b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d5c90
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 0x2fc4d5cb8
mov eax, 0
jmp 0x2fc4d5d06
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 0x2fc4d5ce1
mov eax, 0
jmp 0x2fc4d5d06
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 0x2fc4d5d01
mov eax, 0
jmp 0x2fc4d5d06
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d5d0c
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 0x2fc4d5d8a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d5d81
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 0x2fc4d5d81
mov rax, qword [rbp - 8]
jmp 0x2fc4d5d9f
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 0x2fc4d5d54
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001d40
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.140002290
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.140002290
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

Function at 0x1400023b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x14000c008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x14000241c
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000241c
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x14000241c
movzx edx, word [rax + 6]
test edx, edx
je 0x14000241c
sub rcx, qword [0x14000c008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140002408
add rax, 0x28
dec edx
je 0x14000241c
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140002400
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140002400
jmp 0x14000241e
xor eax, eax
ret

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x14000c008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140002455
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140002455
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140002455
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x1400024d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000c008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400024fc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400024fc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1400024fe
xor eax, eax
ret
Function at 0x2fc533ffc
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 0x2fc53407a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc534071
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 0x2fc534071
mov rax, qword [rbp - 8]
jmp 0x2fc53408f
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 0x2fc534044
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d4cb0
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.2fc4d5d90
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d56b2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f8108]
test eax, eax
je 0x2fc4d574a
lea rax, [0x2fc4f80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f8110]
mov qword [rbp - 8], rax
jmp 0x2fc4d572e
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 0x2fc4d5722
cmp qword [rbp - 0x10], 0
je 0x2fc4d5722
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 0x2fc4d56e8
lea rax, [0x2fc4f80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d574b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d5850
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 0x2fc4d5878
mov eax, 0
jmp 0x2fc4d58c6
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 0x2fc4d58a1
mov eax, 0
jmp 0x2fc4d58c6
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 0x2fc4d58c1
mov eax, 0
jmp 0x2fc4d58c6
mov eax, 1
add rsp, 0x20
pop rbp
ret