joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415ea0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x66c
mov eax, dword [0x467040]
xor eax, esp
mov dword [esp + 0x664], eax
push esi
push edi
push edx
mov edi, ecx
lea eax, [esp + 0x25c]
push edi
push 0x452d08
push 0x104
push eax
call fcn.00415b80
add esp, 0x14
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x415f33
nop
lea eax, [esp + 0x34]
push eax
push edi
push str._s_s
lea eax, [esp + 0x46c]
push 0x104
push eax
call fcn.00415b80
add esp, 0x14
lea ecx, [esp + 0x460]
call fcn.00415d80
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x415ef0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword ds:[esp + 0x66c]
pop edi
pop esi
xor ecx, esp
call fcn.00444aa0
add esp, 0x66c
ret

Function at 0x415f60
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x66c
mov eax, dword [0x467040]
xor eax, esp
mov dword [esp + 0x664], eax
push esi
push edi
push edx
mov edi, ecx
lea eax, [esp + 0x25c]
push edi
push 0x452d08
push 0x104
push eax
call fcn.00415b80
add esp, 0x10
lea ecx, [esp + 0x25c]
call fcn.00415bc0
add esp, 4
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x41602b
lea eax, ds:[esp + 0x34]
push eax
push edi
push str._s_s
lea eax, [esp + 0x46c]
push 0x104
push eax
call fcn.00415b80
add esp, 0x10
lea ecx, [esp + 0x464]
call fcn.00415bc0
add esp, 4
test byte [esp + 8], 1
je 0x416013
lea eax, [esp + 0x460]
push eax
push str.____Macro_file:__s_is_marked_as_read_only._Ban_the_player._n
call fcn.00403b00
add esp, 8
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop
test eax, eax
jne 0x415fc5
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x66c]
pop edi
pop esi
xor ecx, esp
call fcn.00444aa0
add esp, 0x66c
ret
Function at 0x417860
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [esp + 0xc]
mov ecx, 0
sub esi, edi
je 0x417891
lfence
nop dword [eax + eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x417880
pop edi
mov eax, edx
pop esi
ret 8

Function at 0x418860
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447ae7
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x467040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea ecx, [edi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
mov byte [ebp - 4], 2
mov dword [edi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x58], esi
mov dword [edi + 0x60], edx
mov byte [edi + 0x64], 0
mov dword [edi + 0x68], eax
test byte [esi + 8], 8
je 0x418949
nop dword [eax]
test dl, 0x10
jne 0x418949
mov al, 1
jmp 0x41894b
xor al, al
mov byte ds:[edi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x70], eax
mov ebx, dword [ecx + 4]
mov edx, ebx
mov esi, dword [esi + 0x18]
sar edx, 3
cmp esi, edx
jae 0x418970
lea eax, [esi*8]
mov dword [ecx + 4], eax
jmp 0x4189a3
jbe 0x4189a3
mov eax, dword [ecx + 8]
sar eax, 3
cmp esi, eax
jbe 0x418988
push ecx
push esi
lfence
call fcn.0041a740
jmp 0x4189a3
sub esi, edx
je 0x4189a0
shl esi, 3
push esi
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [edi + 0x40]
add ebx, esi
mov dword [ecx + 4], ebx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x420b80
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x30
mov eax, dword [0x467040]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x38]
push esi
push edi
mov edi, 0xffff
mov esi, ecx
cmp di, bx
jne 0x420bbb
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00444aa0
add esp, 0x30
ret 4
mov eax, dword [esi + 0x20]
push ebp
mov ecx, dword [eax]
test ecx, ecx
je 0x420bfb
mov edx, dword [esi + 0x30]
mov ebp, dword [edx]
lea eax, [ecx + ebp*2]
cmp ecx, eax
jae 0x420bfb
lea ecx, [ebp - 1]
mov ax, bx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop ebp
pop edi
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], bx
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00444aa0
add esp, 0x30
ret 4
cmp dword ds:[esi + 0x4c], 0
je 0x420ce0
mov ebp, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [ebp], eax
jne 0x420c28
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [ebp], ecx
mov eax, dword [esi + 0x1c]
sar edx, 1
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x420c35
push dword [esi + 0x4c]
push ebx
jmp 0x420c7c
lea eax, ds:[esp + 0x14]
mov word [esp + 0x10], bx
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x22]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_wchar_t__char__struct__Mbstatet_::out_struct__Mbstatet___wchar_t_const___wchar_t_const___wchar_t_const____char___char___char___const]
sub eax, 0
je 0x420cab
sub eax, 1
je 0x420cab
sub eax, 2
jne 0x420ce0
push dword [esi + 0x4c]
push dword [esp + 0x14]
nop dword [eax]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
add esp, 8
movzx ecx, bx
cmp ax, di
cmove ecx, edi
pop ebp
pop edi
pop esi
mov ax, cx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00444aa0
add esp, 0x30
ret 4
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x1c]
sub ebp, eax
je 0x420cce
lfence
push dword [esi + 0x4c]
push ebp
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp ebp, eax
jne 0x420ce0
lea ecx, [esp + 0x10]
movzx eax, bx
cmp dword [esp + 0x18], ecx
mov byte [esi + 0x3e], 1
cmovne edi, eax
mov ecx, dword [esp + 0x3c]
mov ax, di
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00444aa0
add esp, 0x30
ret 4

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

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [esp + 0xc]
mov ecx, 0
sub esi, edi
sar esi, 1
add esi, esi
je 0x420f71
lfence
nop
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x420f60
pop edi
mov eax, edx
pop esi
ret 8
Function at 0x4212c0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x28
mov eax, dword [0x467040]
xor eax, esp
mov dword [esp + 0x24], eax
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x42139e
cmp byte ds:[edi + 0x3e], 0
je 0x42139e
mov eax, dword [edi]
push esi
push 0xffff
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x44b694]
mov ecx, edi
call esi
mov ecx, 0xffff
cmp cx, ax
je 0x42138b
mov ecx, dword [edi + 0x38]
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [edi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x42134c
sub eax, 1
je 0x421350
sub eax, 2
jne 0x42138b
mov byte [edi + 0x3e], al
mov al, 1
pop esi
pop edi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00444aa0
add esp, 0x28
ret
mov byte [edi + 0x3e], 0
mov esi, dword [esp + 8]
lea eax, [esp + 0xc]
sub esi, eax
je 0x421373
lfence
push dword [edi + 0x4c]
push esi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x42138b
cmp byte [edi + 0x3e], 0
pop esi
sete al
pop edi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00444aa0
add esp, 0x28
ret
pop esi
xor al, al
pop edi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00444aa0
add esp, 0x28
ret
mov ecx, dword [esp + 0x28]
mov al, 1
pop edi
xor ecx, esp
call fcn.00444aa0
add esp, 0x28
ret
Function at 0x421580
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448095
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x467040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, edx
cmp dword [edx + 0x14], 7
mov eax, dword [edx + 0x10]
jbe 0x4215ba
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add eax, eax
je 0x4215db
mov edx, eax
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x4215c7
mov edx, dword [ebp + 0xc]
push esi
push edx
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.00409180
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x42160c
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0x7ffffff
jne 0x421626
push str.unordered_map_set_too_long
nop word [eax + eax]
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, ds:[ebx + 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
push 0x20
mov dword [ebp - 0x18], 0
call fcn.00444ab3
add esp, 4
mov edi, eax
mov dword [ebp - 0x18], edi
push dword [ebp + 0xc]
lea ecx, [edi + 8]
call fcn.004057e0
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x1c]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movd xmm1, ecx
addsd xmm0, qword [eax*8 + 0x45c2f0]
cvtdq2pd xmm1, xmm1
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x45c2f0]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x4216f9
divss xmm0, xmm3
call fcn.00403a80
call fcn.00445c50
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x4216d7
cmp eax, 0x200
jae 0x4216d5
shl eax, 3
cmp eax, ecx
jae 0x4216d7
mov eax, ecx
push eax
mov ecx, ebx
call fcn.00408d20
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00409180
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
jmp 0x4216fc
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x421724
mov dword [ecx + eax*8], edi
jmp 0x421736
cmp esi, edx
jne 0x42172d
mov dword [ecx + eax*8], edi
jmp 0x42173a
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x42173a
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x430ae0
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x1c
mov eax, dword [0x467040]
xor eax, esp
mov dword [esp + 0x14], eax
lea eax, [esp]
xorps xmm0, xmm0
push eax
push 0x28
movups xmmword [esp + 0xc], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [esp + 8]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push 0
push 0
push 0x10
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 1
push eax
push 0
push dword [esp + 0x14]
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [esp]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00444aa0
add esp, 0x1c
ret
Function at 0x4347a0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x420
mov eax, dword [0x467040]
xor eax, esp
mov dword [esp + 0x41c], eax
push ebp
push edi
mov edi, dword [esp + 0x42c]
mov eax, ecx
push eax
mov dword [esp + 0xc], eax
mov ebp, edx
lea eax, [esp + 0x28]
push 0x400
push eax
mov dword [edi], 0
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
add esp, 0xc
test eax, eax
je 0x434954
push ebx
push esi
nop word [eax + eax]
lea eax, ds:[esp + 0x2c]
push str.Rename:
push eax
call dword [sym.imp.VCRUNTIME140.dll_strstr]
add esp, 8
test eax, eax
je 0x434933
mov eax, dword ds:[edi]
lea eax, [eax*4 + 4]
push eax
push dword [ebp]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
add esp, 8
test eax, eax
je 0x43496c
push 0x800
mov dword [ebp], eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [ebp]
add esp, 4
mov edx, dword [edi]
mov dword [ecx + edx*4], eax
mov ecx, dword [edi]
mov eax, dword [ebp]
cmp dword [eax + ecx*4], 0
je 0x43496c
xorps xmm0, xmm0
lea eax, [esp + 0x2c]
movups xmmword [esp + 0x14], xmm0
mov esi, 1
mov dword [esp + 0x14], eax
movq qword [esp + 0x24], xmm0
mov eax, dword ds:[esp + esi*4 + 0x10]
inc eax
push 0x2c
push eax
call dword [sym.imp.VCRUNTIME140.dll_strchr]
add esp, 8
mov dword [esp + esi*4 + 0x14], eax
test eax, eax
je 0x434897
inc esi
cmp esi, 6
jl 0x434874
mov ebx, dword ds:[esp + 0x28]
test ebx, ebx
je 0x434933
mov ecx, dword [edi]
mov eax, ebx
sub eax, dword [esp + 0x24]
inc eax
push eax
lea eax, [ebx + 2]
push eax
mov eax, dword [ebp]
push 0x400
push dword [eax + ecx*4]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov ecx, dword ds:[edi]
add esp, 0x10
mov eax, dword [ebp]
mov eax, dword [eax + ecx*4]
sub eax, dword [esp + 0x24]
mov byte [eax + ebx], 0
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x434933
mov esi, dword [esp + 0x18]
test esi, esi
je 0x4348f3
mov eax, ebx
sub eax, esi
dec eax
jmp 0x4348f5
xor eax, eax
lea ecx, [esi + 1]
test esi, esi
jne 0x434901
mov ecx, 0x4579b8
push eax
mov eax, dword [ebp]
push ecx
mov ecx, dword [edi]
push 0x400
mov eax, dword [eax + ecx*4]
add eax, 0x400
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov ecx, dword [edi]
add esp, 0x10
mov eax, dword [ebp]
mov eax, dword [eax + ecx*4]
sub eax, esi
mov byte [eax + ebx + 0x3ff], 0
inc dword [edi]
push dword [esp + 0x10]
lea eax, [esp + 0x30]
push 0x400
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
add esp, 0xc
test eax, eax
jne 0x4347f0
pop esi
pop ebx
mov ecx, dword ds:[esp + 0x424]
pop edi
pop ebp
xor ecx, esp
call fcn.00444aa0
add esp, 0x420
ret
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x434c60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x467040]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov edi, eax
mov esi, edx
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov ecx, 0x2710
mov eax, esi
mul ecx
mov esi, eax
mov eax, edi
mul ecx
mov ecx, dword [esp + 0x30]
add esi, edx
mov edx, dword [esp + 0x2c]
sub edx, eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], edx
sbb ecx, esi
push eax
mov dword [esp + 0x24], ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push 0x458d5c
lea eax, [esp + 0x28]
push 0x458de4
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
add esp, 0xc
test eax, eax
jne 0x434de9
push 0x458d5c
lea eax, [esp + 0x2c]
push 0x458dcc
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
add esp, 0xc
test eax, eax
jne 0x434de9
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
call fcn.004347a0
mov ecx, dword ds:[esp + 0x2c]
lea eax, [esp + 0x30]
add esp, 4
lea edx, [esp + 0x18]
push eax
call fcn.004347a0
mov edi, dword ds:[esp + 0x1c]
add esp, 4
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x30]
push ebx
push edi
call fcn.00434980
xor esi, esi
add esp, 0xc
cmp dword [esp + 0x14], esi
jle 0x434d8b
mov edi, dword [esp + 0x10]
push dword [edi + esi*4]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
inc esi
add esp, 4
cmp esi, dword [esp + 0x14]
jl 0x434d74
mov edi, dword [esp + 0x18]
push dword [esp + 0x10]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor esi, esi
test ebx, ebx
jle 0x434db1
nop
push dword [edi + esi*4]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
inc esi
add esp, 4
cmp esi, ebx
jl 0x434da0
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
push dword [esp + 0x24]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
push dword [esp + 0x28]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ecx, dword ds:[esp + 0x58]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00444aa0
mov esp, ebp
pop ebp
ret
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x435b40
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448f76
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x467040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], 0
test cl, cl
jne 0x435ba7
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 3
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov edx, str._NTFS_Scanner__Running_checks_to_detect_usn_journal_cleared..._n
call fcn.00408320
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 7
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov dword [ebp - 4], 0
xor eax, eax
xor esi, esi
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x40], 1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x30], eax
xor edi, edi
mov edx, 1
mov ecx, edi
shl edx, cl
test eax, edx
je 0x435c96
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 0x4565e8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.004063e0
lea eax, [edi + 0x41]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00410120
push 0x44cb94
lea ecx, [ebp - 0x28]
call fcn.00408140
lea eax, [ebp - 0x28]
push eax
cmp esi, dword [ebp - 0x2c]
je 0x435c42
mov ecx, esi
call fcn.004057e0
add esi, 0x18
mov dword [ebp - 0x38], esi
jmp 0x435c54
push esi
lea ecx, [ebp - 0x3c]
call fcn.0040aa80
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
mov byte ds:[ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x435c93
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x435c89
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435d08
push ecx
push edx
call fcn.00444ae8
add esp, 8
mov eax, dword [ebp - 0x30]
inc edi
cmp edi, 0x1a
jl 0x435bd4
mov edi, dword [ebp - 0x3c]
cmp edi, esi
je 0x435cbe
mov ecx, edi
call fcn.00435920
add edi, 0x18
cmp edi, esi
jne 0x435cb0
mov edi, dword [ebp - 0x3c]
test edi, edi
je 0x435d18
push ecx
mov edx, esi
mov ecx, edi
call fcn.0040aa00
mov ecx, dword [ebp - 0x2c]
mov eax, 0x2aaaaaab
sub ecx, edi
add esp, 4
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 3
cmp ecx, 0x1000
jb 0x435d0e
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x435d0e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.00444ae8
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00444aa0
mov esp, ebp
pop ebp
ret
Function at 0x437800
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [0x467040]
xor eax, esp
mov dword [esp + 0x44], eax
push 0x40
lea eax, [esp + 4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp], 0x40
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 8]
xor ecx, esp
mov edx, dword [esp + 0xc]
call fcn.00444aa0
mov esp, ebp
pop ebp
ret

Function at 0x437860
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x110c
call fcn.00445a10
mov eax, dword [0x467040]
xor eax, esp
mov dword [esp + 0x1108], eax
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x10]
mov ebp, ecx
push eax
push 0x1000
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x4378f9
mov ebx, dword [esp + 0x10]
xor esi, esi
shr ebx, 2
test ebx, ebx
je 0x4378f9
push dword [esp + esi*4 + 0x14]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4378f4
push 0x104
lea eax, [esp + 0x1018]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameA]
test eax, eax
je 0x4378ed
lea eax, ds:[esp + 0x1014]
push ebp
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
je 0x437914
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, ebx
jb 0x4378a4
xor al, al
mov ecx, dword [esp + 0x1118]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00444aa0
add esp, 0x110c
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x4378fb

Function at 0x439ee0
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x110c
call fcn.00445a10
mov eax, dword [0x467040]
xor eax, esp
mov dword [esp + 0x1108], eax
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x10]
push eax
push 0x1000
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x439fab
mov ebx, dword [esp + 0x10]
xor esi, esi
shr ebx, 2
test ebx, ebx
je 0x439fab
mov ebp, dword [esp + 0x1120]
push dword ds:[esp + esi*4 + 0x14]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x439fa6
push 0x104
lea eax, [esp + 0x1018]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameA]
test eax, eax
je 0x439f9c
mov eax, ebp
lea ecx, [esp + 0x1014]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x439f93
test dl, dl
je 0x439f8f
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x439f93
add ecx, 2
add eax, 2
test dl, dl
jne 0x439f73
xor eax, eax
jmp 0x439f98
sbb eax, eax
or eax, 1
test eax, eax
je 0x439fc8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, ebx
jb 0x439f31
xor al, al
mov ecx, dword [esp + 0x1118]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00444aa0
add esp, 0x110c
ret 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x439fad