joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140105de0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x140c0c0c0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x140105e75
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x140105ed6
lea rdx, [0x140147b40]
mov rcx, rdi
call fcn.1400e0330
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140119ca0
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x140105f91
sub ecx, 1
je 0x140106004
sub ecx, 1
je 0x140105f40
cmp ecx, 1
je 0x140105f23
lea r8, [0x140147b70]
mov rcx, rdi
lea rdx, [0x140bf23d8]
call fcn.1400e0330
jmp 0x140106004
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.140105b10
test eax, eax
je 0x140106004
jmp 0x140105eaa
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140106004
sub rax, rsi
cmp rax, rbp
jae 0x140106004
mov r8, rsi
lea rdx, [0x140147b60]
mov rcx, rdi
call fcn.1400e04b0
jmp 0x140106004
cmp r8d, 4
jle 0x140106004
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x140106004
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1400e0250
mov esi, eax
test eax, eax
je 0x140105fe3
mov edx, 5
mov rcx, rbx
call fcn.140106ad0
mov eax, esi
jmp 0x140105eaa
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1400eed30
mov rcx, r14
call fcn.1400ef010
test eax, eax
je 0x140105ea8
mov edx, 5
mov rcx, rbx
call fcn.140106ad0
mov eax, Ordinal_46
jmp 0x140105eaa
Function at 0x140118da0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140118de2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140118e29
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140118e82
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
sub rbp, 1
jne 0x140118e40
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140118ec3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14014a392]
mov r8d, 1
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14014a393]
mov r8d, 1
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140118e90
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x140118edc
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, [0x14014a4a0]
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140118f16
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140118f1b
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 0x140118f64
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x140118f64
dec r8
sub rdx, 1
jne 0x140118f4a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x14011ad14
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14011ad5e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14011ad5e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14011ad5e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14011ad5e
cmp dword [rcx + 0x84], 0xe
jbe 0x14011ad5e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14011ad60
xor al, al
add rsp, 0x28
ret
Function at 0x140130000
Capabilities:
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
xchg r9, r8
mov qword [rsp + 0x18], r9
jmp 0x140130012
xchg r9, r8
mov qword [rsp + 0x10], rdx
xchg r11, rcx
mov qword [rsp + 8], r11
jmp 0x140130130
xchg rcx, r10
mov r11, qword [r10 + 0x30]
movsxd rax, dword [r11 + 0x3c]
mov ebx, dword [rax + r11 + 0x88]
lea rbp, [rsp - 0x360]
sub rsp, 0x460
mov rax, qword gs:[0x60]
xor r15d, r15d
mov r8d, r15d
xchg rsi, r10
mov rsi, qword [rax + 0x18]
je 0x1401300bd
jne 0x1401300bd
test rdi, rdx
jmp rcx
jmp 0x14013011e
xchg r10, rsi
mov rax, qword [r10 + 0x10]
xchg rcx, r10
mov rcx, qword [rax]
jmp 0x140130042
xchg r11, rcx
push rbp
push rbx
nop
sub rsp, 8
mov qword [rsp], r15
jmp 0x14013005f
Function at 0x140130f0c
Capabilities:
Execute anti-debugging instructions
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
je 0x1401310e1
inc r8d
jmp 0x140131031
mov ecx, dword [rbx + r9 + 0x24]
add rcx, r9
movzx edx, word [rcx + r10*2]
mov ecx, dword [rbx + r9 + 0x1c]
add rcx, r9
mov rcx, r9
xchg r9, rdi
add rax, r9
call rax
xchg rcx, r14
Function at 0x140004884
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140012b50
mov r15, qword [0x140020514]
cmp r15, 1
jne 0x140004953
push qword [0x140020604]
pop rcx
call fcn.14000dd04
mov r15, rax
and r15, r15
jle 0x1400048e9
mov rcx, qword [0x140020604]
call fcn.14000dd0c
mov rcx, qword [0x140020604]
call fcn.14000dd20
or rax, rax
je 0x1400048e9
mov rbp, qword [0x14002060c]
push qword [rbp + 0x10]
pop rcx
call fcn.14000e1bc
jmp 0x1400048c6
push qword [0x1400205f4]
pop rcx
call fcn.14000dd04
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x140004953
push 5
push 0
push 1
push qword [0x1400205f4]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009060
mov rcx, qword [0x1400205f4]
call fcn.14000dd0c
mov rcx, qword [0x1400205f4]
call fcn.14000dd20
or rax, rax
je 0x140004953
mov rbp, qword [0x1400205fc]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x140004930
mov rax, 1
jmp 0x14000495f
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006b38
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f190]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmpsd dword [rsi], dword [rdi]
out dx, eax
invalid
pop rax
sub al, ah
int 0xb5
int3
invalid
invalid
js 0x14003f667
jno 0x14003f66a
div byte [rbx - 0x13354c02]
test al, 0x67
cwde
and ecx, ebx
sbb eax, 0xaaab7ed2
stosd dword [rdi], eax
stosb byte [rdi], al
stosd dword [rdi], eax
stosb byte [rdi], al
cmpsd dword [rsi], dword [rdi]
and qword [r14 - 0x5e629061], r14
mov ebx, 0xa9034ca0
xor al, 0x22
fdivr st(4)
cld
cld
leave
js 0x14003f669
out dx, al
sub al, 6
mov ebx, 0xd80783f4
js 0x14003f6b5
wait
pop rbp
imul bh
scasd eax, dword [rdi]
jb 0x14003f762
lodsb al, byte [rsi]
push rdi
invalid
stc
invalid
sahf
mov edi, 0x817a9794
xchg byte [r15 - 0x34900c80], sil
add dword [rsi - 0x5c54bfc3], ecx
or al, 0x7c
jbe 0x14003f729
xor al, 0x1f
add byte [rax + 0x65ddc87], ch
mov bh, 0x6b
invalid
invalid
Function at 0x140079659
Capabilities:
Parse pe header

Disassembly:
jmp 0x14013cd10
xor r8d, r8d
xor edx, edx
jmp 0x14013c9f4
Function at 0x14007afe5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x14014dc68
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1401ae040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea rbx, [0x1401b2f90]
xor r12d, r12d
lea rdi, [0x1401854e6]
test r9, r9
mov rax, rdx
mov r15, rdx
cmovne rbx, r9
test rdx, rdx
lea ebp, [r12 + 1]
cmovne rbp, r8
cmovne rdi, rdx
neg rax
sbb r14, r14
and r14, rcx
test rbp, rbp
jne 0x14014dcd6
mov rax, 0xfffffffffffffffe
jmp 0x14014de09
cmp word [rbx + 6], r12w
jne 0x14014dd2c
mov rcx, rdi
call fcn.14007dce0
movsxd r8, eax
movzx eax, byte [rdi]
inc rdi
cmp r8d, 1
jbe 0x14014dd1c
lea ecx, [r8 - 2]
cmp ecx, 2
ja 0x14014ddfe
movzx edx, r8b
mov ecx, 7
sub ecx, edx
mov r9b, r8b
mov edx, 1
shl edx, cl
dec edx
and edx, eax
jmp 0x14014dd55
test r14, r14
je 0x14014dd24
mov dword [r14], eax
mov rax, r8
jmp 0x14014de09
mov r8b, byte [rbx + 4]
mov edx, dword [rbx]
mov r9b, byte [rbx + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x14014ddfe
cmp r9b, 1
jb 0x14014ddfe
cmp r9b, r8b
jae 0x14014ddfe
movzx r11d, r9b
cmp r11, rbp
mov r10d, r11d
cmovae r10, rbp
jmp 0x14014dd83
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x14014ddfe
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r15
cmp rax, r10
jb 0x14014dd65
cmp r10, r11
jae 0x14014ddad
movzx eax, r8b
sub r9b, r10b
mov word [rbx + 4], ax
movzx eax, r9b
mov word [rbx + 6], ax
mov dword [rbx], edx
jmp 0x14014dcca
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x14014ddfe
cmp edx, 0x110000
jae 0x14014ddfe
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x14014ddfe
test r14, r14
je 0x14014ddec
mov dword [r14], edx
neg edx
mov rdx, rbx
sbb rcx, rcx
and rcx, r11
call fcn.14007de8e
jmp 0x14014de09
mov rdx, rsi
mov rcx, rbx
call fcn.14007ead7
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14007b8a0
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14007b067
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x1400e1e04
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1400e1e91
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x1400e1e91
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400e1e91
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1400e1e78
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1400e1e72
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1400e1e7a
add rdx, 0x28
jmp 0x1400e1e57
xor edx, edx
test rdx, rdx
jne 0x1400e1e83
xor al, al
jmp 0x1400e1e97
cmp dword [rdx + 0x24], 0
jge 0x1400e1e8d
xor al, al
jmp 0x1400e1e97
mov al, 1
jmp 0x1400e1e97
xor al, al
jmp 0x1400e1e97
add rsp, 0x18
ret
Function at 0x14007b5ad
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140176fe0
mov rax, rcx
neg rcx
test rax, 7
je 0x140176ffd
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x140177058
test al, 7
jne 0x140176ff0
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 0x140177011
mov rdx, qword [rax - 8]
test dl, dl
je 0x140177082
test dh, dh
je 0x14017707c
shr rdx, 0x10
test dl, dl
je 0x140177076
test dh, dh
je 0x140177070
shr rdx, 0x10
test dl, dl
je 0x14017706a
test dh, dh
je 0x140177064
shr edx, 0x10
test dl, dl
je 0x14017705e
test dh, dh
jne 0x140177011
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 0x14007b5f8
Capabilities:
Query environment variable

Disassembly:
jmp 0x14015c58c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14015c613
mov rsi, rbx
cmp word [rax], bp
je 0x14015c5d2
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14015c5bc
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14015c5b8
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140079069
mov rdi, rax
test rax, rax
je 0x14015c600
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14007b8c8
mov rbp, rdi
xor ecx, ecx
call fcn.140079294
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14007b8e6
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x1400d7fc0
jmp 0x1400de9a0
xor r9d, r9d
movabs r8, 0xcbf29ce484222325
test rdx, rdx
je 0x1400d7ff0
movzx eax, byte [rcx + r9]
movabs r10, 0x100000001b3
xor r8, rax
inc r9
imul r8, r10
cmp r9, rdx
jb 0x1400d7fd2
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
mov rdx, r8
jmp 0x14007a4c3

Function at 0x14007bb34
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400f6a7c
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x14018b638]
mov ecx, 2
lea r8, [0x14018b630]
lea rdx, str.FlsGetValue
call fcn.1400f654c
mov ecx, ebx
test rax, rax
je 0x1400f6ab6
add rsp, 0x20
pop rbx
jmp qword [0x1401c4020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x14007bda0
Capabilities:
Query environment variable

Disassembly:
jmp 0x14015c438
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14015c468
xor eax, eax
jmp 0x14015c52b
mov rbp, rbx
cmp word [rax], si
je 0x14015c48d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14015c474
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14015c470
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14007cff2
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x14015c4ce
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14015c461
call fcn.140079069
mov rdi, rax
test rax, rax
jne 0x14015c4e4
xor ecx, ecx
call fcn.140079294
jmp 0x14015c4c3
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14007cff2
test eax, eax
jne 0x14015c515
mov rcx, rdi
call fcn.140079294
jmp 0x14015c51f
xor ecx, ecx
call fcn.140079294
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x14007bdb4
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400f69cc
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x14018b5f8]
xor ecx, ecx
lea r8, [0x14018b5f0]
lea rdx, str.FlsAlloc
call fcn.1400f654c
test rax, rax
je 0x1400f6a05
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1401c4020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x14007be81
Capabilities:
Get geographical location

Disassembly:
jmp 0x140149d34
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1401c5050]
mov ebx, r9d
mov rdi, r8
mov esi, edx
mov rbp, rcx
cmp rax, 0xffffffffffffffff
je 0x140149d99
test rax, rax
jne 0x140149d87
lea r9, [0x14018f728]
lea r8, [0x14018f720]
lea rdx, str.GetLocaleInfoEx
lea ecx, [rax + 0xa]
call fcn.1401491c4
test rax, rax
je 0x140149d99
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call fcn.14007ed57
jmp 0x140149db3
xor edx, edx
mov rcx, rbp
call fcn.14007b0da
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14007be95
Capabilities:
Terminate process

Disassembly:
jmp 0x1400e30d4
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x14007c147
Capabilities:
Parse pe header

Disassembly:
jmp 0x14013cca8
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x14013c9f4
Function at 0x14007c917
Capabilities:
Clear file content

Disassembly:
jmp 0x14016fabc
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.140079e15
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140079e15
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14016fc09
cmp rax, 0xffffffffffffffff
je 0x14016fc09
xor edi, edi
test rbp, rbp
jle 0x14016fbb7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14007dc54
mov rbx, rax
test rax, rax
jne 0x14016fb44
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14016fbad
mov edx, 0x8000
mov ecx, r14d
call fcn.14007cc82
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14007d781
cmp eax, 0xffffffff
je 0x14016fb8d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14016fb54
mov edx, r15d
mov ecx, r14d
call fcn.14007cc82
jmp 0x14016fbad
cmp byte [rsi + 0x38], dil
je 0x14016fba4
cmp dword [rsi + 0x34], 5
jne 0x14016fba4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14016fbad
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140079294
jmp 0x14016fc1b
jns 0x14016fc1b
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140079e15
cmp rax, 0xffffffffffffffff
jne 0x14016fbd5
cmp byte [rsi + 0x30], dil
je 0x14016fc1b
jmp 0x14016fc11
mov ecx, r14d
call fcn.14007e7df
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14016fc1b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14016fc1b
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14016fc16
mov edi, dword [rsi + 0x2c]
jmp 0x14016fc1b
mov edi, 0x16
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140079e15
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14007c9e9
Capabilities:
Parse pe header

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

Function at 0x14007cb01
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x1400b3f24
jmp 0x1400d14c8
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400b3f56
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1400b3f39
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14007919f
Function at 0x14007d29f
Capabilities:
Terminate process

Disassembly:
jmp 0x1400f76f0
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1400f770a
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.14007deac
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x14007e087
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400f6ad4
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x14018b658]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x14018b650]
call fcn.1400f654c
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x1400f6b14
call qword [0x1401c4020]
jmp 0x1400f6b1a
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret