joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000ec13
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x14056a798], eax
inc eax
jne 0x14000ec2d
call sub.msvcrt.dll_abort
nop
add rsp, 0x28
ret

Function at 0x14000eda1
Capabilities:
Print debug messages

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x90
mov rbx, rcx
test rcx, rcx
je 0x14000ee3d
call fcn.1400113ca
dec eax
jne 0x14000ee36
xor eax, eax
lea rdi, [rsp + 0x25]
mov ecx, 0xa
lea rsi, str.Error_cleaning_up_spin_keys_for_thread
rep movsd dword [rdi], dword [rsi]
lea rdi, [rsp + 0x4d]
mov ecx, 0x43
rep stosb byte [rdi], al
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x4c]
mov r8d, 0xa
mov ecx, eax
call qword [sym.imp.msvcrt.dll__ultoa]
mov eax, 0x27
lea rcx, [rsp + 0x25]
cmp byte [rcx + rax], 0
je 0x14000ee15
inc rax
cmp rax, 0x6b
jne 0x14000ee04
jmp 0x14000ee2b
cmp eax, 0x6a
je 0x14000ee2b
movsxd rdx, eax
inc eax
cdqe
mov byte [rsp + rdx + 0x25], 0xa
mov byte [rsp + rax + 0x25], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.msvcrt.dll_abort
mov qword [rbx], 0xffffffffffffffff
add rsp, 0x90
pop rbx
pop rsi
pop rdi
ret

Function at 0x14000eedf
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
call fcn.14000ee48
mov ecx, dword [0x14056a798]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
test rax, rax
jne 0x14000efee
call fcn.14000ecf5
cmp qword [0x14057c048], 0
mov rbx, rax
je 0x14000efee
test rax, rax
je 0x14000efee
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
mov dword [rbx + 0x70], eax
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x38], 0xffffffffffffffff
lea rcx, [rbx + 0x68]
mov qword [rbx + 0x30], rax
call fcn.14000eda1
xor edx, edx
xor ecx, ecx
mov rdi, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rbx + 0xb8], edx
mov qword [rbx + 0x28], rcx
call rdi
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rsi, rax
call rdi
xor r8d, r8d
mov dword [rsp + 0x30], 2
mov rdx, rsi
mov dword [rsp + 0x28], r8d
mov rcx, rax
lea r9, [rbx + 0x28]
mov dword [rsp + 0x20], r8d
mov r8, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x14000efb4
call sub.msvcrt.dll_abort
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ecx, dword [0x14056a798]
mov rdx, rbx
mov dword [rbx + 0xc0], eax
xor eax, eax
mov dword [rbx + 0xbc], eax
mov al, byte [rbx + 0x40]
and eax, 0xffffffcf
or eax, 0x10
mov byte [rbx + 0x40], al
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14000efaf
mov rsi, rbx
mov rax, rsi
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
Function at 0x14000fb6f
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
call fcn.14000eedf
mov qword [rax + 8], rsi
mov rcx, qword [rax + 0x1d8]
mov rbx, rax
call fcn.14000f647
test byte [rbx + 0x40], 0x30
jne 0x14000fba8
lea rcx, [rbx + 0xd0]
mov edx, 1
call qword [sym.imp.msvcrt.dll_longjmp]
mov ecx, dword [0x14056a798]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14000fc33
cmp qword [rax + 0x28], 0
mov rcx, qword [rax + 0x30]
jne 0x14000fbe3
mov dword [rax], 0xdeadbeef
test rcx, rcx
je 0x14000fbd8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
mov esi, dword [rbx + 8]
mov qword [rbx + 0x30], rcx
jmp 0x14000fc1d
mov dword [rax + 0xbc], 1
mov esi, dword [rax + 8]
test rcx, rcx
je 0x14000fbfb
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov qword [rbx + 0x30], rdx
test byte [rbx + 0x44], 4
je 0x14000fc33
mov dword [rbx], 0xdeadbeef
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov qword [rbx + 0x28], rax
mov rcx, rbx
call fcn.14000eff9
mov ecx, dword [0x14056a798]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, esi
call qword [sym.imp.msvcrt.dll__endthreadex]
nop
Function at 0x14047ca68
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140479c7c
cmp ebx, 2
jmp 0x14044ee48
mov rdx, rax
jmp 0x14044a1e0
jmp 0x140453b2f
lea rsp, [rsp + 8]
jne 0x140468b5e
mov rcx, rax
push 0xffffffffe5141e2a
lea rsp, [rsp + 8]
jmp 0x140451737
push 0xffffffffc00d873a
cmp ebx, 3
lea rsp, [rsp + 8]
jne 0x1404860a1
mov r8d, 0x9295c89e
lea r8, [r8*2 + 0x5939ce22]
mov r8, rax
call fcn.14044f150
movzx edx, byte [rbp + riz]
mov edi, 0xc888d885
add rdi, rdi
adc rbp, 1
ror dil, 0xa7
shr rdi, 0x28
xor dl, r8b
shl rdi, 0x6d
sbb dl, 0xa4
call fcn.140452ede
jne 0x14047688d
jmp 0x14046088a
cmp ebx, 1
jmp 0x14047117c
call fcn.14047c5c3
Function at 0x140018150
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140152c30], rbx
je 0x1400181b7
cmp rax, rbx
jne 0x1400181aa
mov edi, 1
mov esi, edi
jmp 0x1400181bc
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14001818f
mov edi, 1
mov eax, dword [0x140152c38]
cmp eax, edi
jne 0x1400181d4
mov ebx, 0x1f
mov ecx, ebx
call sub.msvcrt.dll__amsg_exit
jmp 0x14001824a
mov eax, dword [0x140152c38]
test eax, eax
jne 0x14001823f
mov dword [0x140152c38], edi
lea r15, [0x1400f67a8]
lea rbx, [0x1400f6790]
mov qword [rsp + 0x30], rbx
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rbx, r15
jae 0x140018231
test eax, eax
jne 0x140018235
cmp qword [rbx], r14
je 0x140018226
movabs r10, 0xd30527475e523070
mov rax, qword [rbx]
mov rcx, qword [0x1400f66b0]
call rcx
mov dword [rsp + 0x24], eax
add rbx, 8
mov qword [rsp + 0x30], rbx
jmp 0x1400181fe
test eax, eax
je 0x140018245
mov eax, 0xff
jmp 0x1400183ab
mov dword [0x1401525dc], edi
mov ebx, 0x1f
mov eax, dword [0x140152c38]
cmp eax, edi
jne 0x140018271
lea rdx, [0x1400f6788]
lea rcx, [0x1400f66c8]
call sub.msvcrt.dll__initterm
mov dword [0x140152c38], 2
test esi, esi
jne 0x14001827f
mov rax, r14
xchg qword [0x140152c30], rax
cmp qword [0x140152c50], r14
je 0x1400182bc
lea rcx, [0x140152c50]
call fcn.140018c10
test eax, eax
je 0x1400182bc
movabs r10, 0x99012e4578d92870
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140152c50]
mov r9, qword [0x1400f66b0]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x1400182d5
mov eax, 0xff
jmp 0x1400183ab
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14001835c
test ax, ax
je 0x1400182f0
test edx, edx
jne 0x14001835c
sub ax, di
cmp ax, bx
ja 0x140018306
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x1400182f0
test byte [rsp + 0x7c], dil
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140015d34
mov dword [0x1401525d8], eax
cmp dword [0x1401525f8], r14d
jne 0x140018345
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1401525dc], r14d
jne 0x14001835a
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1401525d8]
jmp 0x1400183ab
cmp ax, 0x22
jne 0x140018370
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400182de
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.1401f0000
add rsp, 0x28
jmp 0x140018150
Function at 0x14000147a
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400bd670]
mov dword [rax], 1
mov rax, qword [0x1400bd680]
mov dword [rax], 1
mov rax, qword [0x1400bd690]
mov dword [rax], 1
mov rax, qword [0x1400bd660]
mov dword [rax], 1
mov rax, qword [0x1400bd510]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014d8
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140001504
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000152a
cmp eax, 0x20b
je 0x140001551
jmp 0x140001580
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000153d
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001585
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000156c
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001585
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x14000b1b0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.140018ca0
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.140018ca0
mov r8, rbx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x14000bde2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400e4128]
test eax, eax
je 0x14000be7a
lea rax, [0x1400e4100]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400e4130]
mov qword [rbp - 8], rax
jmp 0x14000be5e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x14000be52
cmp qword [rbp - 0x10], 0
je 0x14000be52
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x14000be18
lea rax, [0x1400e4100]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14000be7b
nop
add rsp, 0x30
pop rbp
ret
Function at 0x14000bf80
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x14000bfa8
mov eax, 0
jmp 0x14000bff6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14000bfd1
mov eax, 0
jmp 0x14000bff6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x14000bff1
mov eax, 0
jmp 0x14000bff6
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x14000bffc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14000c07a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x14000c071
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x14000c071
mov rax, qword [rbp - 8]
jmp 0x14000c08f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x14000c044
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x14001af70
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x98
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rsp + 0x20], rax
movabs rax, 0x6b5f6e6970732070
mov qword [rsp + 0x28], rdx
movabs rdx, 0x20726f6620737965
mov qword [rsp + 0x30], rax
movabs rax, 0x20646165726874
mov qword [rsp + 0x38], rdx
xor edx, edx
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov word [rsp + 0x88], ax
mov byte [rsp + 0x8a], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x47]
mov r8d, 0xa
mov ecx, eax
call qword [sym.imp.msvcrt.dll__ultoa]
cmp byte [rsp + 0x47], 0
je 0x14001b082
mov eax, 0x28
lea rcx, [rsp + 0x20]
jmp 0x14001b05a
add rax, 1
cmp rax, 0x6b
je 0x14001b077
cmp byte [rcx + rax], 0
movsxd rdx, eax
jne 0x14001b050
cmp edx, 0x6a
je 0x14001b077
lea eax, [rdx + 1]
cdqe
mov byte [rsp + rdx + 0x20], 0xa
mov byte [rsp + rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.msvcrt.dll_abort
mov eax, 0x28
mov edx, 0x27
lea rcx, [rsp + 0x20]
jmp 0x14001b06b
Function at 0x14001b420
Capabilities:
Allocate thread local storage

Disassembly:
push r13
push r12
push rsi
push rbx
sub rsp, 0x28
lea rsi, [0x1400e4d00]
mov rcx, rsi
call fcn.14001ace0
lea r13, [rax + 8]
mov r12, rax
mov rcx, r13
call fcn.14001a4f0
mov ebx, dword [0x1400e4d00]
test ebx, ebx
jne 0x14001b490
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1400b5198], eax
cmp eax, 0xffffffff
je 0x1400b4f16
mov dword [0x1400e4d00], 1
mov rcx, r13
call fcn.14001a810
test r12, r12
je 0x14001b4c2
mov rcx, r12
add rsp, 0x28
pop rbx
pop rsi
pop r12
pop r13
jmp fcn.14001b0a0
cmp ebx, 1
je 0x14001b471
mov ecx, 2
call qword [fcn.140018ca0]
mov r9d, ebx
mov r8, rsi
lea rdx, str._once__p_is__d_n
mov rcx, rax
call fcn.14001acb0
mov rcx, r13
call fcn.14001a810
test r12, r12
jne 0x14001b47e
add rsp, 0x28
pop rbx
pop rsi
pop r12
pop r13
ret
call sub.msvcrt.dll_abort
nop
Function at 0x14007a950
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbp, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
jmp 0x14007a977
call rbp
cmp dword [rax], 4
jne 0x14007a994
mov rcx, rdi
call fcn.14007a780
mov r8d, ebx
mov rdx, rsi
mov ecx, eax
call sub.msvcrt.dll__read
movsxd r12, eax
cmp eax, 0xffffffff
je 0x14007a970
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x1400b4340
Capabilities:
Execute command

Disassembly:
push rbx
sub rsp, 0x20
call fcn.14000af17
lea rcx, str.Running_n
call fcn.1400016e0
lea rcx, str.java__jar_starmade_launcher.jar
call sub.msvcrt.dll_system
lea rcx, str.rv:__d_n
mov ebx, eax
mov edx, eax
call fcn.1400016e0
cmp ebx, 1
je 0x1400b437f
xor eax, eax
add rsp, 0x20
pop rbx
ret
lea rcx, str.No_java_version_found_n
call fcn.1400016e0
jmp 0x1400b4377
Function at 0x140001120
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x10], 0
je 0x140001146
xor eax, eax
jmp 0x140001322
mov r8d, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.14000163c
test eax, eax
jne 0x140001165
xor eax, eax
jmp 0x140001322
mov rcx, qword [rsp + 0x60]
call fcn.140001788
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140001181
xor eax, eax
jmp 0x140001322
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x20]
mov dword [rax + 0x30], ecx
movsxd rax, dword [rsp + 0x20]
mov r9d, 4
mov r8d, 0x3000
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400011c2
xor eax, eax
jmp 0x140001322
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
call fcn.1400018b4
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x20]
mov ecx, 8
imul rcx, rcx, 5
cmp dword [rax + rcx + 0x88], 0
jbe 0x14000121d
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x20]
mov ecx, 8
imul rcx, rcx, 5
cmp dword [rax + rcx + 0x8c], 0
jbe 0x14000121d
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
call fcn.140001cec
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
call fcn.140001a38
test eax, eax
jne 0x14000124a
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x140001322
movsxd rax, dword [rsp + 0x20]
lea r9, [rsp + 0x28]
mov r8d, 0x40
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x20]
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x30], rcx
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x20]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0x30]
call qword [rsp + 0x38]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x140001304
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov qword [rsp + 0x40], rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [rsp + 0x40]
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, qword [rsp + 0x60]
mov qword [rax + 8], 0
xor eax, eax
jmp 0x140001322
mov rax, qword [rsp + 0x60]
mov dword [rax], 1
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov eax, 1
add rsp, 0x58
ret
Function at 0x14000ace4
Capabilities:
Hash data using fnv

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
sub rsp, 0x18
xor eax, eax
cmp eax, 1
je 0x14000ad18
movsx eax, byte [rsp + 0x28]
cmp eax, 0x41
jl 0x14000ad18
movsx eax, byte [rsp + 0x28]
cmp eax, 0x5a
jg 0x14000ad18
movsx eax, byte [rsp + 0x28]
or eax, 0x20
mov dword [rsp], eax
jmp 0x14000ad20
movsx eax, byte [rsp + 0x28]
mov dword [rsp], eax
mov eax, dword [rsp]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
add rsp, 0x18
ret

Function at 0x140013d74
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x20], 0
jmp 0x140013e37
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x140013ecd
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.140013ed4
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.140013f4c
cmp dword [rsp + 0x88], eax
jne 0x140013ec8
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x24], ax
movzx eax, word [rsp + 0x24]
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
jmp 0x140013ecf
jmp 0x140013e2d
xor eax, eax
add rsp, 0x78
ret

Function at 0x14001405c
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14001475c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x38], rax
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x48
ret
Function at 0x14001f38c
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rbx, rcx
test rcx, rcx
jne 0x14001f3ab
call fcn.14002a46c
jmp 0x14001f460
and qword [rbp - 0x30], 0
lea rcx, [rbp - 0x50]
and qword [rbp - 0x28], 0
xor edx, edx
and qword [rbp - 0x20], 0
and qword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
mov byte [rbp - 8], 0
call fcn.14001f1ec
mov rax, qword [rbp - 0x48]
mov r9d, 0xfde9
cmp dword [rax + 0xc], r9d
jne 0x14001f3f6
cmp byte [rbp - 0x38], 0
je 0x14001f42b
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14001f42b
call fcn.140026f0c
test eax, eax
jne 0x14001f417
cmp byte [rbp - 0x38], al
je 0x14001f40f
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14001f42b
cmp byte [rbp - 0x38], 0
je 0x14001f428
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
xor r9d, r9d
lea r8, [rbp + 0x10]
mov rcx, rbx
lea rdx, [rbp - 0x30]
call fcn.14001f070
test eax, eax
je 0x14001f444
or ebx, 0xffffffff
jmp 0x14001f44f
mov rcx, qword [rbp - 0x20]
call fcn.14002a46c
mov ebx, eax
cmp byte [rbp - 8], 0
je 0x14001f45e
mov rcx, qword [rbp - 0x20]
call fcn.140026874
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rbp
ret

Function at 0x140020180
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001ff70