joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140022800
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
movzx esi, cl
mov edi, edx
mov ecx, esi
mov ebp, esi
call qword [sym.imp.USER32.dll_GetKeyState]
and al, 1
neg al
sbb ebx, ebx
add ebx, 2
cmp edi, 1
je 0x14002283a
cmp edi, 2
jne 0x14002292d
cmp ebx, edi
je 0x14002292d
mov ecx, ebp
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x140022874
xor r8d, r8d
xor r9d, r9d
movzx edx, sil
lea ecx, [r8 + 1]
mov dword [rsp + 0x28], 0xffc3d44d
mov byte [rsp + 0x20], r8b
call fcn.140020440
xor r8d, r8d
xor r9d, r9d
movzx edx, sil
lea ecx, [r8 + 2]
mov dword [rsp + 0x28], 0xffc3d44d
mov byte [rsp + 0x20], r8b
call fcn.140020440
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x1401430c0]
sete bpl
test bpl, bpl
je 0x1400228d5
mov edx, 1
or ecx, 0xffffffff
mov dword [0x14013b0c8], 0
call fcn.140001b80
mov dword [0x14013b0c8], 1
cmp sil, 0x14
jne 0x14002292d
cmp edi, 2
jne 0x14002292d
lea ecx, [rdi + 0x12]
call qword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je 0x14002292d
xor r8d, r8d
xor r9d, r9d
mov dl, reloc.WSOCK32.dll_recv
mov ecx, edi
mov dword [rsp + 0x28], 0xffc3d44d
mov byte [rsp + 0x20], r8b
call fcn.140020440
test bpl, bpl
je 0x14002292d
lea edx, [rdi - 1]
or ecx, 0xffffffff
mov dword [0x14013b0c8], 0
call fcn.140001b80
mov dword [0x14013b0c8], 1
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400231a0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
cmp qword [0x14013f848], 0
je 0x1400231be
test cl, cl
jne 0x1400231be
movzx eax, byte [0x14013f65f]
add rsp, 0x28
ret
mov qword [rsp + 0x30], rbx
mov ecx, 0xa0
mov qword [rsp + 0x20], rdi
xor bl, bl
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov edi, 0x8000
test di, ax
mov eax, reloc.WSOCK32.dll_recv
movzx ebx, bl
mov ecx, 0xa1
cmovne ebx, eax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test di, ax
je 0x1400231fb
or bl, 0x20
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test di, ax
je 0x14002320e
or bl, 1
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test di, ax
je 0x140023221
or bl, 2
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test di, ax
je 0x140023234
or bl, 4
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test di, ax
je 0x140023247
or bl, 8
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test di, ax
je 0x14002325a
or bl, 0x40
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test di, ax
mov rdi, qword [rsp + 0x20]
je 0x140023272
or bl, 0x80
cmp qword [0x14013f848], 0
je 0x1400232b7
movzx ecx, byte [0x14013f65f]
movzx eax, bl
not al
and al, cl
je 0x1400232b7
movzx edx, byte [0x14013f6f3]
not al
and byte [0x14013f6f2], al
and cl, al
and dl, al
mov byte [0x14013f65f], cl
lea rcx, [0x14013f740]
mov byte [0x14013f6f3], dl
call fcn.1400232d0
movzx eax, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
Function at 0x140023710
Capabilities:
Get keyboard layout

Disassembly:
push rbx
sub rsp, 0x70
xor ebx, ebx
test rcx, rcx
je 0x140023754
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x48
mov ecx, eax
mov ebx, eax
call qword [sym.imp.USER32.dll_GetGUIThreadInfo]
test eax, eax
je 0x140023754
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140023754
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
add rsp, 0x70
pop rbx
ret

Function at 0x140023770
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x2c0
xor edx, edx
mov rbp, rcx
xor edi, edi
call qword [sym.imp.USER32.dll_ActivateKeyboardLayout]
mov rsi, rax
test rax, rax
je 0x1400238cc
mov edx, edi
lea rcx, str.SYSTEMCurrentControlSetControlKeyboard_Layouts_
nop dword [rax]
movzx eax, word [rdx + rcx]
add rdx, 2
mov word [rsp + rdx + 0x2e], ax
test ax, ax
jne 0x1400237a0
lea rcx, [rsp + 0x94]
call qword [sym.imp.USER32.dll_GetKeyboardLayoutNameW]
test eax, eax
je 0x1400238bc
lea rax, [rsp + 0x2f0]
lea rdx, [rsp + 0x30]
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400238bc
mov rcx, qword [rsp + 0x2f0]
lea rax, [rsp + 0x2e8]
lea rdx, str.Layout_File
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xb0]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x2e0], rbx
mov dword [rsp + 0x2e8], 0x208
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x2f0]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov rbx, qword [rsp + 0x2e0]
jne 0x1400238bc
mov ecx, dword [rsp + 0x2e8]
test ecx, ecx
je 0x1400238bc
shr ecx, 1
dec ecx
cmp word [rsp + rcx*2 + 0xb0], di
jne 0x140023895
test ecx, ecx
je 0x1400238bc
nop dword [rax]
lea edx, [rcx - 1]
cmp word [rsp + rdx*2 + 0xb0], di
jne 0x1400238a7
mov ecx, edx
test edx, edx
jne 0x140023880
jmp 0x1400238bc
inc ecx
cmp ecx, 0x104
jae 0x1400238bc
mov word [rsp + rcx*2 + 0xb0], di
test ecx, ecx
je 0x1400238bc
lea rcx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
cmp rbp, rsi
je 0x1400238cc
xor edx, edx
mov rcx, rsi
call qword [sym.imp.USER32.dll_ActivateKeyboardLayout]
mov rax, rdi
add rsp, 0x2c0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140023b60
Capabilities:
Get keyboard layout

Disassembly:
push rbx
push rsi
sub rsp, 0x158
movzx esi, cl
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
lea edx, [rsi - 0x41]
mov rbx, rax
cmp dl, 0x19
ja 0x140023cdd
mov qword [rsp + 0x150], rbp
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x100
mov qword [rsp + 0x148], rdi
mov qword [rsp + 0x140], r12
call sub.MSVCR100.dll_memset
xor edi, edi
mov qword [rsp + 0x30], rbx
lea r9, [rsp + 0x180]
lea r8, [rsp + 0x40]
lea ecx, [rdi + 0x6e]
xor edx, edx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 2
call qword [sym.imp.USER32.dll_ToUnicodeEx]
mov qword [rsp + 0x30], rbx
movzx ebp, di
cmp eax, 2
lea r9, [rsp + 0x180]
lea r8, [rsp + 0x40]
cmove bp, word [rsp + 0x180]
movzx ecx, sil
xor edx, edx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 2
call qword [sym.imp.USER32.dll_ToUnicodeEx]
mov r12d, eax
test eax, eax
jns 0x140023c42
mov qword [rsp + 0x30], rbx
lea r9, [rsp + 0x178]
lea r8, [rsp + 0x40]
lea ecx, [rdi + 0x6e]
xor edx, edx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 2
call qword [sym.imp.USER32.dll_ToUnicodeEx]
test bp, bp
je 0x140023cab
cmp bp, 0xa
jne 0x140023c52
mov sil, ntohs
jmp 0x140023c6f
lea rdx, [rsp + 0x170]
mov r9b, 1
mov r8, rbx
movzx ecx, bp
call fcn.140023f80
movzx esi, al
test al, al
je 0x140023cab
movzx edx, byte [rsp + 0x170]
lea rcx, [rsp + 0x40]
call fcn.1400232d0
mov qword [rsp + 0x30], rbx
lea r9, [rsp + 0x178]
lea r8, [rsp + 0x40]
movzx ecx, sil
xor edx, edx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 2
call qword [sym.imp.USER32.dll_ToUnicodeEx]
mov rbp, qword [rsp + 0x150]
test r12d, r12d
mov r12, qword [rsp + 0x140]
je 0x140023cc8
movzx edi, word [rsp + 0x180]
movzx eax, di
mov rdi, qword [rsp + 0x148]
add rsp, 0x158
pop rsi
pop rbx
ret
movzx ecx, sil
mov r8, rax
mov edx, 2
call qword [sym.imp.USER32.dll_MapVirtualKeyExW]
add rsp, 0x158
pop rsi
pop rbx
ret
Function at 0x140023e00
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push r12
sub rsp, 0x38
movzx eax, word [rcx]
mov r10, r9
movzx r12d, r8b
mov rbp, rcx
test ax, ax
jne 0x140023e22
add rsp, 0x38
pop r12
pop rbp
ret
cmp word [rcx + 2], 0
jne 0x140023e4e
cmp ax, 0xa
jne 0x140023e39
mov al, 0xd
add rsp, 0x38
pop r12
pop rbp
ret
mov r9b, 1
mov r8, r10
movzx ecx, ax
add rsp, 0x38
pop r12
pop rbp
jmp fcn.140023f80
mov qword [rsp + 0x58], rbx
movzx ebx, ax
test ebx, 0xffffff80
jne 0x140023e72
mov edx, 2
mov ecx, ebx
call qword [sym.imp.MSVCR100.dll__isctype]
test eax, eax
je 0x140023e72
and ebx, 0xffffffdf
mov qword [rsp + 0x30], rdi
cmp bx, 0x56
jne 0x140023edd
movzx ecx, word [rbp + 2]
call fcn.140016bd0
cmp ax, 0x4b
jne 0x140023edd
lea rcx, [rbp + 4]
lea rdx, [rsp + 0x50]
mov r8d, reloc.WSOCK32.dll_recv
call qword [sym.imp.MSVCR100.dll_wcstol]
mov rcx, qword [rsp + 0x50]
cmp word [rcx], 0
je 0x140023ec4
mov rbx, qword [rsp + 0x58]
xor edi, edi
movzx eax, dil
mov rdi, qword [rsp + 0x30]
add rsp, 0x38
pop r12
pop rbp
ret
mov rbx, qword [rsp + 0x58]
movzx edi, al
movzx eax, dil
mov rdi, qword [rsp + 0x30]
add rsp, 0x38
pop r12
pop rbp
ret
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
lea r14, str.Numpad0
xor edi, edi
lea r13, str.NumpadEnter
mov rbx, r14
mov esi, edi
mov rcx, qword [rbx]
mov rdx, rbp
call qword [sym.imp.MSVCR100.dll__wcsicmp]
test eax, eax
je 0x140023f43
add rbx, 0x10
inc esi
cmp rbx, r13
jl 0x140023f01
test r12b, r12b
je 0x140023f25
xor al, al
jmp 0x140023f50
mov rcx, rbp
call fcn.140023d00
test ax, ax
je 0x140023f3d
movzx ecx, ax
call fcn.140024860
movzx edi, al
movzx eax, dil
jmp 0x140023f50
movsxd rax, esi
shl rax, 4
movzx eax, byte [rax + r14 + 8]
mov r13, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x58]
add rsp, 0x38
pop r12
pop rbp
ret
Function at 0x140023f80
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdx, r8
movzx edi, r9b
movzx ebp, cx
call qword [sym.imp.USER32.dll_VkKeyScanExW]
movsx rsi, ax
mov rdx, rsi
shr rdx, 8
cmp dl, 0xff
jne 0x140023ffb
cmp sil, 0xff
jne 0x140023ffb
test dil, dil
je 0x140024013
movzx edi, bp
test edi, 0xffffff80
jne 0x140024013
mov edx, 0x103
mov ecx, edi
call qword [sym.imp.MSVCR100.dll__isctype]
test eax, eax
je 0x140024013
movzx ecx, bp
call fcn.140016bd0
mov edx, 1
mov ecx, edi
movzx esi, al
call qword [sym.imp.MSVCR100.dll__isctype]
test eax, eax
setne dl
test dl, 0x38
jne 0x140024013
test rbx, rbx
je 0x140024047
movzx eax, dl
and al, 6
cmp al, 6
jne 0x140024017
or byte [rbx], 8
jmp 0x140024037
xor al, al
jmp 0x14002404b
test dl, 2
je 0x140024027
movzx eax, byte [rbx]
test al, 3
jne 0x140024027
or al, 1
mov byte [rbx], al
test dl, 4
je 0x140024037
movzx eax, byte [rbx]
test al, 0xc
jne 0x140024037
or al, 4
mov byte [rbx], al
test dl, 1
je 0x140024047
movzx eax, byte [rbx]
test al, 0x30
jne 0x140024047
or al, 0x10
mov byte [rbx], al
movzx eax, sil
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400244f0
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movzx edi, cl
movzx ebx, dl
lea rsi, [0x140000000]
lea eax, [rdi - 0x13]
cmp eax, 0x92
ja case.0x14002452e.45
cdqe
movzx eax, byte [rsi + rax + 0x24700]
mov ecx, dword [rsi + rax*4 + 0x24694]
add rcx, rsi
jmp rcx
mov eax, 0x2a
jmp 0x1400245f9
mov eax, 0x136
jmp 0x1400245f9
mov eax, 0x1d
jmp 0x1400245f9
mov eax, 0x11d
jmp 0x1400245f9
mov eax, reloc.WSOCK32.dll_getservbyport
jmp 0x1400245f9
mov eax, 0x138
jmp 0x1400245f9
mov eax, 0x15b
jmp 0x1400245f9
mov eax, 0x15c
jmp 0x1400245f9
mov eax, 0x45
jmp 0x1400245f9
mov eax, 0x52
jmp 0x1400245f9
mov eax, 0x4f
jmp 0x1400245f9
mov eax, 0x50
jmp 0x1400245f9
mov eax, 0x51
jmp 0x1400245f9
mov eax, 0x4b
jmp 0x1400245f9
mov eax, 0x4c
jmp 0x1400245f9
mov eax, 0x4d
jmp 0x1400245f9
mov eax, 0x47
jmp 0x1400245f9
mov eax, 0x48
jmp 0x1400245f9
mov eax, 0x49
jmp 0x1400245f9
mov eax, 0x53
jmp 0x1400245f9
mov eax, 0x145
jmp 0x1400245f9
mov eax, 0x135
jmp 0x1400245f9
mov eax, reloc.WSOCK32.dll_getservbyname
jmp 0x1400245f9
mov eax, 0x4a
jmp 0x1400245f9
mov eax, 0x4e
jmp 0x1400245f9
mov eax, 0x137
test bl, bl
jne 0x14002464f
movzx eax, ax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov ecx, edi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r11d, eax
test ax, ax
je 0x14002464f
lea eax, [rdi - 3]
cmp eax, 0xb4
ja case.0x140024640.5
cdqe
movzx eax, byte [rsi + rax + 0x247a0]
mov ecx, dword [rsi + rax*4 + 0x24794]
add rcx, rsi
jmp rcx
mov ecx, 0x100
or r11w, cx
test bl, bl
je 0x140024680
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx eax, r11w
test bl, bl
je 0x140024684
mov ecx, 0x100
or eax, ecx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx eax, r11w
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140024860
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x20
movzx ebx, cx
mov r8d, ebx
mov eax, ebx
cmp ebx, 0x11c
jg 0x140024946
cmp eax, 0x11c
je 0x14002493e
sub eax, 0x1d
cmp eax, 0x36
ja case.0x14002496b.286
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x24a38]
mov ecx, dword [rdx + rax*4 + 0x249ec]
add rcx, rdx
jmp rcx
mov al, 0xa0
add rsp, 0x20
pop rbx
ret
mov al, 0xa2
add rsp, 0x20
pop rbx
ret
mov al, 0xa4
add rsp, 0x20
pop rbx
ret
mov al, 0x6a
add rsp, 0x20
pop rbx
ret
mov al, 0x6d
add rsp, 0x20
pop rbx
ret
mov al, 0x6b
add rsp, 0x20
pop rbx
ret
mov al, 0x2e
add rsp, 0x20
pop rbx
ret
mov al, reloc.WSOCK32.dll_ioctlsocket
add rsp, 0x20
pop rbx
ret
mov al, 0x2d
add rsp, 0x20
pop rbx
ret
mov al, 0x26
add rsp, 0x20
pop rbx
ret
mov al, 0x28
add rsp, 0x20
pop rbx
ret
mov al, 0x25
add rsp, 0x20
pop rbx
ret
mov al, 0x27
add rsp, 0x20
pop rbx
ret
mov al, 0x24
add rsp, 0x20
pop rbx
ret
mov al, reloc.OLEAUT32.dll_SafeArrayAllocDescriptor
add rsp, 0x20
pop rbx
ret
mov al, 0x21
add rsp, 0x20
pop rbx
ret
mov al, SafeArrayAllocDescriptor
add rsp, 0x20
pop rbx
ret
mov al, reloc.WSOCK32.dll_send
add rsp, 0x20
pop rbx
ret
mov al, 0xd
add rsp, 0x20
pop rbx
ret
sub eax, 0x11d
cmp eax, 0x40
ja case.0x14002496b.286
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x24a98]
mov ecx, dword [rdx + rax*4 + 0x24a70]
add rcx, rdx
jmp rcx
mov al, 0xa1
add rsp, 0x20
pop rbx
ret
mov al, 0xa3
add rsp, 0x20
pop rbx
ret
mov al, 0xa5
add rsp, 0x20
pop rbx
ret
mov al, 0x5b
add rsp, 0x20
pop rbx
ret
mov al, 0x5c
add rsp, 0x20
pop rbx
ret
mov al, 0x90
add rsp, 0x20
pop rbx
ret
mov al, reloc.WSOCK32.dll_WSAGetLastError
add rsp, 0x20
pop rbx
ret
mov al, 0x5d
add rsp, 0x20
pop rbx
ret
mov al, 0x2c
add rsp, 0x20
pop rbx
ret
mov eax, 0x100
test ax, bx
je 0x1400249d8
movzx ecx, r8b
mov edx, 1
or ecx, 0xe000
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
test eax, eax
jne 0x1400249e6
movzx ecx, bl
mov edx, 1
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
add rsp, 0x20
pop rbx
ret
Function at 0x1400265d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
mov r9d, ecx
mov r11d, r8d
mov r10, rdx
lea rdi, [0x140118b60]
not r9d
cmp r8d, 8
jb 0x1400266d1
mov qword [rsp + 0x10], rbx
mov ebx, r11d
shr rbx, 3
nop dword [rax + rax]
movzx ecx, byte [r10]
mov eax, r9d
shr r9d, 8
xor rcx, rax
add r10, 8
add r11d, 0xfffffff8
movzx eax, cl
movzx ecx, byte [r10 - 7]
mov edx, dword [rdi + rax*4]
xor edx, r9d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 6]
mov r8d, dword [rdi + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 5]
mov edx, dword [rdi + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 4]
mov r8d, dword [rdi + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 3]
mov edx, dword [rdi + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 2]
mov r8d, dword [rdi + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 1]
mov edx, dword [rdi + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
mov r9d, dword [rdi + rax*4]
xor r9d, edx
dec rbx
jne 0x140026600
mov rbx, qword [rsp + 0x10]
test r11d, r11d
je 0x1400266ff
nop word [rax + rax]
movzx ecx, byte [r10]
mov eax, r9d
inc r10
xor rcx, rax
shr eax, 8
movzx edx, cl
mov r9d, dword [rdi + rdx*4]
xor r9d, eax
dec r11d
jne 0x1400266e0
not r9d
mov eax, r9d
pop rdi
ret

Function at 0x140026b10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
test byte [rcx], 1
mov esi, r8d
mov r10, rdx
mov rdi, rcx
jne 0x140026b79
mov rcx, qword [rcx + 8]
lea r9, [rsp + 0x40]
xor ebx, ebx
mov r8d, esi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140026b63
mov dword [rdi + 0x10], 7
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov ebx, dword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rcx + 0x20]
lea rax, [rcx + rsi]
cmp rax, qword [rdi + 0x18]
jbe 0x140026b8c
mov esi, dword [rdi + 0x18]
sub esi, ecx
mov rax, qword [rdi + 8]
mov r8d, esi
mov ebx, esi
lea rdx, [rcx + rax]
mov rcx, r10
call sub.MSVCR100.dll_memcpy
add qword [rdi + 0x20], rbx
mov rbx, qword [rsp + 0x48]
mov eax, esi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140026bc0
Capabilities:
Read file on windows

Disassembly:
push rdi
sub rsp, 0x40
cmp dword [rcx + 0x10], 0
mov rdi, rcx
jne 0x140026c7b
test byte [rcx], 1
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x30], rsi
mov esi, 2
jne 0x140026c18
mov rcx, qword [rcx + 8]
lea r9, [rsp + 0x58]
lea rdx, [rsp + 0x50]
xor ebx, ebx
mov r8d, esi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140026c12
mov dword [rdi + 0x10], 7
jmp 0x140026c56
mov ebx, dword [rsp + 0x58]
jmp 0x140026c56
mov qword [rsp + 0x38], rbp
mov rbp, qword [rcx + 0x20]
lea rax, [rbp + 2]
cmp rax, qword [rcx + 0x18]
jbe 0x140026c30
mov esi, dword [rcx + 0x18]
sub esi, ebp
mov rax, qword [rcx + 8]
lea rcx, [rsp + 0x50]
mov r8d, esi
lea rdx, [rax + rbp]
mov ebx, esi
call sub.MSVCR100.dll_memcpy
lea r11, [rbx + rbp]
mov rbp, qword [rsp + 0x38]
mov qword [rdi + 0x20], r11
mov ebx, esi
mov rsi, qword [rsp + 0x30]
test ebx, ebx
mov rbx, qword [rsp + 0x60]
je 0x140026c7b
movzx eax, byte [rsp + 0x51]
movzx ecx, byte [rsp + 0x50]
shl ax, 8
or ax, cx
add rsp, 0x40
pop rdi
ret
movzx eax, word [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140026c90
Capabilities:
Read file on windows

Disassembly:
push rbx
push rdi
sub rsp, 0x38
xor ebx, ebx
mov rdi, rcx
mov dword [rsp + 0x50], ebx
cmp dword [rcx + 0x10], ebx
jne 0x140026d60
test byte [rcx], 1
mov qword [rsp + 0x30], rsi
lea esi, [rbx + 4]
jne 0x140026ce5
mov rcx, qword [rcx + 8]
lea r9, [rsp + 0x58]
lea rdx, [rsp + 0x50]
mov r8d, esi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140026cdf
mov dword [rdi + 0x10], 7
jmp 0x140026d22
mov ebx, dword [rsp + 0x58]
jmp 0x140026d22
mov qword [rsp + 0x60], rbp
mov rbp, qword [rcx + 0x20]
lea rax, [rbp + 4]
cmp rax, qword [rcx + 0x18]
jbe 0x140026cfd
mov esi, dword [rcx + 0x18]
sub esi, ebp
mov rdx, qword [rcx + 8]
lea rcx, [rsp + 0x50]
mov r8d, esi
add rdx, rbp
mov ebx, esi
call sub.MSVCR100.dll_memcpy
lea r11, [rbx + rbp]
mov rbp, qword [rsp + 0x60]
mov qword [rdi + 0x20], r11
mov ebx, esi
mov rsi, qword [rsp + 0x30]
test ebx, ebx
je 0x140026d55
movzx ecx, byte [rsp + 0x52]
movzx eax, byte [rsp + 0x53]
shl eax, 8
or eax, ecx
movzx ecx, byte [rsp + 0x51]
shl eax, 8
or eax, ecx
movzx ecx, byte [rsp + 0x50]
shl eax, 8
or eax, ecx
add rsp, 0x38
pop rdi
pop rbx
ret
mov eax, dword [rsp + 0x50]
add rsp, 0x38
pop rdi
pop rbx
ret
mov eax, ebx
add rsp, 0x38
pop rdi
pop rbx
ret
Function at 0x140026d70
Capabilities:
Read file on windows

Disassembly:
push rbx
push rdi
sub rsp, 0x38
xor ebx, ebx
mov rdi, rcx
mov qword [rsp + 0x58], rbx
cmp dword [rcx + 0x10], ebx
jne 0x140026e78
test byte [rcx], 1
mov qword [rsp + 0x30], rsi
lea esi, [rbx + 8]
jne 0x140026dc6
mov rcx, qword [rcx + 8]
lea r9, [rsp + 0x50]
lea rdx, [rsp + 0x58]
mov r8d, esi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140026dc0
mov dword [rdi + 0x10], 7
jmp 0x140026e03
mov ebx, dword [rsp + 0x50]
jmp 0x140026e03
mov qword [rsp + 0x60], rbp
mov rbp, qword [rcx + 0x20]
lea rax, [rbp + 8]
cmp rax, qword [rcx + 0x18]
jbe 0x140026dde
mov esi, dword [rcx + 0x18]
sub esi, ebp
mov rdx, qword [rcx + 8]
lea rcx, [rsp + 0x58]
mov r8d, esi
add rdx, rbp
mov ebx, esi
call sub.MSVCR100.dll_memcpy
lea r11, [rbx + rbp]
mov rbp, qword [rsp + 0x60]
mov qword [rdi + 0x20], r11
mov ebx, esi
mov rsi, qword [rsp + 0x30]
test ebx, ebx
je 0x140026e6c
movzx eax, byte [rsp + 0x5e]
movzx ecx, byte [rsp + 0x5a]
movzx edx, byte [rsp + 0x5f]
shl rdx, 8
or rdx, rax
movzx eax, byte [rsp + 0x5d]
shl rdx, 8
or rdx, rax
movzx eax, byte [rsp + 0x5c]
shl rdx, 8
or rdx, rax
movzx eax, byte [rsp + 0x5b]
shl rdx, 8
or rax, rdx
shl rax, 8
or rax, rcx
movzx ecx, byte [rsp + 0x59]
shl rax, 8
or rax, rcx
movzx ecx, byte [rsp + 0x58]
shl rax, 8
or rax, rcx
add rsp, 0x38
pop rdi
pop rbx
ret
mov rax, qword [rsp + 0x58]
add rsp, 0x38
pop rdi
pop rbx
ret
mov rax, rbx
add rsp, 0x38
pop rdi
pop rbx
ret
Function at 0x140028030
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
cmp byte [rcx], 0
mov edi, edx
mov rbx, rcx
mov dword [rsp + 0x20], reloc.OLEAUT32.dll_SafeArrayGetElement
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x30], 1
mov rsi, rcx
je 0x14002806f
cmp byte [rcx + 1], 0x3a
jne 0x14002806f
add rbx, 2
cmp byte [rbx], 0x5c
jne 0x140028077
inc rbx
movzx eax, byte [rbx]
test al, al
je 0x1400280c7
nop
cmp al, 0x5c
je 0x1400280dc
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140028080
xor ebx, ebx
test edi, edi
je 0x1400280c7
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x1400280b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400280e6
test rbx, rbx
je 0x1400280c7
mov byte [rbx], 0x5c
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140028080
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
test rbx, rbx
je 0x140028091
mov byte [rbx], 0
jmp 0x140028095
test rbx, rbx
je 0x1400280ee
mov byte [rbx], 0x5c
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
xor eax, eax
add rsp, 0x40
pop rdi
ret

Function at 0x140028100
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
xor ebp, ebp
mov edi, edx
mov rbx, rcx
mov dword [rsp + 0x20], reloc.OLEAUT32.dll_SafeArrayGetElement
mov dword [rsp + 0x30], 1
mov rsi, rcx
mov qword [rsp + 0x28], rbp
cmp word [rcx], bp
je 0x140028143
cmp word [rcx + 2], 0x3a
jne 0x140028143
add rbx, 4
cmp word [rbx], 0x5c
jne 0x14002814d
add rbx, 2
movzx eax, word [rbx]
mov qword [rsp + 0x50], r12
test ax, ax
je 0x1400281af
mov r12d, 0x5c
cmp ax, r12w
je 0x1400281ce
movzx eax, word [rbx + 2]
add rbx, 2
test ax, ax
jne 0x140028160
mov rbx, rbp
test edi, edi
je 0x1400281af
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140028199
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400281d8
test rbx, rbx
je 0x1400281af
mov word [rbx], r12w
movzx eax, word [rbx + 2]
add rbx, 2
test ax, ax
jne 0x140028160
mov eax, 1
mov r12, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
test rbx, rbx
je 0x140028176
mov word [rbx], bp
jmp 0x14002817a
test rbx, rbx
je 0x1400281e1
mov word [rbx], r12w
xor eax, eax
jmp 0x1400281b4