joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425f30
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x40], r12
lea r12, [0x00435ce0]
mov rax, r12
xor ebx, ebx
nop
nop
cmp ecx, dword [rax]
je 0x425f5f
inc ebx
add rax, 0x10
cmp ebx, 0x13
jb 0x425f50
cmp ebx, 0x13
je 0x426149
mov eax, dword [0x00436b28]
mov qword [rsp + 0x68], rdi
cmp eax, 1
je 0x4260fe
test eax, eax
jne 0x425f8d
cmp dword [0x00435728], 1
je 0x4260fe
cmp ecx, 0xfc
je 0x426144
mov qword [rsp + 0x58], rbp
lea rbp, [0x00436dc0]
mov qword [rsp + 0x60], rsi
lea rsi, [0x00415000]
lea rdx, [0x00436dda]
mov r8d, 0x104
mov rax, qword [rsi + 0x1af38]
xor ecx, ecx
mov qword [rbp], rax
mov rax, qword [rsi + 0x1af40]
mov qword [rbp + 8], rax
mov rax, qword [rsi + 0x1af48]
mov qword [rbp + 0x10], rax
movzx eax, word [rsi + 0x1af50]
mov word [rbp + 0x18], ax
mov byte [0x00436ede], 0
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x426040
mov rax, qword [rsi + 0x1af20]
mov qword [rsi + 0x21dda], rax
mov rax, qword [rsi + 0x1af28]
mov qword [rsi + 0x21de2], rax
mov eax, dword [rsi + 0x1af30]
mov dword [rsi + 0x21dea], eax
movzx eax, word [rsi + 0x1af34]
mov word [rsi + 0x21dee], ax
movzx eax, byte [rsi + 0x1af36]
mov byte [rsi + 0x21df0], al
mov rsi, qword [rsp + 0x60]
xor eax, eax
lea rdi, [0x00436dda]
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
not rcx
cmp rcx, 0x3c
jbe 0x426075
lea rcx, [rcx + rbp - 0x22]
lea r8d, [rax + 3]
lea rdx, [0x0042ff1c]
call fcn.004293b0
xor eax, eax
mov rdi, rbp
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
movzx eax, word [0x0042ff18]
movsxd rdx, ebx
mov word [rdi - 1], ax
movzx eax, byte [0x0042ff1a]
add rdx, rdx
mov r8, qword [r12 + rdx*8 + 8]
mov byte [rdi + 1], al
xor eax, eax
mov rdi, rbp
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
xor edx, edx
nop
nop
nop
nop
movzx eax, byte [r8 + rdx]
inc rdx
test al, al
mov byte [rdi + rdx - 2], al
jne 0x4260c0
lea rdx, str.Microsoft_Visual_C_Runtime_Library
mov r8d, 0x12010
mov rcx, rbp
call fcn.00429200
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
mov r12, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
add rsp, 0x48
ret
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x426144
xor eax, eax
movsxd rcx, ebx
lea r9, [rsp + 0x30]
add rcx, rcx
mov qword [rsp + 0x20], rax
mov rdx, qword [r12 + rcx*8 + 8]
mov rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdi, qword [rsp + 0x68]
mov r12, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
add rsp, 0x48
ret
Function at 0x429200
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
xor esi, esi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x50], r12
cmp qword [0x00437138], rsi
mov ebx, r8d
mov rbp, rdx
mov r12, rcx
jne 0x4292e6
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rdi, rax
je 0x4292d6
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x00437138], rax
je 0x4292d6
lea rdx, str.GetActiveWindow
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetLastActivePopup
mov rcx, rdi
mov qword [0x00437140], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x0043699c], 2
mov qword [0x00437148], rax
jne 0x4292dd
lea rdx, str.GetUserObjectInformationA
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x00437158], rax
je 0x4292dd
lea rdx, str.GetProcessWindowStation
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x00437150], rax
jmp 0x4292ed
xor eax, eax
jmp 0x429377
mov rax, qword [0x00437150]
jmp 0x4292ed
mov rax, qword [0x00437150]
test rax, rax
je 0x42933b
call rax
test rax, rax
je 0x429326
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call qword [0x00437158]
test eax, eax
je 0x429326
test byte [rsp + 0x40], 1
jne 0x42933b
cmp dword [0x004369a8], 4
jb 0x429335
bts ebx, 0x15
jmp 0x429365
bts ebx, 0x12
jmp 0x429365
mov rax, qword [0x00437140]
test rax, rax
je 0x429365
call rax
test rax, rax
mov rsi, rax
je 0x429365
mov rdx, qword [0x00437148]
test rdx, rdx
je 0x429365
mov rcx, rax
call rdx
mov rsi, rax
mov r9d, ebx
mov r8, rbp
mov rdx, r12
mov rcx, rsi
call qword [0x00437138]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
add rsp, 0x58
ret

Function at 0x429890
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x38
mov rax, qword [0x00434018]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x20]
mov r9d, 6
mov edx, 0x1004
mov byte [rsp + 0x26], 0
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x4298d3
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x28]
call fcn.0042c1d0
add rsp, 0x38
ret
lea rcx, [rsp + 0x20]
call fcn.0042b070
mov rcx, qword [rsp + 0x28]
call fcn.0042c1d0
add rsp, 0x38
ret
Function at 0x429c00
Capabilities:
Get system information on windows

Disassembly:
push rbp
sub rsp, 0xb0
lea rbp, [rsp + 0x20]
mov qword [rbp + 0xa0], rbx
mov qword [rbp + 0xa8], rsi
mov qword [rbp + 0xb0], rdi
mov qword [rbp + 0xb8], r12
mov qword [rbp + 0x88], r13
mov qword [rbp + 0x80], r14
mov qword [rbp + 0x78], r15
mov rax, qword [0x00434018]
mov qword [rbp + 0x68], rax
mov eax, dword [rsp]
sub rsp, 0x10
lea rdx, [rbp + 8]
mov eax, dword [rsp + 0x20]
lea r12, [rsp + 0x20]
mov r8d, 0x30
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x429d5e
mov r14, qword [rbp + 0x10]
lea rcx, [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [0x0043699c]
mov edi, dword [rbp + 0x3c]
xor ebx, ebx
cmp ecx, 2
jne 0x429cd4
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x429cce
lea rdx, str.SetThreadStackGuarantee
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x429cce
lea rcx, [rbp]
mov dword [rbp], ebx
call rax
cmp eax, 1
jne 0x429cce
mov eax, dword [rbp]
test eax, eax
cmovne ebx, eax
mov ecx, dword [0x0043699c]
mov r15d, 1
lea r8d, [rdi - 1]
lea edx, [rbx + rdi - 1]
cmp ecx, r15d
mov eax, r8d
mov esi, 0x104
not eax
cmove esi, r15d
and edx, eax
je 0x429cf9
add edx, edi
lea eax, [rdi + rdi*2]
mov ebx, r8d
cmp edx, eax
not rbx
cmovb edx, eax
and rbx, r12
mov eax, 0x11
mov r13d, edx
sub rbx, r13
cmp ecx, r15d
cmove edi, eax
mov eax, edi
add rax, r14
cmp rbx, rax
jb 0x429d5e
mov r9d, 4
mov r8d, 0x1000
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x429d5e
lea r9, [rbp + 4]
mov r8d, esi
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x429d5e
mov eax, r15d
jmp 0x429d60
xor eax, eax
mov rcx, qword [rbp + 0x68]
call fcn.0042c1d0
mov rbx, qword [rbp + 0xa0]
mov rsi, qword [rbp + 0xa8]
mov rdi, qword [rbp + 0xb0]
mov r12, qword [rbp + 0xb8]
mov r13, qword [rbp + 0x88]
mov r14, qword [rbp + 0x80]
mov r15, qword [rbp + 0x78]
lea rsp, [rbp + 0x90]
pop rbp
ret
Function at 0x429da0
Capabilities:
Clear file content

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
mov ebp, edx
xor edi, edi
xor edx, edx
lea r8d, [rdi + 1]
mov qword [rsp + 0x28], r13
mov esi, ecx
call fcn.004270a0
cmp eax, 0xffffffff
mov r13d, eax
je 0x429f13
lea r8d, [rdi + 2]
xor edx, edx
mov ecx, esi
call fcn.004270a0
cmp eax, 0xffffffff
je 0x429f13
mov qword [rsp + 0x40], rbx
mov ebx, ebp
mov qword [rsp + 0x20], r14
sub ebx, eax
test ebx, ebx
jle 0x429eb0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r14d, 0x1000
lea edx, [rdi + 8]
mov rcx, rax
mov r8, r14
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov rbp, rax
jne 0x429e37
call fcn.0041ed00
lea edi, [rbp - 1]
mov dword [rax], 0xc
jmp 0x429ef8
mov edx, 0x8000
mov ecx, esi
mov qword [rsp + 0x30], r12
call fcn.0042b220
mov r12d, eax
nop
nop
mov r8d, ebx
cmp ebx, r14d
mov rdx, rbp
cmovge r8d, r14d
mov ecx, esi
call fcn.00423730
cmp eax, 0xffffffff
je 0x429e71
sub ebx, eax
test ebx, ebx
jg 0x429e50
jmp 0x429e8b
call fcn.0041ed30
cmp dword [rax], 5
jne 0x429e86
call fcn.0041ed00
mov dword [rax], 0xd
mov edi, 0xffffffff
mov edx, r12d
mov ecx, esi
call fcn.0042b220
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbp
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r12, qword [rsp + 0x30]
jmp 0x429ef8
test ebx, ebx
jns 0x429ef8
xor r8d, r8d
mov edx, ebp
mov ecx, esi
call fcn.004270a0
mov ecx, esi
call fcn.00426770
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
neg eax
sbb edi, edi
neg edi
dec edi
cmp edi, 0xffffffff
jne 0x429ef8
call fcn.0041ed00
mov dword [rax], 0xd
call fcn.0041ed30
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
xor r8d, r8d
mov edx, r13d
mov ecx, esi
call fcn.004270a0
mov r14, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x40]
mov eax, edi
jmp 0x429f18
mov eax, 0xffffffff
mov r13, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
add rsp, 0x38
ret
Function at 0x42bca0
Capabilities:
Get common file path

Disassembly:
push rbp
sub rsp, 0x150
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x140], rbx
mov qword [rbp + 0x148], rsi
mov qword [rbp + 0x150], rdi
mov qword [rbp + 0x158], r12
mov rax, qword [0x00434018]
mov qword [rbp + 0x120], rax
lea rdi, [rbp + 0x10]
xor ebx, ebx
mov r12d, ebx
lea rdx, [rbp + 0x10]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov esi, eax
mov dword [rbp + 4], eax
cmp eax, 0x104
jle 0x42bd5b
inc eax
cdqe
add rax, 0xf
and rax, 0xfffffffffffffff0
call fcn.0042c200
sub rsp, rax
lea rdi, [rsp + 0x20]
mov qword [rbp + 8], rdi
jmp 0x42bd49
test esi, esi
je 0x42bd5b
lea ecx, [rsi + 1]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov esi, eax
test esi, esi
je 0x42bd70
cmp byte [rdi + 1], 0x3a
jne 0x42bd70
movzx ecx, byte [rdi]
call fcn.0042c180
lea ebx, [rax - 0x40]
test r12d, r12d
je 0x42bd7d
mov rcx, rdi
call fcn.0041fe90
mov eax, ebx
mov rcx, qword [rbp + 0x120]
call fcn.0042c1d0
mov rbx, qword [rbp + 0x140]
mov rsi, qword [rbp + 0x148]
mov rdi, qword [rbp + 0x150]
mov r12, qword [rbp + 0x158]
lea rsp, [rbp + 0x130]
pop rbp
ret

Function at 0x42be70
Capabilities:
Get common file path
Get disk information

Disassembly:
mov r11, rsp
sub rsp, 0x168
mov rax, qword [0x00434018]
mov qword [rsp + 0x140], rax
test ecx, ecx
mov qword [r11 + 0x20], rbx
mov qword [r11 - 8], rsi
mov qword [r11 - 0x10], rdi
mov rbx, rdx
mov esi, ecx
mov edi, r8d
je 0x42bf46
lea rcx, [rsp + 0x24]
add sil, 0x40
mov byte [rsp + 0x25], 0x3a
mov byte [rsp + 0x26], 0x5c
mov byte [rsp + 0x27], 0
mov byte [rsp + 0x24], sil
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
test eax, eax
je 0x42bed1
cmp eax, 1
jne 0x42bf16
call fcn.0041ed30
mov dword [rax], 0xf
call fcn.0041ed00
mov dword [rax], 0xd
xor eax, eax
mov rdi, qword [rsp + 0x158]
mov rsi, qword [rsp + 0x160]
mov rbx, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x140]
call fcn.0042c1d0
add rsp, 0x168
ret
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0x20]
mov edx, 0x104
mov byte [rsp + 0x20], sil
mov byte [rsp + 0x21], 0x3a
mov byte [rsp + 0x22], 0x2e
mov byte [rsp + 0x23], 0
call qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
jmp 0x42bf56
lea rdx, [rsp + 0x30]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x42bee7
inc eax
cmp eax, 0x104
ja 0x42bee7
test rbx, rbx
jne 0x42bf8d
cmp eax, edi
cmovg edi, eax
movsxd rcx, edi
call fcn.0041fd30
test rax, rax
mov rbx, rax
jne 0x42bfa1
call fcn.0041ed00
mov dword [rax], 0xc
jmp 0x42bee7
cmp eax, edi
jle 0x42bfa1
call fcn.0041ed00
mov dword [rax], 0x22
jmp 0x42bee7
lea rax, [rsp + 0x30]
mov rdx, rbx
lea rcx, [rsp + 0x30]
sub rdx, rax
movzx eax, byte [rcx]
inc rcx
test al, al
mov byte [rdx + rcx - 1], al
jne 0x42bfb1
mov rax, rbx
jmp 0x42bee9
Function at 0x1400051fc
Capabilities:
Parse pe header

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

Function at 0x2fc542132
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc564108]
test eax, eax
je 0x2fc5421ca
lea rax, [0x2fc5640e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc564110]
mov qword [rbp - 8], rax
jmp 0x2fc5421ae
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 0x2fc5421a2
cmp qword [rbp - 0x10], 0
je 0x2fc5421a2
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 0x2fc542168
lea rax, [0x2fc5640e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc5421cb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc5422d0
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 0x2fc5422f8
mov eax, 0
jmp 0x2fc542346
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 0x2fc542321
mov eax, 0
jmp 0x2fc542346
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 0x2fc542341
mov eax, 0
jmp 0x2fc542346
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc54234c
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 0x2fc5423ca
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc5423c1
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 0x2fc5423c1
mov rax, qword [rbp - 8]
jmp 0x2fc5423df
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 0x2fc542394
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x180001a40
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, qword [0x1800050e8]
mov ebp, edx
mov r15, qword [0x180005040]
mov r14, rcx
test rax, rax
jne 0x180001b2a
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x180001b07
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x180001b07
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x74ba9c6c
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x180001b02
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x180001ae0
cmp r8d, 0xdb815457
je 0x180001b0c
test r9d, r9d
jne 0x180001ac0
mov rax, qword [rax]
jmp 0x180001a90
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
mov qword [0x1800050e8], rax
lea rcx, section..rdata
call rax
mov rdx, qword [0x1800050e8]
mov rsi, rax
test rdx, rdx
jne 0x180001bfa
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop word [rax + rax]
mov r10, qword [rcx + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov ebx, dword [rdx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x180001bd7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x180001bd7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x74ba9c6c
lea rax, [rdi + r9*4]
mov edx, dword [rax + r10]
add rdx, r10
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x180001bd2
nop
movsx eax, al
lea rdx, [rdx + 1]
xor eax, r8d
imul r8d, eax, 0x1000193
movzx eax, byte [rdx - 1]
test al, al
jne 0x180001bb0
cmp r8d, 0xdb815457
je 0x180001bdc
test r9d, r9d
jne 0x180001b90
mov rcx, qword [rcx]
jmp 0x180001b60
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov edx, dword [rcx + rdx*4]
add rdx, r10
mov qword [0x1800050e8], rdx
mov rcx, r14
call rdx
mov rcx, qword [0x180005058]
mov r9d, ebp
mov r8, rsi
mov rdx, rax
mov rax, r15
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
jmp rax
Function at 0x180003250
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
call fcn.1800026c0
mov rdx, qword [0x180005088]
mov rsi, rax
test rdx, rdx
jne 0x18000332a
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop dword [rax + rax]
mov r10, qword [rcx + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov ebx, dword [rax + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x180003307
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x180003307
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xadc2bf35
lea rax, [rdi + r9*4]
mov edx, dword [rax + r10]
add rdx, r10
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x180003302
nop
movsx eax, al
lea rdx, [rdx + 1]
xor eax, r8d
imul r8d, eax, 0x1000193
movzx eax, byte [rdx - 1]
test al, al
jne 0x1800032e0
cmp r8d, 0xfaf008e0
je 0x18000330c
test r9d, r9d
jne 0x1800032c0
mov rcx, qword [rcx]
jmp 0x180003290
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov edx, dword [rcx + rdx*4]
add rdx, r10
mov qword [0x180005088], rdx
mov rcx, rsi
call rdx
mov rdx, qword [0x180005090]
mov rsi, rax
test rdx, rdx
jne 0x1800033fa
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rcx + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov ebx, dword [rdx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1800033d7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1800033d7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xc3e7e65b
lea rax, [rdi + r9*4]
mov eax, dword [rax + r10]
add rax, r10
movzx edx, byte [rax]
inc rax
test dl, dl
je 0x1800033d2
nop
movsx edx, dl
lea rax, [rax + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rax - 1]
test dl, dl
jne 0x1800033b0
cmp r8d, 0x364ede8d
je 0x1800033dc
test r9d, r9d
jne 0x180003390
mov rcx, qword [rcx]
jmp 0x180003360
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov edx, dword [rcx + rdx*4]
add rdx, r10
mov qword [0x180005090], rdx
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp rdx
Function at 0x180003410
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv

Disassembly:
cmp edx, 1
jne 0x1800034dc
mov rax, qword [0x1800050f0]
test rax, rax
jne 0x180003497
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r10, qword [rax]
mov r8, r10
nop dword [rax]
mov rax, qword [r8 + 0x60]
mov edx, 0xa1ba3543
movzx ecx, word [r8 + 0x58]
shr rcx, 1
lea r9, [rax + rcx*2]
cmp rax, r9
je 0x18000347c
nop word [rax + rax]
movsx ecx, byte [rax]
add rax, 2
xor ecx, edx
imul edx, ecx, 0x1000193
cmp rax, r9
jne 0x180003460
cmp edx, 0x10fa22c3
je 0x1800034e2
mov rax, qword [r8]
mov r8, rax
cmp rax, r10
je 0x18000348e
cmp qword [rax + 0x30], 0
jne 0x180003440
xor eax, eax
mov qword [0x1800050f0], rax
mov rcx, qword [rax + 0x39d2330]
test rcx, rcx
je 0x1800034dc
mov rcx, qword [rcx + 0xb8]
test rcx, rcx
je 0x1800034dc
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x1800034dc
mov qword [0x180005048], rcx
mov rax, qword [rcx + 0x18]
mov qword [0x180005040], rax
lea rax, [0x180001c30]
mov qword [0x180005050], rax
mov qword [rcx + 0x18], rax
mov eax, 1
ret
mov rax, qword [r8 + 0x30]
jmp 0x180003490
Function at 0x414e00
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x414f8b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x005e74f8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x414e65
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x414e74
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x414e93
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x414ea3
cmp rbx, 0x1000
jae 0x414e6b
jmp 0x414f0d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x414eb5
xor edx, edx
jmp 0x414f04
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x005e74f8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x414e99
jmp 0x414e88
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x005e74f8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call sym.runtime.printlock
lea rax, [0x004d9b9c]
mov ebx, 0x18
nop dword [rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x004da214]
mov ebx, 0x19
nop dword [rax + rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x30]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004dc993]
mov ebx, 0x21
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.runtime.sysUnusedOS