joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140039730
Capabilities:
Parse pe header

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

Function at 0x1409691b8
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14096933f
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 0x1409691e9
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409691cf
add dl, dl
jne 0x1409691f6
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140969256
xor eax, eax
add dl, dl
jne 0x140969205
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14096930d
add dl, dl
jne 0x140969216
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140969223
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140969230
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14096923d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14096924a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1409691de
mov eax, 1
add dl, dl
jne 0x140969266
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140969273
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14096925b
sub eax, ebx
mov ebx, 1
jne 0x1409692ac
mov ecx, 1
add dl, dl
jne 0x14096928e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14096929b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140969283
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409691de
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1409692c8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1409692d5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409692bd
cmp eax, 0x7d00
jae 0x1409692fb
cmp eax, 0x500
jb 0x1409692f6
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409691de
cmp eax, 0x7f
ja 0x1409692fe
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409691de
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140969332
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 0x1409691de
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140003b60
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x30
mov dword [rsp + 0x28], ecx
lea rdx, [rsp + 0x20]
xor ebx, ebx
lea rcx, [0x140003b10]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rsp + 0x20]
test rcx, rcx
cmovne rbx, rcx
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x140004590
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x1400045c1
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x14000463b
mov rdi, r14
mov rcx, rbx
call fcn.140007d40
test rax, rax
jle 0x140004613
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.14005ef60
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14000462b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140004633
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x1400045d5
sub r14, rdi
jmp 0x14000471f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140004652
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140004654
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140004686
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14005ef60
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14000471c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400046c1
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x1400046fd
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140040334
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14000471c
cmp rbp, rax
ja 0x1400046d0
test rbp, rbp
je 0x14000471c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140040334
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14002ffc0
Capabilities:
Parse pe header

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

Function at 0x1400439fc
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 0x140043867
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140043867
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140043867
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140043867
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140043867
cmp dword [rcx + 0x84], 0xe
jbe 0x140043867
cmp dword [rcx + 0xf8], 0
je 0x140043867
mov ecx, ebx
call fcn.140043918
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.1400436f4
nop
cmp dword [rbp + 0x20], 0
je 0x1400438b5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400438c0
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400437f8

Function at 0x140049afc
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140049b12
mov al, 1
jmp 0x140049b72
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140049b23
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140049b70
mov ecx, dword [rcx + 0x18]
nop
call fcn.140054460
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140049b70
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140049b70
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140049b70
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140049b72
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14004e670
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.14002fdd0
sub rsp, rax
mov rax, qword [0x1400890c0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400499dc
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14004e6bf
mov rax, rbp
jmp 0x14004e7c7
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, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x8bdd0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140051080
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x8bdd0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14004e7c3
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14004e7c3
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140051080
test rax, rax
js 0x14004e7c3
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14004e7c3
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14004e7b5
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14004e7b5
cmp byte [rcx], 0xd
jne 0x14004e79b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14004e7aa
cmp byte [rcx + 1], 0xa
jne 0x14004e7aa
inc rcx
jmp 0x14004e7aa
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x896a0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14004e77d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14004e7c7
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14002f100
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 0x140050420
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
lea r9, [0x14008bdd0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x140050477
cmp word [rdx], r13w
jne 0x140050477
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14005047c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400505a1
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400505c2
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400504b5
mov rdx, r9
mov word [rbx], cx
jmp 0x1400504dc
cmp r9, r8
jae 0x1400504ec
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x140050496
jmp 0x1400505a1
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140050596
cmp dword [rsp + 0x80], esi
je 0x140050596
lea r8, [0x14008bdd0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14005056e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14005053e
mov word [rbx], r13w
jmp 0x14005059e
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14005054b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14005059e
cmp word [rsp + 0x70], r13w
jne 0x14005057b
cmp rbx, r14
je 0x140050538
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140051088
cmp word [rsp + 0x70], r13w
je 0x1400505a1
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
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
lea r8, [0x14008bdd0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14005059b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400505a1
Function at 0x1400538bc
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 0x140053943
mov rsi, rbx
cmp word [rax], bp
je 0x140053902
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400538ec
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400538e8
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14004c920
mov rdi, rax
test rax, rax
je 0x140053930
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14005ef60
mov rbp, rdi
xor ecx, ecx
call fcn.14004a868
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 0x1400569b4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140049fbc
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140056a55
cmp ebx, dword [rsp + 0x30]
je 0x140056a4e
test esi, esi
je 0x140056a4e
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140056a29
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140056a36
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140056a13
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140056a3a
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140056a57
mov eax, 1
jmp 0x140056a57
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14005b034
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.140051088
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140051088
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14005b184
cmp rax, 0xffffffffffffffff
je 0x14005b184
xor edi, edi
test rbp, rbp
jle 0x14005b12f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14004a590
mov rbx, rax
test rax, rax
jne 0x14005b0bc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14005b125
mov edx, 0x8000
mov ecx, r14d
call fcn.1400472e4
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.14004c214
cmp eax, 0xffffffff
je 0x14005b105
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14005b0cc
mov edx, r15d
mov ecx, r14d
call fcn.1400472e4
jmp 0x14005b125
cmp byte [rsi + 0x38], dil
je 0x14005b11c
cmp dword [rsi + 0x34], 5
jne 0x14005b11c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14005b125
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14004a868
jmp 0x14005b198
jns 0x14005b198
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140051088
cmp rax, 0xffffffffffffffff
jne 0x14005b150
cmp byte [rsi + 0x30], dil
je 0x14005b198
mov edi, dword [rsi + 0x2c]
jmp 0x14005b198
mov ecx, r14d
call fcn.140054460
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14005b198
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 0x14005b198
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14005b191
mov eax, dword [rsi + 0x2c]
jmp 0x14005b196
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140051088
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 0x14005bf30
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14005bf58
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14005bf58
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140002070
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov rdi, rdx
mov r11, rcx
test rcx, rcx
je 0x140002103
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140002103
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x140002103
mov ecx, dword [rax + rcx + 0x88]
test ecx, ecx
je 0x140002103
mov ebx, dword [rcx + r11 + 0x1c]
xor r9d, r9d
mov r10d, dword [rcx + r11 + 0x20]
mov ebp, dword [rcx + r11 + 0x24]
add r10, r11
add rbp, r11
lea rsi, [r11 + rbx]
test ebx, ebx
je 0x140002103
mov r8d, dword [r10]
mov rax, rdi
add r8, r11
sub r8, rdi
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400020f3
inc rax
test ecx, ecx
jne 0x1400020e0
test edx, edx
je 0x14000211a
inc r9d
add r10, 4
cmp r9d, ebx
jb 0x1400020d1
xor eax, eax
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
movzx ecx, word [rbp + r9*2]
mov eax, dword [rsi + rcx*4]
add rax, r11
jmp 0x140002105
Function at 0x1400022a0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rdi, rcx
xor r14d, r14d
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x50]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x104
ja 0x14000231f
lea rcx, [rbp - 0x50]
mov rax, 0xffffffffffffffff
nop
lea rax, [rax + 1]
cmp word [rcx + rax*2], r14w
jne 0x140002300
cmp word [rbp + rax*2 - 0x52], 0x5c
jne 0x140002319
mov word [rbp + rax*2 - 0x52], r14w
lea rdx, [rbp - 0x50]
jmp 0x140002326
lea rdx, [0x1400b1778]
lea rcx, [rsp + 0x40]
call fcn.140007df0
nop
mov rbx, qword [rsp + 0x50]
test rbx, rbx
jne 0x140002397
lea rdx, [0x1400b1778]
mov rcx, rdi
call fcn.140007df0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x1400024e1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400024dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400024dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rsp + 0x68]
call fcn.1400021a0
mov rsi, rax
movabs rcx, 0x7ffffffffffffffe
sub rcx, rbx
cmp rcx, 1
jb 0x140002501
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova r9, qword [rsp + 0x40]
mov qword [rsp + 0x30], 1
lea rax, [0x1400b1774]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea rcx, [rbp - 0x78]
call fcn.14000a8d0
nop
mov r9, rsi
lea r8, [rbp - 0x78]
mov rcx, rdi
call fcn.14000a6a0
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x140002444
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000243e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000243e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009d4d4
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x140002488
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002483
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002483
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009d4d4
movdqa xmm0, xmmword [0x1400bd0f0]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r14w
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x1400024e1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400024dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400024dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009d4d4
mov rax, rdi
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140001be0
nop
int3
Function at 0x140006030
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1070
call fcn.14009df70
sub rsp, rax
mov r13, r8
mov r14, rdx
test r8, r8
je 0x14000615a
lea rdx, [rsp + 0x10c0]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], rdx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rax
mov edx, 0x80862007
mov rax, qword [0x1400ce560]
mov r9d, Ordinal_41
mov qword [rsp + 0x50], r8
lea r8, [rsp + 0x40]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], gethostname
mov qword [rsp + 0x60], 0x1000
mov dword [rsp + 0x10c0], 0
call rax
test eax, eax
je 0x14000615a
mov rbx, 0xffffffffffffffff
mov rsi, rbx
nop dword [rax]
inc rsi
cmp byte [r14 + rsi], 0
jne 0x1400060f0
movsxd rax, dword [rsp + 0xac]
lea rcx, [rsp + 0x70]
add rcx, rax
xor ebp, ebp
movzx eax, word [rcx + 0x14]
lea r12, [rcx + 0x18]
movzx r15d, word [rcx + 6]
add r12, rax
test r15d, r15d
je 0x14000615a
lea rcx, [rbp*4]
mov r8, rsi
add rcx, rbp
mov rdx, r14
lea rdi, [r12 + rcx*8]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140006153
mov rax, rbx
inc rax
cmp byte [rdi + rax], 0
jne 0x140006145
cmp rsi, rax
je 0x140006177
inc ebp
cmp ebp, r15d
jb 0x140006121
xor eax, eax
mov rbx, qword [rsp + 0x10b8]
add rsp, 0x1070
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, dword [rdi + 0xc]
test eax, eax
je 0x14000615a
mov ecx, dword [rdi + 8]
lea rbp, [rsp + 0x70]
add rbp, rax
je 0x14000615a
test ecx, ecx
je 0x14000615a
lea rax, [rsp + 0x70]
mov edi, ecx
sub rbp, rax
add rbp, r13
je 0x14000615a
cmp rcx, 0x40000000
ja 0x14000615a
call fcn.14009d878
mov r10, qword [0x1400ce560]
lea r8, [rsp + 0x40]
mov rcx, qword [rsp + 0x10b0]
xor r14d, r14d
mov qword [rsp + 0x38], r14
mov rsi, rax
mov qword [rsp + 0x58], rax
mov edx, 0x80862007
lea rax, [rsp + 0x10c0]
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x30], rax
lea r9d, [r14 + 0x28]
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x40], gethostname
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x10c0], r14d
call r10
test eax, eax
je 0x14000628c
mov r10, qword [rsp + 0x10d0]
nop
inc rbx
cmp byte [r10 + rbx], r14b
jne 0x140006220
mov r9, r14
sub rdi, rbx
je 0x140006284
mov rax, qword [rsp + 0x10c8]
mov rbx, rsi
movzx r11d, byte [r10]
sub rbx, rax
mov rdx, r10
test r11b, r11b
je 0x14000626f
movzx ecx, r11b
lea r8, [rbx + r9]
cmp cl, 0x78
jne 0x140006261
movzx ecx, byte [rax]
cmp byte [r8 + rax], cl
jne 0x140006274
movzx ecx, byte [rdx + 1]
inc rdx
inc rax
test cl, cl
jne 0x140006253
cmp byte [rdx], r14b
je 0x140006294
mov rax, qword [rsp + 0x10c8]
inc r9
cmp r9, rdi
jb 0x140006243
mov rcx, rsi
call fcn.14009d4d4
mov rax, r14
jmp 0x14000615c
lea rbx, [r9 + rsi]
test rbx, rbx
je 0x140006284
mov rcx, rsi
call fcn.14009d4d4
sub rbx, rsi
lea rax, [rbx + rbp]
jmp 0x14000615c