joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f28a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x3d58]
mov qword [rsp + 0x48], rax
movss xmm0, dword [0x140140d40]
movss dword [rsp + 0x38], xmm0
movss xmm0, dword [0x140135c28]
movss dword [rsp + 0x3c], xmm0
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, qword [rsp + 0x70]
call fcn.1400223a0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x28], rax
jae 0x1400f29e6
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x28]
add rax, 2
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xa
jne 0x1400f29a6
movss xmm1, dword [rsp + 0x20]
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax]
call fcn.1400834b0
mov rax, qword [rsp + 0x70]
movss dword [rax], xmm0
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [0x140140d40]
mov rax, qword [rsp + 0x70]
movss dword [rax + 4], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
movzx eax, byte [rsp + 0xa0]
test eax, eax
je 0x1400f29a1
jmp 0x1400f29e6
jmp 0x1400f2915
cmp dword [rsp + 0x24], 0xd
jne 0x1400f29b2
jmp 0x1400f2915
movzx edx, word [rsp + 0x24]
mov rcx, qword [rsp + 0x48]
call fcn.1400f1ff0
mulss xmm0, dword [0x140135c28]
movss dword [rsp + 0x34], xmm0
movss xmm0, dword [rsp + 0x20]
addss xmm0, dword [rsp + 0x34]
movss dword [rsp + 0x20], xmm0
jmp 0x1400f2915
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [rax]
jbe 0x1400f2a05
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
movss dword [rax], xmm0
cmp qword [rsp + 0x98], 0
je 0x1400f2a43
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [0x140140d40]
movaps xmm2, xmm0
movss xmm1, dword [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1400223a0
mov rax, qword [rax]
mov rcx, qword [rsp + 0x98]
mov qword [rcx], rax
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [0x140135c20]
ja 0x1400f2a67
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
ucomiss xmm0, dword [0x140135c20]
jp 0x1400f2a83
jne 0x1400f2a83
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [0x140140d40]
mov rax, qword [rsp + 0x70]
movss dword [rax + 4], xmm0
cmp qword [rsp + 0x90], 0
je 0x1400f2a9e
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov rax, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x140109360
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov ecx, dword [0x140414d48]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x140109427
movzx eax, byte [0x14041704c]
test eax, eax
jne 0x140109425
mov byte [0x14041704c], 1
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x1c]
test eax, eax
jne 0x1401093b0
mov dword [rsp + 0x20], 1
jmp 0x1401093b8
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x40]
movzx ecx, byte [rsp + 0x20]
mov byte [rax + 0x1c], cl
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x1c]
test eax, eax
je 0x1401093fc
mov r8d, 0x80000a8
mov edx, 0xffffffec
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
nop
jmp 0x140109425
mov r8d, 0x80800a8
mov edx, 0xffffffec
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
nop
jmp 0x14010942e
mov byte [0x14041704c], 0
add rsp, 0x38
ret
Function at 0x140112d70
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x140413c00]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r9, qword [rsp + 0x70]
xor r8d, r8d
lea rdx, [0x14038a730]
mov rcx, 0xffffffff80000001
call fcn.140108d20
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantStore
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x140112e1c
lea rcx, [0x140413a28]
call fcn.14001aef0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14011cd30
add rsp, 0x68
ret
Function at 0x140117f20
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x98
mov rax, qword [0x140413c00]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xb8]
mov qword [rax], 0
mov rax, qword [rsp + 0xb8]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0xb8]
mov dword [rax + 0x10], 0
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0xc0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
jmp 0x140117fdb
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
add rax, 0x28
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jge 0x14011809d
mov rax, qword [rsp + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140017c40
nop
lea rdx, [0x14038b2ec]
lea rcx, [rsp + 0x60]
call fcn.1400153e0
movzx eax, al
test eax, eax
jne 0x140118026
lea rcx, [rsp + 0x60]
call fcn.140018750
nop
jmp 0x140117fc3
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0xc0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 8]
mov r8d, eax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call fcn.140117eb0
mov dword [rsp + 0x58], eax
lea rax, [rsp + 0x48]
mov rdi, qword [rsp + 0xb8]
mov rsi, rax
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x60]
call fcn.140018750
nop
jmp 0x140117fc3
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14011cd30
add rsp, 0x98
pop rdi
pop rsi
ret
Function at 0x1401186b0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x280
mov rax, qword [0x140413c00]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x1401186ef
xor eax, eax
jmp 0x14011877d
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x238
rep stosb byte [rdi], al
mov dword [rsp + 0x30], 0x238
mov byte [rsp + 0x20], 0
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x140118753
lea rdx, [rsp + 0x5c]
mov rcx, qword [rsp + 0x290]
call fcn.1401180c0
movzx eax, al
test eax, eax
je 0x140118740
mov byte [rsp + 0x20], 1
jmp 0x140118753
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140118720
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140118771
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x24], eax
jmp 0x140118779
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14011cd30
add rsp, 0x280
pop rdi
ret
Function at 0x14011b2a0
Capabilities:
Enumerate pe sections

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x68]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x54]
mov r8d, eax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call sub.VCRUNTIME140.dll_memcpy
nop
mov dword [rsp + 0x20], 0
jmp 0x14011b313
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jae 0x14011b3ff
cmp dword [rsp + 0x70], 1
jne 0x14011b390
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax + 8]
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rdx + rcx + 0xc]
mov rdx, qword [rsp + 0x68]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp + 0x20]
imul rdx, rdx, 0x28
mov r8, qword [rsp + 0x28]
mov edx, dword [r8 + rdx + 0xc]
mov r8, qword [rsp + 0x60]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x38], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x38]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
cmp dword [rsp + 0x70], 0
jne 0x14011b3fa
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax + 0x10]
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rdx + rcx + 0x14]
mov rdx, qword [rsp + 0x68]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp + 0x20]
imul rdx, rdx, 0x28
mov r8, qword [rsp + 0x28]
mov edx, dword [r8 + rdx + 0xc]
mov r8, qword [rsp + 0x60]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x40], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x40]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
jmp 0x14011b309
add rsp, 0x58
ret

Function at 0x14011b870
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x28
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x30], 0
jne 0x14011b8ac
mov rax, qword gs:[0x30]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov qword [rsp], rax
jmp 0x14011b8b9
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x10]
mov qword [rsp], rax
mov rax, qword [rsp]
add rax, 0x10
mov rcx, qword [rsp]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x10]
mov ecx, 0x68
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x30]
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x14011b900
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x78], 0xffff
ja 0x14011b9ec
mov rax, qword [rsp + 0x78]
and rax, 0xffff
mov word [rsp + 0x20], ax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x10]
movzx ecx, word [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
cmp eax, dword [rcx + 0x14]
jae 0x14011b9e7
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
jmp 0x14011ba74
jmp 0x14011ba72
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x24], 0
jmp 0x14011ba18
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x24], eax
jae 0x14011ba72
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.14011afc0
test eax, eax
jne 0x14011ba70
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x50]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
jmp 0x14011ba74
jmp 0x14011ba0e
xor eax, eax
add rsp, 0x68
ret
Function at 0x14011bd20
Capabilities:
Enumerate pe sections

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
mov rax, qword [0x140413c00]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
mov dword [rsp + 0x30], 0
jmp 0x14011bd71
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x60]
call fcn.14011b870
test rax, rax
je 0x14011bed3
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0xf8], 0
jne 0x14011be7d
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0
jmp 0x14011bde4
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jae 0x14011be7d
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax + 0x24]
and eax, 0x20000000
test eax, eax
je 0x14011be78
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax + 8]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xf0]
cmp qword [rsp + 0x38], rax
ja 0x14011be78
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0xf0], rax
jae 0x14011be78
mov rax, qword [rsp + 0x28]
jmp 0x14011bed5
jmp 0x14011bdda
cmp dword [rsp + 0xf8], 1
jne 0x14011bece
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x50]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xf0]
cmp qword [rsp + 0x38], rax
ja 0x14011bece
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0xf0], rax
jae 0x14011bece
mov rax, qword [rsp + 0x28]
jmp 0x14011bed5
jmp 0x14011bd67
xor eax, eax
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14011cd30
add rsp, 0xe0
pop rdi
ret
Function at 0x14011bef0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x140413c00]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x90]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0
jmp 0x14011bf56
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jae 0x14011bfd8
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
xor r9d, r9d
mov r8d, 0x30
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.14011bb00
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov r9d, 4
mov r8d, 0x10
lea rdx, [rsp + 0x38]
xor ecx, ecx
call fcn.14011bb00
nop
mov rax, qword [rsp + 0x40]
shr rax, 0x16
and rax, 1
test rax, rax
jne 0x14011bfd3
xor eax, eax
jmp 0x14011bfdd
jmp 0x14011bf4c
mov eax, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14011cd30
add rsp, 0x88
ret

Function at 0x14011c174
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 0x14011c1ae
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14011c1b3
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 0x14011c1fc
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14039a580]
cmp byte [rcx + rax], 0
je 0x14011c1fc
dec r8
sub rdx, 1
jne 0x14011c1e2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14011dc84
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov eax, dword [0x14000f948]
xor ebx, ebx
mov rdi, rcx
test eax, eax
je 0x1400013a5
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14000f948]
cmp dword [0x14000f94c], ebx
mov esi, 1
je 0x1400013b6
mov ebx, esi
jmp 0x1400013d8
test eax, eax
jne 0x1400013c3
call fcn.1400011b0
test eax, eax
je 0x1400013d8
mov rcx, qword [0x14000f038]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
cmovne ebx, esi
test ebx, ebx
jne 0x1400013ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 0x7e]
cmp ecx, esi
jbe 0x1400013f7
cmp eax, 0x78
je 0x1400013f7
cmp eax, esi
je 0x1400013f7
cmp eax, 0x32
jne 0x1400013ff
mov dword [0x14000f94c], esi
mov ebx, esi
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000177c
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp byte [0x14000f9a0], 0
jne 0x1400018bb
mov ecx, 0x8000
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
xor edx, edx
lea rcx, str.KERNEL32.DLL
mov r8d, 0x1000
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rbx, rax
test rax, rax
jne 0x1400017ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1400017ff
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.AddDllDirectory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1400017ff
xor r8d, r8d
lea rcx, str.KERNEL32.DLL
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rbx, rax
mov ecx, edi
mov qword [0x14000f968], rbx
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov rcx, qword [0x14000f968]
test rcx, rcx
je 0x1400018ab
lea rdx, str.HeapCreate
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14000f968]
lea rdx, str.HeapDestroy
mov qword [0x14000f998], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14000f968]
lea rdx, str.HeapAlloc
mov qword [0x14000f960], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14000f968]
lea rdx, str.HeapReAlloc
mov qword [0x14000f9a8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14000f968]
lea rdx, str.HeapFree
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14000f968]
lea rdx, str.HeapSize
mov qword [0x14000f980], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [0x14000f9a0], 1
mov byte [0x14000f970], 1
jmp 0x1400018f3
lea rcx, [0x140001620]
mov qword [0x14000f998], rcx
lea rcx, [0x140001640]
mov qword [0x14000f960], rcx
lea rcx, [0x140001650]
mov qword [0x14000f9a8], rcx
lea rcx, [0x140001670]
mov qword [0x14000f980], rcx
mov rbx, qword [rsp + 0x30]
mov al, 1
add rsp, 0x20
pop rdi
ret
Function at 0x140001b3c
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xor esi, esi
xor r9d, r9d
and qword [rax - 0x38], rsi
mov edx, 0x80000000
mov dword [rax - 0x40], 0x8000000
xor edi, edi
xor r15d, r15d
lea r12d, [rsi + 1]
lea ebx, [rsi + 3]
mov r8d, r12d
mov dword [rax - 0x48], ebx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x140001ba7
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140001d4c
mov ecx, dword [0x14000f9c0]
mov ebp, 0x4400
test ecx, ecx
jne 0x140001d37
mov r13d, 0x10000
cmp ebp, 0xfffffff
jae 0x140001d18
mov r8, r13
lea rdx, [0x140010a30]
lea rcx, [0x140020a30]
call sub.VCRUNTIME140.dll_memcpy
xor r9d, r9d
xor r8d, r8d
mov edx, ebp
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x140001d74
cmp eax, ebp
jne 0x140001d6c
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x78]
mov r8d, r13d
lea rdx, [0x140010a30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140001d74
mov edx, dword [rsp + 0x78]
test edx, edx
je 0x140001d6c
mov eax, 0x4400
lea r8, [0x140020a30]
sub eax, ebp
lea rcx, [0x140010a30]
neg eax
sbb ebx, ebx
and ebx, r13d
mov r9d, ebx
call qword [sym.imp.SCNPST32.dll_RCVR_CountBlocks32]
mov edx, dword [rsp + 0x78]
lea r8, [0x140020a30]
mov r9d, ebx
lea rcx, [0x140010a30]
add esi, eax
call qword [sym.imp.SCNPST64.dll_RCVR_CountBlocks64]
mov edx, dword [rsp + 0x78]
lea r8, [0x140020a30]
mov r9d, ebx
lea rcx, [0x140010a30]
add edi, eax
call qword [sym.imp.SCNPST64C.dll_RCVR_CountBlocks64new]
add r15d, eax
mov ecx, r12d
cmp r15d, edi
jbe 0x140001cc0
test edi, edi
mov eax, r15d
cmovne ecx, edi
xor edx, edx
div ecx
cmp eax, 0x32
jb 0x140001cdb
mov ebx, 3
mov ecx, ebx
mov dword [0x14000f9c0], ebx
jmp 0x140001d06
cmp edi, esi
jbe 0x140001ce3
test esi, esi
mov eax, edi
cmovne ecx, esi
xor edx, edx
div ecx
cmp eax, 0x64
jb 0x140001cdb
mov ecx, 2
jmp 0x140001cfb
mov ecx, dword [0x14000f9c0]
jmp 0x140001d01
test edi, edi
mov eax, esi
cmovne ecx, edi
xor edx, edx
div ecx
mov ecx, dword [0x14000f9c0]
cmp eax, 0x64
cmovae ecx, r12d
mov dword [0x14000f9c0], ecx
mov ebx, 3
cmp dword [rsp + 0x78], r13d
jb 0x140001d18
add ebp, r13d
test ecx, ecx
je 0x140001bc0
test ecx, ecx
jne 0x140001d37
test esi, esi
jne 0x140001d24
test edi, edi
je 0x140001d37
cmp edi, esi
sbb ecx, ecx
add ecx, 2
cmp r15d, edi
cmova ecx, ebx
mov dword [0x14000f9c0], ecx
neg ecx
sbb ebx, ebx
not ebx
and ebx, 0x80040903
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x40]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov ecx, dword [0x14000f9c0]
jmp 0x140001d18
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140001d43