joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180002ea0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x270
mov rax, qword [0x1800750b0]
xor rax, rsp
mov qword [rsp + 0x260], rax
cmp qword [rcx + 0x10], 0
mov rsi, rdx
mov rbx, rcx
jbe 0x180002fdf
cmp qword [rcx + 0x30], 0
jbe 0x180002fdf
xor eax, eax
lea rcx, [rsp + 0x52]
xor edx, edx
mov r8d, 0x206
mov qword [rsp + 0x290], rdi
mov word [rsp + 0x50], ax
call fcn.18001cc50
cmp qword [rbx + 0x38], 8
lea rdi, [rbx + 0x20]
jb 0x180002f0c
mov rax, qword [rdi]
jmp 0x180002f0f
mov rax, rdi
cmp qword [rbx + 0x18], 8
jb 0x180002f1b
mov rcx, qword [rbx]
jmp 0x180002f1e
mov rcx, rbx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
mov rdx, rsi
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x180002fa7
lea rcx, [rsp + 0x50]
call fcn.18001aa78
lea rcx, [rsp + 0x30]
lea edx, [rax + 1]
call fcn.180002710
cmp qword [rdi + 0x18], 8
jb 0x180002f61
mov rdi, qword [rdi]
cmp qword [rax + 0x18], 8
jb 0x180002f6b
mov rax, qword [rax]
cmp qword [rbx + 0x18], 8
jb 0x180002f75
mov rbx, qword [rbx]
mov r9, rdi
mov r8, rax
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp qword [rsp + 0x48], 8
mov ebx, eax
jb 0x180002fd3
mov rcx, qword [rsp + 0x30]
call fcn.18001af28
mov rdi, qword [rsp + 0x290]
mov eax, ebx
jmp 0x180002fe1
cmp qword [rdi + 0x18], 8
jb 0x180002fb1
mov rdi, qword [rdi]
cmp qword [rbx + 0x18], 8
jb 0x180002fbb
mov rbx, qword [rbx]
lea r8, [0x18006184c]
mov r9, rdi
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ebx, eax
mov rdi, qword [rsp + 0x290]
mov eax, ebx
jmp 0x180002fe1
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.18001a000
mov rbx, qword [rsp + 0x298]
add rsp, 0x270
pop rsi
ret
Function at 0x180003010
Capabilities:
Read .ini file

Disassembly:
mov r11, rsp
push rbx
push rbp
sub rsp, 0x278
mov rax, qword [0x1800750b0]
xor rax, rsp
mov qword [rsp + 0x260], rax
cmp qword [rcx + 0x10], 0
mov rbp, rdx
mov rbx, rcx
jbe 0x180003151
cmp qword [rcx + 0x30], 0
jbe 0x180003151
mov qword [r11 + 0x18], rsi
lea rcx, [rsp + 0x52]
xor esi, esi
xor edx, edx
mov r8d, 0x206
mov qword [r11 - 0x18], rdi
mov word [rsp + 0x50], si
call fcn.18001cc50
cmp qword [rbx + 0x38], 8
lea rdi, [rbx + 0x20]
jb 0x18000307b
mov rax, qword [rdi]
jmp 0x18000307e
mov rax, rdi
cmp qword [rbx + 0x18], 8
jb 0x18000308a
mov rcx, qword [rbx]
jmp 0x18000308d
mov rcx, rbx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x18000313d
lea rcx, [rsp + 0x50]
call fcn.18001aa78
cmp eax, 1
jle 0x180003115
lea edx, [rax - 1]
lea rcx, [rsp + 0x30]
call fcn.180002710
cmp qword [rdi + 0x18], 8
jb 0x1800030d9
mov rdi, qword [rdi]
cmp qword [rax + 0x18], 8
jb 0x1800030e3
mov rax, qword [rax]
cmp qword [rbx + 0x18], 8
jb 0x1800030ed
mov rbx, qword [rbx]
mov r9, rdi
mov r8, rax
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp qword [rsp + 0x48], 8
mov esi, eax
jb 0x18000313d
mov rcx, qword [rsp + 0x30]
call fcn.18001af28
jmp 0x18000313d
cmp qword [rdi + 0x18], 8
jb 0x18000311f
mov rdi, qword [rdi]
cmp qword [rbx + 0x18], 8
jb 0x180003129
mov rbx, qword [rbx]
mov r9, rdi
xor r8d, r8d
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov esi, eax
mov rdi, qword [rsp + 0x270]
mov eax, esi
mov rsi, qword [rsp + 0x2a0]
jmp 0x180003153
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.18001a000
add rsp, 0x278
pop rbp
pop rbx
ret
Function at 0x18000b150
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
cmp edx, 1
jne 0x18000b17e
call fcn.180012250
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov qword [0x18007f890], rbx
mov eax, 1
add rsp, 0x20
pop rbx
ret
test edx, edx
jne 0x18000b192
call fcn.180012310
mov eax, 1
add rsp, 0x20
pop rbx
ret
cmp edx, 0x72
jne 0x18000b173
test r8, r8
jne 0x18000b1b6
lea r8d, [rdx - 0x46]
lea rdx, str.UNHvKebg0E4WNirTj3YeJkuOqIApaJ6Hva8Qh0FxXPN9SwGNIGf4mldQg7bHHETYK9LEHZc4xgUUp7_QgZM
xor ecx, ecx
call fcn.1800124b0
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov eax, 0x5a4d
cmp ax, word [rcx]
je 0x18000b1dc
lea rdx, str.LBzVmE18jrbNBg79Ff_2KLES92AL0ZWXcGWogGlgB1ZH6O1eSF2sQVZzdg4888qT3ZQmnlfuVjdmQDiYcp
mov r8d, 0x34
xor ecx, ecx
call fcn.1800124b0
xor eax, eax
add rsp, 0x20
pop rbx
ret
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
je 0x18000b205
lea rdx, str.FW51jZ4ei6o2J3C1vGheT408eTiD4zsAN5C4XVHwl7TFmgEK6mohbMbV6hU2JU78ItbddJcbDk0zyi1rQ0
mov r8d, 0x3d
xor ecx, ecx
call fcn.1800124b0
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rcx, qword [r8]
xor edx, edx
mov rax, rcx
shr rax, 0x10
cmp dx, ax
jae 0x18000b21b
mov qword [r8], rdx
jmp 0x18000b237
cmp rcx, 0x640
jne 0x18000b216
lea rax, [0x180004950]
mov qword [r8], rax
test rax, rax
jne 0x18000b173
mov r8d, 0x47
lea rdx, str.77CBFleMUZGVdeqncljpaUxWO68O5nofx5ow2musR2uBp04WrEaRhyJqs1f0NA2fciJX07BXSM
lea ecx, [r8 - 0x43]
call fcn.1800124b0
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x18000bb20
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1800750b0]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
lea r8, [0x18000bab0]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x18000bb70
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18001a000
add rsp, 0x48
ret
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18001a000
add rsp, 0x48
ret
Function at 0x18000d930
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1800750b0]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor ecx, ecx
lea rax, [rsp + 0x30]
lea r8, [0x18000d0a0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x30], ecx
call fcn.18001b334
test rax, rax
je 0x18000d976
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18001a000
add rsp, 0x48
ret

Function at 0x18000d990
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1800750b0]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor ecx, ecx
lea rax, [rsp + 0x30]
lea r8, [0x18000d6e0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x30], ecx
call fcn.18001b334
test rax, rax
je 0x18000d9d6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18001a000
add rsp, 0x48
ret
Function at 0x180010210
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1800750b0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r15d, r8d
mov r14, rdx
mov rbp, rcx
mov dword [rsp + 0x40], 0x7273722e
mov word [rsp + 0x44], 0x63
test rcx, rcx
jne 0x18001024d
xor eax, eax
jmp 0x1800102c1
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180010249
mov qword [rsp + 0x70], rsi
mov esi, dword [rcx + 0x3c]
add rsi, rcx
cmp dword [rsi], 0x4550
je 0x18001026e
xor eax, eax
jmp 0x1800102bc
movzx eax, word [rsi + 0x14]
mov qword [rsp + 0x78], rbx
lea rbx, [rsi + 0x18]
add rbx, rax
mov eax, dword [rsi + 8]
mov qword [rsp + 0x68], rdi
xor edi, edi
mov dword [r9], eax
cmp di, word [rsi + 6]
jae 0x1800102b0
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.18001bbfc
test eax, eax
je 0x1800102db
movzx eax, word [rsi + 6]
inc edi
add rbx, 0x28
cmp edi, eax
jb 0x180010291
xor eax, eax
mov rbx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18001a000
add rsp, 0x80
pop r15
pop r14
pop rbp
ret
mov ecx, dword [rbx + 0xc]
add rcx, rbp
je 0x1800102b0
mov eax, dword [rbx + 8]
add rax, 0xffffffffffffffcc
cmp dword [rcx], 0xfeef04bd
je 0x180010305
add rax, rcx
inc rcx
cmp rcx, rax
ja 0x1800102b0
cmp dword [rcx], 0xfeef04bd
jne 0x1800102f5
movzx r8d, word [rcx + 0xe]
movzx eax, word [rcx + 0xc]
movzx r10d, word [rcx + 8]
movzx r9d, word [rcx + 0xa]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r8d
lea r8, str._d._d._d._d
mov rdx, r15
mov rcx, r14
mov dword [rsp + 0x20], r10d
call fcn.18000f8e0
mov eax, 1
jmp 0x1800102b2
Function at 0x180012310
Capabilities:
Create thread

Disassembly:
push rsi
sub rsp, 0x1d0
mov rax, qword [0x1800750b0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
xor esi, esi
cmp dword [0x18007869c], esi
je 0x180012351
mov ecx, dword [section..data]
mov dword [0x18007869c], esi
mov dword [section..data], 0xffffffff
call qword [0x180078578]
cmp dword [0x1800788c8], esi
je 0x180012387
mov r9, qword [0x180078560]
mov r8, qword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rsi
mov dword [0x1800788c8], esi
mov qword [0x180078560], rsi
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [0x180078698], esi
je 0x180012491
xor edx, edx
lea rcx, [rsp + 0x31]
mov qword [rsp + 0x1e0], rbx
lea r8d, [rdx + 0x7f]
mov qword [rsp + 0x1e8], rdi
mov byte [rsp + 0x30], sil
call fcn.18001cc50
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdi, [0x1800789f8]
mov rcx, rdi
mov edx, 0x20
mov ebx, eax
call fcn.180010110
lea rdx, str.YRQTNFXXIJgIda_m2r4WzO91p4Zop4CcClUhPbruF2xbNOzG6FcW7O3V1mL6PhMymxQzfuVQarzZDBzC8o4RGZR0noRVznCZCHWv5_0YHMzfU3b
mov ecx, 0xffffff9d
call fcn.180011760
lea rdx, [rsp + 0x30]
lea rcx, [0x180073328]
mov r8d, 0x80
call fcn.180013400
lea rcx, [rsp + 0xb1]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0xb0], sil
call fcn.18001cc50
lea r9, [0x1800789d8]
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0xb0]
mov edx, 0x104
mov qword [rsp + 0x20], rdi
call fcn.18000f8e0
lea r8, [rsp + 0xb0]
lea rdx, str.Th6qiJwQTn8wysNojw
mov ecx, 0xffffff9d
call fcn.180011760
lea rdx, str.RAd8SyT81vhHBvz9xcZy6i4DIosEI271QHqsyRwM0uKeAQmEZI6URd5giRhlv_ftCAzcz27X_mUgd8zNGTwi4k4FnIxh7pZ4tyCMGjW8JqpOm8R
mov ecx, 0xffffff9d
call fcn.180011760
lea rcx, [0x180078668]
call qword [0x180078600]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, qword [rsp + 0x1e8]
mov rbx, qword [rsp + 0x1e0]
mov dword [0x180078698], esi
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.18001a000
add rsp, 0x1d0
pop rsi
ret
Function at 0x180012c00
Capabilities:
Encode data using base64

Disassembly:
sub rsp, 0x18
xor r10d, r10d
mov r11, rdx
mov r9d, r10d
nop dword [rax]
movzx r8d, byte [r9 + rcx]
lea eax, [r8 - 0x41]
cmp al, 0x19
ja 0x180012c26
movsx eax, r8b
sub eax, 0x41
jmp 0x180012c6f
lea eax, [r8 - 0x61]
cmp al, 0x19
ja 0x180012c37
movsx eax, r8b
sub eax, 0x47
jmp 0x180012c6f
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x180012c48
movsx eax, r8b
add eax, 4
jmp 0x180012c6f
cmp r8b, 0x2b
jne 0x180012c55
mov eax, 0x3e
jmp 0x180012c6f
cmp r8b, 0x2f
jne 0x180012c62
mov eax, 0x3f
jmp 0x180012c6f
cmp r8b, 0x3d
jne 0x180012cf0
or eax, 0xffffffff
mov dword [rsp + r9*4], eax
inc r9
cmp r9, 4
jl 0x180012c10
mov edx, dword [rsp]
cmp edx, 0xffffffff
je 0x180012cf0
mov r8d, dword [rsp + 4]
cmp r8d, 0xffffffff
je 0x180012cf0
mov ecx, dword [rsp + 8]
mov eax, dword [rsp + 0xc]
cmp ecx, 0xffffffff
jne 0x180012ca6
cmp eax, ecx
jne 0x180012cf0
lea r10d, [rcx + 2]
jmp 0x180012cb1
cmp eax, 0xffffffff
setne r10b
add r10d, 2
shl edx, 6
and eax, 0x3f
and ecx, 0x3f
or edx, r8d
shl edx, 6
or edx, ecx
shl edx, 6
or edx, eax
mov eax, edx
shr eax, 0x10
mov byte [r11], al
cmp r10d, 1
jle 0x180012cde
mov ecx, edx
shr ecx, 8
mov byte [r11 + 1], cl
cmp r10d, 2
jle 0x180012ce8
mov byte [r11 + 2], dl
mov eax, r10d
add rsp, 0x18
ret
xor eax, eax
add rsp, 0x18
ret

Function at 0x180013400
Capabilities:
Encrypt data using rc4 prga
Terminate process

Disassembly:
push rsi
push r12
sub rsp, 0x38
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x28], r14
lea rbx, [rcx + 1]
mov r14d, r8d
mov ebp, 0xff
mov qword [rsp + 0x20], r15
mov r15, rdx
sub bpl, byte [rcx]
mov rdx, rcx
mov r12d, 1
xor ecx, ecx
mov r8d, r12d
call fcn.1800138e0
xor esi, esi
test r14d, r14d
je 0x180013495
mov qword [rsp + 0x30], r13
sub r15, rbx
lea r13, [0x180051c80]
nop dword [rax]
movzx ecx, bpl
mov r8d, r12d
mov rdx, rbx
movzx edi, byte [rcx + r13]
movzx ecx, ax
xor dil, byte [rbx]
mov byte [r15 + rbx], dil
call fcn.1800138e0
inc rbx
test dil, dil
je 0x180013490
inc esi
inc bpl
cmp esi, r14d
jb 0x180013460
mov r13, qword [rsp + 0x30]
mov r8d, r12d
mov rdx, rbx
movzx ecx, ax
call fcn.1800138e0
lea rdx, [rbx + 1]
movzx r8d, r12w
movzx ecx, ax
call fcn.1800138e0
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
test ax, ax
je 0x1800134db
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, esi
add rsp, 0x38
pop r12
pop rsi
ret
Function at 0x1800134f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r12
push r14
push r15
sub rsp, 0x28
mov r15d, edx
mov ebp, 0xff
mov r14d, r9d
sub bpl, byte [rcx]
mov r12, r8
mov rdx, rcx
cmp r15d, 1
jne 0x180013524
xor eax, eax
add rsp, 0x28
pop r15
pop r14
pop r12
pop rbp
ret
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
lea rsi, [rcx + 1]
xor ecx, ecx
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x20], r13
lea r8d, [rcx + 1]
call fcn.1800138e0
movzx r9d, ax
xor eax, eax
mov ebx, eax
test r14d, r14d
je 0x1800135a9
sub r12, rsi
lea r13, [0x180051c80]
nop
movzx ecx, bpl
mov r8d, 1
mov rdx, rsi
movzx edi, byte [rcx + r13]
movzx ecx, r9w
xor dil, byte [rsi]
mov byte [r12 + rsi], dil
call fcn.1800138e0
movzx r9d, ax
test dil, dil
je 0x1800135a6
lea eax, [rbx + 2]
cmp eax, r15d
jae 0x1800135a2
inc ebx
inc rsi
inc bpl
cmp ebx, r14d
jb 0x180013560
jmp 0x1800135a9
xor eax, eax
jmp 0x1800135d8
inc rsi
mov r8w, 1
mov rdx, rsi
movzx ecx, r9w
call fcn.1800138e0
lea rdx, [rsi + 1]
mov r8w, 1
movzx ecx, ax
call fcn.1800138e0
test ax, ax
mov eax, 0
cmovne ebx, eax
mov eax, ebx
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r13, qword [rsp + 0x20]
add rsp, 0x28
pop r15
pop r14
pop r12
pop rbp
ret
Function at 0x180013600
Capabilities:
Terminate process

Disassembly:
push rbx
push rbp
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1070
call fcn.18001cbf0
sub rsp, rax
mov rax, qword [0x1800750b0]
xor rax, rsp
mov qword [rsp + 0x1060], rax
xor r13d, r13d
mov ebp, 0xff
mov r15d, r8d
sub bpl, byte [rcx]
mov qword [rsp + 0x30], rdx
mov rbx, rcx
lea rdi, [rcx + 1]
mov r14d, r13d
cmp r8d, 0x1000
jbe 0x18001367b
mov ecx, r15d
call fcn.180019840
mov r14, rax
test rax, rax
jne 0x180013676
lea rdx, str.7p4lZIVVm5QrtbBKZt9XeU4lyjDQSHjjp5v8WMGUOYM_qhlb_3SDyQ
xor ecx, ecx
call fcn.180011760
xor eax, eax
jmp 0x1800137ab
mov r12, rax
jmp 0x180013680
lea r12, [rsp + 0x60]
xor ecx, ecx
mov rdx, rbx
mov qword [rsp + 0x10c8], rsi
lea r8d, [rcx + 1]
call fcn.1800138e0
mov esi, r13d
movzx ecx, ax
test r15d, r15d
je 0x1800136e7
sub r12, rdi
lea rdx, [0x180051c80]
nop dword [rax + rax]
movzx eax, bpl
mov r8d, 1
movzx ebx, byte [rax + rdx]
mov rdx, rdi
xor bl, byte [rdi]
mov byte [r12 + rdi], bl
call fcn.1800138e0
inc rdi
movzx ecx, ax
test bl, bl
je 0x1800136e7
inc esi
inc bpl
lea rdx, [0x180051c80]
cmp esi, r15d
jb 0x1800136b0
mov r8d, 2
mov rdx, rdi
call fcn.1800138e0
mov rsi, qword [rsp + 0x10c8]
test ax, ax
je 0x18001371b
test r14, r14
je 0x18001370f
mov rcx, r14
call fcn.18001af28
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rax, qword [0x180078a88]
test rax, rax
jne 0x18001376a
mov rcx, qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.180015560
lea rdx, [rsp + 0x38]
lea rcx, [0x180073468]
mov r8d, 0x20
mov rbx, rax
call fcn.180013220
mov rcx, rbx
mov rdx, rax
call fcn.180014460
test rax, rax
cmove rax, qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov qword [0x180078a88], rax
mov rcx, qword [rsp + 0x30]
mov dword [rsp + 0x28], r15d
or r9d, 0xffffffff
mov qword [rsp + 0x20], rcx
xor ecx, ecx
xor edx, edx
test r14, r14
je 0x180013797
mov r8, r14
call rax
mov rcx, r14
mov ebx, eax
call fcn.18001b32c
jmp 0x1800137a0
lea r8, [rsp + 0x60]
call rax
mov ebx, eax
test ebx, ebx
je 0x1800137a8
lea r13d, [rbx - 1]
mov eax, r13d
mov rcx, qword [rsp + 0x1060]
xor rcx, rsp
call fcn.18001a000
add rsp, 0x1070
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret
Function at 0x1800137d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
je 0x1800138ce
cmp byte [rcx], 0
je 0x1800138ce
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], r14
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call fcn.18001cf38
call fcn.18001cf0c
mov edx, 0xff
sub dl, al
xor ecx, ecx
mov esi, eax
mov byte [rbx], dl
lea r8d, [rcx + 1]
mov rdx, rbx
call fcn.1800138e0
movzx ecx, sil
inc rbx
lea r14, [0x180051c80]
mov r8d, 1
mov rdx, rbx
movzx ecx, byte [rcx + r14]
xor cl, byte [rdi]
mov byte [rbx], cl
movzx ecx, ax
call fcn.1800138e0
cmp byte [rdi], 0
mov ebp, 2
movzx r9d, ax
je 0x1800138a2
sub rdi, rbx
nop word [rax + rax]
inc rbx
inc sil
mov r8d, 1
movzx ecx, sil
mov rdx, rbx
movzx eax, byte [rcx + r14]
movzx ecx, r9w
xor al, byte [rdi + rbx]
mov byte [rbx], al
call fcn.1800138e0
inc ebp
cmp byte [rdi + rbx], 0
movzx r9d, ax
jne 0x180013870
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
movzx eax, r9w
shr ax, 8
mov byte [rbx + 1], al
lea eax, [rbp + 2]
mov rbp, qword [rsp + 0x30]
mov byte [rbx + 2], r9b
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
xor eax, eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1800138e0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
xor eax, eax
mov r9, rdx
cmp ax, r8w
jae 0x180013938
mov qword [rsp], rbx
movzx r10d, r8w
mov r11d, 0xff
lea rbx, [0x180051d80]
movzx eax, byte [r9]
movzx r8d, cx
lea r9, [r9 + 1]
shr r8w, 8
xor r8w, ax
movzx eax, cx
and r8w, r11w
shl ax, 8
movzx edx, r8w
movzx ecx, word [rbx + rdx*2]
xor cx, ax
dec r10
jne 0x180013904
mov rbx, qword [rsp]
movzx eax, cx
add rsp, 8
ret
Function at 0x180014260
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
push rdi
push r15
sub rsp, 0x1e8
mov rax, qword [0x1800750b0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov r10, qword [0x180078ab0]
mov qword [r11 + 0x18], rbx
xor ebx, ebx
mov qword [r11 - 0x18], rbp
mov rdi, rdx
mov r15, rcx
mov qword [rsp + 0x20], rbx
test r10, r10
jne 0x18001435e
movdqa xmm0, xmmword [str.LdrGetProcedureA_]
mov rcx, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [r11 - 0x20], rsi
mov qword [r11 - 0x28], r14
mov dword [rsp + 0x50], 0x65726464
mov word [rsp + 0x54], 0x7373
movdqa xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x56], bl
call fcn.180015560
movsxd rcx, dword [rax + 0x3c]
mov r11, rax
mov edx, dword [rcx + rax + 0x88]
add rdx, rax
mov r14d, dword [rdx + 0x1c]
mov r9d, dword [rdx + 0x20]
mov r10d, dword [rdx + 0x24]
mov esi, dword [rdx + 0x18]
add r14, rax
add r9, rax
add r10, rax
test esi, esi
je 0x180014347
nop word [rax + rax]
mov r8d, dword [r9]
movzx ebp, word [r10]
lea rax, [rsp + 0x40]
add r8, r11
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180014335
inc rax
test ecx, ecx
jne 0x180014322
test edx, edx
je 0x1800143a3
inc ebx
add r10, 2
add r9, 4
cmp ebx, esi
jb 0x180014310
mov r10, qword [0x180078ab0]
mov rsi, qword [rsp + 0x1d8]
mov r14, qword [rsp + 0x1d0]
mov rax, qword [0x180079608]
mov rbp, qword [rsp + 0x1e0]
mov rbx, qword [rsp + 0x210]
test rax, rax
cmovne r10, rax
mov rax, rdi
shr rax, 0x20
mov qword [0x180078ab0], r10
test eax, eax
jne 0x1800143ac
mov eax, edi
shr eax, 0x10
test ax, ax
jne 0x1800143ac
movzx r8d, di
xor edx, edx
jmp 0x180014429
mov r10d, dword [r14 + rbp*4]
add r10, r11
jmp 0x18001434e
lea rax, [rsp + 0xb0]
mov r9d, 0x104
mov r8, rdi
sub r8, rax
mov edx, r9d
lea rcx, [rsp + 0xb0]
nop dword [rax + rax]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x1800143f1
movzx eax, byte [r8 + rcx]
test al, al
je 0x1800143f1
mov byte [rcx], al
inc rcx
dec rdx
jne 0x1800143d0
jmp 0x1800143f6
test rdx, rdx
jne 0x1800143f9
dec rcx
mov byte [rcx], 0
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], 0
jne 0x180014400
mov word [rsp + 0x28], ax
lea rax, [rsp + 0xb0]
mov word [rsp + 0x2a], r9w
xor r8d, r8d
lea rdx, [rsp + 0x28]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x20]
mov rcx, r15
call r10
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.18001a000
add rsp, 0x1e8
pop r15
pop rdi
ret
Function at 0x1800154f0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1800750b0]
xor rax, rsp
mov qword [rsp + 0x50], rax
movzx eax, byte [0x18007934a]
test al, al
jne 0x180015546
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x48]
mov cl, 1
cmp eax, 2
je 0x18001553d
nop dword [rax]
nop dword [rax + rax]
inc cl
mov edx, 1
shl edx, cl
cmp edx, eax
jne 0x180015530
mov byte [0x18007934a], cl
movzx eax, cl
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18001a000
add rsp, 0x68
ret

Function at 0x180015560
Capabilities:
Parse pe header

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x60
mov rax, qword [0x1800750b0]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor eax, eax
mov rbx, rcx
mov qword [r11 - 0x48], 0
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov rax, qword [0x1800793c0]
mov r8d, 0x30
lea rdx, [r11 - 0x48]
test rax, rax
je 0x1800155b4
call rax
mov eax, eax
jmp 0x1800155ba
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800155de
cmp dword [rsp + 0x48], 0x1000000
je 0x1800155de
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18001a000
add rsp, 0x60
pop rbx
ret
mov qword [rsp + 0x80], rsi
call fcn.1800154f0
movzx esi, al
mov ecx, esi
shr rbx, cl
movzx ecx, al
shl rbx, cl
test rbx, rbx
je 0x1800156c6
mov edx, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1800156c6
mov qword [rsp + 0x78], rbp
mov ebp, 0x5a4d
mov qword [rsp + 0x88], rdi
nop word [rax + rax]
mov edx, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x180015668
cmp word [rbx], bp
jne 0x180015668
movsxd rdi, dword [rbx + 0x3c]
mov edx, pe_nt_image_headers64
add rdi, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x180015668
cmp dword [rdi], 0x4550
je 0x1800156c1
mov ecx, esi
mov eax, 1
shl rax, cl
sub rbx, rax
je 0x180015689
mov edx, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x180015630
lea rdx, str.Qi1GnqygDnaupI2XKp9yUHvaXFwqiRkj45FSQrL_zVNAmSvWyByCP9hAeOOutEdUkoEPhMPD_A
xor ecx, ecx
call fcn.180011760
xor eax, eax
mov rdi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18001a000
add rsp, 0x60
pop rbx
ret
mov rax, rbx
jmp 0x180015699
lea rdx, str.RsycZQYTbYyEoQ9XpIiZlSu7dnxm9116Ia0ONMzUT16b_9FZVd040cUdwzzQQSrnuaNpXGsMA
xor ecx, ecx
call fcn.180011760
xor eax, eax
jmp 0x1800156a6