joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140035618
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.140021e90
sub rsp, rax
mov rax, qword [0x140064718]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140033e18
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140035667
mov rax, rbp
jmp 0x14003576f
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, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x670c0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140036738
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x670c0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14003576b
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 0x14003576b
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140036738
test rax, rax
js 0x14003576b
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14003576b
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14003575d
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14003575d
cmp byte [rcx], 0xd
jne 0x140035743
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140035752
cmp byte [rcx + 1], 0xa
jne 0x140035752
inc rcx
jmp 0x140035752
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x64b10]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140035725
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14003576f
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140021a70
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 0x140035990
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400359a6
mov al, 1
jmp 0x140035a06
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400359b7
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140035a04
mov ecx, dword [rcx + 0x18]
nop
call fcn.14003acf4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140035a04
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140035a04
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140035a04
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140035a06
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140035ad8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1400670c0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x140035b2f
cmp word [rdx], r13w
jne 0x140035b2f
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140035b34
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140035c59
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140035c7a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140035b6d
mov rdx, r9
mov word [rbx], cx
jmp 0x140035b94
cmp r9, r8
jae 0x140035ba4
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x140035b4e
jmp 0x140035c59
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140035c4e
cmp dword [rsp + 0x80], esi
je 0x140035c4e
lea r8, [0x1400670c0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140035c26
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140035bf6
mov word [rbx], r13w
jmp 0x140035c56
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x140035c03
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140035c56
cmp word [rsp + 0x70], r13w
jne 0x140035c33
cmp rbx, r14
je 0x140035bf0
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140036740
cmp word [rsp + 0x70], r13w
je 0x140035c59
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1400670c0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140035c53
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140035c59
Function at 0x140036874
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140036894
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14002d404
or eax, 0xffffffff
jmp 0x140036896
xor eax, eax
add rsp, 0x28
ret
Function at 0x14003a078
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14003a0a8
xor eax, eax
jmp 0x14003a16b
mov rbp, rbx
cmp word [rax], si
je 0x14003a0cd
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14003a0b4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14003a0b0
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400387b8
movsxd r14, eax
test eax, eax
jne 0x14003a10b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14003a0a1
mov rcx, r14
call fcn.140032bbc
mov rdi, rax
test rax, rax
jne 0x14003a124
xor ecx, ecx
call fcn.140031cf4
jmp 0x14003a100
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400387b8
test eax, eax
jne 0x14003a155
mov rcx, rdi
call fcn.140031cf4
jmp 0x14003a15f
xor ecx, ecx
call fcn.140031cf4
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x14003d248
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140031994
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14003d2e9
cmp ebx, dword [rsp + 0x30]
je 0x14003d2e2
test esi, esi
je 0x14003d2e2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14003d2bd
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14003d2ca
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14003d2a7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14003d2ce
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14003d2eb
mov eax, 1
jmp 0x14003d2eb
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140040ec4
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14002a814
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140040f4e
cmp byte [rbp - 0x21], r15b
je 0x140040f49
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140040f84
call fcn.140032070
test eax, eax
jne 0x140040f70
cmp byte [rbp - 0x21], r15b
je 0x140040f68
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140040f84
cmp byte [rbp - 0x21], r15b
je 0x140040f81
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14002bf00
test eax, eax
jne 0x140041024
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14002a814
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140040fc3
cmp byte [rbp - 0x21], r15b
je 0x140040ff8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140040ff8
call fcn.140032070
test eax, eax
jne 0x140040fe4
cmp byte [rbp - 0x21], r15b
je 0x140040fdd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140040ff8
cmp byte [rbp - 0x21], r15b
je 0x140040ff5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14002bf00
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140041024
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140041027
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140041035
mov rcx, rdi
call fcn.140031cf4
cmp byte [rbp + 0x3f], r15b
je 0x140041044
mov rcx, qword [rbp + 0x27]
call fcn.140031cf4
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140041e10
Capabilities:
Clear file content

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, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.140036740
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140036740
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140041f60
cmp rax, 0xffffffffffffffff
je 0x140041f60
xor edi, edi
test rbp, rbp
jle 0x140041f0b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140031d30
mov rbx, rax
test rax, rax
jne 0x140041e98
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140041f01
mov edx, 0x8000
mov ecx, r14d
call fcn.14002f1cc
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140034e90
cmp eax, 0xffffffff
je 0x140041ee1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140041ea8
mov edx, r15d
mov ecx, r14d
call fcn.14002f1cc
jmp 0x140041f01
cmp byte [rsi + 0x38], dil
je 0x140041ef8
cmp dword [rsi + 0x34], 5
jne 0x140041ef8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140041f01
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140031cf4
jmp 0x140041f74
jns 0x140041f74
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140036740
cmp rax, 0xffffffffffffffff
jne 0x140041f2c
cmp byte [rsi + 0x30], dil
je 0x140041f74
mov edi, dword [rsi + 0x2c]
jmp 0x140041f74
mov ecx, r14d
call fcn.14003acf4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140041f74
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140041f74
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140041f6d
mov eax, dword [rsi + 0x2c]
jmp 0x140041f72
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140036740
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140042b90
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140042bb8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140042bb8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x5ef730
Capabilities:
Encode data using xor

Disassembly:
mov r9, rcx
test rcx, rcx
je 0x5ef790
movzx edx, byte [rcx]
xor eax, eax
test dl, dl
je 0x5ef786
xor r8d, r8d
mov r10d, 0x100
nop word [rax + rax]
movsx eax, dl
movzx edx, byte [r9 + 1]
add r9, 1
or eax, r10d
add r10d, 0x100
mov ecx, eax
shr ecx, 2
xor ecx, eax
imul eax, eax
and ecx, 0xf
rol r8d, cl
xor r8d, eax
test dl, dl
jne 0x5ef750
mov eax, r8d
shr eax, 0x10
xor eax, r8d
ret
xor eax, eax
ret

Function at 0x5efd20
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
je 0x5efd80
movsx ecx, byte [rcx]
xor eax, eax
test cl, cl
je 0x5efd70
mov edi, 0x100
xor ebx, ebx
nop
call fcn.005ab310
add rsi, 1
or eax, edi
add edi, 0x100
mov ecx, eax
shr ecx, 2
xor ecx, eax
imul eax, eax
and ecx, 0xf
rol ebx, cl
movsx ecx, byte [rsi]
xor ebx, eax
test cl, cl
jne 0x5efd40
mov eax, ebx
shr eax, 0x10
xor eax, ebx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
Function at 0x694b60
Capabilities:
Encode data using xor

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rdi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x88]
mov r13, rcx
mov r12, rdx
mov rcx, r8
mov edx, 4
mov rbx, r8
mov rsi, r9
call fcn.0059e300
test eax, eax
jne 0x694baa
mov edx, 4
mov rcx, r12
call fcn.0059e300
test eax, eax
je 0x694be0
mov r9, rsi
mov r8, rbx
mov rdx, r12
mov rcx, r13
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x80], rdi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp fcn.00693cb0
mov edx, 4
mov rcx, rsi
call fcn.0059e300
test eax, eax
jne 0x694baa
mov r9, rsi
mov r8, rbx
mov rdx, r12
mov rcx, r13
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x80], rdi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp fcn.00693460

Function at 0x6fceb0
Capabilities:
Encode data using base64

Disassembly:
push rbx
lea r10, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov rax, rcx
mov rcx, rdx
test rax, rax
je 0x6fced2
test byte [rax + 0x5c], 2
lea rax, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._
cmovne r10, rax
xor r11d, r11d
test r9d, r9d
jg 0x6fcf31
jmp 0x6fcf73
movzx eax, byte [r8 + 1]
add r8, 3
shl eax, 8
or eax, edx
movzx edx, byte [r8 - 1]
mov ebx, eax
shr ebx, 0x12
or edx, eax
shr eax, 0xc
movzx ebx, byte [r10 + rbx]
and eax, 0x3f
mov byte [rcx - 4], bl
movzx eax, byte [r10 + rax]
mov byte [rcx - 3], al
mov eax, edx
and edx, 0x3f
shr eax, 6
and eax, 0x3f
movzx eax, byte [r10 + rax]
mov byte [rcx - 2], al
movzx eax, byte [r10 + rdx]
mov byte [rcx - 1], al
sub r9d, 3
je 0x6fcf73
movzx eax, byte [r8]
mov rbx, rcx
add r11d, 4
add rcx, 4
shl eax, 0x10
mov edx, eax
cmp r9d, 2
jg 0x6fcee0
je 0x6fcf80
shr eax, 0x12
movzx eax, byte [r10 + rax]
mov byte [rbx], al
mov eax, edx
shr eax, 0xc
and eax, 0x30
movzx eax, byte [r10 + rax]
mov byte [rbx + 1], al
mov eax, 0x3d
mov byte [rbx + 2], al
mov byte [rbx + 3], 0x3d
mov eax, r11d
mov byte [rcx], 0
pop rbx
ret
movzx r8d, byte [r8 + 1]
shl r8d, 8
or r8d, eax
shr eax, 0x12
movzx eax, byte [r10 + rax]
mov byte [rbx], al
mov eax, r8d
shr r8d, 6
shr eax, 0xc
and r8d, 0x3c
and eax, 0x3f
movzx eax, byte [r10 + rax]
mov byte [rbx + 1], al
movzx eax, byte [r10 + r8]
jmp 0x6fcf6c
Function at 0x815640
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x00b3f250]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x8156b9
mov rcx, r10
call fcn.00815510
test eax, eax
je 0x8156b9
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x8156b6
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x8156ad
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x8156b9
add r8, 0x28
cmp r8, r9
jne 0x815698
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret

Function at 0x9c7fe0
Capabilities:
Parse credit card information

Disassembly:
mov rax, qword [rcx + 0xb8]
cmp qword [rcx + 0xb0], rax
je 0x9c8020
mov eax, dword [rcx + 0x88]
test eax, eax
je 0x9c8008
cmp eax, 2
je 0x9c8010
cmp eax, 1
je 0x9c8018
ret
jmp fcn.009c8180
jmp fcn.009c8f20
jmp fcn.009c85a0
mov dword [rcx + 0x90], 0x1b
ret

Function at 0x14099116c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140991176
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x14099119f
pop rbp
sub rbp, 0x33
sub rbp, 0x99116c
sub rsp, 0x20
jmp 0x1409911be
mov rax, 0x99116c
add rax, rbp
add rax, 0x84
mov rcx, 0x647
mov rdx, 0x6cb64505
xor byte [rax], dl
inc rax
dec rcx
jne 0x1409911dd
jmp 0x1409911f4
mov r12, gs
mov cs, word [rcx + rdi + 0x4d050505]
test ah, al
or eax, 0x4d050504
add al, 0xec
ret 0xcc5
Function at 0x140001000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x140001066
lea rcx, str.Windows_original_main_args:_n
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
xor ebx, ebx
cmp dword [rax], ebx
jle 0x140001066
xor edi, edi
mov rax, qword [sym.imp.MSVCR100.dll___argv]
lea rcx, str.wwwd_args__d____s_n
mov edx, ebx
mov r8, qword [rax]
mov r8, qword [r8 + rdi]
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
inc ebx
add rdi, 8
cmp ebx, dword [rax]
jl 0x140001038
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
xor edx, edx
test edi, edi
jle 0x1400010b2
mov r9d, edi
mov rcx, qword [rax]
add rax, 0x10
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x14000109f
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010c9
mov rcx, qword [rbx]
mov rax, qword [str.java]
test rax, rax
jne 0x1400010d8
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
lea rax, [0x140002250]
mov r8d, 2
lea r9, str._J_ms8m
mov qword [rsp + 0x38], rax
lea rax, [0x140002240]
mov rdx, rbx
mov qword [rsp + 0x30], rax
lea rax, str._lib_tools.jar
mov ecx, edi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r8d
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret

Function at 0x141ea6000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x141ea600a
jmp 0x141ea800f
jmp fcn.141a7d1b8
Function at 0x2f0fe4a00
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x2f0fe4bab
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [0x2f107a9a0]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.2f1001200
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
nop
jne 0x2f0fe4a6e
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x2f0fe4a81
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x2f0fe4aa5
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x2f0fe4ab9
cmp rbx, 0x1000
jae 0x2f0fe4a78
nop
jmp 0x2f0fe4b29
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x2f0fe4acd
xor edx, edx
jmp 0x2f0fe4b20
mov rcx, qword [0x2f107a9a0]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.2f1001200
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop
test dl, dl
jne 0x2f0fe4aaf
jmp 0x2f0fe4a95
call fcn.2f102fcc0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.2f10058c0
lea rax, [0x2f109d19a]
mov ebx, 0x18
nop dword [rax + rax]
call fcn.2f10061c0
mov rax, qword [rsp + 0x38]
call fcn.2f1005ec0
lea rax, [0x2f109d25a]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.2f10061c0
mov rax, qword [rsp + 0x30]
call fcn.2f1005ec0
call fcn.2f1005b20
call fcn.2f1005940
lea rax, [0x2f109f159]
mov ebx, 0x21
call fcn.2f1004000
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.2f102c0c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.2f0fe4a00
Function at 0x2f0fe4be0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x2f0fe4e0a
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [0x2f107a998]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.2f1001280
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x2f0fe4c5b
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x2f0fe4c6e
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x2f0fe4c90
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x2f0fe4ca4
cmp rbx, 0x1000
jae 0x2f0fe4c65
jmp 0x2f0fe4d2e
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x2f0fe4cb6
xor esi, esi
jmp 0x2f0fe4d20
mov rax, qword [0x2f107a998]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
nop dword [rax]
call fcn.2f1001280
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
test sil, sil
jne 0x2f0fe4c9a
jmp 0x2f0fe4c82
call fcn.2f102fcc0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x2f0fe4da9
call fcn.2f10058c0
lea rax, [0x2f109d610]
mov ebx, 0x19
call fcn.2f10061c0
mov rax, qword [rsp + 0x68]
call fcn.2f1005ec0
lea rax, [0x2f109d25a]
mov ebx, 0x19
nop
call fcn.2f10061c0
mov eax, dword [rsp + 0x34]
call fcn.2f1005ec0
call fcn.2f1005b20
call fcn.2f1005940
lea rax, [0x2f109a487]
mov ebx, 0xd
call fcn.2f1004000
cmp eax, 0x5af
je 0x2f0fe4d53
call fcn.2f10058c0
lea rax, [0x2f109d610]
mov ebx, 0x19
call fcn.2f10061c0
mov rax, qword [rsp + 0x38]
call fcn.2f1005ec0
lea rax, [0x2f109d25a]
mov ebx, 0x19
nop dword [rax]
call fcn.2f10061c0
mov eax, dword [rsp + 0x34]
call fcn.2f1005ec0
call fcn.2f1005b20
call fcn.2f1005940
lea rax, [0x2f109eb91]
mov ebx, 0x1f
call fcn.2f1004000
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.2f102c0c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.2f0fe4be0