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

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d3c20
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d3542
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f6108]
test eax, eax
je 0x2fc4d35da
lea rax, [0x2fc4f60e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f6110]
mov qword [rbp - 8], rax
jmp 0x2fc4d35be
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d35b2
cmp qword [rbp - 0x10], 0
je 0x2fc4d35b2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d3578
lea rax, [0x2fc4f60e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d35db
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d36e0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d3708
mov eax, 0
jmp 0x2fc4d3756
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d3731
mov eax, 0
jmp 0x2fc4d3756
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d3751
mov eax, 0
jmp 0x2fc4d3756
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d375c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d37da
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d37d1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d37d1
mov rax, qword [rbp - 8]
jmp 0x2fc4d37ef
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d37a4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x40eae0
Capabilities:
Enumerate gui resources

Disassembly:
push rbp
mov ecx, 0x70
mov edx, 1
mov rbp, rsp
push rdi
push rsi
push rbx
lea rsi, str.7eff141e576f58846c92843c10845dfff58c9d20ab149f9884ad98840f98949c13d47c98943c98845dff5e354a85ab149c13842f988485140000010086951404a66f98e5024c38845dfff58c9d20ab149f9884851440a69c13d42e988401ce38845dff652a5b0f865e57ecff94c0470c585dff16475a99ab149f98842e98c4851401a67c98845dff0efdf0aeab141c98840cff842c98840cff840c13d49c13d40505e514a0a65dff00b60892ab14950000101086ae98c45dff706277c4ab141f98c44e98944514dd9568800d700020cb945e98940000100ace18846e9894651400002333f5233777eb94d5ffffffb49e21b884a59514850eff251402ce3884a51495148514a595e585140d108485148840b8140d1094c104b84484c0b814660d10944204b844858d571d93548042c430c41f570e831c1014d09c1c14ca0c13846d10848843b8149cff849c13d4653e8184b8050d10940204b8440d108476470c58840000008808b80000002758f020b0818718660d1084c324b815140225b88425de2e1c1014d09c1c1402c220c716c3ca0c13849c13d40527b884a4a47bf0840225b8848125b8840625b8845665152d13842505141514000000cc8e0f4e3884cf
and rsp, 0xfffffffffffffff0
sub rsp, 0x3b0
lea rbx, [rsp + 0x20]
mov rdi, rbx
rep movsq qword [rdi], qword [rsi]
mov ecx, 0x1c1
movzx eax, word [rsi]
mov word [rdi], ax
movzx eax, byte [0x004103aa]
mov byte [rdi + 2], al
call sub.msvcrt.dll_calloc
test rax, rax
je 0x40eba5
mov rdx, rax
mov rcx, rbx
mov rsi, rax
call fcn.0040ea20
xor r8d, r8d
xor edx, edx
mov ecx, 0x40000
call qword [sym.imp.KERNEL32.dll_HeapCreate]
xor edx, edx
mov r8d, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x40eb90
mov rdx, rsi
mov r8d, 0x1c1
mov rcx, rax
call sub.msvcrt.dll_memmove
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_EnumWindows]
lea rsp, [rbp - 0x18]
pop rbx
pop rsi
pop rdi
pop rbp
ret
lea rcx, str.HeapAlloc_error
call fcn.0040ea80
lea rsp, [rbp - 0x18]
pop rbx
pop rsi
pop rdi
pop rbp
ret
lea rcx, str.malloc_error
call fcn.0040ea80
lea rsp, [rbp - 0x18]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x140025530
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x360
mov rax, qword [0x1401c73e8]
xor rax, rsp
mov qword [rsp + 0x350], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
xor r9d, r9d
lea r8d, [r9 + 0x2c]
lea rdx, [rsp + 0x140]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x140025611
call fcn.1400595a0
mov r8d, 2
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140059480
lea rax, str...includesNGIUtils.cpp
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0x33
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140026620
lea rdx, str.Failed_to_get_common_files_dir
lea rcx, [rsp + 0x40]
call fcn.140026650
lea rcx, [rsp + 0xd8]
call fcn.14005be70
nop
lea rax, vtable.std::ios_base.0
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0xd8]
call fcn.1400fa82c
nop
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 7
mov word [rbx], ax
xor r8d, r8d
lea rdx, [0x140194f20]
mov rcx, rbx
call fcn.140028220
jmp 0x140025679
lea rax, str.McAfeeNGI
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0xa
lea rax, [rsp + 0x140]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x140]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x140025642
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm1
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14005a580
mov rax, rbx
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.140122510
add rsp, 0x360
pop rbx
ret
Function at 0x140034980
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x1401c73e8]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
mov qword [rsp + 0x28], rax
cmp rax, 0xffffffffffffffff
jne 0x1400349fe
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 7
mov word [rbx], ax
xor r8d, r8d
lea rdx, [0x140194f20]
mov rcx, rbx
call fcn.140028220
nop
jmp 0x140034af7
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x34]
call fcn.140124d50
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x140034a4d
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 7
mov word [rbx], ax
xor r8d, r8d
lea rdx, [0x140194f20]
jmp 0x140034ae0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
mov ebp, 0xffffffff
cmp dword [rsp + 0x38], eax
je 0x140034a78
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x140034a7c
cmp dword [rsp + 0x38], esi
jne 0x140034a60
mov ebp, dword [rsp + 0x50]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140034a2a
nop
cmp dword [rsp + 0x38], ebp
je 0x140034aaa
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140034a90
jmp 0x140034a2a
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 7
mov word [rbx], ax
lea rax, [rsp + 0x5c]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140034ad0
lea rdx, [rsp + 0x5c]
mov rcx, rbx
call fcn.140028220
nop
test rdi, rdi
je 0x140034af7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140122510
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140036480
Capabilities:
Delete directory
Move file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x1401c73e8]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, rcx
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
lea rdi, [0x1401e0d18]
mov eax, dword [rdx + rcx]
cmp dword [0x1401e0d14], eax
jle 0x140036531
lea rcx, [0x1401e0d14]
call fcn.140122750
cmp dword [0x1401e0d14], 0xffffffff
jne 0x140036531
mov qword [0x1401e0d18], 0
movdqa xmm0, xmmword [0x1401a4080]
movdqu xmmword [0x1401e0d28], xmm0
mov r8d, 7
lea rdx, str.mcafee
mov rcx, rdi
call fcn.140028220
lea rcx, [0x140169000]
call fcn.140122aa0
nop
lea rcx, [0x1401e0d14]
call fcn.1401226f0
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14005acd0
nop
cmp qword [rax + 0x18], 8
jb 0x140036549
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14005a2a0
nop
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14005acd0
nop
lea rcx, [rsp + 0x20]
call fcn.1400285b0
nop
lea rcx, [rsp + 0x40]
call fcn.1400285b0
mov rcx, qword [rsp + 0x70]
mov r9, qword [0x1401e0d28]
cmp rcx, r9
jb 0x14003664e
lea rax, [rsp + 0x60]
mov rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x78]
cmp r8, 8
cmovae rax, rdx
lea rbx, [rax + rcx*2]
mov r15, rdi
cmp qword [0x1401e0d30], 8
cmovae r15, qword [0x1401e0d18]
cmovae rdi, qword [0x1401e0d18]
lea rax, [rdi + r9*2]
mov rcx, rax
sub rcx, r15
sar rcx, 1
movabs r9, 0x8000000000000000
cmp rcx, r9
je 0x14003669f
cmp rax, r15
je 0x140036620
lea rdi, [rax - 2]
sub rbx, rax
mov r14, rdi
movzx esi, word [rdi]
movzx ecx, word [rdi + rbx]
call fcn.140129a40
mov ebp, eax
mov ecx, esi
call fcn.140129a40
cmp eax, ebp
jne 0x14003664e
sub rdi, 2
cmp r14, r15
jne 0x1400365f1
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
cmp r8, 8
cmovae rcx, rdx
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyW]
lea rcx, [rsp + 0x60]
test eax, eax
je 0x140036685
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea rcx, [rsp + 0x60]
call fcn.1400285b0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140122510
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
xor edx, edx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x14003664e
call fcn.1401297c0
int3
Function at 0x1400452c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, rdx
xor ecx, ecx
xor ebp, ebp
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movzx r9d, bp
lea rdx, str.ASSETS
mov rcx, rax
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
mov rsi, rax
test rax, rax
je 0x140045357
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140045357
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140045357
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x140045357
mov eax, eax
mov qword [rdi + 0x10], rax
mov al, 1
mov qword [rdi + 8], rbx
mov qword [rdi + 0x18], rbp
jmp 0x140045359
xor al, al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140047330
Capabilities:
Create thread
Resume thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x38
mov rbx, rdx
mov rdi, rcx
lea rdx, [0x140182ec8]
mov ecx, 0x48
mov rbp, r9
mov rsi, r8
call fcn.140122ba0
test rax, rax
je 0x140047376
mov r9, rbp
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call fcn.1400471d0
mov rsi, rax
test rax, rax
jne 0x14004738f
jmp 0x140047378
xor esi, esi
mov rcx, qword [rbx]
lea rdx, str.Memory_error
call fcn.14009fce0
mov rcx, qword [rbx]
call fcn.1400a40f0
lea rax, [rdi + 0x10]
mov r9, rsi
lea r8, [0x1400473f0]
mov dword [rax], 0
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 8], rax
test rax, rax
jne 0x1400473de
mov rcx, qword [rbx]
lea rdx, str.Thread_creation_failed
call fcn.14009fce0
mov rcx, qword [rbx]
call fcn.1400a40f0
mov rax, qword [rdi + 8]
mov rcx, rax
add rsp, 0x38
pop rdi
pop rsi
pop rbp
pop rbx
jmp qword [sym.imp.KERNEL32.dll_ResumeThread]
Function at 0x14004d940
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1401c73e8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rdx
mov qword [rsp + 0x20], 0
movdqa xmm0, xmmword [0x1401a4090]
movdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x20], 0
mov r8d, 7
lea rdx, [0x1401997e0]
lea rcx, [rsp + 0x20]
call fcn.140028df0
nop
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x14004d993
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400288b0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rax], 0
lea rcx, [rsp + 0x20]
call fcn.140028ff0
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x40]
call fcn.140028ff0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140122510
add rsp, 0x70
pop rbx
ret

Function at 0x14004da10
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1401c73e8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rdx
mov qword [rsp + 0x20], 0
movdqa xmm0, xmmword [0x1401a4090]
movdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x20], 0
mov r8d, 5
lea rdx, [0x1401997e8]
lea rcx, [rsp + 0x20]
call fcn.140028df0
nop
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x14004da63
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400288b0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rax], 0
lea rcx, [rsp + 0x20]
call fcn.140028ff0
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x40]
call fcn.140028ff0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140122510
add rsp, 0x70
pop rbx
ret

Function at 0x14004dae0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1401c73e8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rdx
mov qword [rsp + 0x20], 0
movdqa xmm0, xmmword [0x1401a4090]
movdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x20], 0
mov r8d, 7
lea rdx, [0x1401997f0]
lea rcx, [rsp + 0x20]
call fcn.140028df0
nop
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x14004db33
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400288b0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rax], 0
lea rcx, [rsp + 0x20]
call fcn.140028ff0
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x40]
call fcn.140028ff0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140122510
add rsp, 0x70
pop rbx
ret
Function at 0x14004dbb0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1401c73e8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rdx
xor edi, edi
mov qword [rsp + 0x20], rdi
movdqa xmm0, xmmword [0x1401a4080]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], di
lea r8d, [rdi + 7]
lea rdx, str.Error:
lea rcx, [rsp + 0x20]
call fcn.140028220
nop
mov r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x14004dc03
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140025c40
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rcx, [rsp + 0x20]
call fcn.1400285b0
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rsp + 0x40]
call fcn.1400285b0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140122510
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret

Function at 0x14004dc90
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1401c73e8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rdx
xor edi, edi
mov qword [rsp + 0x20], rdi
movdqa xmm0, xmmword [0x1401a4080]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], di
lea r8d, [rdi + 5]
lea rdx, str.Log:
lea rcx, [rsp + 0x20]
call fcn.140028220
nop
mov r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x14004dce3
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140025c40
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rcx, [rsp + 0x20]
call fcn.1400285b0
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rsp + 0x40]
call fcn.1400285b0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140122510
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x14004dd70
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1401c73e8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rdx
xor edi, edi
mov qword [rsp + 0x20], rdi
movdqa xmm0, xmmword [0x1401a4080]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], di
lea r8d, [rdi + 7]
lea rdx, str.Debug:
lea rcx, [rsp + 0x20]
call fcn.140028220
nop
mov r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x14004ddc3
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140025c40
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rcx, [rsp + 0x20]
call fcn.1400285b0
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rsp + 0x40]
call fcn.1400285b0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140122510
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret

Function at 0x14004de50
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1401c73e8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rdx
mov qword [rsp + 0x20], 0
movdqa xmm0, xmmword [0x1401a4090]
movdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x20], 0
mov r8d, 8
lea rdx, str.state:_r_n
lea rcx, [rsp + 0x20]
call fcn.140028df0
nop
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x14004dea3
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400288b0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rax], 0
lea rcx, [rsp + 0x20]
call fcn.140028ff0
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x40]
call fcn.140028ff0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140122510
add rsp, 0x70
pop rbx
ret
Function at 0x140054630
Capabilities:
Hash data with md5

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x1401c73e8]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rax, r8
mov rsi, rdx
mov qword [rsp + 0x20], rdx
lea rcx, vtable.CMD5Checksum.0
mov qword [rsp + 0x30], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
xor ebx, ebx
mov qword [r11 - 0x50], rbx
mov dword [r11 - 0x48], 0x67452301
mov dword [r11 - 0x44], 0xefcdab89
mov dword [r11 - 0x40], 0x98badcfe
mov dword [r11 - 0x3c], 0x10325476
mov r8d, r9d
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140057c00
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x30]
call fcn.1400575d0
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x20]
call fcn.140057810
nop
mov qword [rsi], rbx
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 7
mov word [rsi], bx
mov rbx, qword [rsp + 0x20]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rbx + r8*2], 0
jne 0x140054704
mov rdx, rbx
mov rcx, rsi
call fcn.140028220
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140054734
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
mov rax, rsi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140122510
add rsp, 0xb0
pop rdi
pop rsi
pop rbx
ret