joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c757c
Capabilities:
Get file attributes
Get file size

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x38
mov rbx, rdx
mov rdi, rcx
mov r8d, 0x230
mov rcx, rbx
xor edx, edx
call fcn.1400cfef0
mov r8, qword [rdi + 0x18]
lea rcx, [rbx + 0x22]
or r9, 0xffffffffffffffff
mov edx, 0x104
call fcn.1400d0d90
xor esi, esi
cmp eax, esi
je 0x1400c75dd
cmp eax, 0xc
je 0x1400c75d7
cmp eax, 0x16
je 0x1400c75d1
cmp eax, 0x22
je 0x1400c75d1
cmp eax, 0x50
je 0x1400c75dd
call fcn.1400a0610
int3
call fcn.1400a0610
int3
call fcn.1400a05c8
int3
mov rcx, qword [rdi + 8]
cmp rcx, qword [0x1400f6960]
je 0x1400c773b
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileTime]
cmp eax, esi
jne 0x1400c760e
xor eax, eax
jmp 0x1400c7740
mov rcx, qword [rdi + 8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, 0xffffffff
mov r11d, eax
cmp r11, rbp
mov qword [rbx + 0x18], r11
je 0x1400c7607
mov rcx, qword [rdi + 0x18]
cmp dword [rcx - 0x10], esi
jne 0x1400c763a
mov byte [rbx + 0x20], sil
jmp 0x1400c764b
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
movzx ecx, al
cmp eax, ebp
cmove ecx, esi
mov byte [rbx + 0x20], cl
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
cmp eax, esi
je 0x1400c768e
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
cmp eax, esi
je 0x1400c768e
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x78]
or r8d, 0xffffffff
call fcn.1400c74bc
mov rcx, qword [rax]
mov qword [rbx], rcx
jmp 0x1400c7691
mov qword [rbx], rsi
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
cmp eax, esi
je 0x1400c76d5
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
cmp eax, esi
je 0x1400c76d5
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x78]
or r8d, 0xffffffff
call fcn.1400c74bc
mov rax, qword [rax]
mov qword [rbx + 0x10], rax
jmp 0x1400c76d9
mov qword [rbx + 0x10], rsi
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
cmp eax, esi
je 0x1400c771d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
cmp eax, esi
je 0x1400c771d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x78]
or r8d, 0xffffffff
call fcn.1400c74bc
mov rax, qword [rax]
mov qword [rbx + 8], rax
jmp 0x1400c7721
mov qword [rbx + 8], rsi
cmp qword [rbx], rsi
jne 0x1400c772d
mov rax, qword [rbx + 8]
mov qword [rbx], rax
cmp qword [rbx + 0x10], rsi
jne 0x1400c773b
mov rax, qword [rbx + 8]
mov qword [rbx + 0x10], rax
mov eax, 1
add rsp, 0x38
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400ce7e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push r12
push r13
sub rsp, 0x30
xor ebx, ebx
test r8, r8
mov rbp, r9
mov rsi, r8
mov r12d, edx
mov r13, rcx
jne 0x1400ce82c
call fcn.1400cf300
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
mov dword [rax], SafeArrayUnaccessData
call fcn.1400d4260
xor eax, eax
jmp 0x1400ce8d2
mov qword [rsp + 0x50], rdi
call fcn.1400e9ed0
mov edx, 0x2d8
mov ecx, 1
call fcn.1400d7df0
test rax, rax
mov rdi, rax
je 0x1400ce8b8
call fcn.1400d3d00
mov rcx, rdi
mov rdx, qword [rax + 0xc0]
call fcn.1400d3ae0
mov rcx, qword [rsp + 0x78]
mov eax, dword [rsp + 0x70]
test rcx, rcx
lea r8, [rsp + 0x60]
mov rdx, r12
cmovne r8, rcx
mov r9, rdi
mov rcx, r13
mov qword [rsp + 0x28], r8
lea r8, [0x1400ce740]
mov qword [rdi + 0x90], rsi
mov qword [rdi + 0x98], rbp
mov qword [rdi + 8], 0xffffffffffffffff
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x1400ce8cd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call fcn.1400cf4c0
test ebx, ebx
je 0x1400ce8cb
mov ecx, ebx
call fcn.1400cf360
xor eax, eax
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r13
pop r12
pop rsi
ret
Function at 0x1400d23f0
Capabilities:
Get system information on windows

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0xb0
lea rbp, [rsp + 0x30]
mov qword [rbp + 0xb0], rbx
mov qword [rbp + 0xb8], rsi
mov qword [rbp + 0xc0], rdi
mov rax, qword [0x14012df80]
xor rax, rbp
mov qword [rbp + 0x70], rax
mov eax, dword [rsp]
xor ebx, ebx
mov dword [rbp], ebx
sub rsp, 0x10
lea r13, [rsp + 0x30]
mov eax, dword [r13]
lea r8d, [rbx + 0x30]
lea rdx, [rbp + 0x10]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400d255c
mov r14, qword [rbp + 0x18]
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [rbp + 0x44]
lea rcx, [rbp]
call fcn.1400d11d0
test eax, eax
je 0x1400d248a
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.1400d41c0
mov ecx, dword [rbp]
cmp ecx, 2
jne 0x1400d24d2
lea rcx, [0x1400f84b0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1400d24cf
lea rdx, str.SetThreadStackGuarantee
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400d24cf
lea rcx, [rbp + 4]
mov dword [rbp + 4], ebx
call rax
cmp eax, 1
jne 0x1400d24cf
mov eax, dword [rbp + 4]
test eax, eax
cmovne ebx, eax
mov ecx, dword [rbp]
mov r15d, 1
lea r8d, [rdi - 1]
lea edx, [rbx + rdi - 1]
cmp ecx, r15d
mov eax, r8d
mov esi, 0x104
not eax
cmove esi, r15d
and edx, eax
je 0x1400d24f7
add edx, edi
lea eax, [rdi + rdi]
mov ebx, r8d
cmp edx, eax
not rbx
cmovb edx, eax
and rbx, r13
mov eax, reloc.OLEAUT32.dll_SafeArrayGetElemsize
mov r12d, edx
sub rbx, r12
cmp ecx, r15d
cmove edi, eax
mov eax, edi
add rax, r14
cmp rbx, rax
jb 0x1400d255c
mov r9d, 4
mov r8d, 0x1000
mov rdx, r12
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x1400d255c
lea r9, [rbp + 8]
mov r8d, esi
mov rdx, r12
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400d255c
mov eax, r15d
jmp 0x1400d255e
xor eax, eax
mov rcx, qword [rbp + 0x70]
xor rcx, rbp
call fcn.1400cd6e0
mov rbx, qword [rbp + 0xb0]
mov rsi, qword [rbp + 0xb8]
mov rdi, qword [rbp + 0xc0]
lea rsp, [rbp + 0x80]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400d2600
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
sub rsp, 0x30
lea r12, reloc.OLEAUT32.dll_SysReAllocString
xor esi, esi
mov edi, ecx
mov rax, r12
mov ebx, esi
nop
cmp ecx, dword [rax]
je 0x1400d263e
add ebx, 1
add rax, 0x10
cmp ebx, 0x17
jb 0x1400d2620
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
cmp ebx, 0x17
jae 0x1400d2825
mov ecx, 3
call fcn.1400df390
cmp eax, 1
je 0x1400d27dc
mov ecx, 3
call fcn.1400df390
test eax, eax
jne 0x1400d2675
cmp dword [reloc.OLEAUT32.dll_SysReAllocString], 1
je 0x1400d27dc
cmp edi, 0xfc
je 0x1400d2825
mov qword [rsp + 0x50], rbp
lea rbp, [0x140135fa0]
lea r8, str.Runtime_Error__n_nProgram:
mov rcx, rbp
mov edx, 0x314
call fcn.1400df2e0
test eax, eax
je 0x1400d26b9
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1400d41c0
lea rdx, [0x140135fb9]
mov r8d, 0x104
xor ecx, ecx
mov byte [0x1401360bd], sil
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1400d2709
lea r8, str._program_name_unknown_
lea rcx, [0x140135fb9]
mov edx, 0x2fb
call fcn.1400df2e0
test eax, eax
je 0x1400d2709
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1400d41c0
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x140135fb9]
repne scasb al, byte [rdi]
not rcx
cmp rcx, 0x3c
jbe 0x1400d2758
lea rcx, [rcx + rbp - 0x23]
lea rdx, [0x1401362b4]
lea r9d, [rax + 3]
lea r8, [0x1400f8a74]
sub rdx, rcx
call fcn.1400df1c0
test eax, eax
je 0x1400d2758
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1400d41c0
lea r8, [0x1400f8a70]
mov edx, 0x314
mov rcx, rbp
call fcn.1400df100
test eax, eax
je 0x1400d2784
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1400d41c0
movsxd r8, ebx
mov edx, 0x314
mov rcx, rbp
add r8, r8
mov r8, qword [r12 + r8*8 + 8]
call fcn.1400df100
test eax, eax
je 0x1400d27b4
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.1400d41c0
lea rdx, str.Microsoft_Visual_C_Runtime_Library
mov r8d, 0x12010
mov rcx, rbp
call fcn.1400deea0
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 0x1400d2825
cmp rax, 0xffffffffffffffff
je 0x1400d2825
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 0x1400d2840
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
mov ecx, 3
call fcn.1400df390
cmp eax, 1
je 0x1400d2872
mov ecx, 3
call fcn.1400df390
test eax, eax
jne 0x1400d2926
cmp dword [reloc.OLEAUT32.dll_SysReAllocString], 1
jne 0x1400d2926
mov qword [rsp + 0x48], rbx
lea rbx, reloc.OLEAUT32.dll_SysReAllocString
mov qword [rsp + 0x30], rdi
mov rax, rbx
xor edi, edi
cmp dword [rax], 0xfc
je 0x1400d289e
add edi, 1
add rax, 0x10
cmp edi, 0x17
jb 0x1400d2888
jmp 0x1400d2912
cmp edi, 0x17
jae 0x1400d2912
mov ecx, 3
call fcn.1400df390
cmp eax, 1
je 0x1400d28c9
mov ecx, 3
call fcn.1400df390
test eax, eax
jne 0x1400d2912
cmp dword [reloc.OLEAUT32.dll_SysReAllocString], 1
jne 0x1400d2912
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x1400d2912
cmp rax, 0xffffffffffffffff
je 0x1400d2912
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.1400d2600
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
add rsp, 0x38
ret
Function at 0x1400d3140
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x30
mov eax, dword [0x1401364cc]
xor r12d, r12d
test eax, eax
mov ebp, r12d
jne 0x1400d319c
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x1400d317c
mov dword [0x1401364cc], 1
jmp 0x1400d31af
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x1400d3196
mov dword [0x1401364cc], 2
jmp 0x1400d3219
mov eax, dword [0x1401364cc]
cmp eax, 1
jne 0x1400d3210
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x1400d31ea
cmp word [rdi], bp
mov rax, rdi
je 0x1400d31c9
add rax, 2
cmp word [rax], bp
jne 0x1400d31b7
add rax, 2
cmp word [rax], bp
jne 0x1400d31b7
sub eax, edi
add eax, 2
movsxd rsi, eax
mov rcx, rsi
call fcn.1400d7d80
test rax, rax
mov rbx, rax
jne 0x1400d31f1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1400d330b
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call fcn.1400cfba0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbx
jmp 0x1400d330b
cmp eax, 2
je 0x1400d3219
test eax, eax
jne 0x1400d31ea
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
test rax, rax
mov rsi, rax
je 0x1400d31ea
cmp byte [rax], bpl
mov rbx, rax
je 0x1400d3268
nop
or r9d, 0xffffffff
mov r8, rbx
xor ecx, ecx
lea edx, [r9 + 2]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x1400d31ea
or rcx, 0xffffffffffffffff
add ebp, eax
mov rdi, rbx
xor eax, eax
repne scasb al, byte [rdi]
not rcx
add rbx, rcx
cmp byte [rbx], al
jne 0x1400d3230
add ebp, 1
mov edx, 2
movsxd rcx, ebp
call fcn.1400d7df0
test rax, rax
mov r12, rax
jne 0x1400d328d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
jmp 0x1400d330b
cmp byte [rsi], 0
mov qword [rsp + 0x50], r13
mov rbx, rax
mov r13, rsi
je 0x1400d32f5
nop
or r9d, 0xffffffff
mov eax, ebp
mov rcx, rbx
sub rcx, r12
lea edx, [r9 + 2]
mov r8, r13
sar rcx, 1
sub eax, ecx
xor ecx, ecx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x1400d331e
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r13
repne scasb al, byte [rdi]
mov rdi, rbx
not rcx
add r13, rcx
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
cmp byte [r13], al
not rcx
lea rbx, [rbx + rcx*2]
jne 0x1400d32a0
mov rcx, rsi
mov word [rbx], 0
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov rax, r12
mov r13, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
mov rcx, r12
call fcn.1400cf4c0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
jmp 0x1400d3306
Function at 0x1400d4260
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 [0x1401364e0]
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
call fcn.1400d39e0
test rax, rax
je 0x1400d42b4
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 0x1400d4349
mov ecx, 2
call fcn.1400df3f0
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.1400cfef0
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 0x1400d4335
test ebx, ebx
jne 0x1400d4335
lea ecx, [rax + 2]
call fcn.1400df3f0
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 0x1400d44b7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14012df80]
jne 0x1400cd6fa
rol rcx, 0x10
test cx, 0xffff
jne 0x1400cd6f6
repz ret
ror rcx, 0x10
jmp 0x1400d4410
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1401365a0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140136698]
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 0x1400d4495
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, [0x1401365a0]
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 0x1400d44b7
mov rax, qword [rsp + 0x88]
mov qword [0x140136698], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140136638], rax
mov rax, qword [0x140136698]
mov qword [0x140136510], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140136620], rax
mov dword [0x140136500], 0xc0000409
mov dword [0x140136504], 1
mov rax, qword [0x14012df80]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14012df88]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140136598], eax
mov ecx, 1
call fcn.1400df3f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400f8ad8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140136598], 0
jne 0x1400d453e
mov ecx, 1
call fcn.1400df3f0
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 0x1400deea0
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.1400d38f0
xor ebx, ebx
cmp qword [0x140136e20], rbx
mov rbp, rax
mov dword [rsp + 0x98], ebx
mov dword [rsp + 0x30], ebx
jne 0x1400defcc
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rsi, rax
je 0x1400df0df
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400df0df
mov rcx, rax
call fcn.1400d3820
lea rdx, [0x1400f8c78]
mov rcx, rsi
mov qword [0x140136e20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1400d3820
lea rdx, [0x1400f8c60]
mov rcx, rsi
mov qword [0x140136e28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1400d3820
lea rcx, [rsp + 0x98]
mov qword [0x140136e30], rax
call fcn.1400d11d0
test eax, eax
je 0x1400def7f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.1400d41c0
cmp dword [rsp + 0x98], 2
jne 0x1400defcc
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1400d3820
test rax, rax
mov qword [0x140136e40], rax
je 0x1400defcc
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1400d3820
mov qword [0x140136e38], rax
mov rcx, qword [0x140136e38]
mov qword [rsp + 0x80], r12
cmp rcx, rbp
je 0x1400df078
cmp qword [0x140136e40], rbp
je 0x1400df078
call fcn.1400d39e0
mov rcx, qword [0x140136e40]
mov rsi, rax
call fcn.1400d39e0
test rsi, rsi
mov r12, rax
je 0x1400df078
test rax, rax
je 0x1400df078
call rsi
test rax, rax
je 0x1400df043
lea rcx, [rsp + 0x34]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400df043
test byte [rsp + 0x40], 1
jne 0x1400df078
lea rcx, [rsp + 0x30]
call fcn.1400d1220
test eax, eax
je 0x1400df065
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.1400d41c0
cmp dword [rsp + 0x30], 4
jb 0x1400df072
bts edi, 0x15
jmp 0x1400df0b6
bts edi, 0x12
jmp 0x1400df0b6
mov rcx, qword [0x140136e28]
cmp rcx, rbp
je 0x1400df0b6
call fcn.1400d39e0
test rax, rax
je 0x1400df0b6
call rax
test rax, rax
mov rbx, rax
je 0x1400df0b6
mov rcx, qword [0x140136e30]
cmp rcx, rbp
je 0x1400df0b6
call fcn.1400d39e0
test rax, rax
je 0x1400df0b6
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140136e20]
call fcn.1400d39e0
mov r12, qword [rsp + 0x80]
test rax, rax
je 0x1400df0df
mov r9d, edi
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1400df0e1
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400e1620
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x38
mov rax, qword [0x14012df80]
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 0x1400e1667
or eax, 0xffffffff
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400cd6e0
add rsp, 0x38
ret
lea rcx, [rsp + 0x20]
call fcn.1400cf770
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400cd6e0
add rsp, 0x38
ret
Function at 0x1400e9240
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x14012df80]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call fcn.1400cfef0
and qword [rbx + 0x50], 0
and dword [rbx + 0x58], 0
and dword [rbx + 0x5c], 0
lea rax, [0x140000000]
mov esi, 0x94
lea rcx, [rsp + 0x20]
mov r8, rsi
xor edx, edx
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rax
mov dword [rbx], 0x60
mov byte [rbx + 0x18], 0
call fcn.1400cfef0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x30], 2
mov esi, 1
jne 0x1400e92d3
cmp dword [rsp + 0x24], 5
jb 0x1400e92ed
jmp 0x1400e92e9
cmp dword [rsp + 0x30], esi
jne 0x1400e92ed
cmp dword [rsp + 0x24], 4
ja 0x1400e92e9
jne 0x1400e92ed
cmp dword [rsp + 0x28], 0
jbe 0x1400e92ed
mov byte [rbx + 0x18], sil
lea rax, [0x1400faa80]
lea rcx, [rbx + 0x28]
mov dword [rbx + 0x1c], 0x800
mov qword [rbx + 0x20], rax
call fcn.1400e9100
movzx ecx, byte [0x140136fb9]
test eax, eax
mov rax, rbx
cmovs ecx, esi
mov byte [0x140136fb9], cl
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400cd6e0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400016e0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x1400051f0], rbx
je 0x14000172c
cmp rax, rbx
jne 0x14000171f
mov ebx, 1
mov esi, ebx
jmp 0x140001731
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001704
mov ebx, 1
mov eax, dword [0x1400051f8]
cmp eax, ebx
jne 0x140001747
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x1400017ac
mov eax, dword [0x1400051f8]
test eax, eax
jne 0x1400017a6
mov dword [0x1400051f8], ebx
lea r15, [0x140002310]
lea rdi, [0x1400022f8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140001798
test eax, eax
jne 0x14000179c
cmp qword [rdi], 0
je 0x14000178d
mov rax, qword [rdi]
mov rcx, qword [0x1400022d8]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14000176e
test eax, eax
je 0x1400017ac
mov eax, 0xff
jmp 0x140001888
mov dword [0x140003024], ebx
mov eax, dword [0x1400051f8]
cmp eax, ebx
jne 0x1400017d3
lea rdx, [0x1400022f0]
lea rcx, [0x1400022e0]
call sub.msvcrt.dll__initterm
mov dword [0x1400051f8], 2
test esi, esi
jne 0x1400017e0
xor eax, eax
xchg qword [0x1400051f0], rax
cmp qword [0x140005200], 0
je 0x140001814
lea rcx, [0x140005200]
call fcn.140001a90
test eax, eax
je 0x140001814
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140005200]
mov r9, qword [0x1400022d8]
call r9
mov r8, qword [0x140003038]
mov rdx, qword [0x140003030]
mov ecx, dword [0x140003028]
call fcn.140001008
mov dword [0x140003020], eax
cmp dword [0x140003040], 0
jne 0x140001844
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140003024], 0
jne 0x140001859
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140003020]
jmp 0x140001888
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.140160000
add rsp, 0x28
jmp 0x1400016e0

Function at 0x14000197c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400019c8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400019c0
cmp dword [rcx + 0x3c], edx
jl 0x1400019c0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400019c0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x1400019c8
mov rax, rdx
add rsp, 0x18
ret