joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49a540
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x49a5ec
push rbp
mov rbp, rsp
sub rsp, 0x40
mov byte [rsp + 0x60], cl
mov byte [rsp + 0x61], dil
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], cl
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x00767270]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
je 0x49a5b3
lea rax, [rsp + 0x20]
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call sym.runtime.stringtoslicebyte
movzx edx, byte [rsp + 0x61]
movzx esi, byte [rsp + 0x60]
xor ecx, ecx
jmp 0x49a5c6
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret
inc rcx
cmp rbx, rcx
jle 0x49a5d9
movzx edi, byte [rax + rcx]
cmp dil, sil
jne 0x49a5c3
mov byte [rax + rcx], dl
jmp 0x49a5c3
mov rcx, rbx
mov rbx, rax
xor eax, eax
call sym.runtime.slicebytetostring
add rsp, 0x40
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov byte [rsp + 0x18], cl
mov byte [rsp + 0x19], dil
nop
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
movzx ecx, byte [rsp + 0x18]
movzx edi, byte [rsp + 0x19]
jmp sym.internal_filepathlite.replaceStringByte
Function at 0x4addc0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4adfcb
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], rcx
add qword [rax + 0x58], rcx
mov rdx, qword [rax + 0x50]
test rdx, rdx
jle 0x4adee4
cmp rdx, 0x40
ja 0x4adfbd
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x60], rbx
lea rsi, [rdx - 0x40]
mov r8, rsi
neg rsi
sar r8, 0x3f
and r8, rdx
lea rdx, [rax + r8]
lea rdx, [rdx + 0x10]
cmp rcx, rsi
cmovl rsi, rcx
mov qword [rsp + 0x28], rsi
cmp rbx, rdx
je 0x4ade54
mov rax, rdx
mov rcx, rsi
call sym.runtime.memmove
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x70]
mov rdx, qword [rax + 0x50]
add rdx, rsi
mov qword [rax + 0x50], rdx
nop
cmp rdx, 0x40
jne 0x4adec0
mov qword [rsp], rax
lea rcx, [rax + 0x10]
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], 0x40
mov qword [rsp + 0x18], 0x40
call sym.crypto_md5.block.abi0
xorps xmm15, xmm15
mov r14, qword [0x00767270]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x58]
mov qword [rax + 0x50], 0
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x70]
nop dword [rax]
cmp rcx, rsi
jb 0x4adfb5
sub rdi, rsi
mov rdx, rdi
neg rdx
sar rdx, 0x3f
and rdx, rsi
mov r8, rcx
sub r8, rsi
add rbx, rdx
jmp 0x4adee7
mov r8, rcx
cmp r8, 0x40
jl 0x4adf65
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rdi
mov qword [rsp], rax
mov qword [rsp + 8], rbx
and r8, 0xffffffffffffffc0
mov qword [rsp + 0x20], r8
mov qword [rsp + 0x10], r8
mov qword [rsp + 0x18], rdi
call sym.crypto_md5.block.abi0
xorps xmm15, xmm15
mov r14, qword [0x00767270]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov rdx, rax
sub rax, rcx
sar rax, 0x3f
mov r8, qword [rsp + 0x38]
and rax, r8
and rax, 0xffffffffffffffc0
mov rcx, qword [rsp + 0x40]
lea rbx, [rcx + rax]
sub r8, rdx
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
test r8, r8
je 0x4adfa8
lea rdx, [rax + 0x10]
cmp r8, 0x40
mov esi, 0x40
cmovl rsi, r8
nop dword [rax + rax]
cmp rbx, rdx
je 0x4adfa4
mov qword [rsp + 0x38], rsi
mov rax, rdx
mov rcx, rsi
call sym.runtime.memmove
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x38]
mov qword [rax + 0x50], rsi
mov rax, rcx
xor ebx, ebx
xor ecx, ecx
add rsp, 0x48
pop rbp
ret
mov rax, rsi
call sym.runtime.panicSliceB
mov rax, rdx
mov ecx, 0x40
call sym.runtime.panicSliceB
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
nop
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp sym.crypto_md5._digest_.Write
Function at 0x140130000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
in al, 0x7a
and esp, ebx
fdivr dword [rax + rdi*2]
int3
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
nop
jne 0x140130021
je 0x140130021
je 0x140130572
movabs r10, 0x1709e9000001d7e9
ror edi, 0xcf
rol r10d, 0x25
jmp 0x1401304eb
jmp 0x1401301fd
sub rsp, 8
nop
mov qword [rsp - 8], r13
sub rsp, 8
push rdi
mov qword [rsp], r14
nop
jmp 0x1401300c0
mov qword [rsp - 8], r15
sub rsp, 8
lea rbp, [rsp - 0x2b8]
sub rsp, 0x3b8
mov rax, qword gs:[0x60]
jne 0x14013011d
je 0x14013011d
test r14, rdx
lea r11d, [rdi + 0xa42b]
lea r12d, [rdx + 0x55f2]
cpuid
lea edx, [rbx + 0x9b48]
jmp rcx
jmp 0x1401301a8
xor r13d, r13d
mov r8d, r13d
mov r10, qword [rax + 0x18]
xchg rdx, rax
mov rdx, qword [r10 + 0x10]
xchg rdx, rax
jne 0x1401301d2
je 0x1401301d2
call rcx
rcl r12d, 0x3f
lea ecx, [rbp - 0xb2eb]
ja 0x140130d8f
movabs r12, 0x18b3adcc433b7feb
or ecx, 0xf5ffe122
popf
test r8d, 0x8ff8e709
lea r9d, [rdi + 0x5ac0]
and r15d, 0x71c64240
ror ecx, 0xed
ret 0x30
jmp 0x140130253
push 0x42c15534
mov qword [rsp], rbp
push rbx
nop
mov qword [rsp - 8], rdi
je 0x140130213
jne 0x140130213
movabs r13, 0x40361bfffffe76e9
jl 0x14012fd58
jmp 0x14013008e
lea r14d, [rbx - 0x4626]
jnp 0x14012f7fe
or ecx, 0x9a6e708
ror r13d, 0x9e
ret
mov r10, qword [rax]
mov r11, qword [r10 + 0x30]
movsxd rax, dword [r11 + 0x3c]
mov ebx, dword [rax + r11 + 0x88]
mov r10d, dword [rbx + r11 + 0x20]
nop dword [rax + rax]
jmp 0x14013012f
add dword [rdi], ecx
mov dh, 0x41
inc dword [rax + rax*8 + 0x45850f]
add byte [rax], al
leave
add byte [rax], al

Function at 0x140130874
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x3a8], r14
xchg r14, r12
lea r8, [rbp + 0xd0]
jmp 0x140130b1d
mov qword [rbp + 0xd0], r13
lea rdx, [rsp + 0x48]
mov rcx, 0xffffffffffffffff
call r15
mov rax, qword gs:[0x60]
jmp 0x140130b7f
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
jne 0x140130bc4
je 0x140130bc4
jmp rcx
jmp 0x14013082a
Function at 0x1400016b8
Capabilities:
Terminate process

Disassembly:
jmp 0x140141740
mov dword [rsp + 8], ecx
sub rsp, 0x28
xor r8d, r8d
xor edx, edx
mov ecx, dword [rsp + 0x30]
call fcn.1401412a0
add rsp, 0x28
ret
Function at 0x140001f46
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140072450
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0
jmp 0x140072478
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
jae 0x1400724c2
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 0x14007246d
mov rax, qword [rsp + 0x20]
add rsp, 0x18
ret
Function at 0x140002e96
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400a1050
push rdi
sub rsp, 0x30
call fcn.140004264
mov ecx, 8
imul rcx, rcx, 5
mov rax, qword [rax + rcx]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400a107c
mov eax, 2
jmp 0x1400a10e9
lea rax, [rsp + 0x24]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
mov r9d, 2
lea r8, [rsp + 0x24]
mov edx, 0x22
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
nop
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x24]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x30
je 0x1400a10d2
cmp dword [rsp + 0x20], 0x31
je 0x1400a10d9
cmp dword [rsp + 0x20], 0x32
je 0x1400a10e0
jmp 0x1400a10e7
mov eax, 2
jmp 0x1400a10e9
mov eax, 1
jmp 0x1400a10e9
mov eax, 3
jmp 0x1400a10e9
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x140003724
Capabilities:
Query environment variable

Disassembly:
jmp 0x14017bd80
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14017b900
lea rcx, [rsp + 0x20]
call fcn.14017b950
movzx eax, al
test eax, eax
jne 0x14017bdc5
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.14017b930
mov rax, qword [rsp + 0x40]
jmp 0x14017bebf
lea rcx, [rsp + 0x20]
call fcn.14017ba50
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.14017b9f0
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.140003aad
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14000303f
lea rcx, [rsp + 0x28]
call fcn.140003fad
movzx eax, al
test eax, eax
jne 0x14017be5f
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.1400054f2
lea rcx, [rsp + 0x20]
call fcn.14017b930
mov rax, qword [rsp + 0x50]
jmp 0x14017bebf
lea rcx, [rsp + 0x20]
call fcn.14017ba50
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.140006550
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.1400039e5
lea rcx, [rsp + 0x28]
call fcn.140006f05
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.1400054f2
lea rcx, [rsp + 0x20]
call fcn.14017b930
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret
Function at 0x140003c4c
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400c6d90
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1400c6710
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400c6dcf
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 [0x140218020]
jmp 0x1400c6dd9
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret

Function at 0x140003ed6
Capabilities:
Query environment variable

Disassembly:
jmp 0x14017bad0
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14017b900
lea rcx, [rsp + 0x40]
call fcn.14017ba80
movzx eax, al
test eax, eax
jne 0x14017bb18
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.14017b930
mov rax, qword [rsp + 0x70]
jmp 0x14017bce9
lea rcx, [rsp + 0x40]
call fcn.14017ba50
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.14017b9f0
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.14017ba50
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.140005123
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14017bbbe
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.14017b930
mov rax, qword [rsp + 0x80]
jmp 0x14017bce9
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.140003aad
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140003891
lea rcx, [rsp + 0x48]
call fcn.14000327e
movzx eax, al
test eax, eax
jne 0x14017bc25
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.140001dc5
lea rcx, [rsp + 0x40]
call fcn.14017b930
mov rax, qword [rsp + 0x88]
jmp 0x14017bce9
lea rcx, [rsp + 0x48]
call fcn.14000440d
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.14017ba50
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.140005123
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14017bcbb
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.140001dc5
lea rcx, [rsp + 0x40]
call fcn.14017b930
mov rax, qword [rsp + 0xa0]
jmp 0x14017bce9
lea rcx, [rsp + 0x48]
call fcn.140003841
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.140001dc5
lea rcx, [rsp + 0x40]
call fcn.14017b930
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret
Function at 0x140003eef
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400c6cc0
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.1400c6690
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400c6d01
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 [0x140218020]
jmp 0x1400c6d07
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret

Function at 0x140003fb7
Capabilities:
Get geographical location

Disassembly:
jmp 0x14015eaa0
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.14015d9d0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14015eb07
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 [0x140218030]
jmp 0x14015eb29
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1400031de
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 0x140003fd5
Capabilities:
Terminate process

Disassembly:
jmp 0x1400a4510
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]
nop
add rsp, 0x28
ret
Function at 0x1400043a4
Capabilities:
Print debug messages

Disassembly:
jmp 0x14018a110
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x1401fc100]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x14018a136
jmp 0x14018a1b3
mov rcx, qword [rbp + 0x30]
call fcn.1400036ed
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x14018a14f
jmp 0x14018a1b3
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x14018a16c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140001ffa
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.140002653
test eax, eax
jne 0x14018a1b3
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.1400039c2
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x140004575
Capabilities:
Parse pe header

Disassembly:
jmp 0x140199a70
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov qword [rsp], rax
mov rax, qword [rsp]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140199a94
xor eax, eax
jmp 0x140199ae2
mov rax, qword [rsp]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
cmp dword [rax], 0x4550
je 0x140199abc
xor eax, eax
jmp 0x140199ae2
mov rax, qword [rsp + 8]
add rax, 0x18
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
movzx eax, word [rax]
cmp eax, 0x20b
je 0x140199add
xor eax, eax
jmp 0x140199ae2
mov eax, 1
add rsp, 0x28
ret

Function at 0x1400047f5
Capabilities:
Set environment variable

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

Disassembly:
jmp 0x1400a53f0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400a5410
xor al, al
jmp 0x1400a5491
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400a5423
xor al, al
jmp 0x1400a5491
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 0x1400a544d
xor al, al
jmp 0x1400a5491
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400a5461
xor al, al
jmp 0x1400a5491
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400a5473
xor al, al
jmp 0x1400a5491
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400a548f
xor al, al
jmp 0x1400a5491
mov al, 1
add rsp, 0x38
ret
Function at 0x140005010
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x1401998e0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
mov dword [rsp], 0
mov rax, qword [rsp + 0x10]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x10]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 8], rax
jmp 0x14019993e
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov rax, qword [rsp + 8]
add rax, 0x28
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x10]
movzx eax, word [rax + 6]
cmp dword [rsp], eax
jae 0x14019997d
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0xc]
cmp qword [rsp + 0x38], rax
jb 0x14019997b
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 8]
add eax, dword [rcx + 8]
mov eax, eax
cmp qword [rsp + 0x38], rax
jae 0x14019997b
mov rax, qword [rsp + 8]
jmp 0x14019997f
jmp 0x140199928
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400053e4
Capabilities:
Terminate process

Disassembly:
jmp 0x1400c7d80
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, reloc.WS2_32.dll_socket
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1400c7dae
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.140006014
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 0x1400060a0
Capabilities:
Print debug messages

Disassembly:
jmp 0x140159050
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 0x14000620d
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400c6e00
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1400c6750
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400c6e49
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 [0x140218020]
jmp 0x1400c6e58
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret

Function at 0x140006320
Capabilities:
Set environment variable

Disassembly:
jmp 0x140194ea0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rcx, [rsp + 0x78]
call fcn.140002fe5
lea rcx, [rsp + 0x48]
call fcn.140002fe5
call fcn.140003e3b
mov r8d, eax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.140002cc0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140194f0f
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
call fcn.14000357b
lea rcx, [rsp + 0x78]
call fcn.14000357b
mov eax, dword [rsp + 0x24]
jmp 0x140194fa0
call fcn.140003e3b
mov r8d, eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call fcn.140002cc0
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x140194f56
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x48]
call fcn.14000357b
lea rcx, [rsp + 0x78]
call fcn.14000357b
mov eax, dword [rsp + 0x2c]
jmp 0x140194fa0
lea rcx, [rsp + 0x48]
call fcn.140002f09
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.140002f09
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.14000357b
lea rcx, [rsp + 0x78]
call fcn.14000357b
mov eax, dword [rsp + 0x30]
add rsp, 0xb8
ret
Function at 0x1400065aa
Capabilities:
Create thread

Disassembly:
jmp 0x1400d2c50
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
cmp qword [rsp + 0x90], 0
je 0x1400d2c7c
mov dword [rsp + 0x30], 1
jmp 0x1400d2c84
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1400d2ccd
lea rax, str.procedure___nullptr
mov qword [rsp + 0x28], rax
lea rax, [0x1401b3950]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0xc8
lea rdx, str.minkernelcrtsucrt_src_appcrt_startup_thread.cpp
mov ecx, 2
call fcn.140001a2d
cmp eax, 1
jne 0x1400d2ccd
int3
cmp dword [rsp + 0x34], 0
jne 0x1400d2d0f
call fcn.140002f45
mov dword [rax], socket
mov qword [rsp + 0x20], 0
mov r9d, 0xc8
lea r8, str.minkernelcrtsucrt_src_appcrt_startup_thread.cpp
lea rdx, str._beginthreadex
lea rcx, str.procedure___nullptr
call fcn.140005a0b
xor eax, eax
jmp 0x1400d2e0f
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call fcn.1400d2740
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400d2540
lea rcx, [rsp + 0x40]
call fcn.1400d25b0
movzx eax, al
test eax, eax
jne 0x1400d2d5f
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x40]
call fcn.1400d2590
mov rax, qword [rsp + 0x50]
jmp 0x1400d2e0f
lea rcx, [rsp + 0x40]
call fcn.1400d28f0
mov ecx, dword [rsp + 0x88]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x28], rdx
mov edx, dword [rsp + 0xa0]
mov dword [rsp + 0x20], edx
mov r9, rax
lea r8, [0x1400d22f0]
mov edx, ecx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1400d2dd3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140002982
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0x40]
call fcn.1400d2590
mov rax, qword [rsp + 0x58]
jmp 0x1400d2e0f
cmp qword [rsp + 0xa8], 0
je 0x1400d2dec
mov rax, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0x38]
mov dword [rax], ecx
lea rcx, [rsp + 0x40]
call fcn.1400d28b0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x40]
call fcn.1400d2590
mov rax, qword [rsp + 0x60]
add rsp, 0x78
ret
Function at 0x1400a1050
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400a1050
push rdi
sub rsp, 0x30
call fcn.140004264
mov ecx, 8
imul rcx, rcx, 5
mov rax, qword [rax + rcx]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400a107c
mov eax, 2
jmp 0x1400a10e9
lea rax, [rsp + 0x24]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
mov r9d, 2
lea r8, [rsp + 0x24]
mov edx, 0x22
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
nop
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x24]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x30
je 0x1400a10d2
cmp dword [rsp + 0x20], 0x31
je 0x1400a10d9
cmp dword [rsp + 0x20], 0x32
je 0x1400a10e0
jmp 0x1400a10e7
mov eax, 2
jmp 0x1400a10e9
mov eax, 1
jmp 0x1400a10e9
mov eax, 3
jmp 0x1400a10e9
xor eax, eax
add rsp, 0x30
pop rdi
ret