joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180050c00
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov esi, edx
mov ebx, r15d
xor eax, eax
mov rdi, rcx
mov ebp, 1
lock cmpxchg dword [0x18015fb48], ebp
je 0x180050c57
cmp rbx, 0x20
jae 0x180050c40
xor ecx, ecx
jmp 0x180050c42
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18015fb48], ebp
jne 0x180050c36
cmp qword [0x18015fb50], r15
je 0x180050d53
test rdi, rdi
jne 0x180050c77
mov ecx, esi
call fcn.180050530
mov ebp, eax
jmp 0x180050d58
mov ecx, dword [0x180160a4c]
mov ebx, r15d
test ecx, ecx
je 0x180050c9f
mov r8, qword [0x180160a40]
mov rax, r8
nop
cmp rdi, qword [rax]
je 0x180050ca9
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180050c90
mov ebp, 4
jmp 0x180050d58
cmp ebx, 0xffffffff
je 0x180050c9f
mov eax, ebx
imul rdx, rax, 0x38
movzx eax, byte [rdx + r8 + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x180050d4a
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180050270
mov edx, esi
mov ecx, ebx
call fcn.180050420
mov ebp, eax
cmp qword [rsp + 0x20], r15
je 0x180050d58
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180050d34
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x180050d2a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, 1
jne 0x180050d00
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18015fb50]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180050d58
neg esi
sbb ebp, ebp
add ebp, 6
jmp 0x180050d58
mov ebp, 2
xchg dword [0x18015fb48], r15d
mov rbx, qword [rsp + 0x40]
mov eax, ebp
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
Function at 0x180053920
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
push rbp
push rdi
push r14
sub rsp, 0x20
mov rdi, rcx
mov rbp, r8
mov rcx, qword [0x18015fe80]
mov r14, rdx
mov rax, qword [rcx]
mov r9, qword [rax + 0x118]
call r9
test al, al
je 0x180053b43
mov rcx, qword [0x18015fe80]
mov rax, qword [rcx]
mov r8, qword [rax + 0x120]
call r8
test al, al
je 0x180053b43
mov rdx, qword [0x18015f4b8]
mov rax, qword [0x180160998]
shl rax, 5
lea rcx, [rdx + 0x18]
add rcx, rax
cmp qword [rax + rdx + 0x10], 8
jbe 0x180053992
mov rcx, qword [rcx]
mov eax, dword [rcx]
lea rcx, [0x18015ff10]
cmp byte [rax + rcx], 1
je 0x1800539c7
mov rax, qword [0x180160990]
lea rcx, [rdx + 0x18]
shl rax, 5
add rcx, rax
cmp qword [rax + rdx + 0x10], 8
jbe 0x1800539be
mov rcx, qword [rcx]
cmp byte [rcx], 0
je 0x180053b43
mov ecx, dword [0x18015fb14]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x18015fe48], ecx
jle 0x180053a20
lea rcx, [0x18015fe48]
call fcn.1800e1570
cmp dword [0x18015fe48], 0xffffffff
jne 0x180053a20
movabs rcx, 0x7434adc5050d372d
call fcn.180071fb0
lea rcx, [0x18015fe48]
mov dword [0x18015fec8], eax
call fcn.1800e1504
mov eax, dword [0x18015fec8]
mov edx, dword [rax + rbp]
cmp edx, 0xffffffff
je 0x180053b43
mov rax, qword [0x18015fe98]
mov qword [rsp + 0x48], rsi
mov rcx, qword [rax + 0x58]
call fcn.180052690
mov rsi, rax
test rax, rax
je 0x180053b3e
mov qword [rsp + 0x40], rbx
lea rdx, [rsp + 0x58]
xor ebx, ebx
mov rcx, rax
mov qword [rsp + 0x58], rbx
mov r8, qword [rax]
call qword [r8 + 0x130]
mov r9, qword [rsp + 0x58]
test r9, r9
je 0x180053b39
mov r9, qword [r9 + 8]
movabs r8, 0xcbf29ce484222325
mov rcx, r9
cmp byte [r9], bl
je 0x180053a9c
inc rcx
cmp byte [rcx], bl
jne 0x180053a95
mov rdx, rbx
sub rcx, r9
je 0x180053b39
movabs r10, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movsx rax, byte [r9 + rdx]
inc rdx
xor r8, rax
imul r8, r10
cmp rdx, rcx
jb 0x180053ac0
movabs rax, 0x36346e513acca5de
cmp r8, rax
jne 0x180053b39
mov rdx, rsi
mov rcx, rbp
call fcn.1800785c0
test al, al
je 0x180053b39
mov rcx, qword [rdi + 0x38]
mov eax, dword [rcx]
test eax, eax
jle 0x180053b39
mov rdx, rbx
cmp ebx, eax
jge 0x180053b29
cmp ebx, dword [rdi + 0x30]
jge 0x180053b29
cmp qword [rdx + rcx + 8], 0
je 0x180053b29
mov eax, dword [rdi + 0x18]
test al, 8
jne 0x180053b1d
or eax, 8
mov dword [rdi + 0x18], eax
mov rax, qword [r14 + 0x38]
mov qword [rax + 0x18], 1
mov rcx, qword [rdi + 0x38]
inc ebx
add rdx, 8
mov eax, dword [rcx]
cmp ebx, eax
jl 0x180053b03
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x180058550
Capabilities:
Create directory
Get common file path

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x18015f040]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
lea rax, [rsp + 0x30]
xor ecx, ecx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 5
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x1800585b6
lea rdx, str.Error:_No_se_pudo_obtener_la_ruta_a_la_carpeta_Documentos.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.18005a0d0
lea rdx, [0x18005a280]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor al, al
jmp 0x180058633
lea rcx, [rsp + 0x30]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x1800585c2
add rax, 0xc
cmp rax, 0x104
jbe 0x1800585e1
lea rdx, str.Error:_El_buffer_de_destino_es_demasiado_peque
jmp 0x180058596
lea r8, [rsp + 0x30]
mov edx, 0x104
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, str..asphyxia_
mov edx, 0x104
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x180058631
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x180058631
lea rdx, str.Error:_No_se_pudo_crear_el_directorio_de_trabajo_predeterminado.
jmp 0x180058596
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1800e1360
add rsp, 0x250
pop rbx
ret
Function at 0x180059c50
Capabilities:
Create thread

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x18015f040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, r8
mov edi, edx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
test edi, edi
jne 0x180059c7e
call fcn.180059a80
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.1800e1ae0
test eax, eax
je 0x180059dd7
cmp edi, 1
jne 0x180059e1b
xor ecx, ecx
call fcn.18007dd40
mov qword [0x180160110], rax
test rax, rax
je 0x180059dd7
movabs rax, 0xb18f1414f96632ed
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
movabs rax, 0xe0c47f93852c7bb5
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
movabs rax, 0x102f8908c6899980
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
movabs rax, 0x592bd0c92c5c07ba
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
call fcn.180059e30
mov rcx, rax
call fcn.18007dd40
test rax, rax
je 0x180059dd7
movabs rax, 0xb18e1401f97432f5
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
movabs rax, 0xe08f7f93852f7ba5
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
movabs rax, 0x10438900c6cb9989
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
movabs rax, 0x592bd0c92c5c07d6
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
call fcn.180059e30
mov rcx, rax
call fcn.18007dd40
test rax, rax
jne 0x180059dc6
xor r9d, r9d
lea r8, str.lua_not_initiated
lea rdx, [0x18014ccfc]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, rbx
call fcn.180058650
test al, al
jne 0x180059dee
call fcn.180059a80
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1800e1360
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
xor eax, eax
lea r8, [0x180059c00]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180059e1b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x180059dd9
Function at 0x18005d310
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov rcx, qword [0x1801601d8]
mov rbx, rdx
movzx eax, word [rcx + 0x50]
cmp eax, 0xffff
je 0x18005d3b6
mov rdi, qword [rcx + 0x40]
movabs rbp, 0xcbf29ce484222325
movabs rsi, 0x100000001b3
mov r11d, eax
add r11, r11
mov r10, qword [rdi + r11*8]
test r10, r10
je 0x18005d3a9
mov r9, qword [r10]
mov r8, rbp
mov rax, r9
cmp byte [r9], 0
je 0x18005d378
nop
inc rax
cmp byte [rax], 0
jne 0x18005d370
mov edx, 0
sub rax, r9
je 0x18005d3a4
nop dword [rax]
nop word [rax + rax]
movsx rcx, byte [r9 + rdx]
inc rdx
xor r8, rcx
imul r8, rsi
cmp rdx, rax
jb 0x18005d390
cmp r8, rbx
je 0x18005d3cd
movzx eax, word [rdi + r11*8 + 0xa]
cmp eax, 0xffff
jne 0x18005d351
xor eax, eax
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
mov rax, r10
jmp 0x18005d3b8
Function at 0x180077c90
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
sub rsp, 0x18
movsxd rsi, dword [rsp + 0x58]
mov r11, rdx
mov qword [rsp + 0x30], rbx
mov r10, rcx
mov qword [rsp + 0x38], rdi
mov rbp, rdx
lea rdi, [r8 - 1]
mov qword [rsp + 0x40], r12
sar rdi, 1
mov rbx, rdx
mov qword [rsp + 8], r14
mov r14, r8
cmp rdx, rdi
jge 0x180077d41
mov qword [rsp + 0x10], r13
mov r13d, 0x30
mov qword [rsp], r15
nop word [rax + rax]
lea rdx, [rbx + rbx]
lea rax, [rdx + rdx*2]
lea r8, [r10 + rax*8]
movss xmm0, dword [rsi + r8 + 0x30]
lea rax, [r11 + r11*2]
comiss xmm0, dword [rsi + r8 + 0x18]
seta cl
movzx ebx, cl
xor rbx, 1
inc rbx
add rbx, rdx
mov edx, 0x18
test cl, cl
mov r11, rbx
cmove rdx, r13
movups xmm0, xmmword [rdx + r8]
movups xmmword [r10 + rax*8], xmm0
movsd xmm1, qword [rdx + r8 + 0x10]
movsd qword [r10 + rax*8 + 0x10], xmm1
cmp rbx, rdi
jl 0x180077ce0
mov r15, qword [rsp]
mov r13, qword [rsp + 0x10]
cmp rbx, rdi
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
jne 0x180077d7b
test r14b, 1
jne 0x180077d7b
lea rax, [r11 + r11*2]
lea rcx, [r14 + r14*2]
movups xmm0, xmmword [r10 + rcx*8 - 0x18]
lea r11, [r14 - 1]
movups xmmword [r10 + rax*8], xmm0
movsd xmm1, qword [r10 + rcx*8 - 8]
movsd qword [r10 + rax*8 + 0x10], xmm1
mov r14, qword [rsp + 8]
mov r12, qword [rsp + 0x40]
cmp rbp, r11
jge 0x180077dd0
movsxd r8, dword [rsp + 0x60]
nop
lea rcx, [r11 - 1]
sar rcx, 1
lea rdx, [rcx + rcx*2]
lea rax, [rsi + rdx*8]
movss xmm0, dword [rax + r10]
comiss xmm0, dword [r8 + r9]
jbe 0x180077dd0
lea rax, [r11 + r11*2]
mov r11, rcx
movups xmm0, xmmword [r10 + rdx*8]
movups xmmword [r10 + rax*8], xmm0
movsd xmm1, qword [r10 + rdx*8 + 0x10]
movsd qword [r10 + rax*8 + 0x10], xmm1
cmp rbp, rcx
jl 0x180077d90
movups xmm0, xmmword [r9]
lea rax, [r11 + r11*2]
movups xmmword [r10 + rax*8], xmm0
movsd xmm1, qword [r9 + 0x10]
movsd qword [r10 + rax*8 + 0x10], xmm1
add rsp, 0x18
pop rsi
pop rbp
ret
Function at 0x180091190
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov ebp, r8d
mov ecx, 0x3e80000
mov rbx, qword [rax + 0x2d8]
mov rax, qword [rdx + 0x80]
movzx edx, word [rdx + 0x68]
movzx edi, word [rax + 0x18]
mov eax, 0x40000
shl edi, 0x10
cmp edi, eax
cmovl edi, eax
shl edx, 0x10
call fcn.18007fd90
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x1800911e6
xor eax, eax
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x80], rsi
mov esi, dword [rbx + 0x28]
mov qword [rsp + 0x48], r12
mov r12d, dword [rbx + 0x3c]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x38]
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x2c]
mov qword [rsp + 0x38], r14
mov r14d, dword [rbx + 0x40]
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x34]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x30]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], r12d
test ebp, ebp
jg 0x18009123d
mov ebp, 0x4b0000
jmp 0x18009124b
shl ebp, 0x10
mov edx, ecx
mov ecx, ebp
call fcn.1800822d0
mov ebp, eax
bsr ecx, ebp
bsr eax, edi
shl r12d, 0x10
add eax, ecx
cmp eax, 0x2e
jl 0x180091261
mov eax, r12d
jmp 0x18009126a
mov edx, edi
mov ecx, ebp
call fcn.1800822d0
mov r9d, dword [rsp + 0x88]
mov ecx, r9d
shl ecx, 0x10
cmp eax, ecx
jge 0x180091286
shl esi, 0x10
mov ecx, esi
jmp 0x180091375
mov r8d, dword [rsp + 0x70]
mov edx, r8d
shl edx, 0x10
mov dword [rsp + 0x88], edx
cmp eax, edx
jge 0x1800912e4
mov ebx, r8d
mov edx, edi
sub ebx, r9d
call fcn.18007fd90
mov ecx, ebp
sub ecx, eax
test ebx, ebx
je 0x1800912d4
sub r15d, esi
mov r8d, ebx
mov edx, r15d
call fcn.1800821a0
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call fcn.18007fd90
add ebx, eax
jmp 0x18009137e
mov esi, dword [rsp + 0x78]
mov ebx, esi
mov r8d, dword [rsp + 0x70]
shl ebx, 0x10
jmp 0x1800912f1
mov esi, dword [rsp + 0x78]
mov ebx, esi
shl ebx, 0x10
cmp eax, ebx
jge 0x180091330
mov ecx, dword [rsp + 0x88]
mov r12d, esi
mov edx, edi
sub r12d, r8d
call fcn.18007fd90
mov ecx, ebp
sub ecx, eax
test r12d, r12d
je 0x180091335
sub r13d, r15d
mov r8d, r12d
mov edx, r13d
call fcn.1800821a0
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call fcn.18007fd90
add ebx, eax
jmp 0x18009137e
cmp eax, r12d
jge 0x18009136e
mov r15d, dword [rsp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.18007fd90
sub ebp, eax
sub r15d, esi
je 0x18009136e
sub r14d, r13d
mov r8d, r15d
mov edx, r14d
mov ecx, ebp
call fcn.1800821a0
shl r13d, 0x10
mov edx, edi
mov ecx, r13d
mov ebx, eax
call fcn.18007fd90
add ebx, eax
jmp 0x18009137e
shl r14d, 0x10
mov ecx, r14d
mov edx, edi
call fcn.18007fd90
mov ebx, eax
mov edx, dword [rsp + 0x24]
mov ecx, ebx
call fcn.18007fd90
mov r15, qword [rsp + 0x30]
add eax, 0x8000
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
shr eax, 0x10
cwde
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
Function at 0x1800c9b90
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
xor r14d, r14d
sub rax, 0x34
mov qword [rcx + 0x78], r14
mov qword [rcx + 0x28], rax
mov ebp, edx
mov rax, qword [rcx + 0x30]
mov rbx, rcx
mov word [rcx + 0x6a], r14w
mov esi, r14d
mov dword [rcx + 0x3c], r14d
mov qword [rcx + 0x70], rax
mov qword [rax + 0x10], rax
mov word [rcx + 0x68], r14w
cmp r14w, word [rcx + 0xb8]
jge 0x1800c9cdb
movzx r10d, r14w
mov edi, r14d
mov r8, qword [rbx + 0xd0]
mov r9d, ebp
mov dword [rbx + 0x88], r14d
movzx edx, r10w
mov qword [rbx + 0x80], r14
mov rcx, rbx
movzx r8d, word [rdi + r8]
call fcn.1800ca050
test al, al
jne 0x1800c9d76
mov rax, qword [rbx + 0xd0]
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 0x5c]
movzx r10d, word [rdi + rax]
lea eax, [r8 - 1]
test edx, eax
jne 0x1800c9c6b
cmp edx, dword [rbx + 0x60]
jl 0x1800c9c6b
cmp edx, dword [rbx + 0x64]
jg 0x1800c9c6b
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x1800c9c6b
mov rax, qword [rbx + 0x70]
movzx ecx, byte [rcx + 0x18]
xor cl, byte [rax + 0x18]
test cl, 8
jne 0x1800c9c6b
add qword [rbx + 0x30], 0xfffffffffffffffc
mov r9, qword [rbx + 0x70]
mov rax, qword [r9 + 0x10]
cmp qword [rbx + 0x30], rax
je 0x1800c9c8e
test byte [r9 + 0x18], 8
je 0x1800c9c8e
neg r8d
and r8d, edx
sub edx, r8d
cmp edx, dword [rbx + 8]
jmp 0x1800c9c9f
lea eax, [r8 - 1]
neg r8d
add eax, edx
and eax, r8d
sub eax, edx
cmp eax, dword [rbx + 8]
setge dl
mov rcx, rbx
call fcn.1800caa10
test al, al
jne 0x1800c9d76
mov rax, qword [rbx + 0x80]
test rax, rax
je 0x1800c9cc2
mov qword [r9 + 0x28], rax
movsx eax, word [rbx + 0xb8]
inc esi
add rdi, 2
inc r10w
cmp esi, eax
jl 0x1800c9bf4
movzx edi, word [rbx + 0x68]
mov rdx, qword [rbx + 0x78]
cmp di, 1
jbe 0x1800c9d7a
test rdx, rdx
je 0x1800c9d7a
mov ebp, 0xffff
nop dword [rax + rax]
lea rsi, [rdx + 8]
cmp di, 1
jbe 0x1800c9d18
movsxd rcx, dword [rdx + 0x1c]
mov rax, qword [rdx + 0x10]
lea r10, [rax + rcx*4]
jmp 0x1800c9d1b
mov r10, r14
mov qword [rsi], r10
test byte [rdx + 0x18], 8
mov r11d, dword [rdx + 0x20]
mov r8d, r11d
mov eax, dword [rdx + 0x1c]
je 0x1800c9d36
dec r11d
add r11d, eax
jmp 0x1800c9d4d
sub r8d, eax
inc r8d
dec eax
mov dword [rdx + 0x20], r8d
movsxd rcx, eax
shl rcx, 2
add qword [rdx + 0x10], rcx
mov edx, r8d
mov rcx, rbx
call fcn.1800cace0
test al, al
jne 0x1800c9d76
lea edx, [r11 + 1]
mov rcx, rbx
call fcn.1800cace0
test al, al
jne 0x1800c9d76
mov rdx, qword [rsi]
add di, bp
jne 0x1800c9d00
jmp 0x1800c9d7e
mov al, 1
jmp 0x1800c9d89
mov qword [rbx + 0x78], r14
mov rax, qword [rbx + 0x28]
cmp qword [rbx + 0x30], rax
setae al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x412a60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x412beb
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x005c4a30]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x412ac5
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x412ad4
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x412af3
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x412b03
cmp rbx, 0x1000
jae 0x412acb
jmp 0x412b6d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x412b15
xor edx, edx
jmp 0x412b64
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x005c4a30]
mov r14, qword gs:[r14]
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]
test dl, dl
jne 0x412af9
jmp 0x412ae8
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x005c4a30]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call sym.runtime.printlock
lea rax, [0x004cd107]
mov ebx, 0x18
nop dword [rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x004cd4d2]
mov ebx, 0x19
nop dword [rax + rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x30]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004cf4d8]
mov ebx, 0x21
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.runtime.sysUnusedOS
Function at 0x412c20
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x412e46
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
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 sym.runtime.stdcall4.abi0
xorps xmm15, xmm15
mov r14, qword [0x005c4a30]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x412c93
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x412ca2
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x412cc5
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x412cd5
cmp rbx, 0x1000
jae 0x412c99
nop
jmp 0x412d58
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x412ced
xor esi, esi
jmp 0x412d4a
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call sym.runtime.stdcall4.abi0
xorps xmm15, xmm15
mov r14, qword [0x005c4a30]
mov r14, qword gs:[r14]
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]
test sil, sil
jne 0x412ccb
jmp 0x412cb6
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x005c4a30]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x412de0
nop dword [rax + rax]
call sym.runtime.printlock
lea rax, [0x004cd4eb]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call sym.runtime.printuint
lea rax, [0x004cd4d2]
mov ebx, 0x19
call sym.runtime.printstring
mov eax, dword [rsp + 0x34]
call sym.runtime.printuint
nop
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004ca600]
mov ebx, 0xd
call sym.runtime.throw
nop dword [rax + rax]
cmp eax, 0x5af
je 0x412d80
call sym.runtime.printlock
lea rax, [0x004cd4eb]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x004cd4d2]
mov ebx, 0x19
call sym.runtime.printstring
mov eax, dword [rsp + 0x34]
nop dword [rax]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004ced3b]
mov ebx, 0x1f
nop dword [rax + rax]
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp sym.runtime.sysUsedOS