joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400389d0
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
mov rbx, qword [0x1400c9250]
mov rsi, rcx
test rbx, rbx
je 0x140038a50
mov rax, qword [0x1400b8660]
mov rcx, qword [rax + 0x48]
cmp rbx, rcx
je 0x140038a40
mov rdx, qword [0x1400c9488]
test rdx, rdx
je 0x140038b40
mov rcx, rbx
mov rbx, qword [sym.imp.python312.dll_PyNumber_InPlaceAdd]
call rbx
mov rcx, rax
mov rdx, rsi
mov rax, rbx
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp rax
mov rbx, qword [sym.imp.python312.dll_PyNumber_InPlaceAdd]
jmp 0x140038a21
lea r15, str.NUITKA_ONEFILE_BINARY
mov rcx, r15
call fcn.140019a00
test rax, rax
je 0x140038b60
mov rcx, rax
mov rdx, 0xffffffffffffffff
lea r14, [rsp + 0x40]
call qword [sym.imp.python312.dll_PyUnicode_FromWideChar]
xor ecx, ecx
mov r13, r14
lea r12, [r15 + 0x28]
mov word [rsp + 0x40], cx
lea rbp, [rsp + 0x3a]
lea rdi, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov eax, 0x4e
nop
mov rbx, r12
mov r8d, 2
mov rdx, rbp
mov rcx, rdi
sub rbx, r15
mov byte [rsp + 0x3a], al
mov byte [rsp + 0x3b], 0
call sub.msvcrt.dll_mbstowcs
cmp rax, 1
jne 0x1400a46f2
cmp word [r13], 0
movzx edx, word [rsp + 0x3c]
mov rax, r13
je 0x140038aee
nop word [rax + rax]
add rax, 2
sub rbx, 1
cmp word [rax], 0
jne 0x140038ae0
test rbx, rbx
je 0x1400a46f2
mov word [rax], dx
add r15, 1
xor edx, edx
add r13, 2
mov word [rax + 2], dx
movzx eax, byte [r15]
test al, al
jne 0x140038aa0
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
call qword [sym.imp.python312.dll_PyThreadState_Get]
mov rdx, qword [rsp + 0x28]
mov rcx, rax
call fcn.140038860
mov rbx, rax
mov qword [0x1400c9250], rbx
jmp 0x1400389f2
lea rcx, [0x1400b4bb2]
call qword [sym.imp.python312.dll_PyUnicode_FromString]
mov qword [0x1400c9488], rax
mov rdx, rax
jmp 0x140038a12
mov rbx, qword [0x1400c9268]
test rbx, rbx
jne 0x140038b31
cmp byte [0x1400c9482], 0
je 0x140038ba3
mov rdx, 0xffffffffffffffff
lea rcx, [0x1400c9280]
call qword [sym.imp.python312.dll_PyUnicode_FromWideChar]
mov qword [0x1400c9268], rax
mov rbx, rax
test rax, rax
je 0x140038baf
mov eax, dword [rax]
add eax, 1
je 0x140038b31
mov dword [rbx], eax
jmp 0x140038b31
mov ecx, 1
call fcn.14001a680
jmp 0x140038b75
call qword [sym.imp.python312.dll_PyErr_Print]
call sub.msvcrt.dll_abort
nop
nop dword [rax + rax]
call sub.msvcrt.dll_abort
nop
Function at 0x140039430
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rsi, str.NUITKA_ONEFILE_BINARY
mov ebx, ecx
mov rcx, rsi
call fcn.140019a00
test rax, rax
je 0x140039580
mov rcx, rax
mov rdx, 0xffffffffffffffff
lea r14, [rsp + 0x40]
call qword [sym.imp.python312.dll_PyUnicode_FromWideChar]
xor ecx, ecx
mov r15, r14
lea r12, [rsi + 0x28]
mov word [rsp + 0x40], cx
mov r13, rax
lea rbp, [rsp + 0x3a]
mov eax, 0x4e
lea rdi, [rsp + 0x3c]
nop word [rax + rax]
mov rbx, r12
mov r8d, 2
mov rdx, rbp
mov rcx, rdi
sub rbx, rsi
mov byte [rsp + 0x3a], al
mov byte [rsp + 0x3b], 0
call sub.msvcrt.dll_mbstowcs
cmp rax, 1
jne 0x1400a470a
cmp word [r15], 0
movzx edx, word [rsp + 0x3c]
mov rax, r15
je 0x1400394e6
nop dword [rax]
add rax, 2
sub rbx, 1
cmp word [rax], 0
jne 0x1400394d8
test rbx, rbx
je 0x1400a470a
mov word [rax], dx
add rsi, 1
xor edx, edx
add r15, 2
mov word [rax + 2], dx
movzx eax, byte [rsi]
test al, al
jne 0x140039498
mov rcx, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
call qword [sym.imp.python312.dll_PyThreadState_Get]
mov rcx, qword [0x1400c9bc0]
mov rsi, rax
mov rax, qword [0x1400b8660]
mov rbx, qword [rax + 0x1c0]
test rcx, rcx
je 0x1400395ed
mov rdx, rbx
call fcn.14000a0d0
mov r8, r13
mov rcx, rsi
mov rbx, rax
mov rdx, rax
call fcn.14002d000
mov rdx, qword [rbx]
test edx, edx
js 0x140039562
sub rdx, 1
mov qword [rbx], rdx
je 0x1400395d5
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [0x1400c9260]
lea rsi, [0x1400c9260]
test bl, bl
je 0x1400395a0
mov rax, qword [0x1400c9268]
lea rsi, [0x1400c9268]
test rax, rax
jne 0x140039562
cmp byte [0x1400c9482], 0
je 0x140039617
mov rdx, 0xffffffffffffffff
lea rcx, [0x1400c9280]
call qword [sym.imp.python312.dll_PyUnicode_FromWideChar]
mov qword [rsi], rax
test rax, rax
je 0x140039621
mov edx, dword [rax]
add edx, 1
je 0x140039562
mov dword [rax], edx
jmp 0x140039562
mov qword [rsp + 0x28], rax
mov rcx, rbx
call qword [sym.imp.python312.dll__Py_Dealloc]
mov rax, qword [rsp + 0x28]
jmp 0x140039562
mov rcx, qword [0x1400c9b38]
mov rdi, qword [rax + 0x1b0]
test rcx, rcx
je 0x14003962c
mov rdx, rdi
call fcn.14000a0d0
mov qword [0x1400c9bc0], rax
mov rcx, rax
jmp 0x140039539
movzx ecx, bl
call fcn.14001a680
jmp 0x1400395ae
call qword [sym.imp.python312.dll_PyErr_Print]
call sub.msvcrt.dll_abort
lea rcx, [0x1400af793]
call qword [sym.imp.python312.dll_PyImport_ImportModule]
mov qword [0x1400c9b38], rax
mov rcx, rax
test rax, rax
je 0x1400a470a
jmp 0x140039600
Function at 0x14008fe70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp byte [0x1400c9241], 0
mov rbp, rcx
mov rdi, rdx
mov r12, r8
je 0x14008ff18
lea rdx, [0x1400b448a]
mov rcx, r12
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x14008ff80
mov rbx, qword [0x1400c90e0]
jmp 0x14008feb5
lea rbx, [rdx + rax + 4]
mov rdx, rbx
mov rcx, r12
call sub.msvcrt.dll_strcmp
mov rcx, rbx
mov esi, eax
call sub.msvcrt.dll_strlen
lea rdx, [rbx + rax + 1]
mov eax, dword [rdx]
test esi, esi
jne 0x14008feb0
movzx eax, word [rdx + 4]
lea r8, [rdx + 6]
test ax, ax
je 0x14008ff07
lea rbx, [rdi + rax*8]
nop word cs:[rax + rax]
mov rdx, rdi
mov rcx, rbp
add rdi, 8
call fcn.14007fe70
mov r8, rax
cmp rdi, rbx
jne 0x14008fef0
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov r8d, 0xa
xor ecx, ecx
mov edx, 3
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
lea rdx, [rax + 4]
mov qword [0x1400c90e0], rax
mov ebx, dword [rax]
mov qword [0x1400c90e0], rdx
mov r8d, dword [rax + 4]
lea rdx, [rax + 8]
mov qword [0x1400c90e0], rdx
call fcn.14008efa0
cmp eax, ebx
jne 0x14008ffe8
mov byte [0x1400c9241], 1
jmp 0x14008fe90
cmp byte [0x1400c9240], 0
jne 0x14008fea7
mov rbx, qword [sym.imp.python312.dll_PyDict_New]
call rbx
mov qword [0x1400c9de8], rax
call rbx
mov qword [0x1400c9de0], rax
call rbx
mov qword [0x1400c9dd8], rax
call rbx
mov qword [0x1400c9dd0], rax
call rbx
mov qword [0x1400c9dc8], rax
call rbx
mov qword [0x1400c9dc0], rax
call rbx
mov qword [0x1400c9db8], rax
call rbx
mov byte [0x1400c9240], 1
mov qword [0x1400c9db0], rax
jmp 0x14008fea7
lea rcx, str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x140092430
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.1400a3bb0
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.1400a3bb0
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
Function at 0x140093102
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400ca2a8]
test eax, eax
je 0x14009319a
lea rax, [0x1400ca280]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400ca2b0]
mov qword [rbp - 8], rax
jmp 0x14009317e
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 0x140093172
cmp qword [rbp - 0x10], 0
je 0x140093172
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 0x140093138
lea rax, [0x1400ca280]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14009319b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1400932a0
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 0x1400932c8
mov eax, 0
jmp 0x140093316
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 0x1400932f1
mov eax, 0
jmp 0x140093316
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 0x140093311
mov eax, 0
jmp 0x140093316
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x14009331c
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 0x14009339a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140093391
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 0x140093391
mov rax, qword [rbp - 8]
jmp 0x1400933af
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 0x140093364
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140059a50
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140059a5d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140059a6d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140059a55
lea eax, [rcx + 1]
jmp 0x140059a7b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140059a8e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140059a74
sub eax, 3
jb 0x140059aae
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140059afd
sar eax, 1
movsxd rbp, eax
jb 0x140059ae4
jmp 0x140059abc
add ebx, ebx
jne 0x140059aba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140059ae4
inc ecx
add ebx, ebx
jne 0x140059aca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140059ae4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140059add
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140059acc
add ecx, 2
jmp 0x140059ae9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140059a12
jmp 0x140059a5d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x2a000
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140059b49
cmp rsi, rcx
jae 0x140059b51
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140059b30
cmp al, 0x8f
ja 0x140059b30
cmp byte [rsi - 2], 0xf
je 0x140059b36
sub al, 0xe8
cmp al, 1
ja 0x140059b1a
cmp rsi, rcx
jae 0x140059b51
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140059b20
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140059b51
lodsb al, byte [rsi]
jmp 0x140059b30
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x57000]
mov eax, dword [rdi]
or eax, eax
je 0x140059bba
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x68440]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140059b5e
jns 0x140059b93
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140059b9d
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140059bb4
mov qword [rbx], rax
add rbx, 8
jmp 0x140059b7e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140059bf4
cmp al, 0xef
ja 0x140059be6
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140059bc6
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140059bd5
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x227]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140059c48
sub rsp, 0xffffffffffffff80
jmp 0x14000cdb0
Function at 0x180002bb5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x158
lea rax, [0x1803c44c6]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0x10]
call fcn.18000336d
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x5c]
mov eax, eax
mov r9d, 4
mov r8d, 0x1000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x40]
mov r9d, dword [rax + 0x30]
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 0xc]
mov rdx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0x20]
call fcn.180003251
mov qword [rsp + 0xe8], rax
mov r8d, 0x104
mov rdx, qword [rsp + 0x78]
xor ecx, ecx
call qword [rsp + 0xe8]
mov dword [rsp + 0x98], eax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x54]
mov qword [rsp + 0xc0], rax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x50], eax

Function at 0x180002be0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x158
lea rax, [0x1803c44c6]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0x10]
call fcn.18000336d
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x5c]
mov eax, eax
mov r9d, 4
mov r8d, 0x1000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x40]
mov r9d, dword [rax + 0x30]
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 0xc]
mov rdx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0x20]
call fcn.180003251
mov qword [rsp + 0xe8], rax
mov r8d, 0x104
mov rdx, qword [rsp + 0x78]
xor ecx, ecx
call qword [rsp + 0xe8]
mov dword [rsp + 0x98], eax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x54]
mov qword [rsp + 0xc0], rax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x50], eax
Function at 0x180003251
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*8 + 0x88]
mov rcx, qword [rsp + 0x78]
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 + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0
jmp 0x1800032fd

Function at 0x18000336d
Capabilities:
Access peb ldr_data

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov rax, qword gs:[0x60]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
add rax, 0x10
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rsp + 0x20]
Function at 0x18000d480
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
mov rcx, qword [rcx + 0x50]
call sym.VBoxRT.dll_RTTlsGet
mov rbx, rax
test rax, rax
jne 0x18000d5b6
call sym.VBoxRT.dll_RTThreadIsSelfAlive
test al, al
jne 0x18000d4be
lea rax, [rsi + 0x78]
jmp 0x18000d5bd
mov rcx, qword [rsi + 0x50]
lea rbx, [rsi + 0x78]
mov rdx, rbx
call sym.VBoxRT.dll_RTTlsSet
test eax, eax
js 0x18000d5b6
lea rdx, str.D:_tinderboxwin_4.2_srcVBoxRuntimecommon_allocmemtracker.cpp
mov ecx, 0x100
call sym.VBoxRT.dll_RTMemAllocZTag
mov rdi, rax
test rax, rax
je 0x18000d5b6
mov r9d, 1
lea rcx, [rax + 0x18]
xor r8d, r8d
lea edx, [r9 + 6]
mov qword [rsp + 0x20], 0
call sym.VBoxRT.dll_RTCritSectInitEx
test eax, eax
js 0x18000d5ae
mov qword [rdi], rdi
mov qword [rdi + 8], rdi
lea rax, [rdi + 0x48]
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rdi + 0x10], rsi
mov dword [rdi + 0x58], 1
call sym.VBoxRT.dll_RTThreadSelfName
test rax, rax
je 0x18000d555
lea rcx, [rdi + 0xe0]
mov r8, rax
mov edx, 0x20
call sym.VBoxRT.dll_RTStrCopy
mov rcx, qword [rsi + 0x50]
mov rdx, rdi
call sym.VBoxRT.dll_RTTlsSet
test eax, eax
js 0x18000d5a5
lea rcx, [rsi + 8]
call sym.VBoxRT.dll_RTCritSectEnter
mov eax, dword [rsi + 0x48]
lea rdx, [rsi + 0x38]
mov dword [rdi + 0x5c], eax
inc dword [rsi + 0x48]
mov rax, qword [rdx + 8]
mov qword [rax], rdi
mov rax, qword [rdx + 8]
mov qword [rdi], rdx
mov qword [rdi + 8], rax
mov qword [rdx + 8], rdi
inc dword [rsi + 0x20c]
lea rcx, [rsi + 8]
call sym.VBoxRT.dll_RTCritSectLeave
mov rax, rdi
jmp 0x18000d5bd
lea rcx, [rdi + 0x18]
call sym.VBoxRT.dll_RTCritSectDelete
mov rcx, rdi
call sym.VBoxRT.dll_RTMemFree
lock inc dword [rbx + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180233800
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ebx, edx
mov rsi, r8
lea rdx, [0x180354630]
mov r8d, 0x1048
mov rdi, rcx
call sub.MSVCR100.dll_memcpy
mov eax, 0x48
mov rdx, rsi
cmp ebx, eax
cmovg ebx, eax
movsxd r8, ebx
add r8, rsi
xor ebx, ebx
mov r9d, ebx
nop word [rax + rax]
movzx ecx, byte [rdx]
inc rdx
cmp rdx, r8
cmovae rdx, rsi
shl ecx, 8
movzx eax, byte [rdx]
inc rdx
or ecx, eax
cmp rdx, r8
cmovae rdx, rsi
shl ecx, 8
movzx eax, byte [rdx]
inc rdx
or ecx, eax
cmp rdx, r8
cmovae rdx, rsi
shl ecx, 8
movzx eax, byte [rdx]
inc rdx
or ecx, eax
cmp rdx, r8
cmovae rdx, rsi
xor dword [rdi + r9*4], ecx
inc r9
cmp r9, 0x12
jl 0x180233850
mov qword [rsp + 0x30], rbx
mov rsi, rbx
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
mov rdx, rdi
call fcn.180232440
mov eax, dword [rsp + 0x30]
add rsi, 2
mov dword [rdi + rsi*4 - 8], eax
mov eax, dword [rsp + 0x34]
mov dword [rdi + rsi*4 - 4], eax
cmp rsi, 0x12
jl 0x1802338b0
nop word [rax + rax]
lea rcx, [rsp + 0x30]
mov rdx, rdi
call fcn.180232440
mov eax, dword [rsp + 0x30]
add rbx, 2
mov dword [rdi + rbx*4 + 0x40], eax
mov eax, dword [rsp + 0x34]
mov dword [rdi + rbx*4 + 0x44], eax
cmp rbx, 0x400
jl 0x1802338e0
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140003420
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
xor r8, r8
push r8
push rax
pushfq
push r8
push rdx
sub rsp, 0xa8
push r8
push r15
push r14
push r13
push r12
push rbx
push r8
push rsi
push rdi
push rbp
push rax
push rdx
sub rsp, 0x290
movdqa xmmword [rsp + 0x2f0], xmm6
movdqa xmmword [rsp + 0x300], xmm7
movdqa xmmword [rsp + 0x310], xmm8
movdqa xmmword [rsp + 0x320], xmm9
movdqa xmmword [rsp + 0x330], xmm10
movdqa xmmword [rsp + 0x340], xmm11
movdqa xmmword [rsp + 0x350], xmm12
movdqa xmmword [rsp + 0x360], xmm13
movdqa xmmword [rsp + 0x370], xmm14
movdqa xmmword [rsp + 0x380], xmm15
mov eax, dword [0x14023e9d8]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x30
add rax, rbx
lea rdx, [rsp + 0x20]
xor r8, r8
mov qword [rdx + 0x10], r8
mov byte [rdx + 0x19], 1
mov dword [rdx + 0x1c], 0xffffffff
mov byte [rdx + 0x18], 2
mov r8, qword [rax + 0x80]
mov qword [rdx], r8
mov qword [rax + 0x80], rdx
lea r8, [rsp + 0x290]
mov qword [rdx + 8], r8
call fcn.1400c28f0
int3
push r15
push r14
push r13
push r12
push rbx
push rsi
push rdi
push rbp
sub rsp, 0xd8
movdqa xmmword [rsp + 0x20], xmm6
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x50], xmm9
movdqa xmmword [rsp + 0x60], xmm10
movdqa xmmword [rsp + 0x70], xmm11
movdqa xmmword [rsp + 0x80], xmm12
movdqa xmmword [rsp + 0x90], xmm13
movdqa xmmword [rsp + 0xa0], xmm14
movdqa xmmword [rsp + 0xb0], xmm15
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x128], rdx
mov qword [rsp + 0x130], r8
mov qword [rsp + 0x138], r9
mov eax, dword [0x14023e9d8]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x30
add rax, rbx
mov qword [rsp + 0xc0], rax
cmp rcx, qword [rax + 0x88]
sete byte [rsp + 0xd0]
lock and dword [rax + 0x38], 0xffffffef
mov rax, qword [r8 + 0x18]
mov rbx, qword [rax]
mov rax, qword [r8 + 0x20]
mov rbp, qword [rax]
mov rax, qword [r8 + 0x28]
mov rsi, qword [rax]
mov rax, qword [r8 + 0x30]
mov rdi, qword [rax]
mov rax, qword [r8 + 0x58]
mov r12, qword [rax]
mov rax, qword [r8 + 0x60]
mov r13, qword [rax]
mov rax, qword [r8 + 0x68]
mov r14, qword [rax]
mov rax, qword [r8 + 0x70]
mov r15, qword [rax]
movdqa xmm6, xmmword [r8 + 0x90]
movdqa xmm7, xmmword [r8 + 0xa0]
movdqa xmm8, xmmword [r8 + 0xb0]
movdqa xmm9, xmmword [r8 + 0xc0]
movdqa xmm10, xmmword [r8 + 0xd0]
movdqa xmm11, xmmword [r8 + 0xe0]
movdqa xmm12, xmmword [r8 + 0xf0]
movdqa xmm13, xmmword [r8 + 0x100]
movdqa xmm14, xmmword [r8 + 0x110]
movdqa xmm15, xmmword [r8 + 0x120]
mov rcx, qword [r8 + 0x78]
mov rdx, qword [rsp + 0x120]
call qword [rsp + 0x128]
mov r8, qword [rsp + 0x130]
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rdx + 0x70]
cmp rcx, 0
je 0x1400035b0
mov r9, qword [rdx + 0x68]
mov qword [r9], rcx
mov qword [rdx + 0x68], 0
mov qword [rdx + 0x70], 0
mov rcx, qword [rsp + 0x138]
mov r8, qword [r8 + 0x78]
xor r9d, r9d
mov rcx, qword [rcx]
cmp rcx, r9
je 0x1400035cc
cmp rcx, r8
jl 0x1400035bf
mov qword [rdx + 0x80], rcx
test dword [0x140236168], 1
je 0x1400035fb
cmp byte [rsp + 0xd0], 0
je 0x1400035fb
mov rcx, 0x43
mov rdx, rax
mov rsp, r8
jmp 0x140003120
mov rsp, r8
jmp rax