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

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1400a01c0]
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 0x14006a615
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 0x14006a676
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.140043f40
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.14007d8f0
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 0x14006a731
sub ecx, 1
je 0x14006a7a4
sub ecx, 1
je 0x14006a6e0
cmp ecx, 1
je 0x14006a6c3
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x14008b0d0]
call fcn.140043f40
jmp 0x14006a7a4
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.14006a2b0
test eax, eax
je 0x14006a7a4
jmp 0x14006a64a
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 0x14006a7a4
sub rax, rsi
cmp rax, rbp
jae 0x14006a7a4
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.1400440c0
jmp 0x14006a7a4
cmp r8d, 4
jle 0x14006a7a4
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 0x14006a7a4
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.140043e60
mov esi, eax
test eax, eax
je 0x14006a783
mov edx, 5
mov rcx, rbx
call fcn.14006b270
mov eax, esi
jmp 0x14006a64a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1400534d0
mov rcx, r14
call fcn.1400537b0
test eax, eax
je 0x14006a648
mov edx, 5
mov rcx, rbx
call fcn.14006b270
mov eax, Ordinal_46
jmp 0x14006a64a
Function at 0x14007d680
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 0x14007d6c2
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 0x14007d709
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
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 0x14007d762
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.WS2_32.dll_htonl]
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.WS2_32.dll_htonl]
sub rbp, 1
jne 0x14007d720
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x14007d7a3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400908da]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400908db]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x14007d770
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 0x14007e714
Capabilities:
Parse pe header

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov edx, 0x47
lea rcx, [entry0]
mov al, byte [rcx + rdx]
xor al, 0x1e
add al, 0x3d
xor al, 0xc9
mov byte [rcx + rdx], al
inc rdx
cmp rdx, 0x2d9
jl 0x140001068
pop rdx
sub dh, byte [0x1a1b974db]
jbe 0x1400010fb
invalid
jle 0x140001110
push rsi
sbb eax, 0x7f97c779
push rcx
call [rdx + 0x1d]
push rcx
out dx, eax
jno 0x140001166
sbb ecx, dword [rsi - 0x6d6d5d4f]
xchg edx, eax
xchg edx, eax
xchg edx, eax
insb byte [rdi], dx
xchg edi, eax
push rcx
iretd
fcom dword [rbp - 0x69]
pop rdi
xchg ebp, eax
insb byte [rdi], dx
adc edx, edx
sahf
invalid
Function at 0x140b92268
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140b923ef
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 0x140b92299
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b9227f
add dl, dl
jne 0x140b922a6
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b92306
xor eax, eax
add dl, dl
jne 0x140b922b5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b923bd
add dl, dl
jne 0x140b922c6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b922d3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b922e0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b922ed
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140b922fa
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140b9228e
mov eax, 1
add dl, dl
jne 0x140b92316
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b92323
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b9230b
sub eax, ebx
mov ebx, 1
jne 0x140b9235c
mov ecx, 1
add dl, dl
jne 0x140b9233e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b9234b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b92333
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b9228e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140b92378
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b92385
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b9236d
cmp eax, 0x7d00
jae 0x140b923ab
cmp eax, 0x500
jb 0x140b923a6
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b9228e
cmp eax, 0x7f
ja 0x140b923ae
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b9228e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140b923e2
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 0x140b9228e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140027ce0
Capabilities:
Clear file content

Disassembly:
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.14001b684
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001b684
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027e30
cmp rax, 0xffffffffffffffff
je 0x140027e30
xor edi, edi
test rbp, rbp
jle 0x140027ddb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001dc70
mov rbx, rax
test rax, rax
jne 0x140027d68
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027dd1
mov edx, 0x8000
mov ecx, r14d
call fcn.140015828
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.14001c360
cmp eax, 0xffffffff
je 0x140027db1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140027d78
mov edx, r15d
mov ecx, r14d
call fcn.140015828
jmp 0x140027dd1
cmp byte [rsi + 0x38], dil
je 0x140027dc8
cmp dword [rsi + 0x34], 5
jne 0x140027dc8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027dd1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140019d48
jmp 0x140027e44
jns 0x140027e44
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001b684
cmp rax, 0xffffffffffffffff
jne 0x140027dfc
cmp byte [rsi + 0x30], dil
je 0x140027e44
mov edi, dword [rsi + 0x2c]
jmp 0x140027e44
mov ecx, r14d
call fcn.140016e28
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_SetEndOfFile]
test eax, eax
jne 0x140027e44
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 0x140027e44
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140027e3d
mov eax, dword [rsi + 0x2c]
jmp 0x140027e42
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001b684
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 0x140f86a70
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f86a7a
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f86aa3
pop rbp
sub rbp, 0x33
sub rbp, 0xf86a70
sub rsp, 0x20
jmp 0x140f86ac2
mov rax, 0xf86a70
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x5e305dc7
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f86ae1
jmp 0x140f86af8
invalid
Function at 0x1400256f8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14002545c

Function at 0x140001000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x140001066
lea rcx, str.Windows_original_main_args:_n
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
xor ebx, ebx
cmp dword [rax], ebx
jle 0x140001066
xor edi, edi
mov rax, qword [sym.imp.MSVCR100.dll___argv]
lea rcx, str.wwwd_args__d____s_n
mov edx, ebx
mov r8, qword [rax]
mov r8, qword [r8 + rdi]
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
inc ebx
add rdi, 8
cmp ebx, dword [rax]
jl 0x140001038
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
xor edx, edx
test edi, edi
jle 0x1400010b2
mov r9d, edi
mov rcx, qword [rax]
add rax, 0x10
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x14000109f
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010c9
mov rcx, qword [rbx]
mov rax, qword [str.java]
test rax, rax
jne 0x1400010d8
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
lea rax, [0x140002250]
mov r8d, 2
lea r9, str._J_ms8m
mov qword [rsp + 0x38], rax
lea rax, [0x140002240]
mov rdx, rbx
mov qword [rsp + 0x30], rax
lea rax, str._lib_tools.jar
mov ecx, edi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r8d
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x140001398
Capabilities:
Parse pe header

Disassembly:
jmp 0x140020754
xor r8d, r8d
xor edx, edx
jmp 0x140020444

Function at 0x14000214e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400758f0
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140099480]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x14009c620]
xor r11d, r11d
lea rdi, [0x1400842a4]
test r9, r9
mov rax, rdx
mov r12, rdx
cmovne r10, r9
test rdx, rdx
lea ebp, [r11 + 1]
cmovne rdi, rdx
mov r15d, ebp
cmovne r15, r8
neg rax
sbb r14, r14
and r14, rcx
test r15, r15
jne 0x140075960
mov rax, 0xfffffffffffffffe
jmp 0x140075aad
cmp word [r10 + 6], r11w
jne 0x1400759cf
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x14007598a
test r14, r14
je 0x14007597b
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x140075aad
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x140075998
mov r8b, 2
jmp 0x1400759b6
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x1400759a6
mov r8b, 3
jmp 0x1400759b6
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x140075aa2
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov bl, r8b
sub edx, ebp
and edx, r9d
jmp 0x1400759f8
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x140075aa2
cmp bl, bpl
jb 0x140075aa2
cmp bl, r8b
jae 0x140075aa2
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x140075a25
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x140075aa2
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r12
cmp rax, r9
jb 0x140075a07
cmp r9, rbp
jae 0x140075a51
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x140075954
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x140075aa2
cmp edx, 0x110000
jae 0x140075aa2
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 0x140075aa2
test r14, r14
je 0x140075a90
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.14000397c
jmp 0x140075aad
mov rdx, rsi
mov rcx, r10
call fcn.140003fcb
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400025ae
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140002199
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x140007aec
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140007b79
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140007b79
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140007b79
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 0x140007b60
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140007b5a
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140007b62
add rdx, 0x28
jmp 0x140007b3f
xor edx, edx
test rdx, rdx
jne 0x140007b6b
xor al, al
jmp 0x140007b7f
cmp dword [rdx + 0x24], 0
jge 0x140007b75
xor al, al
jmp 0x140007b7f
mov al, 1
jmp 0x140007b7f
xor al, al
jmp 0x140007b7f
add rsp, 0x18
ret

Function at 0x1400026e9
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140016ac8
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x140085268]
mov ecx, 2
lea r8, [0x140085260]
lea rdx, str.FlsGetValue
call fcn.140016598
mov ecx, ebx
test rax, rax
je 0x140016b02
add rsp, 0x20
pop rbx
jmp qword [0x1400a5020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x14000282e
Capabilities:
Query environment variable

Disassembly:
jmp 0x140059660
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 0x140059690
xor eax, eax
jmp 0x140059753
mov rbp, rbx
cmp word [rax], si
je 0x1400596b5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14005969c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140059698
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.140003193
movsxd r14, eax
test eax, eax
jne 0x1400596f3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140059689
mov rcx, r14
call fcn.140001037
mov rdi, rax
test rax, rax
jne 0x14005970c
xor ecx, ecx
call fcn.140001172
jmp 0x1400596e8
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.140003193
test eax, eax
jne 0x14005973d
mov rcx, rdi
call fcn.140001172
jmp 0x140059747
xor ecx, ecx
call fcn.140001172
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 0x140002838
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140016a18
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x140085228]
xor ecx, ecx
lea r8, [0x140085220]
lea rdx, str.FlsAlloc
call fcn.140016598
test rax, rax
je 0x140016a51
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1400a5020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x1400028b5
Capabilities:
Get geographical location

Disassembly:
jmp 0x140062014
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x140088d88]
mov rbp, rcx
lea r8, [0x140088d80]
lea rdx, str.GetLocaleInfoEx
mov ecx, 8
call fcn.140061534
test rax, rax
je 0x140062074
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x1400a5030]
jmp 0x14006208e
xor edx, edx
mov rcx, rbp
call fcn.1400021ee
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 0x1400028c4
Capabilities:
Terminate process

Disassembly:
jmp 0x140009a4c
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 0x1400029f5
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400206e8
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x140020444

Function at 0x140002b85
Capabilities:
Parse pe header

Disassembly:
jmp 0x140078a90
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140078ab8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140078ab8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140002e96
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400080a8
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400080f2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400080f2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400080f2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400080f2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400080f2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400080f4
xor al, al
add rsp, 0x28
ret
Function at 0x14000310c
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x1400789d0
movsxd r8, dword [rcx + 0x3c]
xor r9d, r9d
add r8, rcx
mov r10, rdx
movzx eax, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rax, 0x18
add rax, r8
test r11d, r11d
je 0x140078a11
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x140078a05
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x140078a13
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x1400789f3
xor eax, eax
ret

Function at 0x1400032f6
Capabilities:
Terminate process

Disassembly:
jmp 0x1400548d4
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1400548ee
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.140003986
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 0x140003a6c
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140016b20
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x140085288]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x140085280]
call fcn.140016598
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x140016b60
call qword [0x1400a5020]
jmp 0x140016b66
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140003b02
Capabilities:
Set environment variable

Disassembly:
jmp 0x1400689e4
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140002126
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140068a6e
cmp byte [rbp - 0x21], r15b
je 0x140068a69
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140068aa4
call fcn.140003eb8
test eax, eax
jne 0x140068a90
cmp byte [rbp - 0x21], r15b
je 0x140068a88
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140068aa4
cmp byte [rbp - 0x21], r15b
je 0x140068aa1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140004084
test eax, eax
jne 0x140068b44
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140002126
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140068ae3
cmp byte [rbp - 0x21], r15b
je 0x140068b18
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140068b18
call fcn.140003eb8
test eax, eax
jne 0x140068b04
cmp byte [rbp - 0x21], r15b
je 0x140068afd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140068b18
cmp byte [rbp - 0x21], r15b
je 0x140068b15
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140004084
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140068b44
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140068b47
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140068b55
mov rcx, rdi
call fcn.140001172
cmp byte [rbp + 0x3f], r15b
je 0x140068b64
mov rcx, qword [rbp + 0x27]
call fcn.140001172
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret