joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001a40
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140002920
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140002920
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140001ab0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400070b4]
mov rbx, rcx
test esi, esi
jle 0x140001be0
mov rax, qword [0x1400070b8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001afb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001b85
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001ae0
mov rcx, rbx
call fcn.1400025c0
mov rdi, rax
test rax, rax
je 0x140001c02
mov rax, qword [0x1400070b8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002700
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400070b8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001be7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140001b7e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140001b90
add dword [0x1400070b4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400070b8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001b7e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001a40
nop dword [rax]
xor esi, esi
jmp 0x140001b08
mov rax, qword [0x1400070b8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001a40
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140001a40
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x1400022b0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp edx, 2
je 0x1400023e0
ja 0x1400022f8
test edx, edx
je 0x140002378
mov eax, dword [0x140007108]
test eax, eax
je 0x140002460
mov dword [0x140007108], 1
mov eax, 1
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp edx, 3
jne 0x1400022e5
mov eax, dword [0x140007108]
test eax, eax
je 0x1400022e5
lea r12, [0x140007120]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140007100]
test rbx, rbx
je 0x140002364
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x140002488
test eax, eax
jne 0x140002488
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002338
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1400022e5
mov eax, dword [0x140007108]
test eax, eax
jne 0x1400023f8
mov eax, dword [0x140007108]
cmp eax, 1
jne 0x1400022e5
mov rbx, qword [0x140007100]
test rbx, rbx
je 0x1400023b1
nop dword [rax]
mov rcx, rbx
mov rbx, qword [rbx + 0x10]
call sub.msvcrt.dll_free
test rbx, rbx
jne 0x1400023a0
lea rcx, [0x140007120]
mov qword [0x140007100], 0
mov dword [0x140007108], 0
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp 0x1400022e5
call fcn.140001a30
mov eax, 1
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea r12, [0x140007120]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140007100]
test rbx, rbx
je 0x14000244c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop word [rax + rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140002478
test rsi, rsi
je 0x140002478
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002428
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140002382
lea rcx, [0x140007120]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x1400022db
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002428
jmp 0x14000244c
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002338
jmp 0x140002364

Function at 0x1400025c0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r8, qword [0x1400043f0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400025e0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400025e8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400025e0
movzx eax, word [rdx + 0x14]
sub rcx, r8
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002635
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14000262c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400025e0
add rax, 0x28
cmp rax, r9
jne 0x140002618
xor eax, eax
ret
Function at 0x140002640
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400043f0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000265f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002668
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000265f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002700
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400043f0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000271f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002728
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140001eb4
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1b0
mov rax, qword [0x1406884c0]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
xor ebx, ebx
mov qword [rsp + 0x30], rdx
mov rdi, rcx
test rcx, rcx
je 0x14000203e
lea esi, [rbx + 0x40]
xor edx, edx
mov r8d, esi
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
mov ebp, 0x108
lea rcx, [rsp + 0x90]
mov r8d, ebp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r8, qword [0x140688c88]
lea r14d, [rbx + 4]
mov ecx, r14d
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x50]
mov rdx, rdi
call fcn.14000216c
mov eax, 0x5a4d
cmp word [rsp + 0x50], ax
jne 0x14000203e
movsxd rdx, dword [rsp + 0x8c]
lea r9, [rsp + 0x90]
mov r8, qword [0x140688c88]
add rdx, rdi
mov ecx, r14d
mov qword [rsp + 0x20], rbp
call fcn.14000216c
cmp dword [rsp + 0x90], 0x4550
jne 0x14000203e
mov ebp, dword [rsp + 0x118]
test ebp, ebp
je 0x14000203e
cmp dword [rsp + 0x11c], ebx
je 0x14000203e
mov r12d, dword [rsp + 0x11c]
mov r9d, r14d
mov edx, r12d
mov r8d, 0x3000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8, qword [0x140688c88]
lea rdx, [rdi + rbp]
mov r9, rax
mov qword [rsp + 0x20], r12
mov ecx, r14d
mov rsi, rax
mov r13d, ebp
call fcn.14000216c
mov eax, dword [rsi + 0x24]
mov r15, rsi
mov ecx, dword [rsi + 0x20]
sub r15, rbp
add rax, r15
add rcx, r15
mov qword [rsp + 0x40], rax
mov ebp, ebx
mov eax, dword [rsi + 0x1c]
add rax, r15
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x48], rax
cmp dword [rsi + 0x18], ebx
jbe 0x14000202d
mov rdx, qword [rsp + 0x30]
mov r14d, ebp
mov ecx, dword [rcx + r14*4]
add rcx, r15
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14000206b
mov rcx, qword [rsp + 0x38]
inc ebp
cmp ebp, dword [rsi + 0x18]
jb 0x140002008
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1400cc560
mov rbx, qword [rsp + 0x200]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
movzx eax, word [rax + r14*2]
mov ecx, dword [rcx + rax*4]
lea rax, [rdi + r13]
add rcx, rdi
cmp rcx, rax
jb 0x140002095
lea rax, [r12 + r13]
add rax, rdi
cmp rcx, rax
jbe 0x140002098
mov rbx, rcx
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rbx
jmp 0x140002040

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

Disassembly:
movabs rdx, 0xcbf29ce484222325
xor r8d, r8d
movzx eax, byte [r8 + rcx]
movabs r9, 0x100000001b3
xor rdx, rax
inc r8
imul rdx, r9
cmp r8, 4
jb 0x1400024b1
mov rax, rdx
ret
Function at 0x14000bdb0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd rbp, r9d
mov r14, r8
test r8, r8
je 0x14000bdd7
and qword [r8], 0
call fcn.14000be80
mov rbx, rax
test rax, rax
je 0x14000be63
mov rcx, rax
call fcn.14000bd38
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000be5a
lea rcx, [rax + rbp]
call fcn.14000e1d8
mov rsi, rax
test rax, rax
je 0x14000be5a
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]
cmp rax, rdi
je 0x14000be32
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rsi
call fcn.14000e228
jmp 0x14000be63
test ebp, ebp
jle 0x14000be44
lea rcx, [rsi + rdi]
mov r8, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000be55
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000be65
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x14000c178
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rcx
not r8d
test rdx, rdx
je 0x14000c1a6
movzx eax, byte [r9]
inc r9
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
lea rax, [0x14013c150]
xor r8d, dword [rax + rcx*4]
sub rdx, 1
jne 0x14000c183
not r8d
mov eax, r8d
ret

Function at 0x14000c1b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x14000c20a
mov r11b, reloc.WLDAP32.dll_Ordinal_35
lea rdi, [0x14013c150]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x14000c1f4
cmp rdx, 2
jb 0x14000c1f4
cmp byte [r10], r11b
jne 0x14000c1f4
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x14000c1d2
jmp 0x14000c24b
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x14000c24b
mov r11b, reloc.WLDAP32.dll_Ordinal_35
lea rdi, [0x14013c150]
cmp dl, r11b
jne 0x14000c22f
cmp byte [r10], r11b
jne 0x14000c22f
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x14000c21d
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret
Function at 0x14000e0a4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5f88], 0
lea rdi, [rcx + 0x5f90]
mov rbx, rcx
mov rsi, r8
mov rcx, rdi
mov rbp, rdx
je 0x14000e121
xor edx, edx
call fcn.14001ab54
mov r8, rsi
mov rdx, rbp
mov rcx, rdi
call fcn.140019d44
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x5f88]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x140688ca0]
movsxd r8, eax
mov rax, qword [rbx + 0x5f98]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x14000e126
call fcn.140019d44
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140015224
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x140688c98]
mov rbx, rcx
and dword [rax + 0x5ee4], 0
test rcx, rcx
je 0x14001528d
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.140015298
lea rdx, [0x14013dca4]
mov rcx, rbx
mov rdi, rax
call fcn.14000be80
mov rbx, rax
test rax, rax
je 0x14001528d
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140026ee8
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push rbx
sub rsp, 0x20
call fcn.14000b034
test rax, rax
je 0x140026f06
call fcn.14000b238
mov rbx, qword [rax + 0x88]
jmp 0x140026f08
xor ebx, ebx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rbx + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x140026f33
and dword [rbx + 0x2c], eax
add rsp, 0x20
pop rbx
ret
Function at 0x14004b0ac
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x30]
call fcn.14004d5b8
nop
lea rax, [0x14004aa94]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x30]
call fcn.14004a4b4
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x14004b131
lea rcx, [rsp + 0x30]
call fcn.140062c5c
jmp 0x14004b148
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [rsp + 0x30]
call fcn.140050974
add rsp, 0x58
ret

Function at 0x14004bc98
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
sub rsp, 0x88
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x28], 0x3285501
lea rcx, [rsp + 0x40]
call fcn.1400500ec
mov rax, qword [rsp + 0x40]
movups xmm0, xmmword [rax + 0x58]
movdqu xmmword [rsp + 0x50], xmm0
movzx eax, word [rsp + 0x50]
sub eax, 8
mov word [rsp + 0x50], ax
cmp dword [rsp + 0x24], 0
je 0x14004bcf0
lea rcx, [rsp + 0x50]
call fcn.140060260
cmp eax, dword [rsp + 0x24]
jne 0x14004bdbb
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0x30]
lea rcx, [rsp + 0x60]
call fcn.14004ffcc
lea rcx, [rsp + 0x60]
call fcn.14005119c
movzx eax, al
test eax, eax
je 0x14004bdbb
lea rcx, [rsp + 0x60]
call fcn.140064adc
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x2c], 0
je 0x14004bdbb
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.140062274
mov rcx, rax
call fcn.14004d410
cmp eax, dword [rsp + 0x28]
jne 0x14004bdb6
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.14005cb94
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140061248
movzx eax, al
test eax, eax
je 0x14004bdaf
mov rcx, qword [rsp + 0x30]
call fcn.1400602dc
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x40]
call fcn.140063f4c
jmp 0x14004bdbb
mov rax, qword [rsp + 0x30]
jmp 0x14004bdd2
jmp 0x14004bd26
lea rcx, [rsp + 0x40]
call fcn.1400622a8
movzx eax, al
test eax, eax
jne 0x14004bcb9
xor eax, eax
add rsp, 0x88
ret
Function at 0x14004c574
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
sub rsp, 0x88
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x28], 0xf8f45725
lea rcx, [rsp + 0x40]
call fcn.1400500ec
mov rax, qword [rsp + 0x40]
movups xmm0, xmmword [rax + 0x58]
movdqu xmmword [rsp + 0x50], xmm0
movzx eax, word [rsp + 0x50]
sub eax, 8
mov word [rsp + 0x50], ax
cmp dword [rsp + 0x24], 0
je 0x14004c5cc
lea rcx, [rsp + 0x50]
call fcn.140060260
cmp eax, dword [rsp + 0x24]
jne 0x14004c697
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0x30]
lea rcx, [rsp + 0x60]
call fcn.14004ffcc
lea rcx, [rsp + 0x60]
call fcn.14005119c
movzx eax, al
test eax, eax
je 0x14004c697
lea rcx, [rsp + 0x60]
call fcn.140064adc
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x2c], 0
je 0x14004c697
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.140062274
mov rcx, rax
call fcn.14004d410
cmp eax, dword [rsp + 0x28]
jne 0x14004c692
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.14005cb94
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140061248
movzx eax, al
test eax, eax
je 0x14004c68b
mov rcx, qword [rsp + 0x30]
call fcn.1400602dc
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x40]
call fcn.140063f4c
jmp 0x14004c697
mov rax, qword [rsp + 0x30]
jmp 0x14004c6ae
jmp 0x14004c602
lea rcx, [rsp + 0x40]
call fcn.1400622a8
movzx eax, al
test eax, eax
jne 0x14004c595
xor eax, eax
add rsp, 0x88
ret

Function at 0x14004cb54
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x28]
call fcn.14005036c
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x30]
lea rcx, [rsp + 0x30]
call fcn.14004ffcc
lea rcx, [rsp + 0x30]
call fcn.14005119c
movzx eax, al
test eax, eax
je 0x14004cbdc
lea rcx, [rsp + 0x30]
call fcn.140064adc
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x24], 0
je 0x14004cbdc
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140062274
mov rcx, rax
call fcn.14004d410
cmp eax, 0xf8f45725
jne 0x14004cbda
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.14005cb94
jmp 0x14004cbf3
jmp 0x14004cb94
lea rcx, [rsp + 0x28]
call fcn.140062304
movzx eax, al
test eax, eax
jne 0x14004cb62
xor eax, eax
add rsp, 0x58
ret
Function at 0x14004cbf8
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x28]
call fcn.14005036c
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x30]
lea rcx, [rsp + 0x30]
call fcn.14004ffcc
lea rcx, [rsp + 0x30]
call fcn.14005119c
movzx eax, al
test eax, eax
je 0x14004cc80
lea rcx, [rsp + 0x30]
call fcn.140064adc
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x24], 0
je 0x14004cc80
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140062274
mov rcx, rax
call fcn.14004d410
cmp eax, 0x53b2070f
jne 0x14004cc7e
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.14005cb94
jmp 0x14004cc97
jmp 0x14004cc38
lea rcx, [rsp + 0x28]
call fcn.140062304
movzx eax, al
test eax, eax
jne 0x14004cc06
xor eax, eax
add rsp, 0x58
ret

Function at 0x14004cde4
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x28]
call fcn.14005036c
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x30]
lea rcx, [rsp + 0x30]
call fcn.14004ffcc
lea rcx, [rsp + 0x30]
call fcn.14005119c
movzx eax, al
test eax, eax
je 0x14004ce6c
lea rcx, [rsp + 0x30]
call fcn.140064adc
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x24], 0
je 0x14004ce6c
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140062274
mov rcx, rax
call fcn.14004d410
cmp eax, 0x2fa62ca8
jne 0x14004ce6a
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.14005cb94
jmp 0x14004ce83
jmp 0x14004ce24
lea rcx, [rsp + 0x28]
call fcn.140062304
movzx eax, al
test eax, eax
jne 0x14004cdf2
xor eax, eax
add rsp, 0x58
ret

Function at 0x140057130
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x178
mov rax, qword [0x1406884c0]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov dword [rsp + 0x30], pe_nt_image_headers64
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32First
cmp eax, 1
jne 0x1400571b9
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32Next
cmp eax, 1
jne 0x1400571b9
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x1400571b7
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
jmp 0x1400571c6
jmp 0x14005717b
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400cc560
add rsp, 0x178
ret
Function at 0x140057494
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x88
mov rax, qword [0x1406884c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x38], 0
cmp dword [rsp + 0x90], 0
jl 0x1400574ed
cmp dword [rsp + 0x90], 0x7c
jge 0x1400574ed
lea r8, [rsp + 0x38]
mov edx, dword [rsp + 0x90]
lea rcx, [0x14058d4c0]
call fcn.1400576fc
lea rcx, [rsp + 0x58]
call fcn.14004ed50
nop
cmp qword [rsp + 0x38], 0
jne 0x140057513
lea rdx, [0x140145318]
lea rcx, [rsp + 0x58]
call fcn.140051010
jmp 0x140057522
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.140051010
cmp dword [rsp + 0xa0], 1
jne 0x14005753d
lea rdx, [0x140145328]
lea rcx, [rsp + 0x58]
call fcn.140051010
call fcn.14000bc78
movss dword [rsp + 0x30], xmm0
call fcn.14000b938
movss xmm0, dword [rax + 8]
mulss xmm0, dword [0x14013df10]
movss xmm1, dword [rsp + 0x30]
subss xmm1, xmm0
movaps xmm0, xmm1
movss xmm2, dword [0x14013df50]
movaps xmm1, xmm0
lea rcx, [rsp + 0x50]
call fcn.14004f498
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x58]
call fcn.14005af1c
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call fcn.14003388c
movzx eax, al
test eax, eax
je 0x1400575d7
cmp dword [rsp + 0xa0], 0
jne 0x1400575d7
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
lea rcx, [rsp + 0x58]
call fcn.14003235c
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400cc560
add rsp, 0x88
ret

Function at 0x1400575f8
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x1000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14005762f
xor al, al
jmp 0x14005769a
mov r8d, reloc.WLDAP32.dll_Ordinal_30
lea rdx, [0x140689130]
mov rcx, qword [rsp + 0x28]
call fcn.140137666
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [rsp + Ordinal_50]
mov dword [rsp + 0x24], eax
mov edx, 0x1000
mov rcx, qword [rsp + 0x28]
call fcn.140066be8
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
cmp dword [rsp + 0x24], 0
jle 0x140057691
mov byte [rsp + 0x20], 1
jmp 0x140057696
mov byte [rsp + 0x20], 0
mov al, byte [rsp + 0x20]
add rsp, 0x48
ret