joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400020c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x140082124]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x140002270
mov rax, qword [0x140082128]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x14000210c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140002197
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x1400020f0
mov rcx, r12
call fcn.140002b70
mov rbp, rax
test rax, rax
je 0x1400022cd
mov rax, qword [0x140082128]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.140002ca0
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x140082128]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400022b2
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002190
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002220
add dword [0x140082124], 1
cmp ebx, 8
jae 0x1400021c8
test bl, 4
jne 0x140002280
test ebx, ebx
je 0x1400021b9
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x1400022a0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x1400021b9
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x1400021fa
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rdi, qword [0x140082128]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002190
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002050
xor edi, edi
jmp 0x140002117
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x1400021b9
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x1400021b9
mov rax, qword [0x140082128]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.140002050
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.140002050
nop
nop dword [rax]
Function at 0x1400027e0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x140082180]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140082160]
test rbx, rbx
je 0x140002834
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x14000282b
test r12, r12
je 0x14000282b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002810
lea rcx, [0x140082180]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140002b70
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x14007f400]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x140002be9
mov rcx, r10
call fcn.140002a40
test eax, eax
je 0x140002be9
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x140002be6
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x140002bdd
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x140002be9
add r8, 0x28
cmp r8, r9
jne 0x140002bc8
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x125c1a0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x125c1ad
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x125c1bd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x125c1a5
lea eax, [rcx + 1]
jmp 0x125c1cb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x125c1de
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x125c1c4
sub eax, 3
jb 0x125c1fe
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x125c24d
sar eax, 1
movsxd rbp, eax
jb 0x125c234
jmp 0x125c20c
add ebx, ebx
jne 0x125c20a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x125c234
inc ecx
add ebx, ebx
jne 0x125c21a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x125c234
call r11
adc ecx, ecx
add ebx, ebx
jne 0x125c22d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x125c21c
add ecx, 2
jmp 0x125c239
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.0125c162
jmp 0x125c1ad
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x470400
mov dl, 0x85
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x125c299
cmp rsi, rcx
jae 0x125c2a1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x125c280
cmp al, 0x8f
ja 0x125c280
cmp byte [rsi - 2], 0xf
je 0x125c286
sub al, 0xe8
cmp al, 1
ja 0x125c26a
cmp rsi, rcx
jae 0x125c2a1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x125c270
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x125c2a1
lodsb al, byte [rsi]
jmp 0x125c280
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xe50000]
mov eax, dword [rdi]
or eax, eax
je 0x125c2fe
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xe5c000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x125c2ae
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x125c2f8
mov qword [rbx], rax
add rbx, 8
jmp 0x125c2ce
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x125c342
cmp al, 0xef
ja 0x125c32a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x125c30a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x125c319
mov eax, dword [rdi]
add rdi, 4
jmp 0x125c319
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x125c396
sub rsp, 0xffffffffffffff80
jmp 0x46c500
Function at 0x140002790
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 0x1400027ed
lea rbx, [0x140036410]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400027d4
cmp r10, 2
jb 0x1400027d4
cmp byte [r9], r8b
jne 0x1400027d4
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 0x1400027b0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000282f
lea rbx, [0x140036410]
cmp r8b, 0x23
jne 0x140002813
cmp byte [r9], r8b
jne 0x140002813
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 0x140002800
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400029f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x140002a1f
mov r8d, 0x5d3
lea rdx, str.C:UserspoopiDownloadsSpooferSpooferimguiimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x140002a2b
mov qword [rdi], 0
lea rdx, [0x140036140]
mov rcx, rbx
call fcn.140002840
mov rbx, rax
test rax, rax
jne 0x140002a4d
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140002b24
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 0x140002b24
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140002b24
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002b24
cmp rsi, 0xffffffffffffffff
je 0x140002b24
mov rax, qword [0x1400433a0]
test rax, rax
je 0x140002ac1
inc dword [rax + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x140002b24
mov r9, rbx
mov r8, rsi
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, rsi
je 0x140002b11
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400433a0]
test rax, rax
je 0x140002b06
dec dword [rax + 0x3bc]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002b2d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x140002b1f
mov qword [rdi], rsi
mov rax, rbp
jmp 0x140002b2f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400043d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xc0], 0
mov rbx, rcx
mov edi, edx
jg 0x140004406
mov r8d, 0x55e
lea rdx, str.C:UserspoopiDownloadsSpooferSpooferimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd r8, dword [rbx + 0xc0]
mov rax, qword [rbx + 0xc8]
mov edx, dword [rax + r8*4 - 4]
lea r8, [0x140036410]
not edx
movzx eax, dil
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x39]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3a]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3b]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x1400433a0]
xor edx, dword [r8 + rcx*4]
not edx
cmp dword [rax + 0x1ad0], edx
jne 0x140004480
mov dword [rax + 0x1ad4], edx
cmp dword [rax + 0x1b10], edx
jne 0x14000448f
mov byte [rax + 0x1b14], 1
mov rbx, qword [rsp + 0x30]
mov eax, edx
add rsp, 0x20
pop rdi
ret
Function at 0x140006c60
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
cmp byte [rcx], 0
mov rbx, rcx
jne 0x140006c7b
cmp byte [rcx + 0x3018], 0
je 0x140006c95
mov r8d, 0xf17
lea rdx, str.C:UserspoopiDownloadsSpooferSpooferimguiimgui.cpp
lea rcx, str._g.Initialized___g.SettingsLoaded
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
lea r8, [0x140033be9]
mov dword [rsp + 0x2c], eax
lea r11, [0x140036410]
mov qword [rsp + 0x38], rax
mov r10d, 0xffffffff
mov qword [rsp + 0x60], rax
mov edx, r10d
lea rax, str.Window
mov r9b, 0x57
mov qword [rsp + 0x20], rax
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140006ce3
cmp byte [r8], r9b
jne 0x140006ce3
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x140006cd0
mov ecx, dword [rbx + 0x3034]
lea rax, [0x140013ed0]
mov edi, dword [rbx + 0x3030]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x140013f80]
mov qword [rsp + 0x40], rax
lea rax, [0x140014020]
mov qword [rsp + 0x48], rax
lea rax, [0x1400140f0]
mov qword [rsp + 0x50], rax
lea rax, [0x1400142a0]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x140006e03
inc edi
test ecx, ecx
je 0x140006d67
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140006d6c
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x140006e03
mov rax, qword [0x1400433a0]
mov qword [rsp + 0x80], rsi
test rax, rax
je 0x140006d93
inc dword [rax + 0x3bc]
movsxd rax, edi
lea rcx, [rax + rax*8]
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [rbx + 0x3038]
mov rsi, rax
test rdx, rdx
je 0x140006dee
movsxd rcx, dword [rbx + 0x3030]
lea r8, [rcx + rcx*8]
mov rcx, rax
shl r8, 3
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x3038]
test rcx, rcx
je 0x140006de8
mov rax, qword [0x1400433a0]
test rax, rax
je 0x140006de8
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3038], rsi
mov rsi, qword [rsp + 0x80]
mov dword [rbx + 0x3034], edi
movsxd rax, dword [rbx + 0x3030]
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*8]
mov rax, qword [rbx + 0x3038]
movups xmmword [rax + rcx*8], xmm0
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movaps xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + rcx*8 + 0x20], xmm0
movsd xmm0, qword [rsp + 0x60]
movups xmmword [rax + rcx*8 + 0x30], xmm1
movsd qword [rax + rcx*8 + 0x40], xmm0
inc dword [rbx + 0x3030]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x14000e9c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x1400433a0]
mov edi, edx
cmp byte [rbx + 0x1fa5], 0
jne 0x14000ea11
cmp byte [rbx + 0x1fa6], 0
jne 0x14000ea11
mov r9d, dword [rbx + 0x2fe4]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002710
test dil, 1
je 0x14000eb36
jmp 0x14000ea99
movss xmm1, dword [rbx + 0x1610]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x14003c8c0]
xor eax, eax
mulss xmm1, dword [0x14003c8ac]
addss xmm0, dword [rbx + 0x130]
lea edx, [rax + 0x10]
addss xmm1, dword [rbx + 0x134]
mov qword [rbx + 0x1b40], rax
mov dword [rbx + 0x1b2c], 1
movss dword [rbx + 0x1b38], xmm0
movss dword [rbx + 0x1b3c], xmm1
movss xmm0, dword [rbx + 0x166c]
mulss xmm0, dword [0x14003c844]
or dword [rbx + 0x1b28], 0x41
movss dword [rbx + 0x1b88], xmm0
mov r9d, dword [rbx + 0x2fe4]
call fcn.140002710
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14000eaf0
lea r11, [0x140036410]
nop dword [rax]
cmp r9b, 0x23
jne 0x14000ead3
cmp byte [r8], r9b
jne 0x14000ead3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14000eac0
not ecx
call fcn.1400084d0
test rax, rax
je 0x14000eb36
cmp byte [rax + 0x7e], 0
je 0x14000eb36
mov byte [rax + 0x85], 1
lea r8, str.Tooltip__02d
mov dword [rax + 0x9c], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x2fe4]
mov edx, 0x10
mov r9d, dword [rbx + 0x2fe4]
call fcn.140002710
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000ac10
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140013350
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x40
mov rbx, qword [0x1400433a0]
cmp byte [rbx + 0x3050], 0
je 0x14001343c
cmp qword [rbx + 0x3058], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x3060]
je 0x140013424
mov r9d, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test r9d, r9d
jns 0x1400133cb
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140015210
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov dword [rdi], ebp
mov rcx, rdi
mov r8, rsi
call fcn.140002ec0
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x3058]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x3068]
cmove ecx, ebp
test rax, rax
movsxd r8, ecx
lea rcx, [0x140043398]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
mov r8, rsi
mov rcx, rdi
call fcn.140002ec0
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
Function at 0x140013d80
Capabilities:
Write file on windows

Disassembly:
push rbp
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [0x1400433a0]
xor r15d, r15d
mov rbp, rcx
mov dword [rdi + 0x301c], r15d
test rcx, rcx
je 0x140013ec2
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 0x3020]
mov dword [rdi + 0x301c], r15d
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x48], rsi
test ecx, ecx
jns 0x140013dde
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.140015210
mov dword [rbx], r15d
cmp dword [rbx + 4], r15d
jne 0x140013df4
mov edx, 8
mov rcx, rbx
call fcn.140015210
movsxd rcx, dword [rbx]
mov esi, r15d
mov rax, qword [rbx + 8]
mov byte [rcx + rax], r15b
inc dword [rbx]
mov eax, dword [rdi + 0x3030]
test eax, eax
jle 0x140013e61
mov qword [rsp + 0x50], r14
mov r14, r15
cmp r15d, eax
jl 0x140013e35
mov r8d, 0x554
lea rdx, str.C:UserspoopiDownloadsSpooferSpooferimguiimgui.h
lea rcx, str.i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r9, qword [rdi + 0x3038]
mov r8, rbx
add r9, r14
mov rcx, rdi
mov rdx, r9
call qword [r9 + 0x38]
mov eax, dword [rdi + 0x3030]
inc esi
add r14, 0x48
cmp esi, eax
jl 0x140013e35
mov r14, qword [rsp + 0x50]
mov eax, dword [rbx]
lea rdx, [0x140036144]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3028]
cmove ecx, r15d
lea rdi, [0x140043398]
test rax, rax
movsxd rsi, ecx
mov rcx, rbp
cmovne rdi, rax
call fcn.140002840
mov rbx, rax
test rax, rax
je 0x140013eb8
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbp
ret
Function at 0x140031ec0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140031f0a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140031f0a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140031f0a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140031f0a
cmp dword [rcx + 0x84], 0xe
jbe 0x140031f0a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140031f0c
xor al, al
add rsp, 0x28
ret
Function at 0x2fc4cf360
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 sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4cfd62
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f2108]
test eax, eax
je 0x2fc4cfdfa
lea rax, [0x2fc4f20e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f2110]
mov qword [rbp - 8], rax
jmp 0x2fc4cfdde
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 0x2fc4cfdd2
cmp qword [rbp - 0x10], 0
je 0x2fc4cfdd2
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 0x2fc4cfd98
lea rax, [0x2fc4f20e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4cfdfb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4cff00
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 0x2fc4cff28
mov eax, 0
jmp 0x2fc4cff76
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 0x2fc4cff51
mov eax, 0
jmp 0x2fc4cff76
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 0x2fc4cff71
mov eax, 0
jmp 0x2fc4cff76
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4cff7c
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 0x2fc4cfffa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4cfff1
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 0x2fc4cfff1
mov rax, qword [rbp - 8]
jmp 0x2fc4d000f
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 0x2fc4cffc4
mov eax, 0
add rsp, 0x20
pop rbp
ret