joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800d074c
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1800d077c
xor eax, eax
jmp 0x1800d083f
mov rbp, rbx
cmp word [rax], si
je 0x1800d07a1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800d0788
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800d0784
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.1800d066c
movsxd r14, eax
test eax, eax
jne 0x1800d07df
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1800d0775
mov rcx, r14
call fcn.1800cca50
mov rdi, rax
test rax, rax
jne 0x1800d07f8
xor ecx, ecx
call fcn.1800c9f0c
jmp 0x1800d07d4
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.1800d066c
test eax, eax
jne 0x1800d0829
mov rcx, rdi
call fcn.1800c9f0c
jmp 0x1800d0833
xor ecx, ecx
call fcn.1800c9f0c
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 0x1800d5c88
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.1800cba70
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1800cba70
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1800d5dd8
cmp rax, 0xffffffffffffffff
je 0x1800d5dd8
xor edi, edi
test rbp, rbp
jle 0x1800d5d83
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1800cec68
mov rbx, rax
test rax, rax
jne 0x1800d5d10
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1800d5d79
mov edx, 0x8000
mov ecx, r14d
call fcn.1800d5b0c
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.1800cc748
cmp eax, 0xffffffff
je 0x1800d5d59
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1800d5d20
mov edx, r15d
mov ecx, r14d
call fcn.1800d5b0c
jmp 0x1800d5d79
cmp byte [rsi + 0x38], dil
je 0x1800d5d70
cmp dword [rsi + 0x34], 5
jne 0x1800d5d70
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1800d5d79
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1800c9f0c
jmp 0x1800d5dec
jns 0x1800d5dec
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1800cba70
cmp rax, 0xffffffffffffffff
jne 0x1800d5da4
cmp byte [rsi + 0x30], dil
je 0x1800d5dec
mov edi, dword [rsi + 0x2c]
jmp 0x1800d5dec
mov ecx, r14d
call fcn.1800d176c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1800d5dec
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 0x1800d5dec
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1800d5de5
mov eax, dword [rsi + 0x2c]
jmp 0x1800d5dea
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1800cba70
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 0x140f71f4c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f71f56
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 0x140f71f7f
pop rbp
sub rbp, 0x33
sub rbp, 0xf71f4c
sub rsp, 0x20
jmp 0x140f71f9e
mov rax, 0xf71f4c
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xfffffffff62df4e5
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f71fbd
jmp 0x140f71fd4
lodsd eax, dword [rsi]
insb byte [rdi], dx
or al, 0x6e
insb byte [rdi], dx
fxam
in eax, 0xe5
lodsd eax, dword [rsi]
and al, 0xed
in al, 0xe5
in eax, 0xad
in al, 0xc
lodsd eax, dword [rsi]
and ah, byte [0x126dd05db]
lodsd eax, dword [rsi]
and ah, byte [rdi]
int 0xe5
in eax, 0xe5
lodsd eax, dword [rsi]
adc al, byte [rdi]
lodsd eax, dword [rsi]
in al, 0x24
outsb dx, byte [rsi]
jmp 0xeedd05e7
Function at 0x140006bb0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push rdi
push r13
push r14
sub rsp, 0x38
mov qword [rsp + 0x60], rbx
mov r14, r8
mov qword [rsp + 0x68], rsi
mov rdi, rdx
mov rsi, qword [rdx + 0x10]
mov r13, rcx
mov qword [rsp + 0x70], r12
mov r8, rdx
mov r12, qword [rdx + 0x18]
cmp r12, 0xf
jbe 0x140006be7
mov r8, qword [rdx]
xor ebp, ebp
movabs rdx, 0xcbf29ce484222325
mov ecx, ebp
test rsi, rsi
je 0x140006c24
movabs r9, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r8 + rcx]
inc rcx
xor rdx, rax
imul rdx, r9
cmp rcx, rsi
jb 0x140006c10
mov rcx, qword [r13 + 0x30]
mov rax, qword [r13 + 0x18]
and rcx, rdx
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r13 + 8]
je 0x140006c92
mov qword [rsp + 0x30], r15
mov r15, qword [rax + rcx*8]
nop word [rax + rax]
cmp qword [rbx + 0x28], 0xf
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
jbe 0x140006c62
mov rdx, qword [rdx]
mov rcx, rdi
cmp r12, 0xf
jbe 0x140006c6e
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x140006c7f
mov r8, rsi
call fcn.14005e2c0
test eax, eax
je 0x140006c8a
cmp rbx, r15
je 0x140006c8d
mov rbx, qword [rbx + 8]
jmp 0x140006c50
mov rbp, rbx
mov r15, qword [rsp + 0x30]
mov r12, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
test rbp, rbp
je 0x140006d21
cmp rbp, qword [r13 + 8]
je 0x140006d21
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.14001dbc0
mov rcx, qword [rax]
add rcx, 0x30
cmp qword [rcx + 0x18], 0xf
mov r8, qword [rcx + 0x10]
jbe 0x140006cd1
mov rcx, qword [rcx]
cmp r8, 5
jne 0x140006d21
lea rdx, str.false
call fcn.14005e2c0
test eax, eax
jne 0x140006d21
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.14001dbc0
mov rcx, qword [rax]
add rcx, 0x30
cmp rcx, r14
je 0x140006d19
cmp qword [r14 + 0x18], 0xf
mov r8, qword [r14 + 0x10]
jbe 0x140006d11
mov r14, qword [r14]
mov rdx, r14
call fcn.140017370
mov rcx, r13
call fcn.140006f20
add rsp, 0x38
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x140006d30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rsi, r8
mov r12, rdx
mov r13, rcx
mov qword [rsp + 0x48], rdx
xor edi, edi
mov dword [rsp + 0x20], edi
mov rbp, qword [r8 + 0x10]
mov r15, qword [r8 + 0x18]
cmp r15, 0xf
jbe 0x140006d71
mov r8, qword [r8]
movabs rdx, 0xcbf29ce484222325
mov rcx, rdi
test rbp, rbp
je 0x140006da4
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [r8 + rcx]
xor rdx, rax
imul rdx, r9
inc rcx
cmp rcx, rbp
jb 0x140006d90
mov rcx, qword [r13 + 0x30]
and rcx, rdx
add rcx, rcx
mov rax, qword [r13 + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r13 + 8]
je 0x140006dfe
mov r14, qword [rax + rcx*8]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140006dd3
mov rdx, qword [rdx]
mov rcx, rsi
cmp r15, 0xf
jbe 0x140006ddf
mov rcx, qword [rsi]
cmp rbp, rax
jne 0x140006df0
mov r8, rbp
call fcn.14005e2c0
test eax, eax
je 0x140006dfb
cmp rbx, r14
je 0x140006dfe
mov rbx, qword [rbx + 8]
jmp 0x140006dc1
mov rdi, rbx
test rdi, rdi
jne 0x140006e07
mov rdi, qword [r13 + 8]
cmp rdi, qword [r13 + 8]
je 0x140006e23
lea rdx, [rdi + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140013a50
nop
mov ebx, 1
jmp 0x140006e55
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov r8d, 5
lea rdx, str.false
lea rcx, [rsp + 0x28]
call fcn.14001ec30
lea rax, [rsp + 0x28]
mov ebx, 2
mov dword [rsp + 0x20], ebx
mov rdx, rax
mov rcx, r12
call fcn.140013a50
or ebx, 4
test bl, 2
je 0x140006ea9
and ebx, 0xfffffffd
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140006ea9
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006ea3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006f0e
call fcn.140035dd0
nop
test bl, 1
je 0x140006ee7
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140006ee7
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006ee2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006f08
call fcn.140035dd0
mov rax, r12
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140045aa8
nop
call fcn.140045aa8
nop
int3
Function at 0x1400074e0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x14007c100]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140007583
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000757a
cmp qword [rbx + 0x18], 7
mov r8, rbx
jbe 0x14000753f
mov r8, qword [rbx]
lea rax, [rsp + 0x4c]
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140007564
add rax, 2
test ecx, ecx
jne 0x140007550
mov rcx, rdi
test edx, edx
je 0x1400075a6
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140007532
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140035db0
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x140007585
Function at 0x140008d90
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x140
mov rax, qword [0x14007c100]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x28], rcx
lea rdx, [rsp + 0x28]
mov rbx, rcx
mov dword [rsp + 0x28], pe_nt_image_headers64
lea rcx, [rsp + 0x30]
xor edi, edi
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
test eax, eax
je 0x140008e00
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], dil
jne 0x140008df0
lea rdx, [rsp + 0x30]
jmp 0x140008e0d
mov r8d, 0x18
lea rdx, str.Error_getting_user_name.
mov rcx, rbx
call fcn.14001ec30
mov rax, rbx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140035db0
mov rbx, qword [rsp + 0x158]
add rsp, 0x140
pop rdi
ret
Function at 0x140012440
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x140012464
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
je 0x1400124f2
mov rdi, r15
mov qword [rsp + 0x68], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400124c0
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x1400124c0
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.14005d7e0
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1400124dd
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x1400124e5
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x140012481
mov rbp, qword [rsp + 0x68]
sub r15, rdi
jmp 0x1400125d0
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x140012509
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14001250b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14001253d
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.14005d7e0
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x1400125cd
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140012578
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rsi, 0xfff
jbe 0x1400125ae
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.140045298
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x1400125cd
cmp rsi, rax
ja 0x140012581
test rsi, rsi
je 0x1400125cd
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140045298
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r15
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
Function at 0x140031880
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r14, r9
mov rbx, r8
mov r12, rdx
mov rbp, rcx
mov r8, qword [r9 + 0x10]
mov rdx, r9
cmp qword [r9 + 0x18], 0xf
jbe 0x1400318b1
mov rdx, qword [r9]
movabs rdi, 0xcbf29ce484222325
xor ecx, ecx
test r8, r8
je 0x1400318e3
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor rdi, rax
imul rdi, r9
inc rcx
cmp rcx, r8
jb 0x1400318d0
mov qword [rsp + 0x20], rdi
mov r9, r14
mov r8, rbx
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.140031ad0
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14003190e
mov qword [r12], rax
jmp 0x140031aa0
movabs rax, 0x333333333333333
cmp qword [rbp + 0x10], rax
je 0x140031abb
lea r13, [rbp + 8]
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], 0
mov ecx, 0x50
call fcn.140035dd8
mov rsi, rax
mov qword [rsp + 0x48], rax
mov rdx, r14
lea rcx, [rax + 0x10]
call fcn.140013a50
xorps xmm0, xmm0
movups xmmword [rsi + 0x30], xmm0
xor eax, eax
mov qword [rsi + 0x40], rax
mov qword [rsi + 0x48], rax
movups xmm0, xmmword [r14 + 0x20]
movups xmmword [rsi + 0x30], xmm0
movups xmm1, xmmword [r14 + 0x30]
movups xmmword [rsi + 0x40], xmm1
mov qword [r14 + 0x30], rax
mov qword [r14 + 0x38], 0xf
mov byte [r14 + 0x20], al
mov rcx, qword [rbp + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x140031999
cvtsi2ss xmm0, rcx
jmp 0x1400319ae
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x1400319c1
cvtsi2ss xmm1, rcx
jmp 0x1400319d6
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
jbe 0x140031a4c
mov rcx, rbp
call fcn.1400259a0
cmp rbx, qword [r13]
je 0x140031a2d
lea rcx, [rbx + 0x10]
lea rdx, [rsi + 0x10]
cmp qword [rsi + 0x28], 0xf
jbe 0x140031a01
mov rdx, qword [rsi + 0x10]
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0xf
jbe 0x140031a0f
mov rcx, qword [rcx]
cmp r8, qword [rsi + 0x20]
jne 0x140031a2d
call fcn.14005e2c0
test eax, eax
jne 0x140031a2d
mov rax, qword [rbx]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
jmp 0x140031a41
mov r9, rdi
lea r8, [rsi + 0x10]
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.140029710
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov rdx, qword [rsp + 0x30]
mov r8, qword [rdx + 8]
inc qword [rbp + 0x10]
mov qword [rsi], rdx
mov qword [rsi + 8], r8
mov qword [r8], rsi
mov qword [rdx + 8], rsi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, rdi
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r13]
jne 0x140031a85
mov qword [rcx + rax*8], rsi
jmp 0x140031a97
cmp r9, rdx
jne 0x140031a90
mov qword [rcx + rax*8], rsi
jmp 0x140031a9c
cmp qword [rcx + rax*8 + 8], r8
jne 0x140031a9c
mov qword [rcx + rax*8 + 8], rsi
mov qword [r12], rsi
mov rax, r12
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.unordered_map_set_too_long
call fcn.140033258
int3
Function at 0x1400321b0
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, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400321ea
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400321ef
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 0x140032238
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400625f0]
cmp byte [rcx + rax], 0
je 0x140032238
dec r8
sub rdx, 1
jne 0x14003221e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140036c34
Capabilities:
Parse pe header

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

Function at 0x14003b9ec
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14003ba5b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003ba5b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003ba5b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003ba5b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003ba5b
cmp dword [rcx + 0x84], 0xe
jbe 0x14003ba5b
cmp dword [rcx + 0xf8], 0
je 0x14003ba5b
mov ecx, ebx
call fcn.14003bb0c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14003b8e8
nop
cmp dword [rbp + 0x20], 0
je 0x14003baa9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14003bab4
int3
xor r8d, r8d
xor edx, edx
jmp 0x14003b9ec

Function at 0x14003bbf0
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14003ba5b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003ba5b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003ba5b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003ba5b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003ba5b
cmp dword [rcx + 0x84], 0xe
jbe 0x14003ba5b
cmp dword [rcx + 0xf8], 0
je 0x14003ba5b
mov ecx, ebx
call fcn.14003bb0c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14003b8e8
nop
cmp dword [rbp + 0x20], 0
je 0x14003baa9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14003bab4
int3
xor r8d, r8d
xor edx, edx
jmp 0x14003b9ec
Function at 0x14003fe38
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x14003fe6f
call fcn.140044a3c
mov dword [rax], 0x16
call fcn.140045a88
xor eax, eax
jmp 0x14003fefd
mov rdx, r9
mov rcx, r8
call fcn.14003fdd4
mov rbx, rax
test rax, rax
je 0x14003fefa
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x14003fd00]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14003fee7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400449b0
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14003fece
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14003fedd
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14004b424
jmp 0x14003fefa
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14003fef7
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x14004a84c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14004a862
mov al, 1
jmp 0x14004a8c2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14004a873
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14004a8c0
mov ecx, dword [rcx + 0x18]
nop
call fcn.140055238
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004a8c0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14004a8c0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14004a8c0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14004a8c2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14004fb70
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1400364d0
sub rsp, rax
mov rax, qword [0x14007c100]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14004a630
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14004fbbf
mov rax, rbp
jmp 0x14004fcc7
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x7f380]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140051590
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x7f380]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14004fcc3
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14004fcc3
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140051590
test rax, rax
js 0x14004fcc3
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14004fcc3
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14004fcb5
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14004fcb5
cmp byte [rcx], 0xd
jne 0x14004fc9b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14004fcaa
cmp byte [rcx + 1], 0xa
jne 0x14004fcaa
inc rcx
jmp 0x14004fcaa
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x7c540]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14004fc7d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14004fcc7
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140035db0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret