joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14243f058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14243f1df
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 0x14243f089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14243f06f
add dl, dl
jne 0x14243f096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14243f0f6
xor eax, eax
add dl, dl
jne 0x14243f0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14243f1ad
add dl, dl
jne 0x14243f0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14243f0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14243f0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14243f0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14243f0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14243f07e
mov eax, 1
add dl, dl
jne 0x14243f106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14243f113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14243f0fb
sub eax, ebx
mov ebx, 1
jne 0x14243f14c
mov ecx, 1
add dl, dl
jne 0x14243f12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14243f13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14243f123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14243f07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14243f168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14243f175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14243f15d
cmp eax, 0x7d00
jae 0x14243f19b
cmp eax, 0x500
jb 0x14243f196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14243f07e
cmp eax, 0x7f
ja 0x14243f19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14243f07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14243f1d2
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 0x14243f07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400543f0]
mov dword [rax], 1
mov rax, qword [0x140054400]
mov dword [rax], 1
mov rax, qword [0x140054410]
mov dword [rax], 1
mov rax, qword [0x1400543a0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14001e690
Capabilities:
Query environment variable

Disassembly:
push rsi
mov eax, 0x10078
push rbx
call fcn.140037150
sub rsp, rax
xor eax, eax
mov rdx, rcx
lea rbx, [rsp + 0x20]
xor ecx, ecx
mov word [rsp + 0x70], ax
mov word [rsp + 0x20], cx
lea rsi, [rsp + 0x70]
mov rcx, rbx
call fcn.14002bf60
mov rdx, rsi
mov r8d, 0x10000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [rax - 1]
xor eax, eax
cmp edx, 0xffff
ja 0x14001e6e9
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add rsp, 0x10078
pop rbx
pop rsi
ret
Function at 0x140035e30
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.1400475b0
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.1400475b0
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x140036b02
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x14005d3c8]
test eax, eax
je 0x140036b9a
lea rax, [0x14005d3a0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x14005d3d0]
mov qword [rbp - 8], rax
jmp 0x140036b7e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140036b72
cmp qword [rbp - 0x10], 0
je 0x140036b72
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140036b38
lea rax, [0x14005d3a0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140036b9b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140036ca0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140036cc8
mov eax, 0
jmp 0x140036d16
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140036cf1
mov eax, 0
jmp 0x140036d16
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140036d11
mov eax, 0
jmp 0x140036d16
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x140036d1c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x140036d9a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140036d91
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140036d91
mov rax, qword [rbp - 8]
jmp 0x140036daf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140036d64
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400e0275
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140173e60
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0
jmp 0x140173e88
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
jae 0x140173ed2
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
movabs rax, 0x100000001b3
mov rcx, qword [rsp + 0x20]
imul rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x140173e7d
mov rax, qword [rsp + 0x20]
add rsp, 0x18
ret
Function at 0x1400e1f17
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1401df770
mov rax, rcx
neg rcx
test rax, 7
je 0x1401df78d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1401df7e8
test al, 7
jne 0x1401df780
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x1401df7a1
mov rdx, qword [rax - 8]
test dl, dl
je 0x1401df812
test dh, dh
je 0x1401df80c
shr rdx, 0x10
test dl, dl
je 0x1401df806
test dh, dh
je 0x1401df800
shr rdx, 0x10
test dl, dl
je 0x1401df7fa
test dh, dh
je 0x1401df7f4
shr edx, 0x10
test dl, dl
je 0x1401df7ee
test dh, dh
jne 0x1401df7a1
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x1400e1f62
Capabilities:
Query environment variable

Disassembly:
jmp 0x140282a00
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140282580
lea rcx, [rsp + 0x20]
call fcn.1402825d0
movzx eax, al
test eax, eax
jne 0x140282a45
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.1402825b0
mov rax, qword [rsp + 0x40]
jmp 0x140282b3f
lea rcx, [rsp + 0x20]
call fcn.1402826d0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.140282670
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r9d, 0x40
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, rax
call fcn.1400e23f4
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400e1710
lea rcx, [rsp + 0x28]
call fcn.1400e2a61
movzx eax, al
test eax, eax
jne 0x140282adf
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.1400e4474
lea rcx, [rsp + 0x20]
call fcn.1402825b0
mov rax, qword [rsp + 0x50]
jmp 0x140282b3f
lea rcx, [rsp + 0x20]
call fcn.1402826d0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.1400e58bf
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.1400e22e6
lea rcx, [rsp + 0x28]
call fcn.1400e64d6
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.1400e4474
lea rcx, [rsp + 0x20]
call fcn.1402825b0
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret
Function at 0x1400e2129
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x140115890
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rcx, [0x140342154]
call fcn.1400e59e1
mov rdx, qword [rbp + 0x188]
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x1401158df
xor eax, eax
jmp 0x14011598a
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1401158fb
xor eax, eax
jmp 0x14011598a
mov rdx, qword [rbp + 0x188]
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x44]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0x190]
and eax, 0xf
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0
jbe 0x140115969
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 8], rax
jae 0x140115969
mov rax, qword [rbp + 8]
movzx eax, word [rax]
mov rcx, qword [rbp + 8]
lea rax, [rcx + rax*2 + 2]
mov qword [rbp + 8], rax
mov eax, dword [rbp + 0x84]
dec eax
mov dword [rbp + 0x84], eax
jmp 0x140115932
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 8], rax
jb 0x140115977
xor eax, eax
jmp 0x14011598a
mov rax, qword [rbp + 8]
movzx eax, word [rax]
test eax, eax
jne 0x140115986
xor eax, eax
jmp 0x14011598a
mov rax, qword [rbp + 8]
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret
Function at 0x1400e2601
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1401c5c90
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1401c5610
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401c5ccf
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140344020]
jmp 0x1401c5cd9
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret

Function at 0x1400e2944
Capabilities:
Query environment variable

Disassembly:
jmp 0x140282750
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140282580
lea rcx, [rsp + 0x40]
call fcn.140282700
movzx eax, al
test eax, eax
jne 0x140282798
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.1402825b0
mov rax, qword [rsp + 0x70]
jmp 0x140282969
lea rcx, [rsp + 0x40]
call fcn.1402826d0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140282670
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.1402826d0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.1400e3f97
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14028283e
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.1402825b0
mov rax, qword [rsp + 0x80]
jmp 0x140282969
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.1400e23f4
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400e2115
lea rcx, [rsp + 0x48]
call fcn.1400e19a4
movzx eax, al
test eax, eax
jne 0x1402828a5
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.1400e009f
lea rcx, [rsp + 0x40]
call fcn.1402825b0
mov rax, qword [rsp + 0x88]
jmp 0x140282969
lea rcx, [rsp + 0x48]
call fcn.1400e2fa7
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.1402826d0
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.1400e3f97
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14028293b
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.1400e009f
lea rcx, [rsp + 0x40]
call fcn.1402825b0
mov rax, qword [rsp + 0xa0]
jmp 0x140282969
lea rcx, [rsp + 0x48]
call fcn.1400e20bb
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.1400e009f
lea rcx, [rsp + 0x40]
call fcn.1402825b0
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret
Function at 0x1400e295d
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1401c5bc0
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.1401c5590
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401c5c01
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140344020]
jmp 0x1401c5c07
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret

Function at 0x1400e2a66
Capabilities:
Get geographical location

Disassembly:
jmp 0x140266ce0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.140265c10
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140266d47
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x140344030]
jmp 0x140266d69
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1400e18e6
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret

Function at 0x1400e2a93
Capabilities:
Terminate process

Disassembly:
jmp 0x1401a2450
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400e2f2f
Capabilities:
Print debug messages

Disassembly:
jmp 0x140290650
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x14031e140]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x140290676
jmp 0x1402906f3
mov rcx, qword [rbp + 0x30]
call fcn.1400e1f17
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x14029068f
jmp 0x1402906f3
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x1402906ac
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400e0342
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.1400e0aef
test eax, eax
jne 0x1402906f3
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.1400e22b4
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x1400e333f
Capabilities:
Get geographical location

Disassembly:
jmp 0x1401553e0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x14015541d
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.1400e5996
add rsp, 0x58
ret

Function at 0x1400e3470
Capabilities:
Set environment variable

Disassembly:
jmp 0x1402848b0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x28
ret
Function at 0x1400e389e
Capabilities:
Parse pe header

Disassembly:
jmp 0x1401a2d00
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1401a2d20
xor al, al
jmp 0x1401a2da1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1401a2d33
xor al, al
jmp 0x1401a2da1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1401a2d5d
xor al, al
jmp 0x1401a2da1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1401a2d71
xor al, al
jmp 0x1401a2da1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1401a2d83
xor al, al
jmp 0x1401a2da1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1401a2d9f
xor al, al
jmp 0x1401a2da1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400e42e9
Capabilities:
Terminate process

Disassembly:
jmp 0x1401c6f80
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1401c6fae
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.1400e525c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400e5306
Capabilities:
Print debug messages

Disassembly:
jmp 0x14025d080
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x1400e54af
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1401c5d00
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1401c5650
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401c5d49
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140344020]
jmp 0x1401c5d58
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret

Function at 0x1400e5612
Capabilities:
Set environment variable

Disassembly:
jmp 0x14029e240
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rcx, [rsp + 0x78]
call fcn.1400e16a7
lea rcx, [rsp + 0x48]
call fcn.1400e16a7
call fcn.1400e286d
mov r8d, eax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.1400e12d3
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14029e2af
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
call fcn.1400e1d73
lea rcx, [rsp + 0x78]
call fcn.1400e1d73
mov eax, dword [rsp + 0x24]
jmp 0x14029e340
call fcn.1400e286d
mov r8d, eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call fcn.1400e12d3
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x14029e2f6
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x48]
call fcn.1400e1d73
lea rcx, [rsp + 0x78]
call fcn.1400e1d73
mov eax, dword [rsp + 0x2c]
jmp 0x14029e340
lea rcx, [rsp + 0x48]
call fcn.1400e158a
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.1400e158a
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x48]
call fcn.1400e1d73
lea rcx, [rsp + 0x78]
call fcn.1400e1d73
mov eax, dword [rsp + 0x30]
add rsp, 0xb8
ret

Function at 0x1400e5d56
Capabilities:
Print debug messages

Disassembly:
jmp 0x1401a47b4
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edx, edx
mov rdi, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call fcn.1400e3ed9
and qword [rdi + 0x50], 0
lea rax, [0x140000000]
and dword [rdi + 0x58], 0
lea rcx, [rdi + 0x28]
and dword [rdi + 0x5c], 0
xor r8d, r8d
mov qword [rdi + 0x10], rax
xor edx, edx
mov qword [rdi + 8], rax
lea rax, [0x1402cc130]
mov qword [rdi + 0x20], rax
mov dword [rdi], 0x60
mov dword [rdi + 0x18], 0xe00
call fcn.1400e2188
test eax, eax
jne 0x1401a484b
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x1401a484b
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1401a4844
lea rcx, str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x140323750], 1
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret