joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002273
Capabilities:
Enumerate processes
Get process image filename

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x378
mov r8, qword [0x140010ac8]
mov eax, 2
mov r12, rdx
lea rdx, [r8 - 1]
mov qword [rsp + 0x3c0], rcx
mov r14, r9
cmp rdx, 0xfffffffffffffffd
ja 0x140002458
mov edx, dword [0x140010ac0]
test edx, edx
je 0x140002458
cmp edx, 6
lea rdi, [rsp + 0x180]
mov dword [rsp + 0x40], 0x130
sbb r13d, r13d
xor ecx, ecx
xor eax, eax
mov qword [rsp + 0x170], rcx
and r13d, 0xfffff400
mov qword [rsp + 0x178], rcx
mov ecx, 0x7c
add r13d, 0x1000
rep stosd dword [rdi], eax
lea rax, [rsp + 0x40]
mov rcx, r8
mov rdx, rax
mov qword [rsp + 0x30], rax
call sub.KERNEL32.dll_Process32First
dec eax
je 0x140002325
mov rax, qword [rsp + 0x3e8]
xor edx, edx
mov dword [rax], edx
jmp 0x140002453
lea rax, [rsp + 0x6c]
mov r15, qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
xor ebp, ebp
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [0x140010ac8]
call sub.KERNEL32.dll_Process32Next
dec eax
jne 0x140002439
cmp dword [rsp + 0x48], 4
jbe 0x14000233a
mov rcx, qword [rsp + 0x38]
call sub.msvcrt.dll__strdup
mov rcx, rax
test rax, rax
je 0x14000233a
call sub.msvcrt.dll__strlwr
mov rcx, qword [rsp + 0x3c0]
mov rdx, rax
mov qword [rsp + 0x28], rax
call sub.msvcrt.dll_strstr
test rax, rax
je 0x1400023e8
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
lea rax, [rax - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400023e8
lea rsi, [rsp + 0x170]
mov r8d, 0x200
mov rcx, rbx
mov rdx, rsi
call sub.PSAPI.DLL_GetProcessImageFileNameA
test eax, eax
je 0x1400023e2
mov rcx, rsi
call sub.msvcrt.dll__strlwr
mov rdx, qword [rsp + 0x3c0]
mov rcx, rax
call sub.msvcrt.dll_strstr
test rax, rax
jne 0x1400023f7
mov rcx, rbx
call r15
mov rcx, qword [rsp + 0x28]
call sub.msvcrt.dll_free
jmp 0x14000233a
cmp ebp, dword [rsp + 0x3e0]
jae 0x14000240c
mov edx, dword [rsp + 0x48]
mov eax, ebp
inc ebp
mov dword [r14 + rax*4], edx
test edi, edi
jne 0x14000241f
mov rcx, rsi
mov rdi, r12
call sub.msvcrt.dll_strlen
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
mov rcx, rbx
mov edi, 1
call r15
mov rcx, qword [rsp + 0x28]
call sub.msvcrt.dll_free
jmp 0x14000233a
mov rax, qword [rsp + 0x3e8]
mov dword [rax], ebp
test ebp, ebp
je 0x140002453
cmp byte [r12], 0
mov eax, 6
jne 0x140002458
mov eax, 5
add rsp, 0x378
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140002a8f
Capabilities:
Get common file path

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x430
xor eax, eax
mov edx, 0x104
mov rsi, rcx
lea rdi, [rsp + 0x20]
mov ecx, 0x104
rep stosd dword [rdi], eax
lea rbx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
xor eax, eax
test edx, edx
je 0x140002af0
lea rdx, [0x14000c79c]
mov rcx, rbx
call sub.msvcrt.dll_wcscat
mov rdx, rsi
mov rcx, rbx
call sub.msvcrt.dll_wcscat
mov r8d, 1
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
add rsp, 0x430
pop rbx
pop rsi
pop rdi
ret
Function at 0x14000300c
Capabilities:
Disable driver code integrity

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
xor eax, eax
mov qword [r8], rax
mov r13, rcx
mov r14, rdx
mov r12, r8
mov ebx, r9d
lea rdx, str.CiInitialize
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
mov eax, 0xc000007a
test rsi, rsi
je 0x1400031a7
lea rax, [rsp + 0x3b]
mov ecx, 0x25
mov qword [rsp + 0x20], rax
mov rdi, rax
xor eax, eax
rep stosb byte [rdi], al
cmp ebx, 0x3faa
ja 0x1400030b2
xor ebx, ebx
mov edi, ebx
mov rdx, qword [rsp + 0x20]
lea r15, [rsi + rdi]
mov rcx, r15
call fcn.1400031c0
test byte [rsp + 0x5d], 0x10
jne 0x140003139
movzx edx, byte [rsp + 0x3b]
cmp dl, 5
jne 0x1400030a3
cmp byte [r15], 0xe9
jne 0x1400030a3
movsxd rax, dword [rsi + rdi + 1]
jmp 0x140003135
add ebx, edx
cmp ebx, 0xff
jbe 0x14000306b
jmp 0x140003139
mov r15d, 3
xor edi, edi
mov ecx, edi
mov rdx, qword [rsp + 0x20]
add rcx, rsi
call fcn.1400031c0
test byte [rsp + 0x5d], 0x10
jne 0x140003139
movzx eax, byte [rsp + 0x3b]
cmp eax, r15d
jne 0x140003124
mov edx, edi
mov rcx, rsi
call fcn.140002ee0
mov ebx, eax
test ebx, ebx
je 0x140003124
mov ebp, ebx
mov rdx, qword [rsp + 0x20]
lea rcx, [rsi + rbp]
mov qword [rsp + 0x28], rcx
call fcn.1400031c0
test byte [rsp + 0x5d], 0x10
jne 0x140003139
cmp byte [rsp + 0x3b], 5
mov rcx, qword [rsp + 0x28]
mov r15d, 5
jne 0x140003124
cmp byte [rcx], 0xe8
jne 0x140003124
movsxd rax, dword [rsi + rbp + 1]
jmp 0x140003135
movzx eax, byte [rsp + 0x3b]
add edi, eax
cmp edi, 0xff
jbe 0x1400030ba
jmp 0x140003139
test eax, eax
jne 0x140003140
mov eax, 0xc0000001
jmp 0x1400031a7
movzx edx, byte [rsp + 0x3b]
add rbx, rax
add rbx, rdx
add rbx, rsi
xor esi, esi
mov edi, esi
mov rdx, qword [rsp + 0x20]
lea r15, [rbx + rdi]
mov rcx, r15
call fcn.1400031c0
test byte [rsp + 0x5d], 0x10
jne 0x140003139
movzx edx, byte [rsp + 0x3b]
cmp dl, 6
jne 0x14000319b
cmp word [r15], 0xd89
jne 0x14000319b
movsxd rax, dword [rbx + rdi + 2]
test eax, eax
je 0x140003139
lea rdx, [rdi + r14 + 6]
add rax, rdx
add rbx, rax
xor eax, eax
sub rbx, r13
mov qword [r12], rbx
jmp 0x1400031a7
add esi, edx
cmp esi, 0xff
jbe 0x140003150
jmp 0x140003139
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140003e40
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140009ad0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140009ad0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x140003eb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140010cc4]
mov rbx, rcx
test esi, esi
jle 0x140003fe0
mov rax, qword [0x140010cc8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140003efb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140003f85
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140003ee0
mov rcx, rbx
call fcn.140004900
mov rdi, rax
test rax, rax
je 0x140004002
mov rax, qword [0x140010cc8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140004a40
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140010cc8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140003fe7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140003f7e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140003f90
add dword [0x140010cc4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x140010cc8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140003f7e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140003e40
nop dword [rax]
xor esi, esi
jmp 0x140003f08
mov rax, qword [0x140010cc8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140003e40
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140003e40
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140004570
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140010d20]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140010d00]
test rbx, rbx
je 0x1400045cc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x1400045c3
test rsi, rsi
je 0x1400045c3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400045a8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140004900
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000d020]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140004920
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140004928
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140004920
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000497d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140004974
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140004920
add rax, 0x28
cmp rax, r9
jne 0x140004960
xor eax, eax
ret

Function at 0x140004980
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000d020]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000499f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400049a8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000499f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140004a40
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000d020]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140004a5f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140004a68
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140044790
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14004479d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400447ad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140044795
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x1400447c5
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400447b2
sub eax, 3
jb 0x1400447df
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140044816
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x140044806
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140044804
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400447f3
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.140044752
jmp 0x14004479d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x42000]
mov eax, dword [rdi]
or eax, eax
je 0x140044872
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x4fb98]
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 0x140044822
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 0x14004486c
mov qword [rbx], rax
add rbx, 8
jmp 0x140044842
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 0x1400448ac
cmp al, 0xef
ja 0x14004489e
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14004487e
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14004488d
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 0x140044900
sub rsp, 0xffffffffffffff80
jmp 0x140011294
Function at 0x142080108
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14208028f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x142080139
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14208011f
add dl, dl
jne 0x142080146
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1420801a6
xor eax, eax
add dl, dl
jne 0x142080155
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14208025d
add dl, dl
jne 0x142080166
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x142080173
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x142080180
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14208018d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14208019a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14208012e
mov eax, 1
add dl, dl
jne 0x1420801b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1420801c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1420801ab
sub eax, ebx
mov ebx, 1
jne 0x1420801fc
mov ecx, 1
add dl, dl
jne 0x1420801de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1420801eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1420801d3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14208012e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x142080218
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x142080225
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14208020d
cmp eax, 0x7d00
jae 0x14208024b
cmp eax, 0x500
jb 0x142080246
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14208012e
cmp eax, 0x7f
ja 0x14208024e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14208012e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x142080282
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14208012e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140009038
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov r9, rcx
xor ecx, ecx
movabs r8, 0xcbf29ce484222325
mov rsi, rdx
movzx eax, byte [rbx + rcx + 0x10]
movabs rdx, 0x100000001b3
xor r8, rax
inc rcx
imul r8, rdx
cmp rcx, 4
jb 0x14000905c
mov rdx, qword [r9 + 0x30]
mov rcx, qword [r9 + 0x18]
and rdx, r8
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rbx
jne 0x1400090b3
cmp qword [rcx + rdx*8], rbx
jne 0x1400090a8
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x1400090ac
mov rax, qword [rbx + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1400090c0
cmp qword [rcx + rdx*8], rbx
jne 0x1400090c0
mov rax, qword [rbx]
mov qword [rcx + rdx*8], rax
mov rax, qword [rbx + 8]
mov rdi, qword [rbx]
mov qword [rax], rdi
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r9 + 0x10]
mov rdx, qword [rbx + 0x30]
cmp rdx, 8
jb 0x1400090f5
mov rcx, qword [rbx + 0x18]
inc rdx
mov r8d, 2
call fcn.1400020a4
mov edx, 1
mov rcx, rbx
lea r8d, [rdx + 0x37]
call fcn.1400020a4
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov qword [rsi], rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000b51c
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_1.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400148a0], eax
call fcn.14000b2a4
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_UnhandledExceptionFilter]
cmp dword [0x1400148a0], 0
jne case.default.0x14000b572
mov ecx, 1
call fcn.14000b2a4
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_TerminateProcess]
invalid
test al, 0x17
in eax, dx
jg 0x140020a05
mov bh, pe_nt_image_headers64
jne 0x1400209bb
xor bh, byte [rbp + 0x76]
add al, 0x5d
out dx, al
out 0x94, al
popfq
hlt
xchg byte [rdx + 0xd], bh
fmul qword [rdx - 0x49e4838]
movabs dword [0x9b4b8ee91d423f49], eax
scasd eax, dword [rdi]
invalid
Function at 0x18000f8c0
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r12
push r13
push r15
sub rsp, 0x30
mov rax, qword [0x18011ef58]
lea rcx, [0x18011e7c8]
call qword [case.0x180005f92.0]
cmp qword [0x18011e7c0], 0
jne 0x18000faac
mov qword [rsp + 0x68], rsi
lea rdx, [sym.glib_2.0.dll_g_str_equal]
xor r9d, r9d
mov qword [rsp + 0x70], r14
xor r8d, r8d
lea rcx, [sym.glib_2.0.dll_g_str_hash]
call sym.glib_2.0.dll_g_hash_table_new_full
mov rsi, qword [0x18011efe0]
mov r14, rax
mov qword [0x18011e7c0], rax
test rsi, rsi
jne 0x18000f93a
lea rsi, str.CP936
mov qword [0x18011efe0], rsi
cmp byte [rsi], 0
je 0x18000faa2
xor r12d, r12d
movabs r13, 0x1fffffffffffffff
mov edi, r12d
mov rbx, r12
mov r15, rsi
mov rax, 0xffffffffffffffff
cmp byte [rsi + rax + 1], bl
lea rax, [rax + 1]
jne 0x18000f960
lea rbp, [rsi + rax]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rax + rbp + 1], bl
jne 0x18000f975
lea rsi, [rbp + 2]
add rsi, rax
test r14, r14
je 0x18000f9cd
lea r8, [rsp + 0x60]
mov rcx, r14
lea rdx, [rbp + 1]
call fcn.18002ac40
mov edx, eax
mov rax, qword [r14 + 0x20]
cmp dword [rax + rdx*4], 2
jb 0x18000f9e7
mov rcx, qword [r14 + 0x28]
mov rcx, qword [rcx + rdx*8]
test rcx, rcx
je 0x18000f9ea
cmp qword [rcx], rbx
je 0x18000f9ea
nop dword [rax]
inc rbx
inc edi
cmp qword [rcx + rbx*8], r12
jne 0x18000f9c0
jmp 0x18000f9ea
lea r8, [0x1800ef200]
lea rdx, [0x1800ef350]
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_return_if_fail_warning
mov rcx, r12
lea eax, [rdi + 2]
movsxd rdx, eax
cmp rdx, r13
ja 0x18000fa72
lea rdi, [rdx*8]
test rdi, rdi
je 0x18000fa34
mov rdx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
jne 0x18000fa42
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:170
mov qword [rsp + 0x20], rdi
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 0x18000fa32
test rcx, rcx
je 0x18000fa3f
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, r12
mov rcx, qword [0x18011e7c0]
lea rdx, [rbp + 1]
xor r9d, r9d
mov qword [rax + rbx*8], r15
mov r8, rax
mov qword [rax + rbx*8 + 8], r12
call fcn.18002ba90
cmp byte [rsi], r12b
je 0x18000faa2
mov r14, qword [0x18011e7c0]
jmp 0x18000f950
mov qword [rsp + 0x28], 8
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:383
mov qword [rsp + 0x20], rdx
lea r8, str._s:_overflow_allocating__I64u_I64u_bytes
mov edx, 4
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
nop
jmp 0x18000faa0
mov rsi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x70]
mov rax, qword [0x18011ef68]
lea rcx, [0x18011e7c8]
call qword [case.0x180005f92.0]
mov rax, qword [0x18011e7c0]
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret
Function at 0x180017260
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
cmp qword [0x18011e7e0], 0
je 0x180017278
mov eax, 1
add rsp, 0x28
ret
lea rcx, str.mlang.dll
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
jne 0x18001729c
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
lea rdx, str.ConvertINetString
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ConvertINetMultiByteToUnicode
mov rcx, rbx
mov qword [0x18011e7e0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ConvertINetUnicodeToMultiByte
mov rcx, rbx
mov qword [0x18011e7d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.IsConvertINetStringAvailable
mov rcx, rbx
mov qword [0x18011e7d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.LcidToRfc1766A
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.Rfc1766ToLcidA
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, qword [rsp + 0x20]
mov eax, 1
add rsp, 0x28
ret

Function at 0x18001b090
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov rax, qword [rsp + 0x20]
mov qword [rsp + 8], rax
mov qword [rsp], 0
mov rax, qword [rsp + 8]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x18001b0e4
mov rax, qword [rsp + 8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp], rax
mov rax, qword [rsp]
cmp dword [rax], 0x4550
jne 0x18001b0e4
mov rax, qword [rsp]
jmp 0x18001b0e6
xor eax, eax
add rsp, 0x18
ret

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

Disassembly:
sub rsp, 0x38
mov edx, 8
lea ecx, [rdx - 7]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
test rax, rax
jne 0x18001c222
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:135
mov qword [rsp + 0x20], 8
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 0x18001c220
add rsp, 0x38
ret
Function at 0x18001c230
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
movsxd rdi, edx
movzx esi, r8w
movzx ebp, cl
lea eax, [rdi - 1]
cmp eax, 0xb
ja 0x18001c30c
test cl, cl
je 0x18001c30c
test r8w, r8w
je 0x18001c30c
movzx ecx, r8w
mov qword [rsp + 0x40], rbx
call sym.glib_2.0.dll_g_date_is_leap_year
mov rbx, qword [rsp + 0x40]
lea rcx, [0x18009d725]
test eax, eax
lea rdx, [0x18009d718]
cmove rcx, rdx
cmp bpl, byte [rdi + rcx]
ja 0x18001c30c
mov ecx, 8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, rax
test rax, rax
jne 0x18001c2d2
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:105
mov qword [rsp + 0x20], 8
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 0x18001c2d0
and dword [rax + 4], 0xf0000002
and edi, 0xf
movzx eax, bpl
and eax, 0x3f
movzx ecx, si
shl ecx, 4
or ecx, edi
shl ecx, 6
or ecx, eax
mov rax, rdx
shl ecx, 2
or ecx, 2
or dword [rdx + 4], ecx
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
lea rax, str.g_date_valid_dmy__day__m__y_
mov edx, 8
lea r9, [0x1800ed0e0]
mov qword [rsp + 0x20], rax
lea r8, str._s:_assertion__s_failed
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
mov rbp, qword [rsp + 0x48]
xor eax, eax
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

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

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, ecx
test ecx, ecx
je 0x18001c3ae
mov ecx, 8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, rax
test rax, rax
jne 0x18001c397
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:105
mov qword [rsp + 0x20], 8
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 0x18001c395
mov eax, dword [rax + 4]
and eax, 0xfffffffd
mov dword [rdx], ebx
or eax, 1
mov dword [rdx + 4], eax
mov rax, rdx
add rsp, 0x30
pop rbx
ret
lea rax, str.g_date_valid_julian__julian_day_
mov edx, 8
lea r9, [0x1800ed170]
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, 0x30
pop rbx
ret