joyce8/EMBER2024-capa huggingface dataset:
Function at 0x658600
Capabilities:
Persist via run registry key

Disassembly:
lea r12, [rsp - 0x50]
cmp r12, qword [r14 + 0x10]
jbe 0x65886b
sub rsp, 0xd0
mov qword [rsp + 0xc8], rbp
lea rbp, [rsp + 0xc8]
mov r13, 0
mov qword [rsp + 0xc0], r13
mov qword [rsp + 0xe0], rbx
mov qword [rsp + 0xd8], rax
mov byte [rsp + 0x37], 0
mov ecx, 0x2d
mov edi, 2
mov eax, 0x80000001
lea rbx, [0x006d6a8a]
call fcn.00657320
test rbx, rbx
je 0x6586e3
movups xmmword [rsp + 0xa0], xmm15
movups xmmword [rsp + 0xb0], xmm15
lea rdx, [0x00675d00]
mov qword [rsp + 0xa0], rdx
lea rdx, [0x00746480]
mov qword [rsp + 0xa8], rdx
je 0x6586a0
mov rbx, qword [rbx + 8]
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xb8], rcx
mov rbx, qword [0x008d9898]
lea rax, [0x007474a0]
lea rcx, [rsp + 0xa0]
mov edi, 2
mov rsi, rdi
call fcn.004bd380
mov rbp, qword [rsp + 0xc8]
add rsp, 0xd0
ret
mov qword [rsp + 0x38], rax
movups xmmword [rsp + 0x40], xmm15
lea rdx, [0x006588a0]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
mov qword [rsp + 0xc0], rdx
mov byte [rsp + 0x37], 1
mov rbx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xe0]
lea rdi, [0x006cbf89]
mov esi, 0x15
lea rax, [rsp + 0x50]
call fcn.0044e500
mov ecx, 0x11
mov edi, 1
mov rsi, rax
mov r8, rbx
mov rax, qword [rsp + 0x38]
lea rbx, [0x006c992d]
call fcn.00657540
nop dword [rax + rax]
test rax, rax
je 0x6587f5
movups xmmword [rsp + 0x80], xmm15
movups xmmword [rsp + 0x90], xmm15
lea rdx, [0x00675d00]
mov qword [rsp + 0x80], rdx
lea rdx, [0x00746490]
mov qword [rsp + 0x88], rdx
je 0x65879f
mov rax, qword [rax + 8]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rbx
mov rbx, qword [0x008d9898]
lea rax, [0x007474a0]
lea rcx, [rsp + 0x80]
mov edi, 2
mov rsi, rdi
call fcn.004bd380
mov byte [rsp + 0x37], 0
mov rdx, qword [rsp + 0xc0]
mov r8, qword [rdx]
call r8
mov rbp, qword [rsp + 0xc8]
add rsp, 0xd0
ret
movups xmmword [rsp + 0x70], xmm15
lea rdx, [0x00675d00]
mov qword [rsp + 0x70], rdx
lea rdx, [0x007464a0]
mov qword [rsp + 0x78], rdx
mov rbx, qword [0x008d9898]
lea rax, [0x007474a0]
lea rcx, [rsp + 0x70]
mov edi, 1
mov rsi, rdi
call fcn.004bd380
mov byte [rsp + 0x37], 0
mov rdx, qword [rsp + 0xc0]
mov r8, qword [rdx]
call r8
mov rbp, qword [rsp + 0xc8]
add rsp, 0xd0
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00462c20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00658600
Function at 0x140002ef0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140002f4d
lea rbx, [0x14004c150]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002f34
cmp r10, 2
jb 0x140002f34
cmp byte [r9], r8b
jne 0x140002f34
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140002f10
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140002f8f
lea rbx, [0x14004c150]
cmp r8b, 0x23
jne 0x140002f73
cmp byte [r9], r8b
jne 0x140002f73
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140002f60
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400030d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400030ea
mov qword [r8], 0
lea rdx, [0x14004bbb4]
call fcn.140002fa0
mov rbx, rax
test rax, rax
jne 0x14000310a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x1400031e1
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400031e1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400031e1
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400031e1
cmp rdi, 0xffffffffffffffff
je 0x1400031e1
mov rax, qword [0x14013fad0]
test rax, rax
je 0x14000317e
inc dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400031e1
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x1400031ce
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14013fad0]
test rax, rax
je 0x1400031c3
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400031ea
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1400031dc
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400031ec
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140010e30
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x28
mov rax, qword [0x14013fad0]
lea r10, [0x14004c150]
mov r9, qword [rax + 0x1d18]
movsxd rdx, dword [r9 + 0x108]
mov rax, qword [r9 + 0x110]
mov r8d, dword [rax + rdx*4 - 4]
not r8d
movzx eax, cl
movzx edx, r8b
shr r8d, 8
xor rdx, rax
movzx eax, byte [rsp + 0x31]
xor r8d, dword [r10 + rdx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x32]
xor r8d, dword [r10 + rcx*4]
movzx ecx, r8b
shr r8d, 8
xor rcx, rax
movzx eax, byte [rsp + 0x33]
xor r8d, dword [r10 + rcx*4]
lea rcx, [r9 + 0x108]
movzx edx, r8b
xor rdx, rax
shr r8d, 8
xor r8d, dword [r10 + rdx*4]
lea rdx, [rsp + 0x30]
not r8d
mov dword [rsp + 0x30], r8d
call fcn.1400227a0
add rsp, 0x28
ret

Function at 0x1400119b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14013f040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14013fad0]
mov edi, edx
cmp byte [rbx + 0x20d5], 0
jne 0x140011a10
cmp byte [rbx + 0x20d6], 0
jne 0x140011a10
mov r9d, dword [rbx + 0x3178]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002e70
test dil, 1
je 0x140011b36
jmp 0x140011a9f
movss xmm1, dword [rbx + 0x16ec]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x3178]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1401362ec]
mulss xmm1, dword [0x1401362e0]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
mov qword [rbx + 0x1ddc], rax
mov dword [rbx + 0x1dc4], 1
movss dword [rbx + 0x1dd4], xmm0
mov byte [rbx + 0x1dfc], 1
movss dword [rbx + 0x1dd8], xmm1
movss xmm0, dword [rbx + 0x1748]
mulss xmm0, dword [0x140136258]
or dword [rbx + 0x1dc0], 0x41
movss dword [rbx + 0x1e20], xmm0
call fcn.140002e70
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140011af0
lea r11, [0x14004c150]
nop
cmp r9b, 0x23
jne 0x140011ad3
cmp byte [r8], r9b
jne 0x140011ad3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140011ac0
not ecx
call fcn.14000aa80
test rax, rax
je 0x140011b36
cmp byte [rax + 0xcf], 0
je 0x140011b36
mov byte [rax + 0xd6], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xf0], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x3178]
mov edx, 0x10
mov r9d, dword [rbx + 0x3178]
call fcn.140002e70
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.14000d520
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140048c70
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140016790
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x3260], 0
lea rbx, [rcx + 0x3268]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140016837
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1400167ea
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1400230b0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003790
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3260]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3270]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14013fac8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001683f
mov rcx, rbx
call fcn.140003790
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140016c80
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x140016cd2
lea r11, [0x14004c150]
cmp r9b, 0x23
jne 0x140016cb5
cmp byte [r8], r9b
jne 0x140016cb5
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140016ca2
mov r11, qword [0x14013fad0]
mov r10, qword [r11 + 0x3228]
test r10, r10
je 0x140016d19
lea r9, [r10 + 4]
test r9, r9
je 0x140016d19
not eax
cmp dword [r9], eax
je 0x140016d22
movsxd r8, dword [r9 - 4]
movsxd rdx, dword [r11 + 0x3220]
add r8, r9
add rdx, 4
xor r9d, r9d
add rdx, r10
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x140016cf0
mov rcx, rbx
pop rbx
jmp fcn.140016b90
mov rax, r9
pop rbx
ret
Function at 0x14001a1b0
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x14001a3ee
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x14013f040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x14004c150]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x14001a3b6
mov rcx, rbp
call fcn.140019890
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x14001a281
movsxd rdx, dword [rbp + 0x31c0]
mov r8, qword [rbp + 0x31c8]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x14001a271
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x14001a269
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x14001a26c
mov rdx, rcx
test rdx, rdx
jne 0x14001a240
cmp r8, r10
je 0x14001a281
cmp dword [r8], r9d
jne 0x14001a281
mov rcx, qword [r8 + 8]
jmp 0x14001a283
xor ecx, ecx
mov qword [rbx + 0x10], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x40], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x44], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xb8]
and eax, 0xfffffe49
movss dword [rbx + 0x50], xmm1
or eax, 0x49
mov dword [rbx + 0xb8], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
test rcx, rcx
je 0x14001a317
cmp qword [rcx + 0x18], 0
jne 0x14001a30c
mov qword [rcx + 0x18], rbx
jmp 0x14001a317
cmp qword [rcx + 0x20], 0
jne 0x14001a317
mov qword [rcx + 0x20], rbx
mov eax, dword [rdi - 0xe]
mov r9, rbx
mov dword [rbx + 0xb0], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi - 6]
and eax, 0x61fc20
or dword [rbx + 8], eax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14001a34c
nop
mov r9, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14001a340
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, 0x14
lea rcx, [rsp + 0x20]
call fcn.140002e70
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x14001a3a8
cmp r9b, 0x23
jne 0x14001a38b
cmp byte [r8], r9b
jne 0x14001a38b
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x14001a378
not ecx
call fcn.14000aa80
mov qword [rbx + 0x80], rax
add rdi, 0x24
sub rsi, 1
jne 0x14001a200
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140048c70
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x14004885c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140048896
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14004889b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400488e4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14004b740]
cmp byte [rcx + rax], 0
je 0x1400488e4
dec r8
sub rdx, 1
jne 0x1400488ca
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140048b64
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.1400488fc
mov ebx, eax
test eax, eax
jne 0x140048b94
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x140048bf7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140048bee
test al, 0x10
je 0x140048bee
bt eax, 0xa
jae 0x140048be7
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.140048c08
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x140048be3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x140048be3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x140048bee
and dword [rsp + 0x3c], 0
jmp 0x140048bf3
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400498ec
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140049936
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140049936
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140049936
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140049936
cmp dword [rcx + 0x84], 0xe
jbe 0x140049936
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140049938
xor al, al
add rsp, 0x28
ret
Function at 0x1800037c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
sub rsp, 0x28
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax - 8], rdi
mov qword [rax - 0x10], r12
mov r12, r9
mov qword [rax - 0x18], r13
xor r9d, r9d
mov qword [rax - 0x20], r14
mov r13, rdx
mov rax, rcx
mov qword [rsp], r15
movzx ecx, r8b
mov edx, r9d
shr r8d, 8
test r8d, r8d
jne 0x180003809
mov r8d, 0xffffffff
cmp ecx, 0x24
mov r10b, 1
cmovb edx, ecx
movzx ecx, byte [rax]
cmp cl, 0x2b
jne 0x18000381f
mov r10b, 1
jmp 0x180003828
cmp cl, 0x2d
jne 0x180003831
xor r10b, 1
inc rax
add r8d, 0xffffffff
jne 0x180003812
lea rbx, [0x180000000]
test edx, edx
jne 0x180003886
cmp byte [rax], 0x30
lea edi, [rdx + 0xa]
jne 0x1800038be
cmp r8d, 1
jbe 0x180003871
movzx ecx, byte [rax + 1]
sub cl, 0x58
test cl, 0xdf
jne 0x180003871
movzx ecx, byte [rax + 2]
cmp byte [rcx + rbx + 0xda00], 0x10
jae 0x180003871
add rax, 2
lea edi, [rdx + 0x10]
add r8d, 0xfffffffe
jmp 0x1800038be
movzx ecx, byte [rax + 1]
cmp byte [rcx + rbx + 0xda00], 8
jae 0x1800038be
mov edi, 8
jmp 0x1800038be
mov edi, edx
cmp edx, 0x10
jne 0x1800038be
cmp byte [rax], 0x30
jne 0x1800038be
cmp r8d, 1
jbe 0x1800038be
movzx ecx, byte [rax + 1]
cmp cl, 0x78
je 0x1800038a6
cmp cl, 0x58
jne 0x1800038be
movzx ecx, byte [rax + 2]
mov edi, edx
cmp byte [rcx + rbx + 0xda00], 0x10
jae 0x1800038be
add r8d, 0xfffffffe
add rax, 2
mov r14d, edi
mov r15, rax
movsx ebp, byte [r14 + rbx + 0xdb00]
mov rbx, r9
test r8d, r8d
je 0x180003927
lea r13, [0x180000000]
mov qword [rsp + 0x48], rsi
movzx ecx, byte [rax]
test cl, cl
je 0x18000391d
movzx esi, byte [rcx + r13 + 0xda00]
cmp esi, edi
jae 0x18000391d
mov r11, rbx
imul rbx, r14
add rbx, rsi
cmp r11, rbx
ja 0x18000390e
mov ecx, ebp
shr r11, cl
test r11, r11
je 0x180003914
mov r9d, 0x37
inc rax
add r8d, 0xffffffff
jne 0x1800038e1
mov r13, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
mov r14, qword [rsp + 8]
mov rdi, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x40]
test r10b, r10b
jne 0x18000394a
test r9d, r9d
mov ecx, 0x39
cmove r9d, ecx
neg rbx
test r12, r12
je 0x180003953
mov qword [r12], rbx
mov r12, qword [rsp + 0x18]
cmp rax, r15
mov r15, qword [rsp]
mov ecx, 0xffffffc8
mov rbx, qword [rsp + 0x30]
cmove r9d, ecx
test r13, r13
je 0x180003976
mov qword [r13], rax
mov r13, qword [rsp + 0x10]
test r9d, r9d
jne 0x1800039c3
cmp byte [rax], r9b
je 0x1800039c3
test r8d, r8d
je 0x1800039c3
nop word [rax + rax]
movzx ecx, byte [rax]
cmp cl, 0x20
je 0x18000399d
cmp cl, 9
jne 0x1800039b0
inc rax
add r8d, 0xffffffff
jne 0x180003990
mov eax, 0x4d
add rsp, 0x28
ret
test r8d, r8d
je 0x1800039a6
test cl, cl
je 0x1800039a6
mov eax, 0x4c
add rsp, 0x28
ret
mov eax, r9d
add rsp, 0x28
ret
Function at 0x180004390
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0xe0
mov rax, qword [0x1800300a0]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rbx, rcx
mov esi, r8d
mov ecx, 0xfffffff4
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor ebp, ebp
lea r9, [rsp + 0x40]
mov rcx, rax
mov qword [rsp + 0x20], rbp
mov r8d, edi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea r9d, [rbp + 0xa]
mov dword [rsp + 0x30], 0x2010
mov dword [rsp + 0x28], ebp
lea rcx, [rsp + 0x50]
mov r8d, esi
mov dword [rsp + 0x20], ebp
lea edx, [r9 + 0x76]
call fcn.180006270
mov ecx, 0xfffffff4
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbp
mov rcx, rax
lea rdx, [rsp + 0x50]
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbp
mov rcx, rax
lea r8d, [rbp + 2]
lea rdx, [0x18000db38]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.180001220
mov rbx, qword [rsp + 0x118]
add rsp, 0xe0
pop rdi
pop rsi
pop rbp
ret

Function at 0x180004480
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rbx, rdx
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], 0
mov rcx, rax
mov r8d, ebx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1800044d0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0xe0
mov rax, qword [0x1800300a0]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov r9d, 0x10
mov dword [rsp + 0x30], 0x4080
mov r8, rcx
mov dword [rsp + 0x28], 0x10
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x20], 0x10
lea edx, [r9 + 0x70]
call fcn.180006340
mov ecx, 0xfffffff4
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov rcx, rax
lea rdx, [rsp + 0x50]
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.180001220
add rsp, 0xe0
pop rbx
ret
Function at 0x180004560
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xe0
mov rax, qword [0x1800300a0]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rdi, rcx
cmp rcx, 0x1000
jb 0x1800045bf
movabs rax, 0xffff800000000000
test rax, rcx
jne 0x1800045bf
xor ebx, ebx
cmp byte [rcx], bl
je 0x1800045a9
inc rbx
cmp byte [rcx + rbx], 0
jne 0x1800045a0
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov r8d, ebx
mov rdx, rdi
jmp 0x180004662
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov rcx, rax
lea rdx, str._pszString
mov r8d, 0xb
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r9d, 0x10
mov dword [rsp + 0x30], 0x4080
mov dword [rsp + 0x28], 0x10
lea rcx, [rsp + 0x50]
mov r8, rdi
mov dword [rsp + 0x20], 0x10
lea edx, [r9 + 0x70]
call fcn.180006340
mov ecx, 0xfffffff4
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov rcx, rax
lea rdx, [rsp + 0x50]
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov r8d, 1
lea rdx, [0x18000db34]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.180001220
mov rbx, qword [rsp + 0xf8]
add rsp, 0xe0
pop rdi
ret

Function at 0x1800046a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x110
mov rax, qword [0x1800300a0]
xor rax, rsp
mov qword [rsp + 0x100], rax
xor ebp, ebp
mov dword [rsp + 0x30], 0x2000
mov esi, ecx
mov dword [rsp + 0x28], ebp
mov r8d, ecx
mov dword [rsp + 0x20], ebp
mov edi, 0xa8
lea rcx, [rsp + 0x50]
lea r9d, [rbp + 0xa]
mov edx, edi
call fcn.180006270
mov dword [rsp + 0x30], 0x2008
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x28], ebp
lea r9d, [rbp + 0x10]
mov r8d, esi
mov dword [rsp + 0x20], ebp
lea rbx, [rax + 2]
mov word [rsp + rax + 0x50], 0x2820
sub rdi, rbx
add rcx, rbx
mov rdx, rdi
call fcn.180006270
add rax, rbx
mov ecx, 0xfffffff4
mov byte [rsp + rax + 0x50], 0x29
lea ebx, [rax + 1]
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbp
mov rcx, rax
lea rdx, [rsp + 0x50]
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.180001220
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret