joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009be24
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r9d, ecx
test rdx, rdx
jne 0x14009be35
xor eax, eax
jmp 0x14009bea1
lea rbx, [0x14013cc30]
not r9d
cmp r8d, 8
jb 0x14009be79
mov r10d, r8d
shr r10, 3
mov r11d, 8
movzx ecx, byte [rdx]
mov eax, r9d
xor rcx, rax
shr r9d, 8
movzx eax, cl
inc rdx
xor r9d, dword [rbx + rax*4]
sub r11, 1
jne 0x14009be52
add r8d, 0xfffffff8
sub r10, 1
jne 0x14009be4c
test r8d, r8d
je 0x14009be9b
movzx ecx, byte [rdx]
mov eax, r9d
xor rcx, rax
shr r9d, 8
movzx eax, cl
inc rdx
xor r9d, dword [rbx + rax*4]
add r8d, 0xffffffff
jne 0x14009be7e
not r9d
mov eax, r9d
mov rbx, qword [rsp + 8]
ret

Function at 0x14009c50c
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x30
imul r8d, edx
mov rdi, r9
cmp byte [r9], 0
mov rsi, rdx
mov r10, rcx
je 0x14009c553
and qword [rax - 0x18], 0
lea r9, [rax + 0x10]
mov rdx, rcx
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14009c54d
mov byte [rdi + 0x10], 1
mov eax, dword [rsp + 0x48]
jmp 0x14009c57f
mov edx, dword [r9 + 0x2c]
mov ecx, dword [r9 + 0x28]
sub ecx, edx
lea eax, [rdx + r8]
cmp eax, dword [r9 + 0x28]
cmovbe ecx, r8d
add rdx, qword [r9 + 0x20]
mov ebx, ecx
mov r8d, ecx
mov rcx, r10
call fcn.14012ad20
add dword [rdi + 0x2c], ebx
mov eax, ebx
mov rbx, qword [rsp + 0x40]
xor edx, edx
div rsi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14009dbd8
Capabilities:
Get common file path

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 r14, rcx
mov ebp, edx
mov ecx, 0x458
call fcn.1400f44e0
xor r15d, r15d
or rsi, 0xffffffffffffffff
mov ecx, 0x104
mov rbx, rax
lea rdi, [rax + 0x250]
mov qword [rax], r15
mov rdx, rdi
mov dword [rax + 8], esi
mov dword [rax + 0x23c], esi
mov qword [rax + 0x240], r15
mov qword [rax + 0x248], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
inc rsi
cmp word [rdi + rsi*2], r15w
jne 0x14009dc38
movzx eax, word [rbx + rsi*2 + 0x24e]
cmp ax, 0x5c
je 0x14009dc6c
cmp ax, 0x2f
je 0x14009dc6c
sub rdi, 2
lea rdi, [rdi + 2]
cmp word [rdi], r15w
jne 0x14009dc5a
mov eax, dword [0x14015188c]
mov dword [rdi], eax
mov ecx, 0x30
call fcn.1400f44e0
mov rcx, rax
mov word [rax], 0x100
mov byte [rax + 0x18], r15b
mov qword [rax + 0x20], r14
mov dword [rax + 0x28], ebp
mov dword [rax + 0x2c], r15d
mov dword [rax + 0x14], r15d
call fcn.14009c858
mov qword [rbx], rax
test rax, rax
jne 0x14009dce9
mov rcx, qword [rbx + 0x240]
mov dword [0x140172324], 0x200
test rcx, rcx
je 0x14009dcb9
call fcn.1400f451c
mov rcx, qword [rbx + 0x248]
mov qword [rbx + 0x240], r15
test rcx, rcx
je 0x14009dcd1
call fcn.1400f451c
mov edx, 0x458
mov qword [rbx + 0x248], r15
mov rcx, rbx
call fcn.1400f451c
xor eax, eax
jmp 0x14009dd04
mov ecx, 0x10
mov dword [0x140172324], r15d
call fcn.1400f44e0
mov dword [rax], 1
mov qword [rax + 8], rbx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x1400a762c
Capabilities:
Print debug messages

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, 0x20
cmp byte [0x1401722f7], 0
je 0x1400a766f
mov rdx, rcx
lea r8, [rax + 0x10]
xor ecx, ecx
call fcn.1400b09e8
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, rbx
call fcn.140107298
add rsp, 0x20
pop rbx
ret
Function at 0x1400ad884
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rdi
push r12
push r13
push r15
sub rsp, 0x20
mov rdi, qword [rcx + 0x48]
mov r15, rcx
cmp rdx, 0x6a
jne 0x1400ad8f2
lea ecx, [rdx - 0x5a]
call qword [sym.imp.USER32.dll_GetKeyState]
xor r9d, r9d
xor ebx, ebx
mov edx, 0x110a
mov rcx, rdi
test ax, ax
jns 0x1400ad8d0
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400ad8de
mov r8d, 9
call qword [sym.imp.USER32.dll_SendMessageW]
mov bl, 1
mov r9b, bl
mov r8d, 2
mov rdx, rax
mov rcx, rdi
jmp 0x1400ad9f1
cmp rdx, 0x6f
jne 0x1400ad96f
lea ecx, [rdx - 0x5f]
call qword [sym.imp.USER32.dll_GetKeyState]
xor r9d, r9d
xor ebx, ebx
mov edx, 0x110a
mov rcx, rdi
test ax, ax
jns 0x1400ad950
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0x110a
lea r8d, [rbx + 1]
mov r9, rax
mov rcx, rdi
mov rbp, rax
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
jne 0x1400ad961
mov r9, rbp
lea r8d, [rbx + 4]
mov edx, 0x110a
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400ad95e
mov r8d, 9
call qword [sym.imp.USER32.dll_SendMessageW]
mov bl, 1
mov rbp, rax
mov r9b, bl
mov r8d, 1
mov rcx, rdi
jmp 0x1400ad9ee
cmp rdx, 0xd
jne 0x1400ada36
lea ecx, [rdx + 3]
call qword [sym.imp.USER32.dll_GetKeyState]
xor r9d, r9d
mov edx, 0x110a
mov rcx, rdi
movzx r12d, ax
lea r8d, [r9 + 9]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r13, qword [r15 + 0x48]
mov edx, 0x110a
mov r9, rax
mov rcx, r13
mov r8d, 4
mov rbp, rax
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x1400ada09
mov rdx, rbp
mov rcx, r15
call fcn.1400ad82c
test rax, rax
je 0x1400ada09
mov eax, dword [rax + 0x10]
mov rcx, r13
shr eax, 5
not eax
shr r12w, 0xf
and eax, 1
inc eax
test r12b, r12b
je 0x1400ad9f8
xor r9d, r9d
mov r8d, eax
mov rdx, rbp
call fcn.1400b9990
jmp 0x1400ada09
mov r8d, eax
mov r9, rbp
mov edx, 0x1102
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
mov edx, 0x110a
mov rcx, rdi
lea r8d, [r9 + 9]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r8d, r8d
mov edx, 0x1114
mov r9, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
mov al, 1
jmp 0x1400ada38
xor al, al
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r13
pop r12
ret
Function at 0x1400b21f8
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov rax, qword [0x14016a040]
xor rax, rsp
mov qword [rbp + 0x37], rax
and qword [rbp - 0x51], 0
lea r8, [rbp - 0x51]
mov edi, 4
mov rbx, rcx
mov r9d, edi
mov ecx, 0x400
lea edx, [rdi + 0xb]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1400b225d
lea r8, [0x140145b34]
mov edx, edi
lea rcx, [rbp - 0x51]
call fcn.1400b21a8
call fcn.1400b2af0
or r12, 0xffffffffffffffff
lea rdx, [rbp - 0x51]
mov r8, r12
mov r9, rax
mov ecx, 0xfde9
call fcn.1400be6d0
mov dword [rbp - 0x79], 1
lea r8d, [r12 + 2]
mov qword [rbp - 0x71], rbx
lea rdx, [rbp - 0x69]
movaps xmm0, xmmword [rbp - 0x79]
lea rcx, [0x14013fcc8]
movdqa xmmword [rbp - 0x79], xmm0
mov r14, rax
xorps xmm0, xmm0
lea rax, [rbp - 0x79]
movups xmmword [rbp - 0x61], xmm0
mov qword [rbp - 0x69], rax
call fcn.1400bd708
xor edx, edx
lea rcx, [rbp - 0x49]
mov r8d, 0x80
mov rsi, rax
call fcn.14012a960
lea rbx, [rbp - 0x49]
test rsi, rsi
je 0x1400b22e0
mov rcx, r12
inc rcx
cmp byte [rsi + rcx], 0
jne 0x1400b22d5
jmp 0x1400b22e2
xor ecx, ecx
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
shr rdx, 1
inc edx
lea edi, [rdx + rdx*2]
sub edi, ecx
jmp 0x1400b2339
mov byte [rbx], al
inc rsi
inc rbx
cmp byte [rsi], 0
je 0x1400b2324
cmp edi, 2
jne 0x1400b2324
lea rdx, [rbp + 0x37]
mov r8, r14
sub edx, ebx
mov rcx, rbx
call fcn.1400b206c
movsxd rcx, eax
add rbx, rcx
inc edi
mov eax, 0x55555556
imul edi
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
sub edi, eax
mov al, byte [rsi]
test al, al
jne 0x1400b22fb
mov rdx, r12
mov byte [rbx], al
lea rcx, [rbp - 0x49]
call fcn.1400b2ccc
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400f44c0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r12
pop rbp
ret
Function at 0x1400b3084
Capabilities:
Print debug messages
Write file on windows

Disassembly:
test rcx, rcx
je 0x1400b31d5
mov qword [rsp + 8], rbx
push rsi
push rdi
push r14
sub rsp, 0x40
cmp byte [rcx], 0
mov rbx, rdx
mov rdi, rcx
je 0x1400b31c8
or r14, 0xffffffffffffffff
test rdx, rdx
jne 0x1400b30be
mov rbx, r14
inc rbx
cmp byte [rcx + rbx], 0
jne 0x1400b30b5
mov rcx, qword [0x14016b658]
xor sil, sil
and dword [rsp + 0x70], 0
lea rax, [rcx + 1]
test rax, 0xfffffffffffffffe
jne 0x1400b311e
and qword [rsp + 0x30], 0
lea rcx, str..pipeLOCALArsLexis_Logger
and dword [rsp + 0x28], 0
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, rax
mov qword [0x14016b658], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1400b31c8
mov sil, 1
xor r9d, r9d
mov dword [rsp + 0x78], 2
xor r8d, r8d
lea rdx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
jne 0x1400b3148
lea rcx, str.logPipe:_SetNamedPipeHandleState___failed_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test sil, sil
je 0x1400b3192
lea rdx, [0x14013f5d0]
lea rcx, str.app:__s_n
call fcn.1400b2dac
test rax, rax
je 0x1400b3174
mov r8, r14
inc r8
cmp byte [rax + r8], 0
jne 0x1400b3168
jmp 0x1400b3177
xor r8d, r8d
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x70]
mov rcx, qword [0x14016b658]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x14016b658]
lea r9, [rsp + 0x70]
and qword [rsp + 0x20], 0
mov r8d, ebx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400b31c8
mov rcx, qword [0x14016b658]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14016b658], r14
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x1400b377c
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x14016a040]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x200
call fcn.14012a960
mov r9, rbx
mov dword [rsp + 0x20], edi
lea r8, str._s_d_n
mov edx, 0x200
lea rcx, [rsp + 0x30]
call fcn.1400b0978
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400f44c0
mov rbx, qword [rsp + 0x260]
add rsp, 0x240
pop rdi
ret

Function at 0x1400b3a48
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
mov r8d, edx
mov r9, rcx
xor r8d, 0x1505
cmp rdx, 4
jb 0x1400b3a91
mov r10, rdx
shr r10, 2
imul rax, r10, 0xfffffffffffffffc
add rdx, rax
imul eax, dword [r9], 0x5bd1e995
add r9, 4
imul r8d, r8d, 0x5bd1e995
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
xor r8d, ecx
sub r10, 1
jne 0x1400b3a69
sub rdx, 1
je 0x1400b3ab9
sub rdx, 1
je 0x1400b3aae
cmp rdx, 1
jne 0x1400b3ac7
movzx eax, byte [r9 + 2]
shl eax, 0x10
xor r8d, eax
movzx eax, byte [r9 + 1]
shl eax, 8
xor r8d, eax
movzx eax, byte [r9]
xor eax, r8d
imul r8d, eax, 0x5bd1e995
mov eax, r8d
shr eax, 0xd
xor eax, r8d
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
ret

Function at 0x1400b4288
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
xor eax, eax
mov rbx, rcx
test rcx, rcx
je 0x1400b42ac
call fcn.1400b2af0
mov r8, rax
or rdx, 0xffffffffffffffff
mov rcx, rbx
call fcn.1400be600
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400b42be
xor al, al
jmp 0x1400b42c3
shr eax, 4
and al, 1
add rsp, 0x20
pop rbx
ret

Function at 0x1400b4b50
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x450
mov rax, qword [0x14016a040]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.14012a960
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x102
ja 0x1400b4c10
test rdi, rdi
jne 0x1400b4bbb
call fcn.1400b2af0
lea rdx, [rsp + 0x20]
or r8, 0xffffffffffffffff
mov r9, rax
mov ecx, 0xfde9
call fcn.1400be6d0
jmp 0x1400b4c12
xor edx, edx
lea rcx, [rsp + 0x230]
mov r8d, 0x208
call fcn.14012a960
call fcn.1400b2af0
mov r8, rax
or rdx, 0xffffffffffffffff
mov rcx, rdi
call fcn.1400be600
lea r9, [rsp + 0x230]
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x1400b4c10
call fcn.1400b2af0
lea rdx, [rsp + 0x230]
jmp 0x1400b4ba8
xor eax, eax
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1400f44c0
add rsp, 0x450
pop rdi
ret
Function at 0x1400b4c2c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r14, r8
mov r15, rdx
mov rdi, rcx
test rdx, rdx
jne 0x1400b4c68
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1400b4c93
call qword [sym.imp.KERNEL32.dll_DebugBreak]
jmp 0x1400b4c93
call fcn.1400b2af0
mov r8, rax
or rdx, 0xffffffffffffffff
mov rcx, r15
call fcn.1400be600
lea rdx, [0x1401548c4]
mov rcx, rax
call fcn.1401076fc
mov rsi, rax
test rax, rax
jne 0x1400b4ca1
and qword [rdi], 0
and qword [rdi + 8], 0
jmp 0x1400b4d82
xor edx, edx
mov rcx, rsi
lea r8d, [rdx + 2]
call fcn.14010e5a0
test eax, eax
jne 0x1400b4d71
mov rcx, rsi
call fcn.14010e298
movsxd r13, eax
mov rbx, r13
lea rdx, [r13 + 3]
cmp r13, rdx
ja 0x1400b4d71
mov rcx, r14
call fcn.1400b35ec
mov rbp, rax
test rax, rax
je 0x1400b4d71
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.14010e5a0
test eax, eax
jne 0x1400b4d71
mov r9, rsi
lea edx, [rax + 1]
mov r8, rbx
mov rcx, rbp
call fcn.14010e89c
mov qword [rsp + 0x68], rax
mov rcx, rsi
cmp rax, rbx
je 0x1400b4db0
call fcn.140108344
mov rcx, rsi
mov r12d, eax
call fcn.140108318
mov r9d, dword [rsp + 0x68]
lea rcx, str.ReadFileWithAllocator:_fread___failed__path:__s__size:__d__nRead:__d__err:__d__isEof:__d_n
mov dword [rsp + 0x28], eax
mov r8d, r13d
mov rdx, r15
mov dword [rsp + 0x20], r12d
mov ebx, eax
call fcn.1400b3458
test ebx, ebx
jne 0x1400b4d64
test r12d, r12d
jne 0x1400b4d64
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1400b4d64
call qword [sym.imp.KERNEL32.dll_DebugBreak]
test r14, r14
jne 0x1400b4da2
mov rcx, rbp
call fcn.140107298
and qword [rdi], 0
mov rcx, rsi
and qword [rdi + 8], 0
call fcn.140107928
mov rbx, qword [rsp + 0x60]
mov rax, rdi
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, qword [r14]
mov rdx, rbp
mov rcx, r14
call qword [rax + SafeArrayCopy]
jmp 0x1400b4d71
mov qword [rdi], rbp
mov qword [rdi + 8], rbx
jmp 0x1400b4d7d
Function at 0x1400b4dbc
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rsi, rdx
mov rbx, rcx
test rcx, rcx
jne 0x1400b4ddf
xor eax, eax
jmp 0x1400b4df3
call fcn.1400b2af0
mov r8, rax
or rdx, 0xffffffffffffffff
mov rcx, rbx
call fcn.1400be600
and qword [rsp + 0x30], 0
xor r9d, r9d
mov rbp, qword [rsi]
mov edx, 0x40000000
mov rsi, qword [rsi + 8]
mov rcx, rax
mov dword [rsp + 0x28], 0x80
lea edi, [r9 + 1]
mov dword [rsp + 0x20], 2
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400b4e35
xor al, al
jmp 0x1400b4e8e
and dword [rsp + 0x50], 0
lea r9, [rsp + 0x50]
and qword [rsp + 0x20], 0
mov r8d, esi
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400b4e7a
mov eax, dword [rsp + 0x50]
cmp rsi, rax
je 0x1400b4e71
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1400b4e71
call qword [sym.imp.KERNEL32.dll_DebugBreak]
mov eax, dword [rsp + 0x50]
cmp rsi, rax
je 0x1400b4e7d
xor dil, dil
test rbx, rbx
je 0x1400b4e8b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, dil
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x1400b4f64
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
test rcx, rcx
jne 0x1400b4f89
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1400b4f83
call qword [sym.imp.KERNEL32.dll_DebugBreak]
or rax, 0xffffffffffffffff
jmp 0x1400b4fcf
call fcn.1400b4ea4
mov rbx, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1400b4fc8
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rdi, qword [rsp + 0x30]
or rcx, 0xffffffffffffffff
test eax, eax
cmove rdi, rcx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400b4fcc
or rdi, 0xffffffffffffffff
mov rax, rdi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400b4fdc
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, r8
mov rbp, rdx
call fcn.1400b4ea4
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400b5008
xor edi, edi
jmp 0x1400b5041
mov r8, rsi
xor edx, edx
mov rcx, rbp
call fcn.14012a960
xor edi, edi
lea r9, [rsp + 0x58]
mov r8d, esi
mov dword [rsp + 0x58], edi
mov rdx, rbp
mov qword [rsp + 0x20], rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400b503d
or edi, 0xffffffff
jmp 0x1400b5041
mov edi, dword [rsp + 0x58]
lea rcx, [rbx - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1400b5054
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400b506c
Capabilities:
Check if file exists
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
mov rbx, rcx
test rcx, rcx
jne 0x1400b5084
xor al, al
jmp 0x1400b50bf
call fcn.1400b2af0
mov r8, rax
or rdx, 0xffffffffffffffff
mov rcx, rbx
call fcn.1400be600
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
sete dil
or edi, ebx
jne 0x1400b50bd
xor ecx, ecx
call fcn.1400b5d58
jmp 0x1400b5080
mov al, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400b50cc
Capabilities:
Copy file
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
xor ebp, ebp
mov rbx, rcx
test rcx, rcx
jne 0x1400b5168
mov esi, ebp
mov rdi, rbp
add rdi, 2
call fcn.1400b2af0
lea rdx, [rdi + rdi]
mov rcx, rax
call fcn.1400b35ec
mov r8, rsi
mov edx, edi
mov rcx, rax
mov rbx, rax
call fcn.1400b2114
mov eax, 0x654
mov qword [rsp + 0x20], rbp
xorps xmm0, xmm0
mov word [rsp + 0x40], ax
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x28], 3
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], ebp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
lea r11, [rsp + 0x60]
test eax, eax
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
sete al
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.1400b2af0
or rdi, 0xffffffffffffffff
mov r8, rax
mov rdx, rdi
mov rcx, rbx
call fcn.1400be600
mov rsi, rax
test rax, rax
je 0x1400b50ec
inc rdi
cmp word [rax + rdi*2], bp
jne 0x1400b518b
jmp 0x1400b50ef

Function at 0x1400b519c
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movzx esi, r8b
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
je 0x1400b51d1
call fcn.1400b2af0
mov r8, rax
or rdx, 0xffffffffffffffff
mov rcx, rdi
call fcn.1400be600
mov rdi, rax
test rbx, rbx
jne 0x1400b51da
xor eax, eax
jmp 0x1400b51ee
call fcn.1400b2af0
mov r8, rax
or rdx, 0xffffffffffffffff
mov rcx, rbx
call fcn.1400be600
mov r8d, esi
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1400b520c
xor ecx, ecx
call fcn.1400b5d58
xor al, al
jmp 0x1400b520e
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400b5318
Capabilities:
Read .ini file

Disassembly:
push rbx
sub rsp, 0x20
xor r8d, r8d
lea rdx, str.:Zone.Identifier
call fcn.1400b2d6c
mov rbx, rax
xor eax, eax
test rbx, rbx
je 0x1400b534b
call fcn.1400b2af0
mov r8, rax
or rdx, 0xffffffffffffffff
mov rcx, rbx
call fcn.1400be600
mov r9, rax
lea rdx, str.ZoneId
or r8d, 0xffffffff
lea rcx, str.ZoneTransfer
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
Function at 0x1400b53d4
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call fcn.1400b43c0
mov rdi, rax
mov esi, 1
cmp rax, rbx
je 0x1400b5435
test rax, rax
je 0x1400b5421
test rbx, rbx
je 0x1400b5421
mov rdx, rbx
sub rdx, rax
movzx ecx, byte [rax]
movzx r8d, byte [rax + rdx]
sub ecx, r8d
jne 0x1400b541d
add rax, rsi
test r8d, r8d
jne 0x1400b5408
test ecx, ecx
je 0x1400b543e
mov rcx, rdi
call fcn.1400b536c
test al, al
jne 0x1400b5435
mov rcx, rdi
call fcn.1400b53d4
test rbx, rbx
jne 0x1400b543e
xor eax, eax
jmp 0x1400b5452
call fcn.1400b2af0
mov r8, rax
or rdx, 0xffffffffffffffff
mov rcx, rbx
call fcn.1400be600
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400b5470
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete sil
mov rbx, qword [rsp + 0x30]
mov al, sil
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400b5484
Capabilities:
Copy file
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
xor ebp, ebp
mov rbx, rcx
test rcx, rcx
jne 0x1400b5520
mov esi, ebp
mov rdi, rbp
add rdi, 2
call fcn.1400b2af0
lea rdx, [rdi + rdi]
mov rcx, rax
call fcn.1400b35ec
mov r8, rsi
mov edx, edi
mov rcx, rax
mov rbx, rax
call fcn.1400b2114
mov eax, 0x614
mov qword [rsp + 0x20], rbp
xorps xmm0, xmm0
mov word [rsp + 0x40], ax
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x28], 3
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], ebp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
lea r11, [rsp + 0x60]
test eax, eax
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
sete al
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.1400b2af0
or rdi, 0xffffffffffffffff
mov r8, rax
mov rdx, rdi
mov rcx, rbx
call fcn.1400be600
mov rsi, rax
test rax, rax
je 0x1400b54a4
inc rdi
cmp word [rax + rdi*2], bp
jne 0x1400b5543
jmp 0x1400b54a7
Function at 0x1400b5b0c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x230
mov rax, qword [0x14016a040]
xor rax, rsp
mov qword [rsp + 0x220], rax
xor ebx, ebx
lea rdi, [rsp + 0x20]
mov rsi, rcx
test rcx, rcx
jne 0x1400b5b48
mov esi, ebx
jmp 0x1400b5b5f
call fcn.1400b2af0
mov r8, rax
or rdx, 0xffffffffffffffff
mov rcx, rsi
call fcn.1400be600
mov rsi, rax
mov ebp, 0x100
lea rdx, [rsp + 0x20]
mov r8d, ebp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x1400b5b7d
xor eax, eax
jmp 0x1400b5be4
cmp eax, ebp
jb 0x1400b5bc5
lea ebp, [rax + 4]
call fcn.1400b2af0
mov edx, ebp
mov rcx, rax
add rdx, rdx
call fcn.1400b35ec
mov r8d, ebp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1400b5bb0
cmp eax, ebp
jbe 0x1400b5bc0
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1400b5bc0
call qword [sym.imp.KERNEL32.dll_DebugBreak]
test rdi, rdi
je 0x1400b5be1
call fcn.1400b2af0
mov r9, rax
or r8, 0xffffffffffffffff
mov rdx, rdi
mov ecx, 0xfde9
call fcn.1400be6d0
mov rbx, rax
mov rax, rbx
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.1400f44c0
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret