joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6e755bb0
Capabilities:
Parse credit card information

Disassembly:
cmp cx, 0x16
je 0x6e755e34
jbe 0x6e755c10
cmp cx, 0x25
je 0x6e756020
jbe 0x6e755d40
cmp cx, 0x44
je 0x6e756010
ja 0x6e755d13
cmp cx, 0x41
je 0x6e756000
jbe 0x6e755c60
cmp cx, 0x42
je 0x6e755ff0
cmp cx, 0x43
jne 0x6e755fe0
lea rcx, [0x6e769900]
jmp fcn.6e74b360
cmp cx, 0xa
je 0x6e755fd0
ja 0x6e755cd3
cmp cx, 4
je 0x6e755fc0
jbe 0x6e755ca0
cmp cx, 7
je 0x6e755fb0
jbe 0x6e755c80
cmp cx, 8
je 0x6e755fa0
cmp cx, 9
jne 0x6e755fe0
lea rcx, [0x6e769c80]
jmp fcn.6e74b360
cmp cx, 0x26
je 0x6e755f90
cmp cx, 0x40
jne 0x6e755fe0
lea rcx, [0x6e769960]
jmp fcn.6e74b360
cmp cx, 5
je 0x6e755f80
cmp cx, 6
jne 0x6e755fe0
lea rcx, [0x6e769ce0]
jmp fcn.6e74b360
cmp cx, 1
je 0x6e755f70
test cx, cx
je 0x6e755f60
cmp cx, 2
je 0x6e755f50
cmp cx, 3
jne 0x6e755fe0
lea rcx, [0x6e769d40]
jmp fcn.6e74b360
cmp cx, 0x10
je 0x6e755f40
jbe 0x6e755e10
cmp cx, 0x13
je 0x6e755f30
jbe 0x6e755df0
cmp cx, 0x14
je 0x6e755f20
cmp cx, 0x15
jne 0x6e755fe0
lea rcx, [0x6e769b20]
jmp fcn.6e74b360
cmp cx, 0x47
je 0x6e755f10
jbe 0x6e755d80
cmp cx, 0x48
je 0x6e755f00
cmp cx, 0xfff
jne 0x6e755fe0
lea rcx, [0x6e769800]
jmp fcn.6e74b360
cmp cx, 0x1b
je 0x6e755ef0
jbe 0x6e755dc0
cmp cx, 0x1e
je 0x6e755ee0
jbe 0x6e755da0
cmp cx, 0x1f
je 0x6e755ed0
cmp cx, 0x24
jne 0x6e755fe0
lea rcx, [0x6e7699c0]
jmp fcn.6e74b360
cmp cx, 0x45
je 0x6e755ec0
cmp cx, 0x46
jne 0x6e755fe0
lea rcx, [0x6e769860]
jmp fcn.6e74b360
cmp cx, 0x1c
je 0x6e755eb0
cmp cx, 0x1d
jne 0x6e755fe0
lea rcx, [0x6e769a20]
jmp fcn.6e74b360
cmp cx, 0x18
je 0x6e755ea0
jb 0x6e755e90
cmp cx, 0x19
je 0x6e755e80
cmp cx, 0x1a
jne 0x6e755fe0
lea rcx, [0x6e769a80]
jmp fcn.6e74b360
cmp cx, 0x11
je 0x6e755e70
cmp cx, 0x12
jne 0x6e755fe0
lea rcx, [0x6e769b80]
jmp fcn.6e74b360
cmp cx, 0xc
je 0x6e755e60
jb 0x6e755e50
cmp cx, 0xd
je 0x6e755e40
cmp cx, 0xe
jne 0x6e755fe0
lea rcx, [0x6e769be0]
jmp fcn.6e74b360
lea rcx, [0x6e769b00]
jmp fcn.6e74b360
lea rcx, [0x6e769c00]
jmp fcn.6e74b360
lea rcx, [0x6e769c40]
jmp fcn.6e74b360
lea rcx, [0x6e769c20]
jmp fcn.6e74b360
lea rcx, [0x6e769ba0]
jmp fcn.6e74b360
lea rcx, [0x6e769aa0]
jmp fcn.6e74b360
lea rcx, [0x6e769ae0]
jmp fcn.6e74b360
lea rcx, [0x6e769ac0]
jmp fcn.6e74b360
lea rcx, [0x6e769a40]
jmp fcn.6e74b360
lea rcx, [0x6e769880]
jmp fcn.6e74b360
lea rcx, [0x6e7699e0]
jmp fcn.6e74b360
lea rcx, [0x6e769a00]
jmp fcn.6e74b360
lea rcx, [0x6e769a60]
jmp fcn.6e74b360
lea rcx, [0x6e769820]
jmp fcn.6e74b360
lea rcx, [0x6e769840]
jmp fcn.6e74b360
lea rcx, [0x6e769b40]
jmp fcn.6e74b360
lea rcx, [0x6e769b60]
jmp fcn.6e74b360
lea rcx, [0x6e769bc0]
jmp fcn.6e74b360
lea rcx, [0x6e769d60]
jmp fcn.6e74b360
lea rcx, [0x6e769da0]
jmp fcn.6e74b360
lea rcx, [0x6e769d80]
jmp fcn.6e74b360
lea rcx, [0x6e769d00]
jmp fcn.6e74b360
lea rcx, [0x6e769980]
jmp fcn.6e74b360
lea rcx, [0x6e769ca0]
jmp fcn.6e74b360
lea rcx, [0x6e769cc0]
jmp fcn.6e74b360
lea rcx, [0x6e769d20]
jmp fcn.6e74b360
lea rcx, [0x6e769c60]
jmp fcn.6e74b360
lea rcx, [0x6e769e60]
jmp fcn.6e74b360
lea rcx, [0x6e769920]
jmp fcn.6e74b360
lea rcx, [0x6e769940]
jmp fcn.6e74b360
lea rcx, [0x6e7698c0]
jmp fcn.6e74b360
lea rcx, [0x6e7699a0]
jmp fcn.6e74b360
Function at 0x6e757c00
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
call fcn.6e74b360
test rax, rax
je 0x6e757c5a
mov r9, qword [rax]
test r9, r9
jle 0x6e757c5a
mov r8, rax
add r9, rbx
sub r8, rbx
mov rcx, rbx
mov rdx, rbx
sar rcx, 8
sar rdx, 0x10
xor ecx, ebx
and edx, 0xffffffee
and ecx, 0xffffffee
xor cl, byte [r8 + rbx + 0x10]
xor ecx, edx
mov rdx, rbx
sar rdx, 0x18
and edx, 0xffffffee
xor ecx, edx
mov byte [r8 + rbx + 0x10], cl
add rbx, 1
cmp rbx, r9
jne 0x6e757c23
add rsp, 0x20
pop rbx
ret
Function at 0x6e75a8f0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x30
test rcx, rcx
je 0x6e75a970
cmp word [rcx], 0x5a4d
jne 0x6e75a950
movsxd rbx, dword [rcx + 0x3c]
add rbx, rcx
cmp dword [rbx], 0x4550
je 0x6e75a990
mov qword [rsp + 0x28], 0
mov edx, 0x229e558e
lea rcx, [0x6e7707c0]
call fcn.6e757c00
lea rcx, [rsp + 0x28]
mov edx, 1
mov qword [rsp + 0x28], rax
call fcn.6e7426e0
xor eax, eax
add rsp, 0x30
pop rbx
ret
mov qword [rsp + 0x28], 0
mov edx, 0x66e3ceaa
lea rcx, [0x6e770800]
jmp 0x6e75a929
mov qword [rsp + 0x28], 0
mov edx, 0x706b48ee
lea rcx, [0x6e770840]
jmp 0x6e75a929
lea rcx, [0x6e770780]
mov edx, 0xd40ae8a
call fcn.6e757c00
mov edx, 0x1b872d2a
mov rcx, rax
call fcn.6e7595f0
test byte [rbx + 0x17], 0x20
mov eax, 1
jne 0x6e75a944
mov qword [rsp + 0x28], 0
mov edx, 0x66d2c32e
lea rcx, [0x6e770720]
jmp 0x6e75a929
Function at 0x6e75d100
Capabilities:
Check for peb beingdebugged flag

Disassembly:
sub rsp, 0x38
lea rcx, [0x6e76ff60]
mov edx, 0x7fcc190e
call fcn.6e757c00
mov edx, 0x46fa638a
mov rcx, rax
call fcn.6e7595f0
xor eax, eax
mov rdx, qword gs:[0x60]
cmp byte [rdx + 2], 0
jne 0x6e75d140
add rsp, 0x38
ret
lea rcx, [0x6e76f940]
mov edx, 0x109e804e
mov qword [rsp + 0x28], 0
call fcn.6e757c00
lea rcx, [rsp + 0x28]
mov edx, 1
mov qword [rsp + 0x28], rax
call fcn.6e7426e0
mov eax, 1
add rsp, 0x38
ret

Function at 0x6e75e410
Capabilities:
Parse pe header

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov r12, qword [str._2zn]
mov rax, qword [rcx + 0x18]
mov rax, qword [rax + 0x20]
mov r13, rdx
mov rdi, qword [rax]
lea rbp, [rdi - 0x10]
mov rbx, rbp
mov rsi, qword [rbx + 0x50]
mov rcx, rsi
call qword [r12]
mov rcx, rsi
movsxd rdx, eax
call fcn.6e74fc50
test rax, rax
mov rsi, rax
je 0x6e75e500
cmp qword [rax], 0
je 0x6e75e500
xor ecx, ecx
call fcn.6e752310
mov rdx, rsi
mov rcx, rax
call fcn.6e74f800
test al, al
mov esi, eax
jne 0x6e75e500
mov rcx, qword [rbx + 0x30]
cmp word [rcx], 0x5a4d
je 0x6e75e4d5
lea rcx, [0x6e76c0e0]
mov edx, 0x2c18d82e
mov qword [rsp + 0x28], 0
call fcn.6e757c00
mov edx, 0x17c3664a
mov rcx, rax
call fcn.6e7595f0
lea rcx, [rsp + 0x28]
mov edx, 1
mov qword [rsp + 0x28], rax
call fcn.6e7426e0
mov eax, esi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x6e75e48b
movsxd rdx, dword [rax + 0x88]
mov r8, r13
add rdx, rcx
call fcn.6e75e100
test al, al
mov esi, eax
jne 0x6e75e4c6
nop dword [rax]
mov rdi, qword [rdi]
lea rbx, [rdi - 0x10]
cmp rbp, rbx
jne 0x6e75e438
xor esi, esi
jmp 0x6e75e4c6

Function at 0x6e75e520
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rdx, rcx
call fcn.6e75e070
mov rcx, rax
add rsp, 0x28
jmp fcn.6e75e410
Function at 0x6e765490
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6e791c84]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6e765618
mov rax, qword [0x6e791c88]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6e7654dc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6e765565
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6e7654c0
mov rcx, rbx
call fcn.6e766130
test rax, rax
mov r12, rax
je 0x6e76564d
mov rax, qword [0x6e791c88]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.6e766260
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6e791c88]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6e765630
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6e76555e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6e7655c0
add dword [0x6e791c84], 1
cmp edi, 8
jae 0x6e765593
test dil, 4
jne 0x6e765604
test edi, edi
je 0x6e765588
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6e76561f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6e765588
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6e7655ac
jmp 0x6e765588
add rsi, qword [0x6e791c88]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6e76555e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.6e7667b0
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6e765588
xor esi, esi
jmp 0x6e7654e7
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6e765588
mov rax, qword [0x6e791c88]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.6e7667b0
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.6e7667b0
nop
nop dword [rax]

Function at 0x6e765da0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6e791f60]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6e791f40]
test rbx, rbx
je 0x6e765df4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6e765deb
test rsi, rsi
je 0x6e765deb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6e765dd0
lea rcx, [0x6e791f60]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6e766130
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6e78a7f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6e76619d
mov rcx, r8
call fcn.6e766010
test eax, eax
je 0x6e76619d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6e76619d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6e766194
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6e76619f
add rax, 0x28
cmp rax, r9
jne 0x6e766180
xor eax, eax
add rsp, 0x28
ret

Function at 0x6e7667b0
Capabilities:
Write file on windows

Disassembly:
lea rcx, [0x6e7413a0]
jmp 0x6e741380
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
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.6e7666a0
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.6e7666a0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x6e741390
Function at 0x2fc4d1fd0
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.2fc4d30b0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d29d2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f5108]
test eax, eax
je 0x2fc4d2a6a
lea rax, [0x2fc4f50e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f5110]
mov qword [rbp - 8], rax
jmp 0x2fc4d2a4e
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 0x2fc4d2a42
cmp qword [rbp - 0x10], 0
je 0x2fc4d2a42
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 0x2fc4d2a08
lea rax, [0x2fc4f50e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d2a6b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d2b70
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 0x2fc4d2b98
mov eax, 0
jmp 0x2fc4d2be6
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 0x2fc4d2bc1
mov eax, 0
jmp 0x2fc4d2be6
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 0x2fc4d2be1
mov eax, 0
jmp 0x2fc4d2be6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d2bec
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 0x2fc4d2c6a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d2c61
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 0x2fc4d2c61
mov rax, qword [rbp - 8]
jmp 0x2fc4d2c7f
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 0x2fc4d2c34
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d2340
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.2fc4d3420
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d2d42
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f5108]
test eax, eax
je 0x2fc4d2dda
lea rax, [0x2fc4f50e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f5110]
mov qword [rbp - 8], rax
jmp 0x2fc4d2dbe
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 0x2fc4d2db2
cmp qword [rbp - 0x10], 0
je 0x2fc4d2db2
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 0x2fc4d2d78
lea rax, [0x2fc4f50e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d2ddb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d2ee0
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 0x2fc4d2f08
mov eax, 0
jmp 0x2fc4d2f56
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 0x2fc4d2f31
mov eax, 0
jmp 0x2fc4d2f56
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 0x2fc4d2f51
mov eax, 0
jmp 0x2fc4d2f56
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d2f5c
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 0x2fc4d2fda
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d2fd1
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 0x2fc4d2fd1
mov rax, qword [rbp - 8]
jmp 0x2fc4d2fef
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 0x2fc4d2fa4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140008de0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140008e3d
lea rbx, [0x1400aec10]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140008e24
cmp r10, 2
jb 0x140008e24
cmp byte [r9], r8b
jne 0x140008e24
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140008e00
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140008e7f
lea rbx, [0x1400aec10]
cmp r8b, 0x23
jne 0x140008e63
cmp byte [r9], r8b
jne 0x140008e63
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140008e50
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140008fc0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140008fda
mov qword [r8], 0
lea rdx, [0x1400ae594]
call fcn.140008e90
mov rbx, rax
test rax, rax
jne 0x140008ffa
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x1400090d1
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400090d1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400090d1
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400090d1
cmp rdi, 0xffffffffffffffff
je 0x1400090d1
mov rax, qword [0x140194120]
test rax, rax
je 0x14000906e
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400090d1
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x1400090be
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140194120]
test rax, rax
je 0x1400090b3
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400090da
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1400090cc
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400090dc
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x14000c2c0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0x110]
lea r9, [0x1400aec10]
movss xmm2, dword [rcx + 0x128]
movss xmm3, dword [rcx + 0x12c]
movsxd rcx, dword [rcx + 0x108]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret