joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400078a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rbx, qword [0x1400151c0]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x90012
mov dword [rbp - 0x1c], 0x650004
mov dword [rbp - 0x18], 0x4a001f
mov dword [rbp - 0x14], 0x5e005f
mov dword [rbp - 0x10], 0xb
mov dword [rbp - 0xc], 0x90000
call fcn.140002240
mov rcx, rax
call rbx
mov rbx, qword [0x1400151c0]
lea rcx, [rbp - 0x20]
mov qword [0x1400151a0], rax
mov dword [rbp - 0x20], 0x80016
mov dword [rbp - 0x1c], 0x60000f
mov dword [rbp - 0x18], 0x1c001d
mov dword [rbp - 0x14], 0x5e0019
mov dword [rbp - 0x10], 0xb
mov dword [rbp - 0xc], 0x90000
call fcn.140002240
mov rcx, rax
call rbx
movdqa xmm0, xmmword [0x140013bf0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140015130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400151b0], rax
mov word [rbp - 0x10], 0x321b
mov byte [rbp - 0xe], 0x72
call fcn.140003360
mov rcx, qword [0x1400151a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140015130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x65040912
mov dword [rbp - 0x1c], 0x15153c1f
mov dword [rbp - 0x18], 0x6c18190c
mov word [rbp - 0x14], 0x6332
call fcn.140001180
mov rcx, qword [0x1400151a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140015130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x6c150f08
mov dword [rbp - 0x1c], 0x4081701
mov dword [rbp - 0x18], 0x67091c20
mov word [rbp - 0x14], 0x6324
call fcn.140001180
mov rcx, qword [0x1400151b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140013c60]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140015130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400150e8], rax
mov byte [rbp - 0x10], 0x6d
call fcn.1400031a0
mov rcx, qword [0x1400151b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140013b90]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140015130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400150f0], rax
mov dword [rbp - 0x10], 0x63170909
call fcn.140002040
mov rcx, qword [0x1400151b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140013bc0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140015130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400150e0], rax
mov byte [rbp - 0x10], 0x6d
call fcn.1400031a0
mov rcx, qword [0x1400151b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140013c30]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140015130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400150d8], rax
mov dword [rbp - 0x10], 0x221c0a04
mov byte [rbp - 0xc], 0x65
call fcn.1400026e0
mov rcx, qword [0x1400151b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140013b70]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140015130]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x10], 0x2403
mov byte [rbp - 0xe], 0x72
call fcn.140003360
mov rcx, qword [0x1400151b0]
mov rdx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp rax
Function at 0x140007bc0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x140007c22
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.140009cd0
test al, al
jne 0x140007c34
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140007bf0
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x6c
mov dword [rbp - 0x20], 0x24000a
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x470033
mov dword [rbp - 0x18], 0x350036
mov dword [rbp - 0x14], 0x31002f
mov dword [rbp - 0x10], 0x29003c
call fcn.140003950
mov rcx, rax
call 0x140007bc0
mov qword [0x1400151b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x6f
mov dword [rbp - 0x20], 0x24000a
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x470033
mov dword [rbp - 0x18], 0x350036
mov dword [rbp - 0x14], 0x42005e
call fcn.140001dd0
mov rcx, rax
call 0x140007bc0
lea rcx, [rbp - 0x20]
mov qword [0x1400151a8], rax
mov dword [rbp - 0x20], 0x15002f
mov dword [rbp - 0x1c], 0x650005
mov dword [rbp - 0x18], 0x79001f
call fcn.140003860
mov rcx, rax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rbp
jmp 0x140007bc0
Function at 0x140007d90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x140007c22
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.140009cd0
test al, al
jne 0x140007c34
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140007bf0
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x6c
mov dword [rbp - 0x20], 0x24000a
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x470033
mov dword [rbp - 0x18], 0x350036
mov dword [rbp - 0x14], 0x31002f
mov dword [rbp - 0x10], 0x29003c
call fcn.140003950
mov rcx, rax
call 0x140007bc0
mov qword [0x1400151b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x6f
mov dword [rbp - 0x20], 0x24000a
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x470033
mov dword [rbp - 0x18], 0x350036
mov dword [rbp - 0x14], 0x42005e
call fcn.140001dd0
mov rcx, rax
call 0x140007bc0
lea rcx, [rbp - 0x20]
mov qword [0x1400151a8], rax
mov dword [rbp - 0x20], 0x15002f
mov dword [rbp - 0x1c], 0x650005
mov dword [rbp - 0x18], 0x79001f
call fcn.140003860
mov rcx, rax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rbp
jmp 0x140007bc0
Function at 0x140012660
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
mov r11d, eax
jne 0x14001267f
or eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
xor ecx, ecx
cmp r11, rbx
cmovb r11d, ecx
mov eax, r11d
add rsp, 0x20
pop rbx
ret

Function at 0x14001d960
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x5b0
mov rbp, rcx
mov rcx, qword [0x14004a520]
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
call fcn.140020ee0
test rax, rax
je 0x14001d9b4
mov r10, qword [rsp + 0x5e0]
mov r9d, ebx
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], r10
call rax
jmp 0x14001da49
mov ecx, 2
call fcn.1400297d0
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.1400197f0
mov rax, qword [rsp + 0x5b8]
mov dword [rsp + 0x40], 0xc000000d
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x14001da35
test ebx, ebx
jne 0x14001da35
lea ecx, [rax + 2]
call fcn.1400297d0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc000000d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400215a7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140047db0]
jne 0x1400195ea
rol rcx, 0x10
test cx, 0xffff
jne 0x1400195e6
repz ret
ror rcx, 0x10
jmp 0x140021500
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14004a5e0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14004a6d8]
mov qword [rsp + 0x58], rax
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 0x140021585
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, [0x14004a5e0]
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 0x1400215a7
mov rax, qword [rsp + 0x88]
mov qword [0x14004a6d8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14004a678], rax
mov rax, qword [0x14004a6d8]
mov qword [0x14004a550], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14004a660], rax
mov dword [0x14004a540], 0xc0000409
mov dword [0x14004a544], 1
mov rax, qword [0x140047db0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140047db8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14004a5d8], eax
mov ecx, 1
call fcn.1400297d0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14003fc38]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14004a5d8], 0
jne 0x14002162e
mov ecx, 1
call fcn.1400297d0
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 0x140022b90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
sub rsp, 0x30
lea r12, [0x140048270]
xor esi, esi
mov edi, ecx
mov rax, r12
mov ebx, esi
nop
cmp ecx, dword [rax]
je 0x140022bce
add ebx, 1
add rax, 0x10
cmp ebx, 0x17
jb 0x140022bb0
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
cmp ebx, 0x17
jae 0x140022db5
mov ecx, 3
call fcn.14002aea0
cmp eax, 1
je 0x140022d6c
mov ecx, 3
call fcn.14002aea0
test eax, eax
jne 0x140022c05
cmp dword [0x140047f50], 1
je 0x140022d6c
cmp edi, 0xfc
je 0x140022db5
mov qword [rsp + 0x50], rbp
lea rbp, [0x14004aad0]
lea r8, str.Runtime_Error__n_nProgram:
mov rcx, rbp
mov edx, 0x314
call fcn.140023fc0
test eax, eax
je 0x140022c49
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.14001d8c0
lea rdx, [0x14004aae9]
mov r8d, 0x104
xor ecx, ecx
mov byte [0x14004abed], sil
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x140022c99
lea r8, str._program_name_unknown_
lea rcx, [0x14004aae9]
mov edx, 0x2fb
call fcn.140023fc0
test eax, eax
je 0x140022c99
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.14001d8c0
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x14004aae9]
repne scasb al, byte [rdi]
not rcx
cmp rcx, 0x3c
jbe 0x140022ce8
lea rcx, [rcx + rbp - 0x23]
lea rdx, [0x14004ade4]
lea r9d, [rax + 3]
lea r8, [0x140033588]
sub rdx, rcx
call fcn.14002ad80
test eax, eax
je 0x140022ce8
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.14001d8c0
lea r8, [0x140040200]
mov edx, 0x314
mov rcx, rbp
call fcn.14002acc0
test eax, eax
je 0x140022d14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.14001d8c0
movsxd r8, ebx
mov edx, 0x314
mov rcx, rbp
add r8, r8
mov r8, qword [r12 + r8*8 + 8]
call fcn.14002acc0
test eax, eax
je 0x140022d44
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.14001d8c0
lea rdx, str.Microsoft_Visual_C_Runtime_Library
mov r8d, 0x12010
mov rcx, rbp
call fcn.14002aa60
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x140022db5
cmp rax, 0xffffffffffffffff
je 0x140022db5
xor eax, eax
movsxd rcx, ebx
lea r9, [rsp + 0x58]
add rcx, rcx
mov qword [rsp + 0x20], rsi
mov rdx, qword [r12 + rcx*8 + 8]
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
Function at 0x140022dd0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
mov ecx, 3
call fcn.14002aea0
cmp eax, 1
je 0x140022e02
mov ecx, 3
call fcn.14002aea0
test eax, eax
jne 0x140022eb6
cmp dword [0x140047f50], 1
jne 0x140022eb6
mov qword [rsp + 0x48], rbx
lea rbx, [0x140048270]
mov qword [rsp + 0x30], rdi
mov rax, rbx
xor edi, edi
cmp dword [rax], 0xfc
je 0x140022e2e
add edi, 1
add rax, 0x10
cmp edi, 0x17
jb 0x140022e18
jmp 0x140022ea2
cmp edi, 0x17
jae 0x140022ea2
mov ecx, 3
call fcn.14002aea0
cmp eax, 1
je 0x140022e59
mov ecx, 3
call fcn.14002aea0
test eax, eax
jne 0x140022ea2
cmp dword [0x140047f50], 1
jne 0x140022ea2
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x140022ea2
cmp rax, 0xffffffffffffffff
je 0x140022ea2
movsxd rcx, edi
xor eax, eax
lea r9, [rsp + 0x40]
add rcx, rcx
mov qword [rsp + 0x20], rax
mov rdx, qword [rbx + rcx*8 + 8]
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 0xff
call fcn.140022b90
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
add rsp, 0x38
ret
Function at 0x1400284c0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [0x14004b058]
test eax, eax
jne 0x140028513
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x1400284f3
mov dword [0x14004b058], 1
jmp 0x14002852e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x14002850d
mov dword [0x14004b058], 2
jmp 0x140028609
mov eax, dword [0x14004b058]
cmp eax, 1
jne 0x140028600
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x140028653
cmp word [rdi], 0
mov qword [rsp + 0x50], rbp
mov rbx, rdi
mov qword [rsp + 0x58], r12
je 0x140028555
add rbx, 2
cmp word [rbx], 0
jne 0x140028541
add rbx, 2
cmp word [rbx], 0
jne 0x140028541
xor r12d, r12d
sub rbx, rdi
mov r8, rdi
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
sar rbx, 1
lea r9d, [rbx + 1]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
movsxd rbp, eax
je 0x1400285f3
mov rcx, rbp
call fcn.14001cc10
test rax, rax
mov rsi, rax
je 0x1400285f3
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea r9d, [rbx + 1]
mov r8, rdi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x1400285cd
mov rcx, rsi
call fcn.140019980
mov rsi, r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbp, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1400285d9
cmp eax, 2
je 0x140028609
test eax, eax
jne 0x140028653
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
test rax, rax
mov rbx, rax
je 0x140028653
cmp byte [rax], 0
je 0x140028632
nop
add rax, 1
cmp byte [rax], 0
jne 0x140028620
add rax, 1
cmp byte [rax], 0
jne 0x140028620
sub eax, ebx
add eax, 1
movsxd rsi, eax
mov rcx, rsi
call fcn.14001cc10
test rax, rax
mov rdi, rax
jne 0x140028665
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400182d0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rax, rdi
add rsp, 0x40
pop rdi
ret
Function at 0x14002aa60
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x50
mov edi, r8d
mov r13, rdx
mov r14, rcx
call fcn.140020df0
xor ebx, ebx
cmp qword [0x14004b068], rbx
mov rbp, rax
mov dword [rsp + 0x98], ebx
mov dword [rsp + 0x30], ebx
jne 0x14002ab8c
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rsi, rax
je 0x14002ac9f
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002ac9f
mov rcx, rax
call fcn.140020d20
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14004b068], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140020d20
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14004b070], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140020d20
lea rcx, [rsp + 0x98]
mov qword [0x14004b078], rax
call fcn.14001aae0
test eax, eax
je 0x14002ab3f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.14001d8c0
cmp dword [rsp + 0x98], 2
jne 0x14002ab8c
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140020d20
test rax, rax
mov qword [0x14004b088], rax
je 0x14002ab8c
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140020d20
mov qword [0x14004b080], rax
mov rcx, qword [0x14004b080]
mov qword [rsp + 0x80], r12
cmp rcx, rbp
je 0x14002ac38
cmp qword [0x14004b088], rbp
je 0x14002ac38
call fcn.140020ee0
mov rcx, qword [0x14004b088]
mov rsi, rax
call fcn.140020ee0
test rsi, rsi
mov r12, rax
je 0x14002ac38
test rax, rax
je 0x14002ac38
call rsi
test rax, rax
je 0x14002ac03
lea rcx, [rsp + 0x34]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14002ac03
test byte [rsp + 0x40], 1
jne 0x14002ac38
lea rcx, [rsp + 0x30]
call fcn.14001ab30
test eax, eax
je 0x14002ac25
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.14001d8c0
cmp dword [rsp + 0x30], 4
jb 0x14002ac32
bts edi, 0x15
jmp 0x14002ac76
bts edi, 0x12
jmp 0x14002ac76
mov rcx, qword [0x14004b070]
cmp rcx, rbp
je 0x14002ac76
call fcn.140020ee0
test rax, rax
je 0x14002ac76
call rax
test rax, rax
mov rbx, rax
je 0x14002ac76
mov rcx, qword [0x14004b078]
cmp rcx, rbp
je 0x14002ac76
call fcn.140020ee0
test rax, rax
je 0x14002ac76
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14004b068]
call fcn.140020ee0
mov r12, qword [rsp + 0x80]
test rax, rax
je 0x14002ac9f
mov r9d, edi
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14002aca1
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002d210
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140047db0]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x20]
mov r9d, 6
mov edx, 0x1004
mov byte [rsp + 0x26], 0
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x14002d257
or eax, 0xffffffff
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400195d0
add rsp, 0x38
ret
lea rcx, [rsp + 0x20]
call fcn.14002d510
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400195d0
add rsp, 0x38
ret

Function at 0x14002d6c0
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r13
sub rsp, 0x20
mov rbp, rdx
xor edi, edi
xor edx, edx
lea r8d, [rdi + 1]
mov esi, ecx
call fcn.140029b30
cmp rax, 0xffffffffffffffff
mov r13, rax
je 0x14002d864
lea r8d, [rdi + 2]
xor edx, edx
mov ecx, esi
call fcn.140029b30
cmp rax, 0xffffffffffffffff
je 0x14002d864
mov qword [rsp + 0x40], rbx
mov rbx, rbp
mov qword [rsp + 0x50], r14
sub rbx, rax
test rbx, rbx
jle 0x14002d7e3
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r14d, 0x1000
lea edx, [rdi + 8]
mov rcx, rax
mov r8, r14
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov rbp, rax
jne 0x14002d769
call fcn.14001c120
mov dword [rax], 0xc
call fcn.14001c120
mov eax, dword [rax]
mov rbx, qword [rsp + 0x40]
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r13
pop rdi
pop rsi
ret
mov edx, 0x8000
mov ecx, esi
mov qword [rsp + 0x48], r12
call fcn.14002e3f0
mov r12d, eax
nop
mov r8d, ebx
cmp rbx, r14
mov rdx, rbp
cmovge r8d, r14d
mov ecx, esi
call fcn.14001f180
cmp eax, 0xffffffff
je 0x14002d7a5
cdqe
sub rbx, rax
test rbx, rbx
jg 0x14002d780
jmp 0x14002d7be
call fcn.14001c150
cmp dword [rax], 5
jne 0x14002d7ba
call fcn.14001c120
mov dword [rax], 0xd
or rdi, 0xffffffffffffffff
mov edx, r12d
mov ecx, esi
call fcn.14002e3f0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbp
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r12, qword [rsp + 0x48]
jmp 0x14002d83c
test rbx, rbx
jns 0x14002d846
xor r8d, r8d
mov rdx, rbp
mov ecx, esi
call fcn.140029b30
cmp rax, 0xffffffffffffffff
je 0x14002d74a
mov ecx, esi
call fcn.14001b6b0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
neg eax
sbb rdi, rdi
neg rdi
sub rdi, 1
cmp rdi, 0xffffffffffffffff
jne 0x14002d846
call fcn.14001c120
mov dword [rax], 0xd
call fcn.14001c150
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
cmp rdi, 0xffffffffffffffff
je 0x14002d74a
xor r8d, r8d
mov rdx, r13
mov ecx, esi
call fcn.140029b30
cmp rax, 0xffffffffffffffff
je 0x14002d74a
xor eax, eax
jmp 0x14002d751
call fcn.14001c120
mov rbp, qword [rsp + 0x58]
mov eax, dword [rax]
add rsp, 0x20
pop r13
pop rdi
pop rsi
ret
Function at 0x1400518f0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov qword [rsp], rax
mov dword [rsp + 8], 0xffffffff
mov dword [rsp + 0xc], 0
jmp 0x140051922
mov eax, dword [rsp + 0xc]
inc eax
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0xc], eax
jae 0x1400519ca
mov eax, dword [rsp + 0xc]
mov rcx, qword [rsp]
movzx eax, byte [rcx + rax]
movzx ecx, byte [rsp + 8]
xor eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 8]
shr eax, 8
mov dword [rsp + 8], eax
mov dword [rsp + 0x14], 0
jmp 0x140051966
mov eax, dword [rsp + 0x14]
inc eax
mov dword [rsp + 0x14], eax
cmp dword [rsp + 0x14], 8
jge 0x1400519b5
mov eax, dword [rsp + 0x10]
and eax, 1
test eax, eax
je 0x140051982
mov dword [rsp + 0x1c], 1
jmp 0x14005198a
mov dword [rsp + 0x1c], 0
movzx eax, byte [rsp + 0x1c]
mov byte [rsp + 0x18], al
mov eax, dword [rsp + 0x10]
shr eax, 1
mov dword [rsp + 0x10], eax
movzx eax, byte [rsp + 0x18]
test eax, eax
je 0x1400519b3
mov eax, dword [rsp + 0x10]
xor eax, 0xedb88320
mov dword [rsp + 0x10], eax
jmp 0x14005195c
mov eax, dword [rsp + 0x10]
mov ecx, dword [rsp + 8]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
jmp 0x140051918
mov eax, dword [rsp + 8]
not eax
add rsp, 0x28
ret