joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001472c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x180036050]
mov ebx, r9d
mov rdi, r8
mov esi, edx
mov rbp, rcx
cmp rax, 0xffffffffffffffff
je 0x180014791
test rax, rax
jne 0x18001477f
lea r9, str.GetLocaleInfoEx
lea r8, [0x1800252d8]
lea rdx, str.GetLocaleInfoEx
lea ecx, [rax + 0xa]
call fcn.180014400
test rax, rax
je 0x180014791
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call fcn.18001f800
jmp 0x1800147ab
xor edx, edx
mov rcx, rbp
call fcn.180014a1c
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180015214
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.180006770
sub rsp, rax
mov rax, qword [0x180031080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.180010acc
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x180015263
mov rax, rbp
jmp 0x18001536f
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x33190]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.18001621c
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x33190]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x18001536b
mov dword [rsp + 0x30], edi
lea r9, [rsp + 0x30]
mov rcx, qword [rcx + r12*8 + 0x28]
lea rdx, [rsp + 0x40]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18001536b
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.18001621c
test rax, rax
js 0x18001536b
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x18001536b
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x18001535d
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x18001535d
cmp byte [rcx], 0xd
jne 0x180015343
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x180015352
cmp byte [rcx + 1], 0xa
jne 0x180015352
inc rcx
jmp 0x180015352
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x314a0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x180015325
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x18001536f
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.180005f00
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180015504
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
xor edi, edi
mov rax, r15
lea rcx, [0x180033190]
and eax, 0x3f
mov r12, r15
sar r12, 6
mov rsi, rdx
lea r9d, [rdi + 0xa]
mov r14, r15
lea rbp, [rax + rax*8]
mov rax, qword [rcx + r12*8]
mov r10, qword [rax + rbp*8 + 0x28]
test r8, r8
je 0x18001555a
cmp word [rdx], r9w
jne 0x18001555a
or byte [rax + rbp*8 + 0x38], 4
jmp 0x18001555f
and byte [rax + rbp*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rax, rsi
mov rbx, rsi
cmp rsi, r8
jae 0x1800156de
mov r11d, 0xd
lea r13d, [r11 - 0xb]
movzx edx, word [rax]
cmp dx, 0x1a
je 0x1800156a9
lea rcx, [rax + 2]
cmp dx, r11w
jne 0x1800155a7
cmp rcx, r8
jae 0x1800155c7
cmp word [rcx], r9w
jne 0x1800155a7
add rax, 4
mov edx, r9d
jmp 0x1800155aa
mov rax, rcx
mov word [rbx], dx
mov r9, r13
mov rcx, rbx
mov r9d, 0xa
lea rbx, [rbx + r13]
cmp rax, r8
jb 0x18001557c
jmp 0x1800156de
lea r9, [rsp + 0x80]
mov word [rsp + 0x70], di
mov r8d, r13d
mov dword [rsp + 0x80], edi
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rdi
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800156a2
cmp dword [rsp + 0x80], edi
je 0x1800156a2
lea r9, [0x180033190]
mov rax, qword [r9 + r12*8]
test byte [rax + rbp*8 + 0x38], 0x48
mov ebp, 0xa
je 0x18001567c
movzx eax, word [rsp + 0x70]
cmp ax, bp
jne 0x18001562f
mov word [rbx], bp
jmp 0x1800156db
mov word [rsp + 0x78], ax
mov rdx, r14
mov rax, r14
sar rdx, 6
and eax, 0x3f
mov word [rbx], 0xd
lea r8, [rax + rax*8]
mov rax, qword [r9 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, r13
jl 0x18001564a
mov rax, r14
sar rax, 6
and r14d, 0x3f
mov rax, qword [r9 + rax*8]
lea rcx, [r14 + r14*8]
mov byte [rax + rcx*8 + 0x3c], bpl
jmp 0x1800156db
cmp word [rsp + 0x70], bp
jne 0x180015688
cmp rbx, rsi
je 0x180015627
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.180016224
cmp word [rsp + 0x70], bp
je 0x1800156de
mov word [rbx], 0xd
jmp 0x1800156db
mov rcx, r15
lea r9, [0x180033190]
and ecx, 0x3f
mov rax, r15
sar rax, 6
lea r8, [rcx + rcx*8]
mov rcx, qword [r9 + rax*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x1800156d8
or al, r13b
mov byte [rcx + r8*8 + 0x38], al
jmp 0x1800156de
mov word [rbx], dx
add rbx, r13
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180019dc8
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x180019df8
xor eax, eax
jmp 0x180019ebb
mov rbp, rbx
cmp word [rax], si
je 0x180019e1d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180019e04
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180019e00
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.180018460
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x180019e5e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180019df1
call fcn.1800162d0
mov rdi, rax
test rax, rax
jne 0x180019e74
xor ecx, ecx
call fcn.180013cd0
jmp 0x180019e53
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.180018460
test eax, eax
jne 0x180019ea5
mov rcx, rdi
call fcn.180013cd0
jmp 0x180019eaf
xor ecx, ecx
call fcn.180013cd0
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x18001cad0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov dword [rsp + 0x30], esi
mov rbx, rcx
test rcx, rcx
je 0x18001cb43
cmp word [rcx], si
je 0x18001cb43
lea rdx, [0x180026438]
call fcn.18001eeb0
test eax, eax
je 0x18001cb43
lea rdx, [0x180026450]
mov rcx, rbx
call fcn.18001eeb0
test eax, eax
jne 0x18001cb39
mov ecx, dword [rdi + 8]
lea r9d, [rsi + 2]
lea r8, [rsp + 0x30]
mov edx, 0x2000000b
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x18001cb60
mov eax, dword [rsp + 0x30]
jmp 0x18001cb72
mov rcx, rbx
call fcn.1800109e8
jmp 0x18001cb72
mov ecx, dword [rdi + 8]
lea r8, [rsp + 0x30]
mov r9d, 2
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x18001cb64
xor eax, eax
jmp 0x18001cb72
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x18001cb72
call qword [sym.imp.KERNEL32.dll_GetACP]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18001cb84
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov ebp, edx
mov dword [rax + 8], ebx
mov edi, ecx
call fcn.1800111c0
mov ecx, edi
lea r9d, [rbx + 2]
and ecx, 0x3ff
lea r8, [rsp + 0x30]
bts ecx, 0xa
mov edx, 0x20000001
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x18001cc27
cmp edi, dword [rsp + 0x30]
je 0x18001cc20
test ebp, ebp
je 0x18001cc20
mov r9, qword [rsi + 0x98]
mov r8d, ebx
movzx edx, word [r9]
lea rcx, [r9 + 2]
lea eax, [rdx - 0x41]
cmp ax, 0x19
jbe 0x18001cbfc
sub dx, 0x61
cmp dx, 0x19
ja 0x18001cc08
movzx edx, word [rcx]
inc r8d
add rcx, 2
jmp 0x18001cbe9
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], bx
jne 0x18001cc0c
cmp r8d, eax
setne bl
mov eax, ebx
jmp 0x18001cc29
mov eax, 1
jmp 0x18001cc29
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x18001f1c4
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.180016224
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.180016224
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x18001f311
cmp rax, 0xffffffffffffffff
je 0x18001f311
xor edi, edi
test rbp, rbp
jle 0x18001f2bf
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1800142e0
mov rbx, rax
test rax, rax
jne 0x18001f24c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x18001f2b5
mov edx, 0x8000
mov ecx, r14d
call fcn.18001f048
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1800139a0
cmp eax, 0xffffffff
je 0x18001f295
cdqe
sub rbp, rax
test rbp, rbp
jg 0x18001f25c
mov edx, r15d
mov ecx, r14d
call fcn.18001f048
jmp 0x18001f2b5
cmp byte [rsi + 0x38], dil
je 0x18001f2ac
cmp dword [rsi + 0x34], 5
jne 0x18001f2ac
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x18001f2b5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.180013cd0
jmp 0x18001f323
jns 0x18001f323
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.180016224
cmp rax, 0xffffffffffffffff
jne 0x18001f2dd
cmp byte [rsi + 0x30], dil
je 0x18001f323
jmp 0x18001f319
mov ecx, r14d
call fcn.18001a574
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x18001f323
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x18001f323
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x18001f31e
mov edi, dword [rsi + 0x2c]
jmp 0x18001f323
mov edi, 0x16
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.180016224
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x18001f580
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18001f5a8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18001f5a8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001000
Capabilities:
Encrypt data using rc4 via systemfunction032

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x47], rax
lea rax, [0x140005210]
mov dword [rbp + 0x1f], 0x10
lea rdi, [0x140005040]
mov qword [rbp + 0x27], rax
lea rcx, str.Advapi32
mov qword [rbp + 0x17], rdi
mov dword [rbp + 0x23], 0x10
mov dword [rbp + 0xf], 0x1cc
mov dword [rbp + 0x13], 0x1cc
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.SystemFunction032
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rbp + 0x1f]
lea rcx, [rbp + 0xf]
call rax
test eax, eax
jne 0x140001169
xor ebx, ebx
mov dword [rsp + 0x28], 4
lea r9, [rbp + 0xf]
mov qword [rbp + 0x37], 0x1cc
xor r8d, r8d
mov qword [rbp + 7], rbx
lea rdx, [rbp + 7]
mov dword [rbp + 0x2f], ebx
lea rcx, [rbx - 1]
mov qword [rbp + 0xf], 0x1cc
mov qword [rbp + 0x3f], rbx
mov qword [rbp + 0x1f], rbx
mov dword [rsp + 0x20], 0x3000
call fcn.1400014f0
test eax, eax
jne 0x140001169
mov r9, qword [rbp + 0x37]
lea rax, [rbp + 0x3f]
mov rdx, qword [rbp + 7]
lea rcx, [rbx - 1]
mov r8, rdi
mov qword [rsp + 0x20], rax
call fcn.14000158a
test eax, eax
jne 0x140001169
mov rax, qword [rbp + 0x37]
cmp qword [rbp + 0x3f], rax
jne 0x140001169
lea rax, [rbp + 0x2f]
lea r9d, [rbx + 0x40]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x37]
lea rdx, [rbp + 7]
lea rcx, [rbx - 1]
call fcn.14000153d
test eax, eax
jne 0x140001169
mov rax, qword [rbp + 7]
lea r9, [rbx - 1]
mov qword [rsp + 0x50], rbx
lea rcx, [rbp + 0x1f]
mov qword [rsp + 0x48], rbx
xor r8d, r8d
mov qword [rsp + 0x40], rbx
mov edx, 0x1fffff
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.1400015d7
test eax, eax
jne 0x140001169
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
xor eax, eax
jmp 0x14000116e
mov eax, 0xffffffff
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140001640
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14002c358
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.14003350c
nop
cmp dword [0x1404395e8], 1
je 0x14002c304
mov dword [0x1404395e4], 1
mov byte [0x1404395e0], r12b
test ebx, ebx
jne 0x14002c2f0
mov rcx, qword [0x14043b9b0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14002c2dd
mov rcx, qword [0x14043b9a8]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x14002c27c
call fcn.14002ed10
cmp qword [rdi], rax
jne 0x14002c27c
jmp 0x14002c262
cmp rdi, rsi
jb 0x14002c2dd
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14002ed10
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14043b9b0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14043b9a8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14002c2bb
cmp r13, rax
je 0x14002c2db
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x14002c262
lea rdx, [0x140041c98]
lea rcx, [0x140041c80]
call fcn.14002c0ac
lea rdx, [0x140041ca8]
lea rcx, [0x140041ca0]
call fcn.14002c0ac
nop
test r12d, r12d
je 0x14002c313
mov ecx, 8
call fcn.14003340c
test r12d, r12d
jne 0x14002c33e
mov dword [0x1404395e8], 1
lea ecx, [r12 + 8]
call fcn.14003340c
mov ecx, r15d
call fcn.14002c040
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x14002c1cc

Function at 0x14002c364
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14002c1cc
Function at 0x14002f20b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140059d80]
jne 0x14002b13a
rol rcx, 0x10
test cx, 0xffff
jne 0x14002b136
repz ret
ror rcx, 0x10
jmp 0x14002f164
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140439bd0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140439cc8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14002f1e9
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140439bd0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14002f20b
mov rax, qword [rsp + 0x88]
mov qword [0x140439cc8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140439c68], rax
mov rax, qword [0x140439cc8]
mov qword [0x140439b40], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140439c50], rax
mov dword [0x140439b30], 0xc0000409
mov dword [0x140439b34], 1
mov rax, qword [0x140059d80]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140059d88]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140439bc8], eax
mov ecx, 1
call fcn.140035edc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140048ef0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140439bc8], 0
jne 0x14002f292
mov ecx, 1
call fcn.140035edc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1400359fc
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.14002ed10
xor ebx, ebx
mov rdi, rax
cmp qword [0x14043a460], rbx
jne 0x140035b02
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140035bd7
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140035bd7
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x140049060]
mov rcx, rsi
mov qword [0x14043a460], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x140049048]
mov rcx, rsi
mov qword [0x14043a468], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x14043a470], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14043a480], rax
test rax, rax
je 0x140035af9
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14043a478], rax
jmp 0x140035b09
mov rax, qword [0x14043a478]
jmp 0x140035b10
mov rax, qword [0x14043a478]
mov r11, qword [0x14043a480]
cmp rax, rdi
je 0x140035b78
cmp r11, rdi
je 0x140035b78
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14043a480]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140035b78
test rax, rax
je 0x140035b78
call rsi
test rax, rax
je 0x140035b72
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140035b72
test byte [rsp + 0x38], 1
jne 0x140035b78
bts ebp, 0x15
jmp 0x140035bb6
mov rcx, qword [0x14043a468]
cmp rcx, rdi
je 0x140035bb6
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140035bb6
call rax
mov rbx, rax
test rax, rax
je 0x140035bb6
mov rcx, qword [0x14043a470]
cmp rcx, rdi
je 0x140035bb6
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140035bb6
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14043a460]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140035bd7
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140035bd9
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x14003728f
Capabilities:
Write file on windows

Disassembly:
jmp 0x14004de40
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400d8064]
call fcn.140038df6
nop
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14004de98
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14004dfaa
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14004df43
cmp qword [rbp + 0x28], 0
jle 0x14004df43
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14004dee1
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.140038bf8
nop
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
nop
cmp qword [rbp + 0x130], 0
jle 0x14004df99
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14004df99
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x1400374d8
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x14006fe20
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1400d8162]
call fcn.140038df6
nop
mov qword [rbp + 8], 0
jmp 0x14006fe5f
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x110]
cmp qword [rbp + 8], rax
jae 0x14006feb5
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x108]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rbp + 0x100]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
movabs rax, 0x100000001b3
mov rcx, qword [rbp + 0x100]
imul rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
jmp 0x14006fe54
mov rax, qword [rbp + 0x100]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret