joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008a3e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov r11, rdx
movabs rbx, 0x4924924924924925
mov rax, rbx
mov edi, 0xffffffff
imul r8
mov r10, rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul eax, edx, 7
sub r8d, eax
movsxd rdx, r8d
cmp r11, rdi
jg 0x14008a4c1
cmp r11d, 7
jb 0x14008a490
test r8d, r8d
je 0x14008a456
sub rdx, rcx
lea rax, [rdx + r10]
add r11d, edi
mov cl, byte [rax + r9]
xor byte [r10], cl
inc r10
lea rax, [rdx + r10]
cmp rax, 7
jl 0x14008a432
xor r8d, r8d
cmp r11d, 7
jb 0x14008a490
mov bl, byte [r9 + 6]
mov ecx, r11d
mov eax, 0x24924925
mul r11d
sub ecx, edx
shr ecx, 1
add ecx, edx
movzx edx, word [r9 + 4]
shr ecx, 2
imul eax, ecx, 0xfffffff9
add r11d, eax
mov eax, dword [r9]
xor dword [r10], eax
xor word [r10 + 4], dx
xor byte [r10 + 6], bl
add r10, 7
add ecx, edi
jne 0x14008a47c
test r11d, r11d
je 0x14008a551
movsxd rdx, r8d
mov al, byte [rdx + r9]
lea rcx, [rdx + 1]
xor byte [r10], al
mov rax, rdx
xor edx, edx
inc r10
cmp rax, 6
cmovne rdx, rcx
add r11d, edi
jne 0x14008a49c
jmp 0x14008a551
test r8d, r8d
je 0x14008a4ed
sub rdx, rcx
lea rax, [rdx + r10]
dec r11
mov cl, byte [rax + r9]
xor byte [r10], cl
inc r10
lea rcx, [rdx + r10]
cmp rcx, 7
jl 0x14008a4c9
xor r8d, r8d
cmp r11, 7
jl 0x14008a526
mov rax, rbx
mov bl, byte [r9 + 6]
imul r11
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov eax, dword [r9]
imul ecx, edx, 7
sub r11, rcx
movzx ecx, word [r9 + 4]
xor dword [r10], eax
xor word [r10 + 4], cx
xor byte [r10 + 6], bl
add r10, 7
add edx, edi
jne 0x14008a512
test r11, r11
jle 0x14008a551
movsxd rdx, r8d
mov al, byte [rdx + r9]
lea rcx, [rdx + 1]
xor byte [r10], al
dec r11
mov rax, rdx
inc r10
xor edx, edx
cmp rax, 6
cmovne rdx, rcx
test r11, r11
jg 0x14008a52e
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret

Function at 0x14008e6dc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
or r8d, 0xffffffff
lea rbp, [0x1405877d0]
xor r9d, r9d
mov rbx, rdx
cmp dword [0x1405605ec], r9d
mov rsi, rcx
jne 0x14008e750
mov r10d, r9d
mov r11, rbp
mov edx, r10d
mov edi, 8
mov ecx, edx
mov eax, edx
shr ecx, 1
mov edx, ecx
xor edx, 0xedb88320
test al, 1
cmove edx, ecx
sub rdi, 1
jne 0x14008e71a
mov dword [r11], edx
inc r10d
add r11, 4
cmp r10d, 0x100
jb 0x14008e712
mov dword [0x1405605ec], 1
test rbx, rbx
je 0x14008e777
mov rax, r9
movzx ecx, byte [rax + rsi]
inc r9d
movzx eax, r8b
xor rcx, rax
shr r8d, 8
mov eax, r9d
xor r8d, dword [rbp + rcx*4]
cmp rax, rbx
jb 0x14008e758
mov rbx, qword [rsp + 8]
not r8d
mov rbp, qword [rsp + 0x10]
mov eax, r8d
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
Function at 0x14009a370
Capabilities:
Encode data using xor

Disassembly:
lea r10, [0x14055f1e0]
mov r8d, 0x7fffffff
mov rdx, r10
lea r11, [0x14055f56c]
lea r9, [0x140000000]
mov ecx, dword [rdx]
xor ecx, dword [rdx + 4]
and ecx, r8d
xor ecx, dword [rdx]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [r9 + rax*4 + 0xefe28]
xor ecx, dword [rdx + 0x634]
mov dword [rdx], ecx
add rdx, 4
cmp rdx, r11
jl 0x14009a38e
mov eax, dword [0x14055f1e0]
lea rdx, [0x14055f56c]
mov dword [0x14055fba0], eax
lea r11, [0x14055fba0]
mov ecx, dword [rdx]
xor ecx, dword [rdx + 4]
and ecx, r8d
xor ecx, dword [rdx]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [r9 + rax*4 + 0xefe28]
xor ecx, dword [rdx - 0x38c]
mov dword [rdx], ecx
add rdx, 4
cmp rdx, r11
jl 0x14009a3d2
mov eax, 0xb
movd xmm2, eax
mov eax, 7
movd xmm3, eax
mov eax, 0xf
movd xmm4, eax
mov eax, 0x12
movd xmm5, eax
xor eax, eax
movdqu xmm0, xmmword [rax + r10]
movdqa xmm1, xmm0
psrld xmm1, xmm2
xorps xmm1, xmm0
movdqa xmm0, xmm1
andps xmm0, xmmword [0x1400f3ef0]
pslld xmm0, xmm3
xorps xmm0, xmm1
movdqa xmm1, xmm0
andps xmm1, xmmword [0x1400f3f00]
pslld xmm1, xmm4
xorps xmm1, xmm0
movdqa xmm0, xmm1
psrld xmm0, xmm5
xorps xmm0, xmm1
movdqu xmmword [rax + r9 + 0x55fbb0], xmm0
add rax, 0x10
cmp rax, 0x9c0
jl 0x14009a422
and dword [0x140121f54], 0
ret
Function at 0x1400b56bc
Capabilities:
Compress data via zlib inflate or deflate
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
xor r9d, r9d
cmp byte [rcx + 0x290], r9b
je 0x1400b56ff
cmp dword [rcx + 0x180], r9d
jbe 0x1400b56ff
mov rax, qword [rcx + 0x178]
mov r8b, byte [rax]
and r8b, 0xf0
cmp r8b, 0x70
jbe 0x1400b56f8
lea rax, str.invalid_window_size__libpng_
mov qword [rcx + 0x198], rax
lea eax, [r9 - 3]
ret
mov byte [rcx + 0x290], r9b
add rcx, 0x178
jmp fcn.1400a9ce4

Function at 0x1400be580
Capabilities:
Parse pe header

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

Function at 0x1400c2b24
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1400c29b7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400c29b7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400c29b7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400c29b7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400c29b7
cmp dword [rcx + 0x84], 0xe
jbe 0x1400c29b7
cmp dword [rcx + 0xf8], 0
je 0x1400c29b7
mov ecx, ebx
call fcn.1400c2a58
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1400c2848
cmp dword [rbp + 0x20], 0
je 0x1400c2a04
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400c2a0c
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400c2950
Function at 0x140842058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1408421df
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 0x140842089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14084206f
add dl, dl
jne 0x140842096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408420f6
xor eax, eax
add dl, dl
jne 0x1408420a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408421ad
add dl, dl
jne 0x1408420b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408420c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408420d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408420dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1408420ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14084207e
mov eax, 1
add dl, dl
jne 0x140842106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140842113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408420fb
sub eax, ebx
mov ebx, 1
jne 0x14084214c
mov ecx, 1
add dl, dl
jne 0x14084212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14084213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140842123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14084207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140842168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140842175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14084215d
cmp eax, 0x7d00
jae 0x14084219b
cmp eax, 0x500
jb 0x140842196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14084207e
cmp eax, 0x7f
ja 0x14084219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14084207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1408421d2
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 0x14084207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001a08
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001a52
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001a52
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001a52
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001a52
cmp dword [rcx + 0x84], 0xe
jbe 0x140001a52
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001a54
xor al, al
add rsp, 0x28
ret
Function at 0x14000d918
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x48
mov rax, qword [0x14003bba8]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rcx, [0x14002f788]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x20], rax
lea rdx, str.VirtualAlloc
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003c460], rax
lea r9, [rsp + 0x28]
mov r8d, 0x40
mov edx, 8
lea rcx, [0x14003c460]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rax, [0x14000d9b0]
mov qword [0x14003c460], rax
lea r9, [rsp + 0x28]
mov r8d, dword [rsp + 0x28]
mov edx, 8
lea rcx, [0x14003c460]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140022540
add rsp, 0x48
ret
Function at 0x14000e0c0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14003bba8]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov al, byte [0x14003bb6c]
movsx eax, al
mov dword [rsp + 0x20], eax
call fcn.140017500
movsx eax, al
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
call fcn.1400174f4
movsx eax, al
imul eax, eax, 0xa
mov dword [rsp + 0x24], eax
call fcn.1400174f0
movsx eax, al
mov ecx, dword [rsp + 0x24]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov cl, byte [0x14003bb6b]
movsx ecx, cl
xor edx, edx
div ecx
mov cl, byte [0x14003bb68]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x14000e220
cmp qword [0x14003c460], 0
je 0x14000e151
mov qword [rsp + 0x40], 1
jmp 0x14000e15a
mov qword [rsp + 0x40], 0
cvtsi2sd xmm0, qword [rsp + 0x40]
call fcn.14001b480
mov dword [rsp + 0x38], eax
mov cl, byte [0x14003bb6c]
movsx ecx, cl
mov dword [rsp + 0x2c], ecx
call fcn.140017500
movsx eax, al
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
call fcn.1400174f4
movsx eax, al
mov dword [rsp + 0x30], eax
call fcn.1400174f0
movsx eax, al
mov ecx, dword [rsp + 0x30]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov cl, byte [0x14003bb6b]
movsx ecx, cl
xor edx, edx
div ecx
mov cl, byte [0x14003bb68]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x38]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x14000e220
xor eax, eax
cmp eax, 6
je 0x14000e220
lea r9, [rsp + 0x48]
mov r8d, 0x40
mov edx, 8
mov rcx, qword [0x14003c460]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov qword [0x14003c460], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x48]
mov edx, 8
mov rcx, qword [0x14003c460]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140022540
add rsp, 0x68
ret
Function at 0x140014c48
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x80]
and eax, 0x400000
test eax, eax
je 0x140014cb2
mov rax, qword [rsp + 0x20]
mov al, byte [rax + 0x78]
mov byte [rsp + 4], al
cmp byte [rsp + 4], 0x44
je 0x140014ca4
cmp byte [rsp + 4], 0x53
je 0x140014ca4
cmp byte [rsp + 4], 0x57
je 0x140014ca4
cmp byte [rsp + 4], 0x63
je 0x140014ca4
cmp byte [rsp + 4], 0x64
je 0x140014ca4
cmp byte [rsp + 4], 0x73
je 0x140014ca4
cmp byte [rsp + 4], 0x77
je 0x140014ca4
jmp 0x140014cab
xor al, al
jmp 0x140014d8b
mov al, 1
jmp 0x140014d8b
mov rax, qword [rsp + 0x20]
movsx eax, byte [rax + 0x78]
mov dword [rsp], eax
cmp dword [rsp], 0x2f
jg 0x140014d01
cmp dword [rsp], 0x2f
je 0x140014d5d
cmp dword [rsp], 0x22
je 0x140014d5d
cmp dword [rsp], 0x24
je 0x140014d2d
cmp dword [rsp], 0x28
je 0x140014d31
cmp dword [rsp], 0x29
je 0x140014d31
cmp dword [rsp], 0x2a
je 0x140014d2d
cmp dword [rsp], 0x2b
je 0x140014d31
cmp dword [rsp], 0x2e
je 0x140014d2d
jmp 0x140014d89
cmp dword [rsp], 0x3f
je 0x140014d31
cmp dword [rsp], 0x5b
je 0x140014d2d
cmp dword [rsp], 0x5c
je 0x140014d2d
cmp dword [rsp], 0x5e
je 0x140014d2d
cmp dword [rsp], 0x7b
je 0x140014d31
cmp dword [rsp], 0x7c
je 0x140014d2d
cmp dword [rsp], 0x7d
je 0x140014d31
jmp 0x140014d89
mov al, 1
jmp 0x140014d8b
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x80]
and eax, 0x800000
test eax, eax
je 0x140014d4f
mov dword [rsp + 8], 1
jmp 0x140014d57
mov dword [rsp + 8], 0
mov al, byte [rsp + 8]
jmp 0x140014d8b
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x80]
and eax, 0x1000000
test eax, eax
je 0x140014d7b
mov dword [rsp + 0xc], 1
jmp 0x140014d83
mov dword [rsp + 0xc], 0
mov al, byte [rsp + 0xc]
jmp 0x140014d8b
xor al, al
add rsp, 0x18
ret
Function at 0x14001dc40
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x158
mov rax, qword [0x14003bba8]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov dword [rsp + 0x28], 0
lea rdx, [rsp + 0x40]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov dword [rsp + 0x20], 0
jmp 0x14001dc8a
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov al, byte [0x14003bb6c]
movsx eax, al
mov dword [rsp + 0x2c], eax
call fcn.140017500
movsx eax, al
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
call fcn.1400174f4
movsx eax, al
shl eax, 2
mov dword [rsp + 0x30], eax
call fcn.1400174f0
movsx eax, al
mov ecx, dword [rsp + 0x30]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov cl, byte [0x14003bb6b]
movsx ecx, cl
xor edx, edx
div ecx
mov cl, byte [0x14003bb68]
movsx ecx, cl
sub eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.14001b480
cmp dword [rsp + 0x20], eax
jge 0x14001dd46
mov dword [rsp + 0x24], 0
jmp 0x14001dd11
cmp dword [rsp + 0x24], 0x3b
jae 0x14001dd41
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x160]
call fcn.140009854
mov eax, dword [rsp + 0x28]
or eax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x160]
jmp 0x14001dd46
jmp 0x14001dc80
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140022540
add rsp, 0x158
ret
Function at 0x14001edf0
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x8395cb5a
call fcn.14001e8a0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140023400
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.140023da0
mov rdi, qword [rsp + 0x70]
mov qword [rax + 0x138], rbx
mov rbx, qword [rdi + 8]
call fcn.140023da0
mov qword [rax + 0x128], rbx
mov rax, qword [rsi]
mov rbx, qword [rax + 0x38]
call fcn.140023da0
mov ecx, dword [0x14003d520]
mov r9, rdi
mov byte [rsp + 0x38], 1
mov r8, rbp
mov edx, 0x10
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.140025100
call fcn.140023da0
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 0x140026390
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x14003bba8]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1400263cc
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.140022e78
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 sub.msvcrt.dll_memset
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 0x140026488
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 0x1400264ee
test ebx, ebx
jne 0x1400264ee
lea ecx, [rax + 2]
call fcn.140022e78
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.140022540
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
Function at 0x140029260
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x530
mov rax, qword [0x14003bba8]
xor rax, rsp
mov qword [rsp + 0x520], rax
xor ebx, ebx
mov rdi, rdx
mov esi, ecx
test rdx, rdx
je 0x1400292cc
lea edx, [rbx + 0x2d]
mov rcx, rdi
call sub.msvcrt.dll_strchr
test rax, rax
je 0x1400292cc
mov ecx, ebx
lea r8, [rsp + 0x120]
mov rdx, rdi
nop dword [rax]
movsx eax, byte [rdx]
test al, al
je 0x14002931f
mov word [r8], ax
inc ecx
add r8, 2
inc rdx
cmp ecx, 0x100
jne 0x1400292b0
mov rcx, qword [0x14003d440]
test rcx, rcx
jne 0x140029302
call fcn.14002b270
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 [0x14003d440], rcx
cmp rcx, 0xffffffffffffffff
cmovne rbx, rcx
test rbx, rbx
je 0x140029403
mov rdx, rdi
mov ecx, esi
call rbx
jmp 0x140029405
movsxd rax, ecx
add rax, rax
cmp rax, 0x200
jae 0x14002942a
mov edx, 0x2d
mov word [rsp + rax + 0x120], bx
lea rcx, [rsp + 0x120]
call sub.msvcrt.dll_wcsrchr
test rax, rax
je 0x1400292cc
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 0x1400292cc
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 0x1400292cc
lea rcx, [rsp + 0x320]
mov eax, ebx
lea rdx, [rsp + 0x20]
movzx r8d, word [rcx]
test r8w, r8w
je 0x1400293f3
mov byte [rdx], r8b
inc eax
inc rdx
add rcx, 2
cmp eax, 0x100
jne 0x1400293d1
jmp 0x1400292cc
cdqe
lea rdi, [rsp + 0x20]
mov byte [rsp + rax + 0x20], bl
jmp 0x1400292cc
xor eax, eax
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.140022540
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.140022be0
int3

Function at 0x140029c90
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov ebx, ecx
mov dword [rsp + 0x60], 0
xor ecx, ecx
mov dword [rsp + 0x68], 2
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140029cf2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140029cf2
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
jne 0x140029cf2
mov eax, 0x20b
cmp word [rdx + 0x18], ax
jne 0x140029cf2
cmp dword [rdx + 0x84], 0xe
jbe 0x140029cf2
cmp dword [rdx + 0xf8], 0
je 0x140029cf2
mov ecx, ebx
call fcn.140029b50
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x14003d488]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.1400299e0
cmp dword [rsp + 0x60], 0
jne 0x140029d35
mov ecx, ebx
call fcn.140029b10
int3
add rsp, 0x40
pop rbx
ret
Function at 0x140029d80
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov ebx, ecx
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140029ddc
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140029ddc
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140029ddc
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140029ddc
cmp dword [rcx + 0x84], 0xe
jbe 0x140029ddc
cmp dword [rcx + 0xf8], 0
je 0x140029ddc
mov ecx, ebx
call fcn.140029b50
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x14003d488]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.1400299e0
cmp dword [rsp + 0x60], 0
jne 0x140029e1f
mov ecx, ebx
call fcn.140029b10
int3
add rsp, 0x40
pop rbx
ret
Function at 0x140001510
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x90], rax
lea rdx, [0x140003468]
lea rcx, [0x140003470]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov edx, 1
mov dword [rsp + 0x20], 0x3020100
mov r9, rax
mov dword [rsp + 0x24], 0x7060504
lea rcx, [rsp + 0x20]
mov word [rsp + 0x28], 0x908
lea r8d, [rdx + 9]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov ebx, 0x64
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x140003480]
call fcn.140001740
mov rcx, rax
lea rdx, [0x140001700]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
sub rbx, 1
jne 0x140001572
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140001920
add rsp, 0xa0
pop rbx
ret

Function at 0x1400022a0
Capabilities:
Parse pe header

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