joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006aa0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 0
mov qword [rbp + 0x3d0], 2
mov qword [rbp + 0x3d8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor ebx, ebx
xor edi, edi
xor r12d, r12d
cmp r8, 0x201
jae 0x140006b40
jmp 0x140006b2f
jae 0x140006c00
cmp r8, 0x201
jae 0x140006b40
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x140006b98
sub r8, r12
sub rdi, r12
cmp rdi, r8
jae 0x140006b6f
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.140020150
mov rbx, qword [rbp + 0x3c8]
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp rbx, rax
mov r12d, 0xffffffff
cmovb r12, rbx
mov qword [rbp + 0x3d8], r12
mov rdi, rbx
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x140006bc1
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140006c68
mov r8d, r14d
cmp r15, r8
jne 0x140006b20
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140006c95
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x140006b2f
jmp 0x140006b40
cmp rsi, r8
jb 0x140006caf
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.140009430
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rbx, rbx
je 0x140006c51
add rbx, rbx
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rbx
call fcn.1400043b0
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
test rbx, rbx
jne 0x140006c39
jmp 0x140006c51
lea rcx, str.internal_error:_entered_unreachable_code_rustc_aedd173a2c086e558c2b66d3743b344f977621a7library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syspalwindowsmod.rs
mov edx, 0x28
call fcn.140020a60
jmp 0x140006cc4
lea rax, str.library_std_src_syspalwindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.140020eb0
ud2
Function at 0x140007290
Capabilities:
Create directory

Disassembly:
cmp byte [rcx], 0
je 0x1400072a0
mov rcx, rdx
mov rdx, r8
jmp fcn.1400072b0
mov rcx, rdx
mov rdx, r8
jmp fcn.14000f470

Function at 0x14000f470
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.140011860
mov rax, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
movabs rbx, 0x8000000000000000
cmp rax, rbx
je 0x14000f531
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x40]
mov r8b, 1
call fcn.140010560
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
cmp rdi, rbx
je 0x14000f531
mov rcx, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14000f505
test rdi, rdi
je 0x14000f501
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
call fcn.1400043b0
xor esi, esi
jmp 0x14000f531
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test rdi, rdi
je 0x14000f52e
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
call fcn.1400043b0
mov rsi, rbx
mov rax, rsi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
Function at 0x14000f920
Capabilities:
Copy file

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov rdi, r9
mov rsi, rcx
lea rcx, [rbp - 0x30]
call fcn.140011860
mov rax, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x28]
movabs r14, 0x8000000000000000
cmp rax, r14
je 0x14000f992
mov rcx, qword [rbp - 0x20]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rdx
mov qword [rbp - 8], rcx
lea rcx, [rbp - 0x48]
lea rdx, [rbp - 0x18]
mov r8b, 1
call fcn.140010560
mov rax, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x40]
cmp rax, r14
jne 0x14000f9b0
mov qword [rsi + 8], rdx
mov qword [rsi], 1
mov rax, rsi
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov qword [rbp + 8], rax
mov qword [rbp], rdx
mov r8, qword [rbp + 0x70]
lea rcx, [rbp - 0x30]
mov rdx, rdi
call fcn.140011860
mov rax, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x28]
cmp rax, r14
je 0x14000fa02
mov rcx, qword [rbp - 0x20]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rcx
lea rcx, [rbp - 0x48]
lea rdx, [rbp - 0x18]
mov r8b, 1
call fcn.140010560
mov rbx, qword [rbp - 0x48]
mov rdi, qword [rbp - 0x40]
cmp rbx, r14
jne 0x14000fa33
mov r14, qword [rbp]
mov r15, qword [rbp + 8]
mov qword [rsi + 8], rdi
mov qword [rsi], 1
test r15, r15
je 0x14000f99d
add r15, r15
mov r8d, 2
mov rcx, r14
mov rdx, r15
call fcn.1400043b0
jmp 0x14000f99d
mov qword [rbp - 0x18], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [0x14000fb10]
lea r9, [rbp - 0x18]
mov r14, qword [rbp]
mov rcx, r14
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_CopyFileExW]
test eax, eax
mov r15, qword [rbp + 8]
je 0x14000fa85
mov rax, qword [rbp - 0x18]
mov qword [rsi + 8], rax
mov qword [rsi], 0
test rbx, rbx
jne 0x14000faa7
jmp 0x14000fa15
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
test rbx, rbx
je 0x14000fa15
add rbx, rbx
mov r8d, 2
mov rcx, rdi
mov rdx, rbx
call fcn.1400043b0
jmp 0x14000fa15
Function at 0x14000fb30
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x1400246e8]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x14000fb74
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14000fbda
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14000fc11
test eax, eax
js 0x14000fbeb
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14000fc04
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.140009190
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.140004dd0
mov ecx, 7
int 0x29
ud2
Function at 0x14001e380
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14001e3fa
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14001e3f0
cmp r11, r10
ja 0x14001e485
cmp r10, rdx
ja 0x14001e497
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14001e3f2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14001e3d0
jmp 0x14001e467
ja 0x14001e3fa
mov r11, r10
cmp rax, r8
jne 0x14001e3a2
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14001e46b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14001e440
mov r8, r10
sub ecx, r9d
jns 0x14001e45e
jmp 0x14001e46d
cmp r10, rdx
je 0x14001e479
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14001e46d
xor al, 1
cmp r8, rdx
jne 0x14001e420
jmp 0x14001e46d
xor eax, eax
jmp 0x14001e46d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140020900
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140020f30
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140020eb0
int3

Function at 0x14001faf8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001fb42
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001fb42
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001fb42
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001fb42
cmp dword [rcx + 0x84], 0xe
jbe 0x14001fb42
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001fb44
xor al, al
add rsp, 0x28
ret
Function at 0x238b76a1020
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x330
mov rbx, rcx
cmp edx, 1
jne 0x238b76a1170
xor r8d, r8d
mov edx, 0x96000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [0x238b76cab68], rax
call fcn.238b76acd14
mov rcx, rbx
mov qword [0x238b76c9ff8], rbx
mov dword [0x238b76c9ff0], 1
call fcn.238b76bad44
mov edx, 0x288
lea rcx, [0x238b76c3dd0]
mov r8d, 5
call fcn.238b76acc5c
xor r8d, r8d
mov qword [str.p_t1c], rax
mov edx, 0x1d0
lea rcx, [0x238b76c3f20]
call fcn.238b76acc5c
mov ecx, 0x5b2
mov qword [0x238b76c9fe0], rax
call fcn.238b76adae8
mov rcx, rax
mov qword [rsp + 0x358], rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea rcx, [rsp + 0x358]
cmp eax, 0xffffffff
je 0x238b76a10db
call fcn.238b76ada84
xor eax, eax
jmp 0x238b76a115f
call fcn.238b76ada84
xor ebx, ebx
mov edi, 0x14
movzx eax, word [0x238b76c400c]
lea rcx, [rsp + 0x33]
mov word [rsp + 0x30], ax
xor edx, edx
mov al, byte [0x238b76c400e]
mov r8d, 0xfd
mov byte [rsp + 0x32], al
call sub.msvcrt.dll_memset
xor edx, edx
mov word [rsp + 0x130], bx
mov r8d, 0x1fe
lea rcx, [rsp + 0x132]
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x130]
mov dword [rsp + 0x28], 0xff
or r9d, 0xffffffff
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
sub rdi, 1
jne 0x238b76a10e7
mov eax, 1
mov rbx, qword [rsp + 0x340]
add rsp, 0x330
pop rdi
ret
test edx, edx
jne 0x238b76a115a
mov rax, qword [str.p_t1c]
mov ecx, 0xaa
call qword [rax + 0x178]
jmp 0x238b76a10d4
Function at 0x238b76a11b4
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
push rsi
push rdi
push r14
sub rsp, 0x40
mov rcx, qword [0x238b76cab68]
xor ebx, ebx
test rcx, rcx
jne 0x238b76a11d3
mov edi, ebx
jmp 0x238b76a11e5
mov edx, 8
lea r8d, [rdx + 0x10]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
mov rcx, qword [0x238b76ca050]
cmp word [rcx + 0x242], 0x3a
jne 0x238b76a122a
movzx eax, word [rcx + 0x240]
mov word [rsp + 0x20], ax
movzx eax, word [rcx + 0x242]
mov word [rsp + 0x22], ax
movzx eax, word [rcx + 0x244]
lea rcx, [rsp + 0x20]
mov word [rsp + 0x24], ax
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov qword [rdi], 2
lea r14, [rdi + 8]
call fcn.238b76a32f8
mov ecx, 0xd2b
mov qword [r14], rax
call fcn.238b76adae8
mov rcx, qword [0x238b76ca050]
xor r8d, r8d
add rcx, 0x240
mov qword [rsp + 0x68], rax
mov rdx, rax
call fcn.238b76ad2e0
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rsi, rax
call fcn.238b76ada84
mov rax, qword [str.p_t1c]
mov rcx, rsi
call qword [rax + 0x110]
cmp eax, 0xffffffff
je 0x238b76a12ba
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.238b76b5460
test rax, rax
jne 0x238b76a12a3
mov rax, rbx
jmp 0x238b76a12ab
mov rcx, rax
call fcn.238b76af74c
lea rsi, [rdi + 0x10]
mov dword [rdi], 3
mov qword [rsi], rax
jmp 0x238b76a12be
lea rsi, [rdi + 0x10]
mov rdx, 0xfffffffffffffffe
lea rcx, [rsp + 0x70]
call fcn.238b76ac7c4
mov rcx, qword [r14]
test rcx, rcx
je 0x238b76a1300
mov r8d, dword [rcx]
mov eax, ebx
test r8d, r8d
je 0x238b76a1300
mov rdx, qword [rcx + 8]
mov ecx, eax
add rcx, rcx
cmp dword [rdx + rcx*8], 0x3b
je 0x238b76a12f9
inc eax
cmp eax, r8d
jb 0x238b76a12e5
jmp 0x238b76a1300
cmp qword [rdx + rcx*8 + 8], rbx
jne 0x238b76a130e
call fcn.238b76a31cc
test eax, eax
je 0x238b76a130e
or ebx, 0xffffffff
jmp 0x238b76a1316
mov rcx, rdi
call fcn.238b76a22e4
mov rcx, r14
call fcn.238b76af868
mov rcx, rsi
call fcn.238b76af868
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x238b76a13fc
Capabilities:
Set current directory

Disassembly:
push rbx
sub rsp, 0x60
mov ecx, 0x631
call fcn.238b76adaa8
mov rcx, rax
mov qword [rsp + 0x70], rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea rax, [0x238b76caa8c]
cmp rbx, rax
je 0x238b76a1437
or rdx, 0xffffffffffffffff
lea rcx, [rsp + 0x70]
call fcn.238b76ac7c4
mov r8, qword [0x238b76ca050]
xor ebx, ebx
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor edx, edx
xor ecx, ecx
mov r8d, dword [r8 + 0xac]
call fcn.238b76aec54
mov qword [0x238b76cab88], rax
test rax, rax
jne 0x238b76a146c
or eax, 0xffffffff
jmp 0x238b76a1569
call fcn.238b76b7364
mov ecx, 0x31
mov dword [rsp + 0x70], ebx
call fcn.238b76af15c
test eax, eax
jne 0x238b76a14bc
mov rax, qword [0x238b76ca050]
cmp dword [rax + 0x218], 3
je 0x238b76a14bc
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea r8, [0x238b76a3108]
mov rax, qword [str.p_t1c]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [rax + 0xf0]
call fcn.238b76a1630
mov dword [0x238b76caa70], eax
test eax, eax
je 0x238b76a152b
sub eax, 1
je 0x238b76a1534
sub eax, 1
je 0x238b76a1567
cmp eax, 1
jne 0x238b76a1567
mov rax, qword [0x238b76ca050]
lea rcx, [rsp + 0x30]
mov edx, dword [rax + 0xac]
add edx, 4
call fcn.238b76b06f8
lea rcx, [rsp + 0x30]
call fcn.238b76b10a0
mov rcx, qword [0x238b76ca050]
mov edx, 0x1d4c0
mov ecx, dword [rcx + 0xac]
call fcn.238b76a2ca0
mov qword [0x238b76ca030], rax
call fcn.238b76a1338
jmp 0x238b76a1549
call fcn.238b76a11b4
test eax, eax
js 0x238b76a1567
mov rax, qword [0x238b76ca050]
cmp dword [rax + 0xa4], 1
je 0x238b76a1549
call fcn.238b76b7284
mov rax, qword [str.p_t1c]
lea rdx, [0x238b76a118c]
mov ecx, 1
call qword [rax + 0x230]
call fcn.238b76a29a4
xor eax, eax
add rsp, 0x60
pop rbx
ret
Function at 0x238b76a914c
Capabilities:
Create directory

Disassembly:
push rbp
push rbx
push rsi
push r14
push r15
lea rbp, [rsp - 0x9a0]
sub rsp, 0xaa0
and dword [rbp + 0x9d0], 0
lea eax, [rcx - 1]
mov r8, rdx
mov ebx, ecx
cmp eax, 1
jbe 0x238b76a917f
or eax, 0xffffffff
jmp 0x238b76a9363
lea rdx, [rbp + 0x9d0]
mov rcx, r8
call fcn.238b76b6360
mov qword [rsp + 0x30], rax
mov rsi, rax
test rax, rax
jne 0x238b76a91a3
lea eax, [rsi - 2]
jmp 0x238b76a9363
mov rcx, qword [0x238b76ca050]
xor edx, edx
add rcx, 0xb0
je 0x238b76a91c6
cmp byte [rcx], dl
je 0x238b76a91c6
mov rax, rcx
inc rax
inc edx
cmp byte [rax], 0
jne 0x238b76a91bc
xor r8d, r8d
call fcn.238b76b3f94
lea rdx, [rbp - 0x30]
lea ecx, [rbx + rax]
call fcn.238b76bb878
mov r9d, 0xc
lea rax, [rbp - 0x30]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r8d, [r9 - 2]
lea ecx, [r9 - 0xa]
call fcn.238b76acdc4
movsxd rcx, eax
lea rdx, [0x238b76c4230]
mov eax, 0x2e
xor r8d, r8d
mov word [rsp + rcx*2 + 0x48], ax
mov rcx, qword [0x238b76ca050]
add rcx, 0x458
call fcn.238b76ad2e0
xor r9d, r9d
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x50]
mov rcx, rax
lea rdx, [0x238b76c4184]
mov rbx, rax
call fcn.238b76ad2e0
xor edx, edx
mov qword [rsp + 0x40], rax
mov rcx, rbx
mov r15, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rdx, qword [0x238b76ca050]
mov r9b, 2
add rdx, 0xb0
mov r8d, 2
mov rcx, r15
call fcn.238b76b5504
mov qword [rbp + 0x9e0], rax
mov r14, rax
test rax, rax
jne 0x238b76a928d
lea ebx, [rax - 4]
jmp 0x238b76a931e
mov r8d, dword [rbp + 0x9d0]
mov rdx, rsi
mov rcx, rax
call fcn.238b76b58f8
test eax, eax
jns 0x238b76a92aa
mov ebx, 0xfffffffb
jmp 0x238b76a931e
lea rcx, [rbp + 0x9e0]
call fcn.238b76b5624
mov rcx, qword [0x238b76ca050]
lea r8, [rsp + 0x50]
add rcx, 0x458
lea rdx, [0x238b76c4184]
xor r9d, r9d
call fcn.238b76ad2e0
mov rdx, rax
mov qword [rbp + 0x9e8], rax
mov rcx, r15
call fcn.238b76ade88
mov ebx, eax
lea rcx, [rbp + 0x9e8]
mov rdx, 0xfffffffffffffffe
sar ebx, 0x1f
call fcn.238b76ac7c4
and ebx, 0xfffffff9
jne 0x238b76a9313
mov ecx, 0x2deb8b96
call fcn.238b76a89ec
jmp 0x238b76a932f
test ebx, ebx
jns 0x238b76a932f
mov r14, qword [rbp + 0x9e0]
test r14, r14
je 0x238b76a932f
lea rcx, [rbp + 0x9e0]
call fcn.238b76b5624
mov edx, dword [rbp + 0x9d0]
lea rcx, [rsp + 0x30]
call fcn.238b76ac7c4
mov rdx, 0xfffffffffffffffe
lea rcx, [rsp + 0x38]
call fcn.238b76ac7c4
mov rdx, 0xfffffffffffffffe
lea rcx, [rsp + 0x40]
call fcn.238b76ac7c4
mov eax, ebx
add rsp, 0xaa0
pop r15
pop r14
pop rsi
pop rbx
pop rbp
ret
Function at 0x238b76ac3f8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x80
mov rcx, qword [0x238b76cab68]
xor ebx, ebx
test rcx, rcx
je 0x238b76ac4e1
mov esi, 0x126
lea edx, [rbx + 8]
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x238b76ac4e1
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], 0x22
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea r8, str.ability
mov ecx, 0x2732
lea edx, [rbx + 0x34]
call qword [sym.imp.KERNEL32.dll_GetNumberFormatA]
test eax, eax
jne 0x238b76ac47a
mov eax, ebx
lea rcx, [rsp + 0x30]
inc eax
inc rcx
cmp eax, 0x14
jb 0x238b76ac46e
jmp 0x238b76ac48b
mov ecx, ebx
lea rdx, [rsp + 0x30]
inc ecx
inc rdx
cmp ecx, 0x22
jb 0x238b76ac481
lea r8, [0x238b76c8260]
mov r9, rdi
sub r8, rdi
movabs rax, 0x47ae147ae147ae15
mov rcx, rbx
mul rbx
mov rax, rbx
inc rbx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 4
imul rax, rax, 0x19
sub rcx, rax
lea rax, [0x238b76c4260]
mov al, byte [rcx + rax]
xor al, byte [r8 + r9]
mov byte [r9], al
inc r9
sub rsi, 1
jne 0x238b76ac498
mov rax, rdi
jmp 0x238b76ac4e3
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x238b76aca68
Capabilities:
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, 0x60
mov edi, dword [rcx + 0x3c]
mov r15d, edx
mov r10, rcx
mov eax, dword [rdi + rcx + 0x88]
test eax, eax
je 0x238b76acaf0
lea r11, [rcx + rax]
xor esi, esi
mov ebx, dword [r11 + 0x20]
mov ebp, dword [r11 + 0x24]
add rbx, rcx
mov r14d, dword [r11 + 0x1c]
add rbp, rcx
add r14, rcx
cmp dword [r11 + 0x18], esi
jbe 0x238b76acaf0
mov ecx, dword [rbx]
mov edx, 0
add rcx, r10
je 0x238b76acad2
cmp byte [rcx], dl
je 0x238b76acad2
mov rax, rcx
inc rax
inc edx
cmp byte [rax], 0
jne 0x238b76acac8
xor r8d, r8d
call fcn.238b76b3f94
xor eax, 0xa235cb91
cmp eax, r15d
je 0x238b76acb0c
inc esi
add rbx, 4
cmp esi, dword [r11 + 0x18]
jb 0x238b76acab5
xor eax, eax
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
movzx ecx, word [rbp + rsi*2]
mov ebx, dword [r14 + rcx*4]
add rbx, r10
cmp rbx, r11
jb 0x238b76acbc8
mov eax, dword [rdi + r10 + 0x8c]
add rax, r11
cmp rbx, rax
jae 0x238b76acbc8
xor r8d, r8d
lea rcx, [rsp + 0x20]
mov rdx, rbx
lea rax, [rsp + 0x20]
sub rdx, rcx
mov cl, byte [rdx + rax]
cmp cl, 0x2e
je 0x238b76acb62
test cl, cl
je 0x238b76acb62
mov byte [rax], cl
inc r8d
inc rax
cmp r8d, 0x40
jb 0x238b76acb48
mov sil, byte [r8 + rbx]
lea eax, [r8 + 1]
mov edi, eax
lea rcx, [rsp + 0x20]
mov byte [rsp + rax + 0x20], 0x64
lea eax, [r8 + 2]
mov byte [rsp + rax + 0x20], 0x6c
lea eax, [r8 + 3]
mov byte [rsp + rax + 0x20], 0x6c
lea eax, [r8 + 4]
mov byte [rsp + rax + 0x20], 0
mov byte [rsp + r8 + 0x20], 0x2e
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x238b76acaf0
test sil, sil
lea rdx, [rdi + rbx]
mov rcx, rax
cmove rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x238b76acaf0
jmp 0x238b76acaf2
mov rax, rbx
jmp 0x238b76acaf2

Function at 0x238b76acc5c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov r10d, r8d
lea r11, [0x238b76c8550]
imul r9, r10, 0x21
xor ebx, ebx
mov dword [rsp + 0x60], 0xa235cb91
mov edi, edx
mov rsi, rcx
mov r8d, ebx
movzx eax, byte [r9 + r11]
test al, al
je 0x238b76accc9
lea r8, [rsp + 0x20]
mov edx, ebx
sub r9, r8
lea rcx, [rsp + 0x20]
add r11, r9
mov r8d, eax
mov r9d, eax
mov rax, rdx
inc rdx
and eax, 3
mov al, byte [rsp + rax + 0x60]
xor al, byte [r11 + rcx + 1]
mov byte [rcx], al
inc rcx
sub r9, 1
jne 0x238b76accac
mov byte [rsp + r8 + 0x20], bl
lea rcx, [rsp + 0x20]
cmp r10d, 5
jne 0x238b76acce1
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
jmp 0x238b76accea
mov rax, qword [str.p_t1c]
call qword [rax]
test rax, rax
je 0x238b76accff
mov r8, rax
mov edx, edi
mov rcx, rsi
call fcn.238b76acbd0
mov rbx, rax
mov rsi, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x238b76ad704
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r15
sub rsp, 0x90
lea rax, [rax - 0x78]
mov r10d, r9d
mov r9, qword [rsp + 0xd0]
mov r11, r8
mov qword [rsp + 0x28], rax
mov edi, edx
mov r12, rcx
xor ebx, ebx
mov dword [rax], ebx
mov r8d, r10d
mov eax, dword [rsp + 0xd8]
mov rdx, r11
xor ecx, ecx
mov dword [rsp + 0x20], eax
call fcn.238b76b0ca8
mov qword [rsp + 0x38], rax
mov r15, rax
test rax, rax
jne 0x238b76ad770
lea rax, [0x238b76caa8c]
jmp 0x238b76ad864
mov ebp, dword [rsp + 0xe0]
mov esi, ebp
cmp ebp, edi
jae 0x238b76ad79b
lea r8, [r12 + rbp]
xor edx, edx
mov eax, esi
div dword [rsp + 0x30]
mov al, byte [r8]
cmp byte [rdx + r15], al
je 0x238b76ad7dc
inc esi
inc r8
cmp esi, edi
jb 0x238b76ad781
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 0x22
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea r8, str.chickenfried
mov edx, 0x172
mov ecx, 0xdc
call qword [sym.imp.KERNEL32.dll_GetNumberFormatA]
test eax, eax
jne 0x238b76ad83d
lea rax, [rsp + 0x40]
inc ebx
inc rax
cmp ebx, 0x14
jb 0x238b76ad7d0
jmp 0x238b76ad84c
sub esi, ebp
je 0x238b76ad79b
mov rcx, qword [0x238b76cab68]
test rcx, rcx
je 0x238b76ad82a
lea r8d, [rsi + 1]
mov edx, 8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x238b76ad82a
mov r8, rax
mov r9d, esi
xor edx, edx
mov eax, ebp
div dword [rsp + 0x30]
mov al, byte [rdx + r15]
xor al, byte [rbp + r12]
inc ebp
mov byte [r8], al
inc r8
sub r9, 1
jne 0x238b76ad809
jmp 0x238b76ad853
mov edx, dword [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.238b76ac7c4
jmp 0x238b76ad764
lea rcx, [rsp + 0x40]
inc ebx
inc rcx
cmp ebx, 0x22
jb 0x238b76ad842
lea rdi, [0x238b76caa8c]
mov edx, dword [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.238b76ac7c4
mov rax, rdi
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r12
pop rdi
ret