joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001f410
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp byte [0x14005c0f6], 0
mov rsi, r8
mov rdi, rdx
mov rbp, rcx
jne 0x14001f493
mov edx, 3
xor ecx, ecx
mov r8d, 0xa
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [0x14005bf28], rax
mov ebx, dword [rax]
lea rdx, [rax + 4]
mov qword [0x14005bf28], rdx
mov r8d, dword [rdx]
add rdx, 4
mov qword [0x14005bf28], rdx
call fcn.14001d790
cmp eax, ebx
jne 0x14001f5fd
mov byte [0x14005c0f6], 1
lea rdx, [0x14004a4f8]
mov rcx, rsi
call fcn.140040330
test eax, eax
je 0x14001f51e
cmp byte [0x14005c0f7], 1
je 0x14001f51e
call qword [sym.imp.python312.dll_PyDict_New]
mov qword [0x14005c560], rax
call qword [sym.imp.python312.dll_PyDict_New]
mov qword [0x14005ca30], rax
call qword [sym.imp.python312.dll_PyDict_New]
mov qword [0x14005c270], rax
call qword [sym.imp.python312.dll_PyDict_New]
mov qword [0x14005c1d0], rax
call qword [sym.imp.python312.dll_PyDict_New]
mov qword [0x14005ca88], rax
call qword [sym.imp.python312.dll_PyDict_New]
mov qword [0x14005c308], rax
call qword [sym.imp.python312.dll_PyDict_New]
mov qword [0x14005ca38], rax
call qword [sym.imp.python312.dll_PyDict_New]
mov qword [0x14005ca48], rax
mov byte [0x14005c0f7], 1
mov r8, qword [0x14005bf28]
mov rax, rsi
mov rdx, r8
sub rdx, rsi
nop
movzx ecx, byte [rax]
xor r9d, r9d
cmp cl, byte [rax + rdx]
jne 0x14001f547
inc rax
test cl, cl
jne 0x14001f530
mov ecx, r9d
jmp 0x14001f54c
sbb ecx, ecx
or ecx, 1
mov rax, 0xffffffffffffffff
cmp byte [r8 + rax + 1], r9b
lea rax, [rax + 1]
jne 0x14001f553
lea rdx, [r8 + rax]
mov eax, dword [r8 + rax + 1]
add rdx, 5
test ecx, ecx
je 0x14001f5b8
nop
add rdx, rax
mov rax, rsi
mov r8, rdx
sub r8, rsi
nop dword [rax]
movzx ecx, byte [rax]
cmp cl, byte [rax + r8]
jne 0x14001f595
inc rax
test cl, cl
jne 0x14001f580
mov ecx, r9d
jmp 0x14001f59a
sbb ecx, ecx
or ecx, 1
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], r9b
jne 0x14001f5a1
add rdx, rax
mov eax, dword [rdx + 1]
add rdx, 5
test ecx, ecx
jne 0x14001f570
movzx ecx, word [rdx]
lea rax, [rdx + 2]
cmp r9w, cx
jae 0x14001f5e8
mov ebx, ecx
nop word [rax + rax]
mov r8, rax
mov rdx, rdi
mov rcx, rbp
call fcn.14001e490
add rdi, 8
sub rbx, 1
jne 0x14001f5d0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
lea rcx, str.Error__corrupted_constants_object
call fcn.14002f91c
call fcn.140027c20
int3

Function at 0x140024ec8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140024f12
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140024f12
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140024f12
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140024f12
cmp dword [rcx + 0x84], 0xe
jbe 0x140024f12
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140024f14
xor al, al
add rsp, 0x28
ret
Function at 0x140027d70
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140027ddf
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140027ddf
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140027ddf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140027ddf
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140027ddf
cmp dword [rcx + 0x84], 0xe
jbe 0x140027ddf
cmp dword [rcx + 0xf8], 0
je 0x140027ddf
mov ecx, ebx
call fcn.140027e84
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140027c78
nop
cmp dword [rbp + 0x20], 0
jne 0x140027e40
call fcn.140034860
cmp eax, 1
jne 0x140027e30
xor dl, dl
jmp 0x140027e3a
call fcn.14003482c
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x140027e4b
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140027e54
int3
xor r8d, r8d
xor edx, edx
jmp 0x140027d70

Function at 0x140027f58
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140027ddf
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140027ddf
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140027ddf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140027ddf
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140027ddf
cmp dword [rcx + 0x84], 0xe
jbe 0x140027ddf
cmp dword [rcx + 0xf8], 0
je 0x140027ddf
mov ecx, ebx
call fcn.140027e84
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140027c78
nop
cmp dword [rbp + 0x20], 0
jne 0x140027e40
call fcn.140034860
cmp eax, 1
jne 0x140027e30
xor dl, dl
jmp 0x140027e3a
call fcn.14003482c
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x140027e4b
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140027e54
int3
xor r8d, r8d
xor edx, edx
jmp 0x140027d70
Function at 0x140038f20
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140038fa7
mov rsi, rbx
cmp word [rax], bp
je 0x140038f66
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140038f50
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140038f4c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140036850
mov rdi, rax
test rax, rax
je 0x140038f94
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14003f9c0
mov rbp, rdi
xor ecx, ecx
call fcn.140034910
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14003b7ec
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14003b802
mov al, 1
jmp 0x14003b86e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14003b813
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14003b86c
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400396c4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14003b86c
and qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
mov r9d, 1
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14003b86c
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14003b86c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14003b86e
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14003f2d0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14003f2f8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14003f2f8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001e40
Capabilities:
Send data
Send data on socket

Disassembly:
sub rsp, 0xd8
mov rax, qword [0x140028040]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x78], rcx
mov dword [rsp + 0xac], 1
mov dword [rsp + 0xc4], 2
lea rax, [rsp + 0xac]
mov qword [rsp + 0xc8], rax
mov dword [rsp + 0xc0], 4
mov dword [rsp + 0x98], 0
mov dword [rsp + 0x9c], 1
lea rax, [rsp + 0xc0]
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0x78]
add rcx, 0x18
lea rdx, [rsp + 0x98]
call qword [sym.imp.Secur32.dll_ApplyControlToken]
mov dword [rsp + 0xb4], 2
mov dword [rsp + 0x88], 0
mov dword [rsp + 0x8c], 1
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x84], 0x811c
mov r9d, dword [rsp + 0x84]
mov rdx, qword [rsp + 0x78]
add rdx, 0x18
mov rcx, qword [rsp + 0x78]
add rcx, 8
xor eax, eax
mov r8d, eax
xor eax, eax
lea r10, [rsp + 0x88]
lea rax, [rsp + 0x84]
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], r10
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], r10
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
call sub.Secur32.dll_InitializeSecurityContextA
cmp eax, 0
jne 0x140002006
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
je 0x140001ff9
mov r8d, dword [rsp + 0x6c]
mov rdx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax]
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
jg 0x140001fd2
jmp 0x140001ff9
mov ecx, dword [rsp + 0x68]
mov rax, qword [rsp + 0x70]
movsxd rcx, ecx
add rax, rcx
mov qword [rsp + 0x70], rax
mov ecx, dword [rsp + 0x68]
mov eax, dword [rsp + 0x6c]
sub eax, ecx
mov dword [rsp + 0x6c], eax
jmp 0x140001f98
mov rcx, qword [rsp + 0xb8]
call sub.Secur32.dll_FreeContextBuffer
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax]
mov edx, 2
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [rsp + 0x78]
add rcx, 0x18
call qword [sym.imp.Secur32.dll_DeleteSecurityContext]
mov rcx, qword [rsp + 0x78]
add rcx, 8
call qword [sym.imp.Secur32.dll_FreeCredentialsHandle]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400026e0
nop
add rsp, 0xd8
ret
Function at 0x140003124
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000316e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000316e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000316e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000316e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000316e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003170
xor al, al
add rsp, 0x28
ret

Function at 0x14000c060
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000c0cf
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000c0cf
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000c0cf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000c0cf
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000c0cf
cmp dword [rcx + 0x84], 0xe
jbe 0x14000c0cf
cmp dword [rcx + 0xf8], 0
je 0x14000c0cf
mov ecx, ebx
call fcn.14000c180
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000bf5c
nop
cmp dword [rbp + 0x20], 0
je 0x14000c11d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000c128
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14000c060

Function at 0x14000c264
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000c060
Function at 0x140011cac
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 0x140011cdc
xor eax, eax
jmp 0x140011d9f
mov rbp, rbx
cmp word [rax], si
je 0x140011d01
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140011ce8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140011ce4
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.140011bcc
movsxd r14, eax
test eax, eax
jne 0x140011d3f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140011cd5
mov rcx, r14
call fcn.14000e2c4
mov rdi, rax
test rax, rax
jne 0x140011d58
xor ecx, ecx
call fcn.14000e288
jmp 0x140011d34
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.140011bcc
test eax, eax
jne 0x140011d89
mov rcx, rdi
call fcn.14000e288
jmp 0x140011d93
xor ecx, ecx
call fcn.14000e288
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 0x140016678
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001668e
mov al, 1
jmp 0x1400166ee
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001669f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400166ec
mov ecx, dword [rcx + 0x18]
nop
call fcn.140012678
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400166ec
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400166ec
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400166ec
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400166ee
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400177f0
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000d518
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14001787a
cmp byte [rbp - 0x21], r15b
je 0x140017875
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400178b0
call fcn.140013220
test eax, eax
jne 0x14001789c
cmp byte [rbp - 0x21], r15b
je 0x140017894
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400178b0
cmp byte [rbp - 0x21], r15b
je 0x1400178ad
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140010558
test eax, eax
jne 0x140017950
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000d518
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400178ef
cmp byte [rbp - 0x21], r15b
je 0x140017924
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140017924
call fcn.140013220
test eax, eax
jne 0x140017910
cmp byte [rbp - 0x21], r15b
je 0x140017909
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140017924
cmp byte [rbp - 0x21], r15b
je 0x140017921
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140010558
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140017950
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140017953
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140017961
mov rcx, rdi
call fcn.14000e288
cmp byte [rbp + 0x3f], r15b
je 0x140017970
mov rcx, qword [rbp + 0x27]
call fcn.14000e288
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x14001a140
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001a168
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001a168
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180040db0
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 0x180040e0d
lea rbx, [0x1801b5800]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180040df4
cmp r10, 2
jb 0x180040df4
cmp byte [r9], r8b
jne 0x180040df4
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 0x180040dd0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180040e4f
lea rbx, [0x1801b5800]
cmp r8b, 0x23
jne 0x180040e33
cmp byte [r9], r8b
jne 0x180040e33
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 0x180040e20
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180040f90
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x180040faa
mov qword [r8], 0
lea rdx, [0x1801b5310]
call fcn.180040e60
mov rbx, rax
test rax, rax
jne 0x180040fca
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 0x1800410a1
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 0x1800410a1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1800410a1
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 0x1800410a1
cmp rdi, 0xffffffffffffffff
je 0x1800410a1
mov rax, qword [0x180233850]
test rax, rax
je 0x18004103e
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1800410a1
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 0x18004108e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180233850]
test rax, rax
je 0x180041083
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1800410aa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18004109c
mov qword [r14], rdi
mov rax, rsi
jmp 0x1800410ac
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 0x180043e70
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r10, [0x1801b5800]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dl
movzx r8d, bl
shr ebx, 8
xor r8, rax
movzx eax, byte [rsp + 0x39]
xor ebx, dword [r10 + r8*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r10 + rcx*4]
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x3f28], ebx
jne 0x180043efb
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.180057ec0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x180043f10
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf8]
lea r9, [0x1801b5800]
vmovss xmm3, dword [rcx + 0x110]
vmovss xmm4, dword [rcx + 0x114]
movsxd rcx, dword [rcx + 0xf0]
vmovss xmm0, dword [rdx]
vmovss xmm2, dword [rdx + 4]
vsubss xmm1, xmm0, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
vmovss dword [rsp], xmm1
movzx eax, byte [rsp]
xor rcx, rax
movzx eax, byte [rsp + 1]
vmovss xmm1, dword [rdx + 8]
vsubss xmm0, xmm2, xmm4
vmovss dword [rsp + 4], xmm0
xor r8d, dword [r9 + rcx*4]
vmovss xmm0, dword [rdx + 0xc]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
vsubss xmm2, xmm1, xmm3
vmovss dword [rsp + 8], xmm2
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
vsubss xmm1, xmm0, xmm4
vmovss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret