joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180047fb0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
test r8, r8
je 0x1800480ca
push rbp
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x50], rbx
mov edi, ecx
mov qword [rsp + 0x58], r12
lea rcx, [0x18011ea30]
mov qword [rsp + 0x60], r14
mov rsi, r8
mov qword [rsp + 0x68], r15
mov rbp, rdx
call fcn.180094fc0
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r15, rax
lea rcx, [0x18011ea70]
mov rax, qword [0x18011ef58]
call qword [case.0x180005f92.0]
mov r14, qword [sym.glib_2.0.dll_g_log_writer_default]
lea rax, [0x180048d90]
mov r12, qword [0x18011ea78]
lea rcx, [0x18011ea70]
test r15d, r15d
cmovne r14, rax
mov rax, qword [0x18011ef68]
call qword [case.0x180005f92.0]
lea rcx, [0x18011ea30]
lea ebx, [r15 + 1]
call fcn.180094fc0
mov ecx, eax
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test r14, r14
je 0x1800480cb
mov r9, r12
mov r8, rsi
mov rdx, rbp
mov ecx, edi
mov rax, r14
call qword [case.0x180005f92.0]
lea rcx, [0x18011ea30]
call fcn.180094fc0
mov ecx, eax
mov edx, r15d
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test dil, 5
je 0x1800480af
cmp dword [0x18011ebd4], 0
je 0x18004809c
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
int3
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1800480f8
not edi
test dil, 1
je 0x1800480f8
int3
mov r14, qword [rsp + 0x60]
mov r12, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x68]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
lea rax, str.writer_func___NULL
mov r8d, 0x7b1
lea r9, [0x1800f4118]
mov qword [rsp + 0x20], rax
lea rdx, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmessages.c
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_assertion_message_expr
int3
call sym.glib_2.0.dll_g_abort
int3

Function at 0x18004b2c0
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov edx, 0x58
mov rdi, rcx
lea ecx, [rdx - 0x57]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rbx, rax
test rax, rax
jne 0x18004b312
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:135
mov qword [rsp + 0x20], 0x58
lea r8, str._s:_failed_to_allocate__I64u_bytes
lea edx, [rax + 4]
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
nop dword [rax]
jmp 0x18004b310
mov rcx, rdi
call sym.glib_2.0.dll_g_strdup
mov qword [rbx + 8], rax
mov eax, dword [rbx + 0x38]
and eax, 0xfffffff5
or eax, 1
mov dword [rbx + 0x38], eax
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x18004ca20
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [rcx + 0x48]
mov rbx, r8
mov ebp, edx
mov rsi, rcx
test rax, rax
je 0x18004ca57
mov r9, qword [rax]
cmp qword [r9 + 8], rbx
je 0x18004ca95
mov rax, qword [rax + 8]
test rax, rax
jne 0x18004ca45
mov edx, 0x28
lea ecx, [rdx - 0x27]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rdi, rax
test rax, rax
jne 0x18004ca9a
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:135
mov qword [rsp + 0x20], 0x28
lea r8, str._s:_failed_to_allocate__I64u_bytes
lea edx, [rax + 4]
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
jmp 0x18004ca93
mov rax, r9
jmp 0x18004cae4
mov dword [rax], ebp
mov ecx, 0x18
mov qword [rax + 8], rbx
mov rbx, qword [rsi + 0x48]
call sym.glib_2.0.dll_g_slice_alloc
mov qword [rax], rdi
mov qword [rax + 8], rbx
test rbx, rbx
je 0x18004cad5
mov rcx, qword [rbx + 0x10]
mov qword [rax + 0x10], rcx
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x18004cacf
mov qword [rcx + 8], rax
mov qword [rbx + 0x10], rax
jmp 0x18004cadd
mov qword [rax + 0x10], 0
mov qword [rsi + 0x48], rax
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x18004cb00
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbp, rdx
mov rdi, rcx
mov edx, reloc.WS2_32.dll_recv
mov rbx, r8
lea ecx, [rdx - 0xf]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rsi, rax
test rax, rax
jne 0x18004cb62
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:135
mov qword [rsp + 0x20], reloc.WS2_32.dll_recv
lea r8, str._s:_failed_to_allocate__I64u_bytes
lea edx, [rax + 4]
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
nop dword [rax]
jmp 0x18004cb60
mov qword [rax], rbp
mov ecx, 0x18
mov qword [rax + 8], rbx
mov rbx, qword [rdi + 0x50]
call sym.glib_2.0.dll_g_slice_alloc
mov qword [rax], rsi
mov qword [rax + 8], rbx
test rbx, rbx
je 0x18004cb9e
mov rcx, qword [rbx + 0x10]
mov qword [rax + 0x10], rcx
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x18004cb98
mov qword [rcx + 8], rax
mov qword [rbx + 0x10], rax
jmp 0x18004cba6
mov qword [rax + 0x10], 0
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov qword [rdi + 0x50], rax
add rsp, 0x30
pop rdi
ret
Function at 0x18004e650
Capabilities:
Reference absolute stream path on windows

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, 0x30
mov rbp, rdx
mov r14, rcx
mov edx, 0x70
mov rdi, r9
mov rsi, r8
lea ecx, [rdx - 0x6f]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rbx, rax
test rax, rax
jne 0x18004e6b4
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:135
mov qword [rsp + 0x20], 0x70
lea r8, str._s:_failed_to_allocate__I64u_bytes
lea edx, [rax + 4]
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
jmp 0x18004e6b2
mov rcx, r14
mov dword [rax + 0x18], 1
call sym.glib_2.0.dll_g_strdup
mov rcx, rbp
mov qword [rbx], rax
call sym.glib_2.0.dll_g_strdup
mov rcx, rsi
mov qword [rbx + 8], rax
call sym.glib_2.0.dll_g_strdup
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov qword [rbx + 0x10], rax
mov rax, qword [rsp + 0x60]
mov qword [rbx + 0x20], rax
mov rax, rbx
mov qword [rbx + 0x28], rdi
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x180051b60
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov edi, ecx
mov edx, 0x9c4
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rbx, rax
test rax, rax
jne 0x180051bb2
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:135
mov qword [rsp + 0x20], 0x9c4
lea r8, str._s:_failed_to_allocate__I64u_bytes
lea edx, [rax + 4]
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
nop word [rax + rax]
jmp 0x180051bb0
mov edx, edi
mov rcx, rbx
call sym.glib_2.0.dll_g_rand_set_seed
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x180051bd0
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov edi, edx
mov rsi, rcx
mov edx, 0x9c4
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rbx, rax
test rax, rax
jne 0x180051c24
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:135
mov qword [rsp + 0x20], 0x9c4
lea r8, str._s:_failed_to_allocate__I64u_bytes
lea edx, [rax + 4]
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
jmp 0x180051c22
mov r8d, edi
mov rdx, rsi
mov rcx, rbx
call sym.glib_2.0.dll_g_rand_set_seed_array
mov rsi, qword [rsp + 0x48]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x180051c50
Capabilities:
Reference absolute stream path on windows

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x18011c010]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
nop word [rax + rax]
movsxd rax, ebx
lea rcx, [rsp + 0x30]
lea rcx, [rcx + rax*4]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand_s]
inc ebx
cmp ebx, 4
jb 0x180051c70
mov edx, 0x9c4
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rbx, rax
test rax, rax
jne 0x180051cc9
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:135
mov qword [rsp + 0x20], 0x9c4
lea r8, str._s:_failed_to_allocate__I64u_bytes
lea edx, [rax + 4]
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
jmp 0x180051cc7
mov r8d, 4
lea rdx, [rsp + 0x30]
mov rcx, rbx
call sym.glib_2.0.dll_g_rand_set_seed_array
mov rax, rbx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800989b0
add rsp, 0x50
pop rbx
ret
Function at 0x180051d50
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
test rcx, rcx
je 0x180051dc1
mov edx, 0x9c4
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rdi, rax
test rax, rax
jne 0x180051da2
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:135
mov qword [rsp + 0x20], 0x9c4
lea r8, str._s:_failed_to_allocate__I64u_bytes
lea edx, [rax + 4]
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
jmp 0x180051da0
mov rcx, rdi
mov rdx, rbx
mov r8d, 0x9c4
call sub.VCRUNTIME140.dll_memcpy
mov rax, rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
lea rax, str.rand___NULL
mov edx, 8
lea r9, [0x1800f57a8]
mov qword [rsp + 0x20], rax
lea r8, str._s:_assertion__s_failed
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
mov rbx, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x180051e00
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov edi, edx
mov rbx, rcx
test rcx, rcx
je 0x180051ed0
call fcn.180051aa0
cmp eax, 0x14
je 0x180051e7b
cmp eax, 0x16
jne 0x180051f06
mov dword [rbx], edi
mov dword [rbx + 0x9c0], 1
nop word [rax + rax]
mov edx, dword [rbx + 0x9c0]
lea eax, [rdx - 1]
mov eax, dword [rbx + rax*4]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rbx + rdx*4], eax
inc dword [rbx + 0x9c0]
cmp dword [rbx + 0x9c0], 0x270
jb 0x180051e40
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
test edi, edi
mov dword [rbx + 0x9c0], 1
mov eax, 0x6b842128
cmovne eax, edi
mov dword [rbx], eax
nop dword [rax]
nop word [rax + rax]
mov edx, dword [rbx + 0x9c0]
lea eax, [rdx - 1]
imul eax, dword [rbx + rax*4], 0x10dcd
mov dword [rbx + rdx*4], eax
inc dword [rbx + 0x9c0]
cmp dword [rbx + 0x9c0], 0x270
jb 0x180051ea0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
lea rax, str.rand___NULL
mov edx, 8
lea r9, [0x1800f57b8]
mov qword [rsp + 0x20], rax
lea r8, str._s:_assertion__s_failed
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
lea r9, [0x1800f57b8]
mov qword [rsp + 0x20], 0
mov r8d, 0x170
lea rdx, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgrand.c
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_assertion_message_expr
int3
Function at 0x180052090
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 0x38
mov r8, rcx
test rcx, rcx
je 0x1800521ac
mov r10d, dword [rcx + 0x9c0]
cmp r10d, 0x270
jb 0x18005216f
xor r10d, r10d
lea r11, [0x18009d8d8]
mov r9d, r10d
mov edx, 0xe3
nop word [rax + rax]
mov ecx, dword [r8 + r9*4 + 4]
xor ecx, dword [r8 + r9*4]
btr ecx, 0x1f
xor ecx, dword [r8 + r9*4]
mov eax, ecx
shr ecx, 1
and eax, 1
mov eax, dword [r11 + rax*4]
xor eax, ecx
xor eax, dword [r8 + r9*4 + 0x634]
mov dword [r8 + r9*4], eax
inc r9
cmp r9, rdx
jl 0x1800520d0
mov ecx, dword [r8 + rdx*4 + 4]
xor ecx, dword [r8 + rdx*4]
btr ecx, 0x1f
xor ecx, dword [r8 + rdx*4]
mov eax, ecx
shr ecx, 1
and eax, 1
mov eax, dword [r11 + rax*4]
xor eax, ecx
xor eax, dword [r8 + rdx*4 - 0x38c]
mov dword [r8 + rdx*4], eax
inc rdx
cmp rdx, 0x26f
jl 0x180052102
mov edx, dword [r8]
xor edx, dword [r8 + 0x9bc]
btr edx, 0x1f
xor edx, dword [r8 + 0x9bc]
mov eax, edx
shr edx, 1
and eax, 1
mov ecx, dword [r11 + rax*4]
xor ecx, dword [r8 + 0x630]
xor ecx, edx
mov dword [r8 + 0x9bc], ecx
mov dword [r8 + 0x9c0], r10d
mov eax, r10d
mov ecx, dword [r8 + rax*4]
lea eax, [r10 + 1]
mov dword [r8 + 0x9c0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
add rsp, 0x38
ret
lea rax, str.rand___NULL
mov edx, 8
lea r9, [0x1800f5838]
mov qword [rsp + 0x20], rax
lea r8, str._s:_assertion__s_failed
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
xor eax, eax
add rsp, 0x38
ret
Function at 0x1800536e0
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov r15d, r9d
mov ebx, r8d
mov rbp, rdx
mov r14, rcx
test r8d, r8d
jns 0x180053719
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rbx + rdx], 0
jne 0x180053710
mov edx, 0x48
lea ecx, [rdx - 0x47]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rdi, rax
test rax, rax
jne 0x180053757
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:135
mov qword [rsp + 0x20], 0x48
lea r8, str._s:_failed_to_allocate__I64u_bytes
lea edx, [rax + 4]
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
jmp 0x180053755
xor esi, esi
mov dword [rax], 1
test r14, r14
je 0x18005376d
lock inc dword [r14]
mov rax, r14
jmp 0x18005379b
lea rax, str.regex___NULL
mov edx, 8
lea r9, [0x1800f66f0]
mov qword [rsp + 0x20], rax
lea r8, str._s:_assertion__s_failed
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
mov rax, rsi
mov qword [rdi + 8], rax
movsxd rax, ebx
mov qword [rdi + 0x40], rax
mov eax, dword [rsp + 0x70]
mov dword [rdi + 0x10], eax
mov qword [rdi + 0x38], rbp
mov dword [rdi + 0x14], 0xffffffff
mov dword [rdi + 0x18], r15d
cmp dword [rsp + 0x78], esi
je 0x180053813
mov ecx, 0x190
mov dword [rdi + 0x1c], 0x18
mov dword [rdi + 0x30], 0x64
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x1800537e9
mov ecx, dword [rdi + 0x1c]
mov qword [rdi + 0x28], rax
jmp 0x180053838
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:105
mov qword [rsp + 0x20], 0x190
lea r8, str._s:_failed_to_allocate__I64u_bytes
mov edx, 4
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
jmp 0x180053811
mov rdx, qword [r14 + 0x20]
lea r9, [rsp + 0x60]
mov rcx, qword [r14 + 0x10]
mov r8d, 2
call qword [sym.imp.pcre.dll_pcre_fullinfo]
mov eax, dword [rsp + 0x60]
inc eax
lea ecx, [rax + rax*2]
mov dword [rdi + 0x1c], ecx
movsxd rax, ecx
movabs rcx, 0x3fffffffffffffff
cmp rax, rcx
jbe 0x180053879
mov qword [rsp + 0x28], 4
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:357
lea r8, str._s:_overflow_allocating__I64u_I64u_bytes
mov qword [rsp + 0x20], rax
mov edx, 4
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
jmp 0x180053877
lea rbx, [rax*4]
test rbx, rbx
je 0x1800538c2
mov rdx, rbx
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rsi, rax
test rax, rax
jne 0x1800538c2
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:135
mov qword [rsp + 0x20], rbx
lea r8, str._s:_failed_to_allocate__I64u_bytes
lea edx, [rax + 4]
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
nop
jmp 0x1800538c0
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov qword [rdi + 0x20], rsi
mov dword [rsi], 0xffffffff
mov rax, qword [rdi + 0x20]
mov rsi, qword [rsp + 0x68]
mov dword [rax + 4], 0xffffffff
mov rax, rdi
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x180054150
Capabilities:
Reference absolute stream path on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
test rcx, rcx
je 0x180054184
test rdx, rdx
je 0x18005417b
call fcn.1800540b0
test eax, eax
js 0x1800541af
mov edx, eax
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp sym.glib_2.0.dll_g_match_info_fetch
lea rax, str.name___NULL
jmp 0x18005418b
lea rax, str.match_info___NULL
lea r9, [0x1800f6670]
mov qword [rsp + 0x20], rax
lea r8, str._s:_assertion__s_failed
mov edx, 8
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x180055d70
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movzx eax, byte [rcx]
xor esi, esi
mov r13, rdx
mov r12, rcx
mov ebx, esi
mov rdi, rcx
mov r15, rcx
test al, al
je 0x180055ec4
cmp al, 0x5c
jne 0x180055e37
mov edx, 0x18
lea ecx, [rdx - 0x17]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov r14, rax
test rax, rax
je 0x180055f0b
mov r9, r13
mov r8, rax
mov rdx, rdi
mov rcx, r12
call fcn.180055620
mov rdi, rax
mov r15, rax
test rax, rax
jne 0x180055e81
mov rcx, rbx
test rbx, rbx
je 0x180055e07
mov rdi, qword [rcx + 8]
xor edx, edx
mov rcx, qword [rcx]
call fcn.1800555f0
mov rcx, rdi
test rdi, rdi
jne 0x180055df1
mov r8d, 8
mov rdx, rbx
lea ecx, [r8 + 0x10]
call sym.glib_2.0.dll_g_slice_free_chain_with_offset
mov rcx, qword [r14]
test rcx, rcx
je 0x180055e27
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
jmp 0x180055eee
movzx eax, byte [rdi + 1]
inc rdi
cmp al, 0x5c
je 0x180055e4a
test al, al
jne 0x180055da7
mov rbp, rdi
sub rbp, r15
test rbp, rbp
jle 0x180055ebc
mov edx, 0x18
lea ecx, [rdx - 0x17]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov r14, rax
test rax, rax
je 0x180055f35
mov rdx, rbp
mov rcx, r15
call sym.glib_2.0.dll_g_strndup
mov qword [r14], rax
mov dword [r14 + 8], esi
mov ecx, 0x18
call sym.glib_2.0.dll_g_slice_alloc
mov qword [rax], r14
mov qword [rax + 8], rbx
test rbx, rbx
je 0x180055eb2
mov rcx, qword [rbx + 0x10]
mov qword [rax + 0x10], rcx
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x180055eac
mov qword [rcx + 8], rax
mov qword [rbx + 0x10], rax
jmp 0x180055eb6
mov qword [rax + 0x10], rsi
mov rbx, rax
movzx eax, byte [rdi]
test al, al
jne 0x180055da7
test rbx, rbx
je 0x180055eeb
nop dword [rax]
mov rsi, rbx
lea rdx, [rbx + 8]
mov rbx, qword [rbx + 8]
mov rcx, qword [rsi + 0x10]
mov qword [rdx], rcx
mov qword [rsi + 0x10], rbx
test rbx, rbx
jne 0x180055ed0
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:135
mov qword [rsp + 0x20], 0x18
lea r8, str._s:_failed_to_allocate__I64u_bytes
mov edx, 4
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
jmp 0x180055f33
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:135
mov qword [rsp + 0x20], 0x18
lea r8, str._s:_failed_to_allocate__I64u_bytes
mov edx, 4
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
nop dword [rax]
jmp 0x180055f60
Function at 0x1800575a0
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 0x20]
mov rsi, r8
mov dword [rsp + 0x30], edx
mov rbp, rcx
test byte [rax + 0x20], 1
jne 0x1800576de
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r8 + rbx], 0
jne 0x1800575d3
xor edi, edi
add rbx, 1
je 0x18005761a
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, rax
test rax, rax
jne 0x18005761d
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:105
mov qword [rsp + 0x20], rbx
lea r8, str._s:_failed_to_allocate__I64u_bytes
lea edx, [rdi + 4]
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
jmp 0x180057618
mov rdx, rdi
movzx ecx, byte [rsi]
mov qword [rsp + 0x38], rdx
test cl, cl
je 0x18005767e
nop dword [rax]
lea eax, [rcx - 0x41]
mov r9d, 0x20
cmp al, 0x19
lea r8d, [rcx + 0x28]
lea eax, [rcx + 0x40]
mov r10d, 0x20
cmova r9d, edi
cmp al, 0x16
cmova r10d, edi
cmp r8b, 6
ja 0x18005765b
movzx ecx, byte [rsi]
cmp r8b, 6
mov eax, 0x20
cmova eax, edi
inc rsi
or al, r9b
or al, cl
or al, r10b
mov byte [rdx], al
inc rdx
movzx ecx, byte [rsi]
test cl, cl
jne 0x180057630
mov byte [rdx], dil
mov rbx, qword [rbp + 0x58]
test rbx, rbx
je 0x1800576b2
lea r8, [rsp + 0x68]
mov rcx, rbx
lea rdx, [rsp + 0x30]
call fcn.18002ac40
mov ecx, eax
mov rax, qword [rbx + 0x20]
cmp dword [rax + rcx*4], 2
jb 0x1800576cc
mov rax, qword [rbx + 0x28]
mov rdi, qword [rax + rcx*8]
jmp 0x1800576cc
lea r8, str.hash_table___NULL
lea rdx, [0x1800ef350]
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_return_if_fail_warning
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180057730
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180057730
mov rbx, qword [rcx + 0x58]
mov qword [rsp + 0x38], rsi
test rbx, rbx
je 0x180057714
lea r8, [rsp + 0x68]
mov rcx, rbx
lea rdx, [rsp + 0x30]
call fcn.18002ac40
mov ecx, eax
mov rax, qword [rbx + 0x20]
cmp dword [rax + rcx*4], 2
jb 0x18005772e
mov rax, qword [rbx + 0x28]
mov rax, qword [rax + rcx*8]
jmp 0x180057733
lea r8, str.hash_table___NULL
lea rdx, [0x1800ef350]
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_return_if_fail_warning
xor edi, edi
mov rax, rdi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x180058060
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x68]
mov rbx, rcx
cmp rax, qword [rcx + 0x70]
jae 0x18005807c
movzx eax, byte [rax]
add rsp, 0x20
pop rbx
ret
cmp dword [rcx + 0x60], 0
jl 0x1800580f4
mov qword [rsp + 0x30], rdi
mov rdi, qword [rcx + 0x78]
nop dword [rax + rax]
mov ecx, dword [rbx + 0x60]
mov r8d, 0xfa0
mov rdx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
cmp eax, 0xffffffff
jne 0x1800580bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x180058090
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 0xb
je 0x180058090
jmp 0x1800580c4
cmp eax, 1
jge 0x1800580d8
mov rdi, qword [rsp + 0x30]
xor al, al
mov dword [rbx + 0x60], 0xffffffff
add rsp, 0x20
pop rbx
ret
movsxd rcx, eax
add rcx, rdi
mov qword [rbx + 0x68], rdi
mov qword [rbx + 0x70], rcx
movzx eax, byte [rdi]
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x180058190
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x68]
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
cmp rax, qword [rcx + 0x70]
jae 0x1800581da
movzx edi, byte [rax]
inc rax
mov qword [rcx + 0x68], rax
movzx eax, dil
cmp dil, 0xa
jne 0x180058272
mov dword [rsi], 0
inc dword [rbp]
jmp 0x180058224
cmp dword [rcx + 0x60], 0
jl 0x180058222
mov rdi, qword [rcx + 0x78]
mov ecx, dword [rbx + 0x60]
mov r8d, 0xfa0
mov rdx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
movsxd rcx, eax
cmp ecx, 0xffffffff
jne 0x180058216
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x1800581e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 0xb
je 0x1800581e4
jmp 0x18005821b
cmp ecx, 1
jge 0x180058239
mov dword [rbx + 0x60], 0xffffffff
xor al, al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
lea rax, [rdi + 1]
mov qword [rbx + 0x68], rax
lea rax, [rdi + rcx]
mov qword [rbx + 0x70], rax
movzx edi, byte [rdi]
test dil, dil
jne 0x1800581c1
mov rcx, rbx
call sym.glib_2.0.dll_g_scanner_sync_file_offset
mov rcx, qword [rbx + 0x68]
movzx eax, dil
mov qword [rbx + 0x70], rcx
mov dword [rbx + 0x60], 0xffffffff
jmp 0x180058224
test dil, dil
je 0x180058224
inc dword [rsi]
jmp 0x180058224