joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c61b0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x68
mov rbx, rcx
mov ecx, dword [rcx + 0x2152c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor edi, edi
mov rbp, rax
test rax, rax
je 0x1400c6222
mov r8d, edi
xchg qword [rax + 0x300], r8
test r8, r8
je 0x1400c6204
dec dword [rax + 0x308]
mov rax, qword [r8 + 0x40]
mov byte [rbp + 0x318], dil
mov qword [rbp + 0x300], rax
jmp 0x1400c620b
mov byte [rax + 0x318], 1
movzx eax, byte [rbp + 0x318]
mov byte [rsp + 0x28], al
lea rax, [rsp + 0x20]
mov qword [rsp + 0x20], r8
jmp 0x1400c6231
mov qword [rsp + 0x30], rdi
lea rax, [rsp + 0x30]
mov byte [rsp + 0x38], dil
movups xmm0, xmmword [rax]
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], r13
movq rsi, xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r15
movups xmmword [rsp + 0x30], xmm0
test rsi, rsi
jne 0x1400c63e4
cmp byte [rsp + 0x38], sil
lea eax, [rsi + 2]
mov r12d, edi
lea rcx, [rsp + 0xa8]
setne r12b
mov edx, 0xffff
inc r12d
nop word [rax + rax]
mov word [rcx], dx
lea rcx, [rcx + 4]
sub rax, 1
jne 0x1400c6280
lea r13, [rbx + 0x10]
mov r9b, 1
mov rcx, r13
mov r8d, 0x4000
mov edx, r12d
call fcn.1400c8e90
mov qword [rsp + 0x20], rax
mov rsi, rax
test rax, rax
je 0x1400c635e
cmp qword [rbx + 0x21510], 0
movsxd r15, r12d
jne 0x1400c6365
mov r14d, edi
mov rbx, rdi
test r12d, r12d
jle 0x1400c6365
nop word [rax + rax]
xor edx, edx
lea rcx, [rsp + 0xa0]
call fcn.1400c78e0
mov eax, dword [rax]
mov dword [rsp + rbx*4 + 0xa8], eax
mov eax, 0xffff
cmp word [rsp + rbx*4 + 0xa8], ax
je 0x1400c6314
inc r14d
inc rbx
cmp rbx, r15
jl 0x1400c62e0
jmp 0x1400c636a
test r14d, r14d
jle 0x1400c6335
lea rbx, [rsp + 0xa8]
mov edi, r14d
mov ecx, dword [rbx]
call fcn.1400c7a60
lea rbx, [rbx + 4]
sub rdi, 1
jne 0x1400c6324
test r12d, r12d
jle 0x1400c635e
mov ebx, r12d
nop dword [rax]
mov r8d, 0x4000
mov rdx, rsi
mov rcx, r13
call fcn.1400c91a0
add rsi, 0x4000
sub rbx, 1
jne 0x1400c6340
xor eax, eax
jmp 0x1400c63fa
mov eax, 0xffff
mov r14, rdi
test r12d, r12d
jle 0x1400c63e4
lea rbx, [rsi + 0x6c]
mov rsi, qword [rsp + 0x90]
nop
cmp qword [rsi + 0x21510], 0
je 0x1400c6394
test rbx, rbx
je 0x1400c63b1
mov word [rbx], ax
jmp 0x1400c63b1
movsxd rax, edi
lea rdx, [rbx - 0x6c]
mov ecx, dword [rsp + rax*4 + 0xa8]
call fcn.1400c7d40
mov eax, dword [rsp + r14*4 + 0xa8]
mov dword [rbx], eax
mov qword [rbx - 0xc], rbp
test edi, edi
jle 0x1400c63c9
lea rdx, [rbx - 0x6c]
lea rcx, [rbp + 0x300]
call fcn.1400c7380
add rbx, 0x4000
inc edi
inc r14
mov eax, 0xffff
cmp r14, r15
jl 0x1400c6380
mov rsi, qword [rsp + 0x20]
mov r8, qword [rsp + 0x98]
mov rdx, rbp
mov rcx, rsi
call fcn.1400c6720
mov rax, rsi
mov r15, qword [rsp + 0x48]
mov r14, qword [rsp + 0x50]
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
add rsp, 0x68
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400c6650
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, 1
mov qword [rcx + 0x18], rdx
mov ebx, esi
mov rdi, rcx
xor eax, eax
lock cmpxchg byte [rcx + 0x10], sil
je 0x1400c669e
cmp ebx, 0x10
jg 0x1400c668e
movsxd rax, ebx
test ebx, ebx
je 0x1400c668a
pause
sub rax, rsi
jne 0x1400c6683
add ebx, ebx
jmp 0x1400c6694
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
xor eax, eax
lock cmpxchg byte [rdi + 0x10], sil
jne 0x1400c6677
xor ebx, ebx
cmp byte [rdi + 8], bl
jne 0x1400c66da
lea rcx, str.TBB_MALLOC_USE_HUGE_PAGES
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x1400c66d3
movzx ecx, byte [rax]
cmp cl, byte [0x1402c9f78]
jne 0x1400c66d3
movzx eax, byte [rax + 1]
cmp al, byte [0x1402c9f79]
jne 0x1400c66d3
mov qword [rdi], rsi
jmp 0x1400c66d6
mov qword [rdi], rbx
mov byte [rdi + 8], sil
cmp qword [rdi + 0x18], rbx
je 0x1400c66fc
cmp qword [rdi], rbx
je 0x1400c66fc
mov qword [rdi + 0x28], rsi
mov byte [rdi + 0x10], bl
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rdi + 0x28], rbx
mov rsi, qword [rsp + 0x38]
mov byte [rdi + 0x10], bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400c67c0
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [0x14035d1b8]
xor eax, eax
add rbx, 0x10
mov qword [rbx + 0x214e8], rax
mov qword [rbx + 0x21500], rax
mov qword [rbx + 0x21508], rax
mov qword [rbx + 0x21510], 0x10000
mov word [rbx + 0x21518], ax
mov byte [rbx + 0x2151a], al
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx + 0x2151c], eax
cmp eax, 0xffffffff
je 0x1400c684d
mov rdx, rbx
mov qword [rbx + 0x214d0], rbx
mov rcx, rbx
call fcn.1400c9620
mov rcx, qword [0x14035d1b8]
add rcx, 0x10
call fcn.1400c77e0
test al, al
je 0x1400c684d
xor edx, edx
lea rcx, [0x1404a1518]
call fcn.1400c6650
mov al, 1
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1400c6860
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, qword [0x14035d1b8]
mov rbx, rcx
test rdi, rdi
je 0x1400c68c2
test rcx, rcx
je 0x1400c68c2
call fcn.1400c5740
test al, al
je 0x1400c68b7
mov ecx, dword [rdi + 0x2152c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400c689f
mov byte [rax + 0x344], 0
mov r8, rbx
mov rdx, rax
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400c70d0
mov rdx, rbx
mov rcx, rdi
call fcn.1400c6000
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400c7130
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rdi, r9
mov rsi, r8
mov rbx, rdx
mov rbp, rcx
test dl, 0x3f
jne 0x1400c71c7
mov ecx, dword [rdx - 8]
lea r14, [rdx - 0x10]
mov eax, ecx
shr eax, 0x10
test al, 1
je 0x1400c71c7
mov rax, qword [r14]
test rax, rax
je 0x1400c71c7
cmp rax, r14
jae 0x1400c71c7
call fcn.1400c7770
cmp rax, r14
jne 0x1400c71c7
mov rcx, qword [r14]
mov rax, qword [rcx + 0x48]
sub rax, rbx
add rax, rcx
cmp rsi, rax
ja 0x1400c71ae
test rdi, rdi
je 0x1400c71a2
lea rax, [rdi - 1]
test rbx, rax
jne 0x1400c71ae
mov qword [rcx + 0x40], rsi
mov rax, rbx
jmp 0x1400c7262
mov r14, qword [rcx + 0x40]
mov rdx, rsi
mov rcx, rbp
test rdi, rdi
je 0x1400c71f4
mov r8, rdi
call fcn.1400c58f0
jmp 0x1400c71f9
mov rcx, rbx
mov rdx, rbx
and rcx, 0xffffffffffffc000
call fcn.1400c5de0
mov r14, rax
cmp rsi, rax
ja 0x1400c71b2
test rdi, rdi
je 0x1400c71ef
lea rcx, [rdi - 1]
test rbx, rcx
jne 0x1400c71b2
mov rax, rbx
jmp 0x1400c7262
call fcn.1400c6960
mov rdi, rax
test rax, rax
je 0x1400c725f
cmp r14, rsi
mov rdx, rbx
mov rcx, rax
cmovb rsi, r14
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
test rbp, rbp
je 0x1400c725f
test rbx, rbx
je 0x1400c725f
mov rcx, rbx
call fcn.1400c5740
test al, al
je 0x1400c7254
mov ecx, dword [rbp + 0x2152c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400c7244
mov byte [rax + 0x344], 0
mov r8, rbx
mov rdx, rax
mov rcx, rbp
call fcn.1400c70d0
jmp 0x1400c725f
mov rdx, rbx
mov rcx, rbp
call fcn.1400c6000
mov rax, rdi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1400c7310
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
xor r8d, r8d
mov rdx, rdi
add rcx, 0x214d8
call fcn.1400c5b00
mov ecx, dword [rdi + 0x2151c]
movzx ebx, al
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400c7367
cmp qword [rdi + 0x21500], 0
mov rdx, rdi
mov rcx, rax
setne r8b
call fcn.1400c5a40
or al, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400d3d10
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x20], 0
cmp qword [0x1404c2d00], 0
je 0x1400d3d30
mov rax, qword [0x1404c2d00]
jmp 0x1400d3d67
lea rcx, str.ICU_DATA
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400d3d56
lea rax, [0x1402757dc]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x20]
call fcn.1400d3d70
mov rax, qword [0x1404c2d00]
add rsp, 0x38
ret
Function at 0x1400e9430
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
cmp qword [0x1404c2ef0], 0
je 0x1400e949e
mov rcx, qword [rsp + 0xb0]
call fcn.1400ff580
mov rax, qword [rsp + 0xb0]
add rax, 8
mov rcx, qword [rsp + 0xb0]
add rcx, 0x28
mov r9, qword [rsp + 0xb8]
mov r8, rax
mov rdx, rcx
mov rcx, qword [0x1404c2ee8]
call qword [0x1404c2ef0]
mov byte [rsp + 0x40], al
movzx eax, byte [rsp + 0x40]
jmp 0x1400e9603
mov qword [rsp + 0x58], 0
mov rcx, qword [rsp + 0xb0]
call fcn.1400ff580
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000080
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0xffffffffffffffff
jne 0x1400e94fd
xor al, al
jmp 0x1400e9603
mov edx, 1
lea rcx, [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x1400e9561
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x1400e9561
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x60], 0x18
lea rax, [rsp + 0x78]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 2
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x48], 0
jne 0x1400e95a7
xor al, al
jmp 0x1400e9603
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, qword [rsp + 0xb0]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 8], 0
jne 0x1400e95f0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1400e9603
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x48]
mov qword [rax + 0x28], rcx
mov al, 1
add rsp, 0xa8
ret
Function at 0x1400f2e90
Capabilities:
Query or enumerate registry value

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x34], eax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.1400f2f90
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x1400f2ef5
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1402f3004]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x30]
add rsp, 0x48
ret

Function at 0x1400f2f10
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x34], 0x2c
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.1400f2f90
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x1400f2f70
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1402f3000]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x1401ab5b0
Capabilities:
Get geographical location

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x14035d4f0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x50]
mov r9d, 4
mov r8, rax
mov edx, 0x20000019
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rax, qword [rsp + 0x50]
add rax, 4
mov r9d, 4
mov r8, rax
mov edx, 0x20000012
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov r9d, 0xa
lea r8, [rsp + 0x20]
mov edx, 0x18
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea rcx, [rsp + 0x20]
call fcn.1401ab740
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 8], eax
mov ecx, 0xc
call fcn.1400e9250
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x10], rax
mov r9d, 6
mov rax, qword [rsp + 0x50]
mov r8, qword [rax + 0x10]
mov edx, 0x16
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, 0xc
call fcn.1400e9250
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x18], rax
mov r9d, 6
mov rax, qword [rsp + 0x50]
mov r8, qword [rax + 0x18]
mov edx, 0x17
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rax, qword [rsp + 0x50]
add rax, 0x20
mov r9d, 4
mov r8, rax
mov edx, 0x2000001c
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rax, qword [rsp + 0x50]
add rax, 0x24
mov r9d, 4
mov r8, rax
mov edx, 0x2000001b
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, 0x10
call fcn.1400e9250
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x28], rax
mov r9d, 8
mov rax, qword [rsp + 0x50]
mov r8, qword [rax + 0x28]
mov edx, 0x14
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140236770
add rsp, 0x48
ret
Function at 0x1401ab7e0
Capabilities:
Get geographical location

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x14035d4f0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x50]
mov r9d, 4
mov r8, rax
mov edx, 0x20000011
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rax, qword [rsp + 0x50]
add rax, 4
mov r9d, 4
mov r8, rax
mov edx, 0x20000012
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov r9d, 0xa
lea r8, [rsp + 0x20]
mov edx, 0x10
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea rcx, [rsp + 0x20]
call fcn.1401ab740
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 8], eax
mov ecx, 0xc
call fcn.1400e9250
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x10], rax
mov r9d, 6
mov rax, qword [rsp + 0x50]
mov r8, qword [rax + 0x10]
mov edx, 0xe
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, 0xc
call fcn.1400e9250
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x18], rax
mov r9d, 6
mov rax, qword [rsp + 0x50]
mov r8, qword [rax + 0x18]
mov edx, 0xf
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rax, qword [rsp + 0x50]
add rax, 0x20
mov r9d, 4
mov r8, rax
mov edx, 0x20001010
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140236770
add rsp, 0x48
ret
Function at 0x1427d4058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1427d41df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1427d4089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1427d406f
add dl, dl
jne 0x1427d4096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1427d40f6
xor eax, eax
add dl, dl
jne 0x1427d40a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1427d41ad
add dl, dl
jne 0x1427d40b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1427d40c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1427d40d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1427d40dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1427d40ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1427d407e
mov eax, 1
add dl, dl
jne 0x1427d4106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1427d4113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1427d40fb
sub eax, ebx
mov ebx, 1
jne 0x1427d414c
mov ecx, 1
add dl, dl
jne 0x1427d412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1427d413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1427d4123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1427d407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1427d4168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1427d4175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1427d415d
cmp eax, 0x7d00
jae 0x1427d419b
cmp eax, 0x500
jb 0x1427d4196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1427d407e
cmp eax, 0x7f
ja 0x1427d419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1427d407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1427d41d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1427d407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x2fc4d3320
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 0x2fc4d3d22
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f6108]
test eax, eax
je 0x2fc4d3dba
lea rax, [0x2fc4f60e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f6110]
mov qword [rbp - 8], rax
jmp 0x2fc4d3d9e
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 0x2fc4d3d92
cmp qword [rbp - 0x10], 0
je 0x2fc4d3d92
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 0x2fc4d3d58
lea rax, [0x2fc4f60e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d3dbb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d3ec0
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 0x2fc4d3ee8
mov eax, 0
jmp 0x2fc4d3f36
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 0x2fc4d3f11
mov eax, 0
jmp 0x2fc4d3f36
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 0x2fc4d3f31
mov eax, 0
jmp 0x2fc4d3f36
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d3f3c
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 0x2fc4d3fba
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d3fb1
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 0x2fc4d3fb1
mov rax, qword [rbp - 8]
jmp 0x2fc4d3fcf
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 0x2fc4d3f84
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14009c0c8
Capabilities:
Manipulate console buffer

Disassembly:
jmp 0x1400a2710
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x26
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140244018]
xor rax, rbp
mov qword [rbp + 0x148], rax
lea rcx, [0x14024e037]
call fcn.14009da27
xor eax, eax
mov word [rbp + 4], ax
xor eax, eax
mov word [rbp + 6], ax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp + 0x28], rax
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movsx eax, word [rbp + 0x48]
movsx ecx, word [rbp + 0x4a]
imul eax, ecx
lea rcx, [rbp + 0x74]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rbp + 4]
mov r8d, eax
mov dl, 0x20
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
movsx eax, word [rbp + 0x48]
movsx ecx, word [rbp + 0x4a]
imul eax, ecx
lea rcx, [rbp + 0x74]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rbp + 4]
mov r8d, eax
mov dx, 7
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
mov edx, dword [rbp + 4]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
lea rcx, [rbp - 0x30]
lea rdx, [0x1401db1a0]
call fcn.14009d581
mov rcx, qword [rbp + 0x148]
xor rcx, rbp
call fcn.14009cc8f
lea rsp, [rbp + 0x158]
pop rdi
pop rbp
ret
Function at 0x14009c39d
Capabilities:
Check for software breakpoints

Disassembly:
jmp 0x1401cfa90
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x14024e084]
call fcn.14009da27
mov rax, qword [rbp + 0x100]
movzx eax, byte [rax + 0xcd]
test eax, eax
je 0x1401cfb20
mov qword [rbp + 8], 0
jmp 0x1401cfad6
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xcc
jae 0x1401cfb12
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x100]
add rcx, rax
mov rax, rcx
mov rdx, qword [rbp + 8]
movzx ecx, byte [rax]
call fcn.14009ca28
mov rcx, qword [rbp + 8]
mov rdx, qword [rbp + 0x100]
add rdx, rcx
mov rcx, rdx
mov byte [rcx], al
jmp 0x1401cfacb
mov rax, qword [rbp + 0x100]
mov byte [rax + 0xcd], 0
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x14009ce7e
Capabilities:
Terminate process

Disassembly:
jmp 0x1401d21d0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret