joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011091
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140011890
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x548
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xea
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x568]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x518], rax
lea rcx, [0x1400230f3]
call fcn.140011398
lea rax, [rbp + 0x130]
mov rdi, rax
xor eax, eax
mov ecx, 0x238
rep stosb byte [rdi], al
mov dword [rbp + 0x130], 0x238
xor edx, edx
mov ecx, 2
call fcn.1400111ae
mov qword [rbp + 0x388], rax
cmp qword [rbp + 0x388], 0xffffffffffffffff
jne 0x14001191d
mov eax, 0xffffffff
jmp 0x1400119c6
lea rdx, [rbp + 0x130]
mov rcx, qword [rbp + 0x388]
call fcn.14001123a
test eax, eax
jne 0x14001193e
mov eax, 0xffffffff
jmp 0x1400119c6
mov r9d, 0xff
lea r8, [rbp + 0x15c]
lea rdx, [rbp + 0x10]
xor ecx, ecx
call fcn.1400113f2
mov rdx, qword [rbp + 0x540]
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x140011973
mov eax, dword [rbp + 0x138]
jmp 0x1400119c6
lea rdx, [rbp + 0x130]
mov rcx, qword [rbp + 0x388]
call fcn.140011352
test eax, eax
je 0x1400119c1
mov r9d, 0xff
lea r8, [rbp + 0x15c]
lea rdx, [rbp + 0x10]
xor ecx, ecx
call fcn.1400113f2
mov rdx, qword [rbp + 0x540]
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x1400119bf
mov eax, dword [rbp + 0x138]
jmp 0x1400119c6
jmp 0x140011973
mov eax, 0xffffffff
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ada0]
call fcn.14001132f
mov rax, rdi
mov rcx, qword [rbp + 0x518]
xor rcx, rbp
call fcn.1400111c2
lea rsp, [rbp + 0x528]
pop rdi
pop rbp
ret

Function at 0x14001120d
Capabilities:
Terminate process

Disassembly:
jmp 0x140013250
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001128f
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400145a0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400145c0
xor al, al
jmp 0x140014641
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400145d3
xor al, al
jmp 0x140014641
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400145fd
xor al, al
jmp 0x140014641
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014611
xor al, al
jmp 0x140014641
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014623
xor al, al
jmp 0x140014641
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001463f
xor al, al
jmp 0x140014641
mov al, 1
add rsp, 0x38
ret
Function at 0x1400112c1
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
jmp 0x140011ad0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x450
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0xa4
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x478]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x408], rax
lea rcx, [0x1400230f3]
call fcn.140011398
lea rax, [rbp + 0x138]
lea rcx, str.Testdll.dll
mov rdi, rax
mov rsi, rcx
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x168]
lea rcx, str.explorer.exe
mov rdi, rax
mov rsi, rcx
mov ecx, 0xd
rep movsb byte [rdi], byte [rsi]
lea rcx, [rbp + 0x168]
call fcn.140011091
mov dword [rbp + 0x194], eax
cmp dword [rbp + 0x194], 0xffffffff
jne 0x140011b84
mov eax, 0xffffffff
jmp 0x140011d24
xor r9d, r9d
lea r8, [rbp + 0x10]
mov edx, 0x104
lea rcx, [rbp + 0x138]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov dword [rbp + 0x1b4], eax
cmp dword [rbp + 0x1b4], 0
jne 0x140011bb6
mov eax, 0xffffffff
jmp 0x140011d24
mov r8d, dword [rbp + 0x194]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x1d8], rax
cmp qword [rbp + 0x1d8], 0xffffffffffffffff
jne 0x140011be5
mov eax, 0xffffffff
jmp 0x140011d24
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
cdqe
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8, rax
xor edx, edx
mov rcx, qword [rbp + 0x1d8]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x1f8], rax
cmp qword [rbp + 0x1f8], 0
jne 0x140011c2e
mov eax, 0xffffffff
jmp 0x140011d24
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
cdqe
mov qword [rsp + 0x20], 0
mov r9, rax
lea r8, [rbp + 0x10]
mov rdx, qword [rbp + 0x1f8]
mov rcx, qword [rbp + 0x1d8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rbp + 0x214], eax
cmp dword [rbp + 0x214], 0
jne 0x140011c79
mov eax, 0xffffffff
jmp 0x140011d24
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 0x238], rax
cmp qword [rbp + 0x238], 0xffffffffffffffff
je 0x140011ca1
cmp qword [rbp + 0x238], 0
jne 0x140011ca8
mov eax, 0xffffffff
jmp 0x140011d24
lea rdx, str.LoadLibraryA
mov rcx, qword [rbp + 0x238]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x258], rax
cmp qword [rbp + 0x258], 0
jne 0x140011cd4
mov eax, 0xffffffff
jmp 0x140011d24
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rbp + 0x1f8]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x258]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x1d8]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rbp + 0x278], rax
cmp qword [rbp + 0x278], 0xffffffffffffffff
jne 0x140011d22
mov eax, 0xffffffff
jmp 0x140011d24
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x14001aca0]
call fcn.14001132f
mov rax, rdi
mov rcx, qword [rbp + 0x408]
xor rcx, rbp
call fcn.1400111c2
lea rsp, [rbp + 0x410]
pop rdi
pop rsi
pop rbp
ret
Function at 0x180028800
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x1800b4f08]
mov edi, edx
cmp byte [rbx + 0x1f75], 0
jne 0x180028851
cmp byte [rbx + 0x1f76], 0
jne 0x180028851
mov r9d, dword [rbx + 0x3054]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.18001b640
test dil, 1
je 0x180028976
jmp 0x1800288d9
movss xmm1, dword [rbx + 0x1610]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x3054]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1800a1b68]
mulss xmm1, dword [0x1800a1b58]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x128]
addss xmm1, dword [rbx + 0x12c]
mov qword [rbx + 0x1d08], rax
mov dword [rbx + 0x1cf4], 1
movss dword [rbx + 0x1d00], xmm0
movss dword [rbx + 0x1d04], xmm1
movss xmm0, dword [rbx + 0x166c]
mulss xmm0, dword [0x1800a1adc]
or dword [rbx + 0x1cf0], 0x41
movss dword [rbx + 0x1d50], xmm0
call fcn.18001b640
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180028930
lea r11, [0x18009ab20]
nop dword [rax]
cmp r9b, 0x23
jne 0x180028913
cmp byte [r8], r9b
jne 0x180028913
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180028900
not ecx
call fcn.1800224b0
test rax, rax
je 0x180028976
cmp byte [rax + 0x8e], 0
je 0x180028976
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x3054]
mov edx, 0x10
mov r9d, dword [rbx + 0x3054]
call fcn.18001b640
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.1800249f0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x180054a40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r14, rcx
mov rax, qword [rcx]
mov r9, qword [rax]
movabs r12, 0xcbf29ce484222325
movabs r15, 0x100000001b3
mov r10, qword [0x1800b2d28]
test r9, r9
je 0x180054afa
cmp dword [r10 + 0xc], 0
jle 0x180054afa
mov rax, qword [0x1800b4ee0]
mov r9, qword [r9 + rax + 0x18]
mov r8, r12
nop dword [rax + rax]
movsx rdx, byte [r9]
lea r9, [r9 + 1]
xor r8, rdx
imul r8, r15
test dl, dl
jne 0x180054aa0
mov qword [rsp + 0x50], r8
lea rdx, [rsp + 0x50]
mov rcx, qword [0x1800b2d40]
call fcn.180054de0
mov rcx, qword [0x1800b2d28]
movsxd rdx, dword [rcx + 0xc]
lea rcx, [rdx + rdx*2]
add rcx, rcx
mov rax, qword [rax]
mov r9, qword [r14]
mov r8d, dword [rax + rcx*8 - 8]
mov rdx, qword [rax + rcx*8 - 0x30]
mov rcx, qword [r9]
call fcn.18005a0f0
mov r10, qword [0x1800b2d28]
mov rax, qword [r14]
mov rcx, qword [rax]
test rcx, rcx
je 0x180054b0a
mov ebp, dword [rcx + 0x3c]
jmp 0x180054b0f
mov ebp, 0x64
xor esi, esi
mov rax, qword [r14 + 8]
mov rdx, qword [rax]
cmp dword [rdx + 0x10], esi
jbe 0x180054c19
movabs r13, 0x96380e6f20703d36
nop dword [rax + rax]
mov rax, qword [rdx + 8]
mov rdi, qword [rax + rsi*8]
mov rax, qword [r14]
cmp rdi, qword [rax]
je 0x180054c07
mov rax, qword [0x1800b4ee0]
mov r8, qword [rax + rdi + 0x18]
mov rdx, r12
nop dword [rax]
nop word [rax + rax]
movsx rcx, byte [r8]
lea r8, [r8 + 1]
xor rdx, rcx
imul rdx, r15
test cl, cl
jne 0x180054b60
mov qword [rsp + 0x50], rdx
cmp rdx, r13
je 0x180054c07
cmp ebp, dword [rdi + 0x3c]
lea rax, [r10 + 0x38]
jne 0x180054b8e
lea rax, [r10 + 0x28]
mov rcx, qword [rax]
mov rax, qword [rcx + 8]
mov rbx, rcx
cmp byte [rax + 0x19], 0
jne 0x180054bb8
nop
cmp qword [rax + 0x20], rdx
jae 0x180054bac
mov rax, qword [rax + 0x10]
jmp 0x180054bb2
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180054ba0
cmp byte [rbx + 0x19], 0
jne 0x180054c07
cmp rdx, qword [rbx + 0x20]
jb 0x180054c07
cmp rbx, rcx
je 0x180054c07
cmp dword [rbx + 0x28], 0
jle 0x180054c07
lea rdx, [rsp + 0x50]
mov rcx, qword [0x1800b2d40]
call fcn.180054de0
movsxd rdx, dword [rbx + 0x28]
lea rdx, [rdx + rdx*2]
add rdx, rdx
mov rax, qword [rax]
mov r8d, dword [rax + rdx*8 - 8]
mov rdx, qword [rax + rdx*8 - 0x30]
mov rcx, rdi
call fcn.18005a0f0
mov r10, qword [0x1800b2d28]
inc esi
mov rax, qword [r14 + 8]
mov rdx, qword [rax]
cmp esi, dword [rdx + 0x10]
jb 0x180054b30
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x180055300
Capabilities:
Hide thread from debugger

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NtSetInformationThread
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18005534c
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x11]
mov rcx, rbx
call rax
test eax, eax
jne 0x180055342
mov al, 1
jmp 0x18005534c
xor al, al
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
ret
Function at 0x1400012f0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
push r14
push r15
sub rsp, 0xb0
xor r15d, r15d
mov dword [rsp + 0x20], r15d
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov r14d, r15d
xor eax, eax
lock cmpxchg qword [0x1400035e0], rbx
je 0x140001359
cmp rax, rbx
jne 0x14000134c
mov edi, 1
mov r14d, edi
jmp 0x14000135e
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x140001330
mov edi, 1
mov eax, dword [0x1400035e8]
cmp eax, edi
jne 0x140001376
mov esi, 0x1f
mov ecx, esi
call sub.msvcrt.dll__amsg_exit
jmp 0x1400013e7
mov eax, dword [0x1400035e8]
test eax, eax
jne 0x1400013dc
mov dword [0x1400035e8], edi
lea r12, [0x1400021b0]
lea rbx, [0x140002198]
mov qword [rsp + 0x30], rbx
mov eax, r15d
mov dword [rsp + 0x24], eax
cmp rbx, r12
jae 0x1400013ce
test eax, eax
jne 0x1400013d2
mov rsi, qword [rbx]
test rsi, rsi
je 0x1400013c3
mov rcx, rsi
mov rax, qword [0x140002170]
call rax
call rsi
mov dword [rsp + 0x24], eax
add rbx, 8
mov qword [rsp + 0x30], rbx
jmp 0x1400013a0
test eax, eax
je 0x1400013e2
mov eax, 0xff
jmp 0x140001543
mov dword [0x140003024], edi
mov esi, 0x1f
mov eax, dword [0x1400035e8]
cmp eax, edi
jne 0x14000140e
lea rdx, [0x140002190]
lea rcx, [0x140002180]
call sub.msvcrt.dll__initterm
mov dword [0x1400035e8], 2
test r14d, r14d
jne 0x14000141d
mov rax, r15
xchg qword [0x1400035e0], rax
cmp qword [0x1400035f0], r15
je 0x140001454
lea rcx, [0x1400035f0]
call fcn.140001750
test eax, eax
je 0x140001454
mov rbx, qword [0x1400035f0]
mov rcx, rbx
mov rax, qword [0x140002170]
call rax
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call rbx
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rdx, qword [rax]
test rdx, rdx
jne 0x14000146d
mov eax, 0xff
jmp 0x140001543
mov qword [rsp + 0x28], rdx
mov ecx, dword [rsp + 0x20]
cmp word [rdx], 0x20
ja 0x1400014f4
cmp word [rdx], r15w
je 0x140001486
test ecx, ecx
jne 0x1400014f4
movzx eax, word [rdx]
sub ax, di
cmp ax, si
ja 0x14000149c
add rdx, 2
mov qword [rsp + 0x28], rdx
jmp 0x140001486
mov ecx, dword [rsp + 0x7c]
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
and cl, dil
cmovne r9d, eax
mov r8, rdx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001010
mov dword [0x140003020], eax
cmp dword [0x140003040], r15d
jne 0x1400014dd
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140003024], r15d
jne 0x1400014f2
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140003020]
jmp 0x140001543
cmp word [rdx], 0x22
jne 0x140001508
mov eax, r15d
test ecx, ecx
sete al
mov ecx, eax
mov dword [rsp + 0x20], eax
add rdx, 2
mov qword [rsp + 0x28], rdx
jmp 0x140001476
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
ret
sub rsp, 0x28
call fcn.140093000
add rsp, 0x28
jmp 0x1400012f0
Function at 0x180e091b8
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.180e0933f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x180e091e9
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180e091cf
add dl, dl
jne 0x180e091f6
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180e09256
xor eax, eax
add dl, dl
jne 0x180e09205
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180e0930d
add dl, dl
jne 0x180e09216
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180e09223
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180e09230
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180e0923d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x180e0924a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x180e091de
mov eax, 1
add dl, dl
jne 0x180e09266
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180e09273
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180e0925b
sub eax, ebx
mov ebx, 1
jne 0x180e092ac
mov ecx, 1
add dl, dl
jne 0x180e0928e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180e0929b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180e09283
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180e091de
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180e092c8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180e092d5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180e092bd
cmp eax, 0x7d00
jae 0x180e092fb
cmp eax, 0x500
jb 0x180e092f6
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180e091de
cmp eax, 0x7f
ja 0x180e092fe
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180e091de
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x180e09332
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x180e091de
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x18000b5f0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x18000b62c
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
lea r8, [0x180005ff0]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x30
pop rbx
ret

Function at 0x18000b9d0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x18000ba0a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x18000ba0f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x18000ba58
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x180034050]
cmp byte [rcx + rax], 0
je 0x18000ba58
dec r8
sub rdx, 1
jne 0x18000ba3e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.18000c660
mov ebx, eax
test eax, eax
jne 0x18000cce8
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x18000cd44
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18000cd3b
test al, 0x10
je 0x18000cd3b
bt eax, 0xa
jae 0x18000cd34
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.18000cd5c
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x18000cd30
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x18000cd54
test edi, edi
jne 0x18000cd3b
and dword [rsp + 0x3c], 0
jmp 0x18000cd40
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.18001ab48
int3
Function at 0x18000e380
Capabilities:
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 r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x18000e3ae
xor eax, eax
jmp 0x18000e494
cmp qword [rcx + 0x68], 0
je 0x18000e3bf
call fcn.18000e4b0
jmp 0x18000e494
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x18000e3d6
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18000e3d8
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18000e40a
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.180030f50
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x18000e48e
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x18000e441
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x18000e46a
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.18001b960
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x18000e48e
cmp rsi, rbx
ja 0x18000e448
test rsi, rsi
je 0x18000e48e
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.18001b960
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x180026c58
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.180010f90
sub rsp, rax
mov rax, qword [0x180046080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1800231f4
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x180026ca7
mov rax, rbp
jmp 0x180026daf
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x48960]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.180027f40
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x48960]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x180026dab
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180026dab
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.180027f40
test rax, rax
js 0x180026dab
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x180026dab
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x180026d9d
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x180026d9d
cmp byte [rcx], 0xd
jne 0x180026d83
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x180026d92
cmp byte [rcx + 1], 0xa
jne 0x180026d92
inc rcx
jmp 0x180026d92
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x464c0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x180026d65
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x180026daf
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.180010860
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1800270cc
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1800270e2
mov al, 1
jmp 0x180027142
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1800270f3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x180027140
mov ecx, dword [rcx + 0x18]
nop
call fcn.18002e268
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180027140
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x180027140
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x180027140
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x180027142
xor al, al
add rsp, 0x20
pop rbx
ret