joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140033e20
Capabilities:
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x1c0
mov eax, dword [0x1401a9078]
mov ebx, ecx
mov edx, eax
inc eax
mov dword [0x1401a9078], eax
test edx, edx
jne 0x140033ee7
mov rax, qword [sym.imp.msvcrt.dll_malloc]
mov qword [sub.msvcrt.dll_malloc], rax
mov rax, qword [sym.imp.msvcrt.dll_free]
mov qword [fcn.14000409c], rax
mov rax, qword [sym.imp.msvcrt.dll_realloc]
mov qword [0x1401a5cc8], rax
lea rax, case.0x14003c387.0
mov qword [case.0x14003c387.11], rax
mov rax, qword [sym.imp.msvcrt.dll_calloc]
mov qword [case.0x14003c387.1], rax
test cl, 1
je 0x140033e97
call fcn.14003d9b0
test eax, eax
je 0x140033ef8
test bl, 2
je 0x140033eca
lea rdx, [rsp + 0x20]
mov ecx, 0x202
call qword [sym.imp.WSOCK32.DLL_WSAStartup]
test eax, eax
jne 0x140033ef8
movzx eax, word [rsp + 0x20]
cmp al, 2
jne 0x140033ef2
shr ax, 8
cmp al, 2
jne 0x140033ef2
call fcn.14003e070
test eax, eax
jne 0x140033ef8
mov eax, dword [0x1401a90dc]
test bl, 4
mov ecx, 1
cmovne eax, ecx
mov dword [0x1401a907c], ebx
mov dword [0x1401a90dc], eax
xor eax, eax
add rsp, 0x1c0
pop rbx
ret
call qword [sym.imp.WSOCK32.DLL_WSACleanup]
mov eax, 2
add rsp, 0x1c0
pop rbx
ret

Function at 0x140038c50
Capabilities:
Write file on windows

Disassembly:
mov rdx, qword [r8 + 0x10]
mov r9, rcx
or rax, 0xffffffffffffffff
mov qword [r8 + 0x18], rdx
nop
inc rax
cmp byte [rdx + rax], 0
jne 0x140038c60
test rax, rax
je 0x140038c7a
cmp byte [rdx + rax - 1], 0x2e
jne 0x140038c7a
mov byte [rdx + rax - 1], 0
mov rcx, qword [r8 + 0x10]
movzx eax, byte [rcx]
test al, al
je 0x140038ca4
lea rcx, [rcx + 1]
and al, 0x80
jne 0x140038c95
movzx eax, byte [rcx]
test al, al
jne 0x140038c85
ret
lea rdx, str.IDN_support_not_present__cant_parse_Unicode_domains_n
mov rcx, r9
jmp fcn.14003e630
ret
Function at 0x14003ed90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r10, qword [rcx + 0x258]
mov rdi, r9
mov rsi, r8
mov rbx, rcx
test r10, r10
je 0x14003edd3
mov rax, qword [rcx + 0x1a8]
mov qword [rsp + 0x20], rax
call r10
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp edx, 2
ja 0x14003ee18
mov r9, qword [rbx + 0x1a0]
movsxd rax, edx
mov edx, 2
lea rcx, [rax + rax*2]
lea rax, [0x140072fc8]
lea r8d, [rdx - 1]
add rcx, rax
call qword [sym.imp.msvcrt.dll_fwrite]
mov r9, qword [rbx + 0x1a0]
mov r8d, 1
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_fwrite]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x140041dd0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, qword [rcx + 0x798]
mov rsi, rdx
mov rdi, rcx
test rbx, rbx
je 0x140041e3d
mov rax, qword [rcx + 0x80]
test rax, rax
jne 0x140041e03
cmp qword [rcx + 0x78], rax
je 0x140041e3d
mov qword [rsp + 0x20], rbx
mov byte [rsp + 0x28], 0
test rax, rax
jne 0x140041e16
mov rax, qword [rcx + 0x78]
mov rcx, qword [rax + 0x60]
lea r8, [0x140042d50]
lea rdx, [rsp + 0x20]
call fcn.14004ac50
cmp byte [rsp + 0x28], 0
jne 0x140041e51
mov qword [rdi + 0x798], 0
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
test rsi, rsi
je 0x140041e59
mov qword [rsi], rbx
cmp byte [rbx + 0x1f0], 0
mov rdi, qword [rbx + 0x1a8]
je 0x140041e77
mov rcx, rbx
call fcn.14003d340
test eax, eax
jne 0x140041e93
jmp 0x140041e3d
mov r9d, 2
lea rdx, [rsp + 0x40]
mov rcx, rdi
lea r8d, [r9 - 1]
call qword [sym.imp.WSOCK32.DLL_recv]
test eax, eax
je 0x140041e3d
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rax, rdi
add rsp, 0x30
pop rdi
ret

Function at 0x140042400
Capabilities:
Set socket configuration

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0xd0
mov dword [rax + 0x18], 0x4020
mov dword [rax + 0x10], 0
mov dword [rax + 0x20], 4
mov eax, dword [0x1401a90a0]
mov rbx, rcx
test eax, eax
jne 0x140042495
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x9c
call sub.msvcrt.dll_memset
mov r8b, 3
mov edx, 2
xor ecx, ecx
mov dword [rsp + 0x30], 0x9c
mov dword [rsp + 0x34], 6
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
test eax, eax
je 0x140042489
mov dword [0x1401a90a0], 2
add rsp, 0xd0
pop rbx
ret
mov dword [0x1401a90a0], 1
jmp 0x14004249a
cmp eax, 2
je 0x1400424fb
lea rax, [rsp + 0xf8]
lea r9, [rsp + 0xe8]
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.WSOCK32.DLL_getsockopt]
test eax, eax
jne 0x1400424d7
mov eax, dword [rsp + 0xf0]
cmp dword [rsp + 0xe8], eax
jg 0x1400424fb
lea r9, [rsp + 0xf0]
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbx
mov dword [rsp + 0x20], 4
call qword [sym.imp.WSOCK32.DLL_setsockopt]
add rsp, 0xd0
pop rbx
ret
Function at 0x14005e320
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
cmp dword [0x1401a9130], 0
mov r14, rdx
mov r15, rcx
lea rbx, [0x1401a9140]
jne 0x14005e36d
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rcx, rbx
mov dword [0x1401a9168], eax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x1401a9130], 1
mov ecx, dword [0x1401a9168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbp, rax
test rax, rax
jne 0x14005e442
mov rcx, qword [0x1401a8000]
lea edx, [rax + 8]
lea r8d, [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
je 0x14005e46d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x1401a9138]
test rax, rax
je 0x14005e3bd
mov qword [rax], rbp
mov rcx, rbx
mov qword [rbp + 8], rax
mov qword [0x1401a9138], rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
lea r9, [rbp + 0x20]
mov r8, rdi
mov rcx, rax
mov rdx, rbx
mov dword [rsp + 0x20], 0x100000
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x18]
lea r8, [0x14005e488]
mov r9, rbp
mov dword [rsp + 0x28], 8
or dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
mov ecx, dword [0x1401a9168]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, qword [0x1401a8000]
xor edx, edx
lea r8d, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x14005e46d
mov qword [rax + 8], r15
mov qword [rax + 0x10], r14
mov rcx, qword [rbp + 0x10]
mov qword [rax], rcx
mov qword [rbp + 0x10], rax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140004cc8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x1400ce158]
mov r14, rdx
mov ebp, ecx
xor ebx, ebx
movabs rcx, 0xcccccccccccccccc
xor rcx, qword [rax + 0x6a670]
mov eax, ebp
sar eax, 0x10
add rcx, 0x10
shl eax, 3
cdqe
add rcx, rax
call fcn.1400697d0
mov rdx, rax
lea rcx, [0x140075b22]
mov rdi, rax
call fcn.14006a070
test rdi, rdi
jne 0x140004d33
lea rcx, [0x140075b66]
jmp 0x140004e5a
movzx eax, bp
lea rdx, [rsp + 0xe0]
mov r8d, 4
lea r15, [rdi + rax*4]
mov rcx, r15
call fcn.140067e88
mov edx, dword [rsp + 0xe0]
lea rcx, [0x140075bb0]
call fcn.14006a070
lea rcx, [r15 + 4]
mov r8d, 2
lea rdx, [rsp + 0xd0]
call fcn.140067e88
movzx esi, word [rsp + 0xd0]
lea rcx, [0x140075bfa]
mov edx, esi
mov edi, esi
and edx, 1
call fcn.14006a070
shr edi, 1
lea rcx, [0x140075c48]
mov edx, edi
call fcn.14006a070
cmp dword [rsp + 0xe0], ebp
jne 0x140004e53
test sil, 1
jne 0x140004e53
shr si, 1
lea rcx, [r15 + 6]
mov edi, 0x7f
lea rdx, [rsp + 0x20]
cmp si, di
cmovb di, si
movzx r8d, di
call fcn.140067e88
test al, al
jne 0x140004dea
lea rcx, [0x140075ccc]
jmp 0x140004e5a
mov rax, qword [0x1400ce158]
movzx edx, di
mov ecx, dword [rax + 0x6a668]
xor ecx, 0xcccccccc
mov dword [rsp + 0xd0], ecx
cmp bx, di
jae 0x140004e3c
mov rdi, r14
mov r8d, edx
mov rax, rbx
and eax, 3
mov cl, byte [rsp + rax + 0xd0]
xor cl, byte [rsp + rbx + 0x20]
inc rbx
xor cl, sil
movsx eax, cl
not ax
mov word [rdi], ax
lea rdi, [rdi + 2]
sub r8, 1
jne 0x140004e12
or word [r14 + rdx*2], 0xffff
lea rdi, [rsp + 0x20]
xor eax, eax
mov rcx, rdx
rep stosb byte [rdi], al
mov bl, 1
jmp 0x140004e5f
lea rcx, [0x140075c8e]
call fcn.14006a070
mov al, bl
mov rbx, qword [rsp + 0xd8]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000ccc4
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov r10, rcx
test edx, edx
je 0x14000ccfa
mov r9, rcx
mov rax, r9
lea rcx, [0x140076c30]
sub rax, r10
and eax, 0xf
mov cl, byte [rax + rcx]
xor cl, byte [r9]
xor cl, r8b
inc r8d
not cl
mov byte [r9], cl
inc r9
cmp r8d, edx
jb 0x14000ccd1
ret
Function at 0x140068208
Capabilities:
Parse pe header

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
xor r15d, r15d
mov r12d, 1
cmp qword [0x1400cddc0], r15
jne 0x140068369
xor ecx, ecx
call fcn.14006e054
mov rcx, rax
mov rdi, rax
call fcn.140068e54
test al, al
jne 0x140068259
mov eax, r12d
jmp 0x1400683d2
mov eax, 0x5a4d
cmp word [rdi], ax
je 0x14006826d
mov eax, 2
jmp 0x1400683d2
cmp dword [rdi + 0x3c], 0x400
jl 0x140068280
mov eax, 3
jmp 0x1400683d2
movsxd rbx, dword [rdi + 0x3c]
add rbx, rdi
cmp dword [rbx], 0x4550
je 0x140068299
mov eax, 4
jmp 0x1400683d2
mov qword [0x1400cddc0], r15
movzx r14d, r15w
movzx esi, word [rbx + 0x14]
add rsi, rbx
cmp r15w, word [rbx + 6]
jae 0x140068387
movsx rax, r14w
lea rbp, [rax + rax*4]
mov eax, dword [rsi + rbp*8 + 0x3c]
test eax, 0x22000020
jne 0x1400682f1
and eax, 0xc0000000
cmp eax, 0xc0000000
jne 0x1400682f1
cmp dword [rsi + rbp*8 + 0x20], 0x10
jb 0x1400682f1
mov eax, dword [rsi + rbp*8 + 0x24]
test eax, eax
je 0x1400682f1
lea rcx, [rdi + rax]
call fcn.140068e54
test al, al
jne 0x140068320
movzx ecx, word [rbx + 6]
add r14w, r12w
movsx eax, r14w
cmp eax, ecx
jl 0x1400682b6
mov rcx, qword [0x1400cddc0]
test rcx, rcx
je 0x140068387
call fcn.140068e54
test al, al
jne 0x14006833b
mov eax, 6
jmp 0x1400683d2
mov eax, dword [rsi + rbp*8 + 0x24]
mov ecx, dword [rsi + rbp*8 + 0x20]
add rax, rdi
add rcx, 0xfffffffffffffff0
add rcx, rax
mov qword [0x1400cddc0], rcx
jmp 0x140068308
mov rdx, qword [0x1400cddc0]
lea rcx, [0x1400cddb0]
mov r8d, 0x10
call sub.ntdll.dll_memcpy
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPriorityClass]
mov dword [0x1400cddc8], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x4000
call fcn.140068434
test eax, eax
jne 0x14006838e
mov eax, 7
jmp 0x1400683d2
mov eax, 5
jmp 0x1400683d2
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, r12d
call fcn.140068484
test eax, eax
jne 0x1400683aa
mov eax, 8
jmp 0x1400683d2
mov rax, qword [0x1400cddc0]
movabs rcx, 0xcc873400686c02ec
mov qword [rax], rcx
lea rcx, [0x1400cdd40]
mov rax, qword [0x1400cddc0]
mov qword [rax + 8], rcx
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x14006a1fc
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x250
lea rdx, [rsp + 0x40]
mov rbx, rcx
call fcn.14000caa8
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 7]
call fcn.140054648
mov rdx, rax
lea rdi, [rsp + 0x40]
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
cmp rdx, 0xffffffffffffffff
jne 0x14006a27e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x14006a27a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x14006a27a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x15
jne 0x14006a299
xor al, al
jmp 0x14006a288
mov rcx, rdx
call fcn.14000a3c4
mov al, 1
mov rbx, qword [rsp + 0x260]
add rsp, 0x250
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rbx
lea rcx, [0x1400b5600]
mov r8d, eax
call fcn.14006b724
call fcn.14006f128
int3

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
mov rbx, rdx
mov rdi, rcx
mov edx, dword [rax + rcx + 0x88]
test edx, edx
je 0x14006e350
cmp dword [rax + rcx + 0x8c], 0
je 0x14006e350
call fcn.14006f840
mov esi, eax
mov rcx, rdi
add rsi, rdi
mov edx, dword [rsi + 0x20]
call fcn.14006f840
mov edx, dword [rsi + 0x24]
mov rcx, rdi
mov r13d, eax
add r13, rdi
call fcn.14006f840
mov edx, dword [rsi + 0x1c]
mov rcx, rdi
mov r12d, eax
add r12, rdi
call fcn.14006f840
mov r14d, eax
add r14, rdi
cmp rbx, 0x10000
jae 0x14006e30f
mov edx, dword [rsi + 0x10]
cmp rbx, rdx
jb 0x14006e362
mov ecx, dword [rsi + 0x14]
add ecx, edx
cmp rbx, rcx
jae 0x14006e362
sub rbx, rdx
mov eax, dword [r14 + rbx*4]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor ebp, ebp
cmp dword [rsi + 0x18], ebp
jbe 0x14006e362
mov edx, dword [r13 + rbp*4]
mov rcx, rdi
call fcn.14006f840
mov edx, eax
mov rcx, rbx
add rdx, rdi
call fcn.14000c5f4
test al, al
jne 0x14006e33d
inc ebp
cmp ebp, dword [rsi + 0x18]
jae 0x14006e362
jmp 0x14006e316
movzx edx, word [r12 + rbp*2]
mov rcx, rdi
mov edx, dword [r14 + rdx*4]
call fcn.14006f840
jmp 0x14006e2f2
lea rcx, [0x1400b583e]
call fcn.14006b724
call fcn.14006f128
int3
mov rdx, rbx
lea rcx, [0x1400b58b4]
call fcn.14006b724
call fcn.14006f128
int3
Function at 0x14006e378
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xf0
mov rdi, rdx
lea rdx, [rsp + 0x20]
call fcn.14000cad0
lea rcx, [rsp + 0x20]
call fcn.14006e0e4
mov rsi, rax
movsxd rax, dword [rax + 0x3c]
mov ecx, dword [rax + rsi + 0x88]
test ecx, ecx
je 0x14006e45c
cmp dword [rax + rsi + 0x8c], 0
je 0x14006e45c
lea rbx, [rsi + rcx]
mov r15d, dword [rbx + 0x24]
mov r14d, dword [rbx + 0x1c]
add r15, rsi
add r14, rsi
cmp rdi, 0x10000
jae 0x14006e427
mov edx, dword [rbx + 0x10]
cmp rdi, rdx
jb 0x14006e46e
mov ecx, dword [rbx + 0x14]
add ecx, edx
cmp rdi, rcx
jae 0x14006e46e
sub rdi, rdx
mov eax, dword [r14 + rdi*4]
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r12d, dword [rbx + 0x20]
xor ebp, ebp
add r12, rsi
cmp dword [rbx + 0x18], ebp
jbe 0x14006e46e
mov edx, dword [r12 + rbp*4]
mov rcx, rdi
add rdx, rsi
call sub.ntdll.dll_strcmp
test eax, eax
je 0x14006e451
inc ebp
cmp ebp, dword [rbx + 0x18]
jae 0x14006e46e
jmp 0x14006e435
movzx eax, word [r15 + rbp*2]
mov eax, dword [r14 + rax*4]
jmp 0x14006e406
lea rcx, [0x1400b591a]
call fcn.14006b724
call fcn.14006f128
int3
lea rcx, [0x1400b5996]
call fcn.14006b724
call fcn.14006f128
int3

Function at 0x14006e594
Capabilities:
Enumerate processes

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, 0x150
and dword [rcx], 0
xor edx, edx
mov r15, rcx
mov dword [rsp + 0x20], 0x130
xor r14d, r14d
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14006e68e
lea rdx, [rsp + 0x20]
mov rcx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x14006e6a8
lea rdx, [rsp + 0x20]
mov rcx, rbx
inc r14d
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x14006e5f1
mov eax, r14d
imul rcx, rax, 0x130
call fcn.14006b038
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov r12, rax
xor ebp, ebp
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x14006e6c2
mov eax, ebp
lea rsi, [rsp + 0x20]
imul rdi, rax, 0x130
inc ebp
mov ecx, 0x130
add rdi, r12
rep movsb byte [rdi], byte [rsi]
cmp ebp, r14d
jae 0x14006e65e
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x14006e62e
mov rcx, rbx
call fcn.14000a3c4
lea r11, [rsp + 0x150]
mov dword [r15], ebp
mov rbx, qword [r11 + 0x20]
mov rax, r12
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x1400b573e]
call fcn.14006b724
call fcn.14006f128
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x1400b5780]
call fcn.14006b724
call fcn.14006f128
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x1400b57c2]
call fcn.14006b724
call fcn.14006f128
int3
Function at 0x4157a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41592b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [0x00738198]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00432220
xorps xmm15, xmm15
mov r14, qword [0x007c9bf0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x415805
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x415814
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x415833
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x415843
cmp rbx, 0x1000
jae 0x41580b
jmp 0x4158ad
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x415855
xor edx, edx
jmp 0x4158a4
mov rcx, qword [0x00738198]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00432220
xorps xmm15, xmm15
mov r14, qword [0x007c9bf0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x415839
jmp 0x415828
call fcn.00463e00
xorps xmm15, xmm15
mov r14, qword [0x007c9bf0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.004362c0
lea rax, [0x004a9a4a]
mov ebx, 0x18
nop dword [rax]
call fcn.00436b40
mov rax, qword [rsp + 0x38]
call fcn.00436880
lea rax, [0x004a9d41]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00436b40
mov rax, qword [rsp + 0x30]
call fcn.00436880
call fcn.00436500
call fcn.00436320
lea rax, [0x004ab80a]
mov ebx, 0x21
call fcn.00434820
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004606e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004157a0
Function at 0x415960
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x415b86
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [0x007381a0]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.004322a0
xorps xmm15, xmm15
mov r14, qword [0x007c9bf0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x4159d3
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x4159e2
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x415a05
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x415a15
cmp rbx, 0x1000
jae 0x4159d9
nop
jmp 0x415a98
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x415a2d
xor esi, esi
jmp 0x415a8a
mov rax, qword [0x007381a0]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.004322a0
xorps xmm15, xmm15
mov r14, qword [0x007c9bf0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x415a0b
jmp 0x4159f6
call fcn.00463e00
xorps xmm15, xmm15
mov r14, qword [0x007c9bf0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x415b20
nop dword [rax + rax]
call fcn.004362c0
lea rax, [0x004a9d5a]
mov ebx, 0x19
call fcn.00436b40
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.00436880
lea rax, [0x004a9d41]
mov ebx, 0x19
call fcn.00436b40
mov eax, dword [rsp + 0x34]
call fcn.00436880
nop
call fcn.00436500
call fcn.00436320
lea rax, [0x004a722d]
mov ebx, 0xd
call fcn.00434820
nop dword [rax + rax]
cmp eax, 0x5af
je 0x415ac0
call fcn.004362c0
lea rax, [0x004a9d5a]
mov ebx, 0x19
call fcn.00436b40
mov rax, qword [rsp + 0x38]
call fcn.00436880
lea rax, [0x004a9d41]
mov ebx, 0x19
call fcn.00436b40
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.00436880
call fcn.00436500
call fcn.00436320
lea rax, [0x004ab16f]
mov ebx, 0x1f
nop dword [rax + rax]
call fcn.00434820
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004606e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.00415960