joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18007c970
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
jmp 0x18007c9dd
cmp ecx, 0x29
jne 0x18007c9f2
cmp dword [rbx + 0x1c], 0
jne 0x18007c9e7
test dword [rbx + 0x80], 0x10000000
je 0x18007cb12
cmp ecx, 0x5d
jne 0x18007c9b4
test dword [rbx + 0x80], 0x10000000
je 0x18007cb04
mov dl, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.18007bfec
mov dil, 1
mov rcx, rbx
call fcn.18007eec0
test dil, dil
je 0x18007c9d8
mov rcx, rbx
call fcn.18007ef34
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
je 0x18007c9e7
cmp ecx, 0x7c
jne 0x18007c984
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp ecx, 0x2e
jne 0x18007ca0f
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.18007ee68
mov rcx, rbx
call fcn.18007eec0
jmp 0x18007c9d0
cmp ecx, 0x5c
jne 0x18007ca6d
mov rcx, rbx
call fcn.18007eec0
test byte [rbx + 0x80], 0x80
je 0x18007ca60
mov al, byte [rbx + 0x78]
cmp al, 0x62
jne 0x18007ca44
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.18007ee68
mov rcx, rbx
call fcn.18007eec0
jmp 0x18007c9d8
cmp al, 0x42
jne 0x18007ca60
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.18007ee68
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x18007ca3a
mov rcx, rbx
call fcn.18007cb30
jmp 0x18007c9d0
cmp ecx, 0x5b
jne 0x18007ca8d
mov rcx, rbx
call fcn.18007eec0
mov rcx, rbx
call fcn.18007d2a0
cmp dword [rbx + 0x7c], 0x5d
jne 0x18007cb04
jmp 0x18007ca05
cmp ecx, 0x28
jne 0x18007cab0
mov rcx, rbx
call fcn.18007eec0
mov rcx, rbx
call fcn.18007f460
cmp dword [rbx + 0x7c], 0x29
mov dil, al
jne 0x18007cb12
jmp 0x18007c9c3
cmp ecx, 0x5e
jne 0x18007cabd
lea edx, [rcx - 0x5c]
jmp 0x18007ca31
cmp ecx, 0x24
jne 0x18007caca
lea edx, [rcx - 0x21]
jmp 0x18007ca31
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x18007caf6
cmp ecx, 0x3f
je 0x18007caf6
cmp ecx, 0x7b
je 0x18007caf6
cmp ecx, 0x7d
jne 0x18007c99f
test dword [rbx + 0x80], 0x10000000
je 0x18007cb20
jmp 0x18007c9b4
mov edx, 0xa
mov rcx, rbx
call fcn.18007e34c
int3
mov edx, 4
mov rcx, rbx
call fcn.18007e34c
int3
mov edx, 5
mov rcx, rbx
call fcn.18007e34c
int3
mov edx, 6
mov rcx, rbx
call fcn.18007e34c
int3

Function at 0x18007f5d4
Capabilities:
Encode data using xor

Disassembly:
sub r8, rdx
mov rcx, rdx
mov rdx, r8
jmp fcn.1800104bc
Function at 0x180080b2c
Capabilities:
Contain obfuscated stackstrings
Encode data using base64

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x57]
sub rsp, 0xe0
mov r15, r9
mov ebx, r8d
mov r14, rdx
xor esi, esi
lea ecx, [rbx*2 + 1]
call fcn.180095794
mov rdi, rax
mov rcx, rax
mov r10, r14
mov byte [rsp + 0x20], 0x3d
mov byte [rbp - 0x80], 0x3e
mov byte [rbp - 0x7f], 0x3f
mov byte [rbp - 0x7e], 0x40
mov byte [rbp - 0x7d], 0x41
mov byte [rbp - 0x7c], 0x42
mov byte [rbp - 0x7b], 0x43
mov byte [rbp - 0x7a], 0x44
mov byte [rbp - 0x79], 0x45
mov byte [rbp - 0x78], 0x46
mov byte [rbp - 0x77], 0x4e
mov byte [rbp - 0x76], 0x4f
mov byte [rbp - 0x75], 0x50
mov byte [rbp - 0x74], 0x51
mov byte [rbp - 0x73], 0x52
mov byte [rbp - 0x72], 0x53
mov byte [rbp - 0x71], sil
mov al, byte [rsp + 0x20]
xor edx, edx
mov al, byte [rsp + rdx + 0x20]
sub al, 0xd
mov byte [rsp + rdx + 0x20], al
inc rdx
cmp rdx, 0x10
jb 0x180080bb6
test ebx, ebx
je 0x180080bf9
mov rdx, rbx
movzx eax, byte [r10]
shr rax, 4
mov al, byte [rsp + rax + 0x20]
mov byte [rcx], al
movzx eax, byte [r10]
and eax, 0xf
mov al, byte [rsp + rax + 0x20]
mov byte [rcx + 1], al
add rcx, 2
inc r10
sub rdx, 1
jne 0x180080bd0
mov byte [rcx], sil
mov r8d, 0x700
mov rdx, r15
lea rcx, [rbp + 0xf]
call fcn.180077de4
nop
and qword [rbp - 0x61], 0
mov byte [rbp - 0x59], 0
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x51], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x41], xmm1
and qword [rbp - 0x31], 0
mov byte [rbp - 0x29], 0
movdqa xmmword [rbp - 0x21], xmm0
mov byte [rbp - 0x11], 0
and qword [rbp - 9], 0
and qword [rbp - 1], 0
mov byte [rbp + 7], 0
xor r9d, r9d
lea r8, [rbp + 0xf]
lea rdx, [rbp - 0x61]
mov rcx, rdi
call fcn.180077720
movabs rbx, 0x2aaaaaaaaaaaaaab
test al, al
je 0x180080cd2
mov rcx, qword [rbp - 0x49]
mov r8, qword [rbp - 0x51]
sub rcx, r8
mov rax, rbx
imul rcx
mov rcx, rdx
sar rcx, 2
mov rax, rcx
shr rax, 0x3f
add rcx, rax
lea rax, [rbp - 9]
cmovne rax, r8
mov rax, qword [rax]
sub rax, qword [rbp - 0x61]
cqo
sub rax, rdx
sar rax, 1
lea rsi, [r14 + rax]
lea rax, [rbp - 9]
test rcx, rcx
cmovne rax, r8
sub rcx, qword [rbp - 0x61]
add rcx, qword [rax]
add rcx, rdi
xor r9d, r9d
lea r8, [rbp + 0xf]
lea rdx, [rbp - 0x61]
call fcn.180077720
movsxd rax, dword [rbp + 0x7f]
add rsi, rax
mov rcx, rdi
call fcn.180095310
nop
mov r8, qword [rbp - 0x51]
test r8, r8
je 0x180080d31
mov rcx, qword [rbp - 0x41]
sub rcx, r8
mov rax, rbx
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 3
mov rax, r8
cmp rdx, 0x1000
jb 0x180080d28
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180080d5a
mov rcx, r8
call fcn.180095310
nop
lea rcx, [rbp + 0xf]
call fcn.1800783d0
mov rax, rsi
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.180099730
nop
Function at 0x180080d60
Capabilities:
Parse pe header
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x230
mov r15, r9
mov r12, r8
mov rbx, rdx
xor esi, esi
call fcn.180080920
mov r14, rax
test rax, rax
je 0x180080eb5
test rbx, rbx
jne 0x180080da5
xor ecx, ecx
jmp 0x180080db1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
mov r8d, 0x104
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [0x1800ac36c]
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll__wfopen
xor edx, edx
mov rcx, rax
mov rdi, rax
lea r8d, [rdx + 2]
call sub.msvcrt.dll_fseek
mov rcx, rdi
call sub.msvcrt.dll_ftell
xor r8d, r8d
movsxd rbx, eax
xor edx, edx
mov rcx, rdi
call sub.msvcrt.dll_fseek
mov rcx, rbx
call fcn.180095794
mov r9, rdi
mov r8d, 1
mov rdx, rbx
mov rcx, rax
mov rbp, rax
call sub.msvcrt.dll_fread
mov rcx, rdi
call sub.msvcrt.dll_fclose
mov eax, 0x5a4d
cmp word [rbp], ax
jne 0x180080ead
movsxd rcx, dword [rbp + 0x3c]
add rcx, rbp
cmp dword [rcx], 0x4550
jne 0x180080ead
movzx r8d, word [rcx + 0x14]
mov edx, esi
movzx ebx, word [rcx + 6]
add r8, rcx
test ebx, ebx
je 0x180080ead
movsxd rax, edx
lea r11, [r8 + 0x18]
lea r9, [rax + rax*4]
mov rax, r12
lea r11, [r11 + r9*8]
sub r11, r12
movzx ecx, byte [rax]
movzx r10d, byte [rax + r11]
sub ecx, r10d
jne 0x180080e79
inc rax
test r10d, r10d
jne 0x180080e64
test ecx, ecx
je 0x180080e85
inc edx
cmp edx, ebx
jl 0x180080e4f
jmp 0x180080ead
mov eax, dword [r8 + r9*8 + 0x24]
mov sil, 1
add rax, r14
mov qword [r15], rax
mov ecx, dword [r8 + r9*8 + 0x28]
cmp ecx, dword [r8 + r9*8 + 0x20]
mov rax, qword [rsp + 0x270]
cmovbe ecx, dword [r8 + r9*8 + 0x20]
mov dword [rax], ecx
mov rcx, rbp
call fcn.180095310
lea r11, [rsp + 0x230]
mov al, sil
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret

Function at 0x180080edc
Capabilities:
Allocate or change rwx memory

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x30
and dword [rax + 0x18], 0
lea r9, [rax + 0x18]
mov rsi, r8
mov rbx, rdx
mov rdx, rsi
mov r8d, 0x40
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and qword [rsp + 0x20], 0
mov r9, rsi
mov rcx, rax
mov r8, rbx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r8d, dword [rsp + 0x50]
lea r9, [rsp + 0x50]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x18008186c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rbx, rdx
mov rdi, rcx
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], 0
jne 0x180081890
cmp rax, 0x100
jae 0x180081947
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x230
call fcn.180097230
mov r8, rbx
mov qword [rsp + 0x38], rdi
mov edx, 0x100
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_strcpy_s
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x30], 1
call fcn.180081b8c
test eax, eax
je 0x180081947
mov edx, dword [rsp + 0x40]
lea r9, [rbp + 0x180]
and dword [rbp + 0x180], 0
mov r8d, 0x40
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ebx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x50]
mov rcx, rax
mov r9d, ebx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov edx, dword [rsp + 0x40]
lea r9, [rbp + 0x180]
mov r8d, dword [rbp + 0x180]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [rsp + 0x40]
jmp 0x180081949
xor eax, eax
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret

Function at 0x180081b14
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, qword [rdx]
mov r10, r9
mov r9d, dword [rsp + 0x28]
movsxd r8, r8d
inc r9d
mov byte [rsp + 0x28], 1
mov rdx, qword [rax + r8*8]
mov r8, r10
jmp fcn.18007b7bc
Function at 0x18008c520
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
movsxd rbp, edx
mov edi, r8d
mov rbx, rcx
mov r8, rbp
xor edx, edx
mov rcx, r9
mov rsi, r9
call fcn.180097230
mov eax, ebp
xor edx, edx
imul eax, edi
movsxd rcx, eax
movzx eax, dil
add rcx, rbx
imul r9d, eax, 0xd
mov r8b, r9b
xor r8b, 0x6e
test ebp, ebp
jle 0x18008c58a
mov al, r8b
xor al, byte [rcx]
mov byte [rsi], al
mov al, r9b
add al, byte [rcx]
inc rsi
add al, dl
inc rcx
add r8b, al
inc edx
cmp edx, ebp
jl 0x18008c56d
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1800920bc
Capabilities:
Encode data using xor

Disassembly:
xorps xmm0, xmm0
movsxd r8, ecx
lea rdx, [0x1800fe150]
lea rax, [0x1801b6d18]
add rdx, r8
mov r9, rax
movups xmmword [0x1801b6d18], xmm0
movups xmmword [0x1801b6d28], xmm0
mov cl, r8b
inc r8d
xor cl, byte [rdx]
inc rdx
xor cl, 0x6e
mov byte [r9], cl
inc r9
test cl, cl
jne 0x1800920e4
ret

Function at 0x180096640
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rbp, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
call fcn.180096fe0
mov rdi, qword [rsp + 0x70]
mov qword [rax + 0x138], rbx
mov rbx, qword [rdi + 8]
call fcn.180096fe0
mov qword [rax + 0x128], rbx
mov rax, qword [rsi]
mov rbx, qword [rax + 0x38]
call fcn.180096fe0
mov ecx, dword [0x1801b7458]
mov r9, rdi
mov byte [rsp + 0x38], 1
mov r8, rbp
mov edx, 0x14
mov qword [rax + 0x130], rbx
xor ebx, ebx
mov rax, qword gs:[0x58]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov rcx, qword [rax + rcx*8]
mov eax, dword [rsp + 0x80]
mov dword [rdx + rcx], eax
mov rdx, r14
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsi]
mov qword [rsp + 0x20], rax
call fcn.1800984c0
call fcn.180096fe0
mov rcx, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov qword [rax + 0x138], rbx
lea eax, [rbx + 1]
mov rbx, qword [rsp + 0x50]
mov dword [rcx], 1
add rsp, 0x40
pop r14
ret
Function at 0x180099770
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x180115980]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1800997ac
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.1800960e4
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call fcn.180097230
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x180099868
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x1800998ce
test ebx, ebx
jne 0x1800998ce
lea ecx, [rax + 2]
call fcn.1800960e4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.180095d80
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
Function at 0x1800a32e0
Capabilities:
Get disk information

Disassembly:
push rbp
sub rsp, 0x250
mov rax, qword [0x180115980]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x1800bfe90]
mov rbp, rcx
call sub.msvcrt.dll_wcspbrk
test rax, rax
je 0x1800a34a1
mov qword [rsp + 0x268], rbx
xor ebx, ebx
mov qword [rsp + 0x270], rsi
mov qword [rsp + 0x278], rdi
call sub.msvcrt.dll__errno
mov esi, dword [rax]
call sub.msvcrt.dll__errno
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], ebx
call sub.msvcrt.dll__wfullpath
mov rdi, rax
test rax, rax
je 0x1800a335f
call sub.msvcrt.dll__errno
mov dword [rax], esi
jmp 0x1800a3390
call sub.msvcrt.dll__errno
cmp dword [rax], 0x22
jne 0x1800a347f
call sub.msvcrt.dll__errno
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], esi
call sub.msvcrt.dll__wfullpath
mov rbx, rax
mov rdi, rax
test rax, rax
je 0x1800a347f
mov rax, 0xffffffffffffffff
mov rcx, rax
nop word [rax + rax]
inc rcx
cmp word [rdi + rcx*2], 0
jne 0x1800a33a0
cmp rcx, 3
je 0x1800a3465
inc rax
cmp word [rdi + rax*2], 0
jne 0x1800a33b4
cmp rax, 5
jb 0x1800a347f
movzx eax, word [rdi]
cmp ax, 0x5c
je 0x1800a33db
cmp ax, 0x2f
jne 0x1800a347f
movzx eax, word [rdi + 2]
cmp ax, 0x5c
je 0x1800a33ef
cmp ax, 0x2f
jne 0x1800a347f
movzx eax, word [rdi + 4]
cmp ax, 0x5c
je 0x1800a347f
cmp ax, 0x2f
je 0x1800a347f
movzx eax, word [rdi + 6]
lea rcx, [rdi + 6]
test ax, ax
je 0x1800a347f
cmp ax, 0x5c
je 0x1800a3429
cmp ax, 0x2f
je 0x1800a3429
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x1800a3410
test ax, ax
je 0x1800a347f
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
je 0x1800a347f
nop dword [rax + rax]
cmp ax, 0x5c
je 0x1800a3459
cmp ax, 0x2f
je 0x1800a3459
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x1800a3440
test ax, ax
je 0x1800a3465
cmp word [rcx + 2], 0
jne 0x1800a347f
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov rcx, rbx
cmp eax, 1
jbe 0x1800a3482
call fcn.180099908
mov al, 1
jmp 0x1800a3489
mov rcx, rbx
call fcn.180099908
xor al, al
mov rsi, qword [rsp + 0x270]
mov rbx, qword [rsp + 0x268]
mov rdi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.180095d80
add rsp, 0x250
pop rbp
ret
Function at 0x1800a3ca0
Capabilities:
Get geographical location

Disassembly:
push rbx
push rbp
push rdi
push r15
sub rsp, 0x538
mov rax, qword [0x180115980]
xor rax, rsp
mov qword [rsp + 0x520], rax
mov r15d, ecx
mov rbp, rdx
mov rcx, qword [0x1801b7a38]
test rcx, rcx
jne 0x1800a3cfb
call fcn.1800a6060
mov rcx, rax
lea rdx, str._create_locale
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov rcx, 0xffffffffffffffff
cmovne rcx, rax
mov qword [0x1801b7a38], rcx
xor ebx, ebx
cmp rcx, 0xffffffffffffffff
mov edi, ebx
cmovne rdi, rcx
test rdi, rdi
je 0x1800a3e45
test rbp, rbp
je 0x1800a3d4e
lea edx, [rbx + 0x2d]
mov rcx, rbp
call sub.msvcrt.dll_strchr
test rax, rax
je 0x1800a3d4e
mov ecx, ebx
lea r8, [rsp + 0x120]
mov rdx, rbp
movsx eax, byte [rdx]
test al, al
je 0x1800a3d5b
mov word [r8], ax
inc ecx
add r8, 2
inc rdx
cmp ecx, 0x100
jne 0x1800a3d32
mov rdx, rbp
mov ecx, r15d
call rdi
jmp 0x1800a3f22
movsxd rax, ecx
add rax, rax
cmp rax, 0x200
jae 0x1800a3f3f
mov edx, 0x2d
mov word [rsp + rax + 0x120], bx
lea rcx, [rsp + 0x120]
call sub.msvcrt.dll_wcsrchr
test rax, rax
je 0x1800a3d4e
mov r9d, 0xff
lea r8, [rsp + 0x320]
mov edx, 0x1001
lea rcx, [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x1800a3d4e
lea ecx, [rax - 1]
mov r9d, 0x100
movsxd rdx, ecx
lea r8, [rsp + 0x320]
sub r9d, eax
mov ecx, 0x5f
cdqe
mov word [rsp + rdx*2 + 0x320], cx
mov edx, 0x1002
lea rcx, [rsp + 0x120]
lea r8, [r8 + rax*2]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x1800a3d4e
lea rax, [rsp + 0x320]
lea rcx, [rsp + 0x20]
movzx edx, word [rax]
test dx, dx
je 0x1800a3e2b
mov byte [rcx], dl
inc ebx
inc rcx
add rax, 2
cmp ebx, 0x100
jne 0x1800a3e03
mov rdx, rbp
mov ecx, r15d
call rdi
jmp 0x1800a3f22
movsxd rax, ebx
lea rbp, [rsp + 0x20]
mov rdx, rbp
mov ecx, r15d
mov byte [rsp + rax + 0x20], 0
call rdi
jmp 0x1800a3f22
cmp r15d, 5
ja 0x1800a3f14
test rbp, rbp
je 0x1800a3f14
call fcn.1800a4080
mov rdi, rax
test rax, rax
je 0x1800a3f1f
mov qword [rsp + 0x570], rsi
mov qword [rsp + 0x530], r14
call fcn.180096fe0
mov rdx, rbp
mov rsi, rax
mov r14d, dword [rax + 0xc8]
mov ecx, r14d
or ecx, 2
mov dword [rax + 0xc8], ecx
mov ecx, r15d
call fcn.1800a41e0
test rax, rax
je 0x1800a3ebf
mov rax, qword [rsi + 0xc0]
mov ecx, dword [rax + 4]
call sub.msvcrt.dll__setmbcp
test eax, eax
jne 0x1800a3ebf
call fcn.1800a4080
mov rbx, rax
mov rcx, qword [rsi + 0xc0]
mov dword [rsi + 0xc8], r14d
mov rax, qword [rdi]
mov r14, qword [rsp + 0x530]
cmp rax, rcx
je 0x1800a3ee7
mov qword [rdi], rcx
mov qword [rsi + 0xc0], rax
mov rax, qword [rdi + 8]
mov rcx, qword [rsi + 0xb8]
cmp rax, rcx
je 0x1800a3f02
mov qword [rdi + 8], rcx
mov qword [rsi + 0xb8], rax
mov rcx, rdi
call fcn.1800a3f50
mov rsi, qword [rsp + 0x570]
jmp 0x1800a3f1f
call sub.msvcrt.dll__errno
mov dword [rax], 0x16
mov rax, rbx
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.180095d80
add rsp, 0x538
pop r15
pop rdi
pop rbp
pop rbx
ret
call fcn.1800964a0
int3
Function at 0x1800a41e0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x530
mov rax, qword [0x180115980]
xor rax, rsp
mov qword [rsp + 0x520], rax
xor ebx, ebx
mov rdi, rdx
mov esi, ecx
test rdx, rdx
je 0x1800a424c
lea edx, [rbx + 0x2d]
mov rcx, rdi
call sub.msvcrt.dll_strchr
test rax, rax
je 0x1800a424c
mov ecx, ebx
lea r8, [rsp + 0x120]
mov rdx, rdi
nop dword [rax]
movsx eax, byte [rdx]
test al, al
je 0x1800a429f
mov word [r8], ax
inc ecx
add r8, 2
inc rdx
cmp ecx, 0x100
jne 0x1800a4230
mov rcx, qword [0x1801b7a48]
test rcx, rcx
jne 0x1800a4282
call fcn.1800a6060
mov rcx, rax
lea rdx, str.setlocale
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov rcx, 0xffffffffffffffff
cmovne rcx, rax
mov qword [0x1801b7a48], rcx
cmp rcx, 0xffffffffffffffff
cmovne rbx, rcx
test rbx, rbx
je 0x1800a4383
mov rdx, rdi
mov ecx, esi
call rbx
jmp 0x1800a4385
movsxd rax, ecx
add rax, rax
cmp rax, 0x200
jae 0x1800a43aa
mov edx, 0x2d
mov word [rsp + rax + 0x120], bx
lea rcx, [rsp + 0x120]
call sub.msvcrt.dll_wcsrchr
test rax, rax
je 0x1800a424c
mov r9d, 0xff
lea r8, [rsp + 0x320]
mov edx, 0x1001
lea rcx, [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x1800a424c
lea ecx, [rax - 1]
mov r9d, 0x100
movsxd rdx, ecx
lea r8, [rsp + 0x320]
sub r9d, eax
mov ecx, 0x5f
cdqe
mov word [rsp + rdx*2 + 0x320], cx
mov edx, 0x1002
lea rcx, [rsp + 0x120]
lea r8, [r8 + rax*2]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x1800a424c
lea rcx, [rsp + 0x320]
mov eax, ebx
lea rdx, [rsp + 0x20]
movzx r8d, word [rcx]
test r8w, r8w
je 0x1800a4373
mov byte [rdx], r8b
inc eax
inc rdx
add rcx, 2
cmp eax, 0x100
jne 0x1800a4351
jmp 0x1800a424c
cdqe
lea rdi, [rsp + 0x20]
mov byte [rsp + rax + 0x20], bl
jmp 0x1800a424c
xor eax, eax
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.180095d80
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1800964a0
int3

Function at 0x1400018e8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001932
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001932
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001932
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001932
cmp dword [rcx + 0x84], 0xe
jbe 0x140001932
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001934
xor al, al
add rsp, 0x28
ret
Function at 0x14003ca00
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14003ca0d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14003ca1d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14003ca05
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14003ca35
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14003ca22
sub eax, 3
jb 0x14003ca4f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14003ca86
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14003ca76
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14003ca74
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14003ca63
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14003c9c2
jmp 0x14003ca0d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x23e00
mov dl, reloc.COMCTL32.dll_InitCommonControls
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14003cad2
cmp rsi, rcx
jae 0x14003cada
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14003cab9
cmp al, 0x8f
ja 0x14003cab9
cmp byte [rsi - 2], 0xf
je 0x14003cabf
sub al, 0xe8
cmp al, 1
ja 0x14003caa3
cmp rsi, rcx
jae 0x14003cada
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14003caa9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14003cada
lodsb al, byte [rsi]
jmp 0x14003cab9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x39000]
mov eax, dword [rdi]
or eax, eax
je 0x14003cb43
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x40e6c]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14003cae7
jns 0x14003cb1c
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14003cb26
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14003cb3d
mov qword [rbx], rax
add rbx, 8
jmp 0x14003cb07
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x18f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14003cb9b
sub rsp, 0xffffffffffffff80
jmp 0x1400242ac