joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441a10
Capabilities:
Get mac address on windows

Disassembly:
push 0x5c
mov eax, 0x471167
call fcn.004676d8
mov edi, ecx
mov dword [ebp - 0x54], edi
mov esi, dword [ebp + 8]
and dword [ebp - 0x60], 0
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x64], edi
call dword [sym.imp.infra.dll_public:_void___thiscall_base::Lock::Acquire_void_]
and dword [ebp - 4], 0
lea ebx, [edi + 0x68]
mov eax, dword [ebx]
mov dword [ebp - 0x58], 0x18
cmp eax, dword [ebx + 4]
jne 0x441b72
and dword [ebp - 0x4c], 0
lea eax, [ebp - 0x4c]
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
push eax
push 0
call edi
push dword [ebp - 0x4c]
call fcn.004665c2
mov esi, eax
pop ecx
mov dword [ebp - 0x68], esi
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 1
push eax
push esi
call edi
test eax, eax
jne 0x441b5d
mov word [ebp - 0x30], ax
lea edi, [ebp - 0x2e]
push 7
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
test esi, esi
je 0x441b5d
mov edi, esi
movzx eax, byte [edi + 0x199]
push eax
movzx eax, byte [edi + 0x198]
push eax
movzx eax, byte [edi + 0x197]
push eax
movzx eax, byte [edi + 0x196]
push eax
movzx eax, byte [edi + 0x195]
push eax
movzx eax, byte [edi + 0x194]
push eax
lea eax, [ebp - 0x30]
push str._02X_02X_02X_02X_02X_02X
push eax
call fcn.004420f6
add esp, 0x20
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x48]
push eax
call fcn.00406170
mov byte [ebp - 4], 2
lea eax, [ebp - 0x48]
mov ecx, dword [ebx + 4]
cmp eax, ecx
jae 0x441b1f
cmp dword [ebx], eax
ja 0x441b1f
sub eax, dword [ebx]
cdq
idiv dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
cmp ecx, dword [ebx + 8]
jne 0x441b11
push 1
mov ecx, ebx
call fcn.00423397
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebx + 4]
imul eax, eax, 0x18
add eax, dword [ebx]
test ecx, ecx
je 0x441b3d
jmp 0x441b37
cmp ecx, dword [ebx + 8]
jne 0x441b2d
push 1
mov ecx, ebx
call fcn.00423397
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x441b3d
lea eax, [ebp - 0x48]
push eax
call fcn.00407ea1
push 0x18
pop eax
add dword [ebx + 4], eax
lea ecx, [ebp - 0x48]
push 0
push 1
mov byte [ebp - 4], 1
call fcn.004061ab
mov edi, dword [edi]
test edi, edi
jne 0x441a98
mov byte [ebp - 4], 0
test esi, esi
je 0x441b6c
push esi
call fcn.004665cb
pop ecx
mov edi, dword [ebp - 0x54]
mov esi, dword [ebp - 0x50]
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
push 0x18
cdq
pop ecx
idiv ecx
test eax, eax
jle 0x441b93
push dword [ebx]
mov ecx, esi
call fcn.004086d8
mov dword [ebp - 4], 3
jmp 0x441bb6
and dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
jb 0x441ba8
mov eax, dword [esi]
jmp 0x441baa
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 4], 4
mov ecx, edi
call dword [sym.imp.infra.dll_public:_void___thiscall_base::Lock::Release_void_]
mov eax, esi
call fcn.00467682
ret 8
Function at 0x441bc8
Capabilities:
Get mac address on windows

Disassembly:
push 0x60
mov eax, 0x4711a3
call fcn.004676d8
mov ebx, ecx
mov eax, dword [ebp + 8]
and dword [ebp - 0x68], 0
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.infra.dll_public:_void___thiscall_base::Lock::Acquire_void_]
xor ecx, ecx
lea eax, [ebx + 0x74]
mov dword [ebp - 4], ecx
cmp dword [eax + 0x10], ecx
jne 0x441cef
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x54]
push eax
push ecx
mov dword [ebp - 0x54], ecx
call edi
push dword [ebp - 0x54]
call fcn.004665c2
mov esi, eax
pop ecx
mov dword [ebp - 0x60], esi
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 1
push eax
push esi
mov dword [ebp - 0x58], esi
call edi
test eax, eax
jne 0x441cdd
and dword [ebp - 0x5c], eax
test esi, esi
je 0x441cdd
mov esi, dword [ebp - 0x5c]
cmp esi, 0x10
jge 0x441cda
push 0x40
lea eax, [ebp - 0x50]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x58]
movzx eax, byte [ecx + 0x199]
push eax
movzx eax, byte [ecx + 0x198]
push eax
movzx eax, byte [ecx + 0x197]
push eax
movzx eax, byte [ecx + 0x196]
push eax
movzx eax, byte [ecx + 0x195]
push eax
movzx eax, byte [ecx + 0x194]
push eax
lea eax, [ebp - 0x50]
push str._02X__02X__02X__02X__02X__02X
push eax
call fcn.00442124
add esp, 0x2c
lea ecx, [ebp - 0x50]
call fcn.00405fc5
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebx + 0x74]
call fcn.00413220
mov eax, dword [ebp - 0x58]
inc esi
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
test eax, eax
je 0x441cda
cmp esi, 0x10
jge 0x441cda
mov ecx, 0x481260
call fcn.00405fc5
push eax
push 0x481260
lea ecx, [ebx + 0x74]
call fcn.00413220
jmp 0x441c3c
mov esi, dword [ebp - 0x60]
mov byte [ebp - 4], 0
test esi, esi
je 0x441cec
push esi
call fcn.004665cb
pop ecx
lea eax, [ebx + 0x74]
mov ecx, dword [ebp - 0x64]
push eax
call fcn.004086d8
mov ecx, ebx
mov dword [ebp - 4], 2
call dword [sym.imp.infra.dll_public:_void___thiscall_base::Lock::Release_void_]
mov eax, dword [ebp - 0x64]
call fcn.00467682
ret 4
Function at 0x442aab
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0x248
mov eax, 0x4712f2
call fcn.004676d8
mov edi, ecx
mov dword [ebp - 0x248], edi
xor ebx, ebx
push ebx
push 2
mov dword [ebp - 0x24c], ebx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x442bd5
push 0x22c
lea eax, [ebp - 0x240]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x442bc6
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x238], eax
je 0x442b5d
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Init_bool_]
pop ecx
mov dword [ebp - 0x250], eax
xor eax, eax
lea ecx, [edi + 0x14]
inc eax
lea edx, [ebp - 0x21c]
mov dword [ebp - 4], eax
or ebx, eax
lea eax, [ebp - 0x254]
mov dword [ebp - 0x24c], ebx
push eax
call fcn.00442bdd
mov byte [ebp - 0x241], 1
pop ecx
test al, al
jne 0x442b64
mov byte [ebp - 0x241], 0
or dword [ebp - 4], 0xffffffff
test bl, 1
je 0x442b7b
lea ecx, [ebp - 0x254]
and ebx, 0xfffffffe
call fcn.0041cc4f
cmp byte [ebp - 0x241], 0
je 0x442bb8
push dword [ebp - 0x238]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x442bb2
cmp edi, 0xffffffff
je 0x442bb2
push 0xdead
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x248]
lea eax, [ebp - 0x240]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x442b10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00467682
ret 4
Function at 0x443187
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov ebx, dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov edx, dword [edi + 0x3c]
add eax, 0xfffffefa
sub edx, dword [edi + 0x74]
add eax, ebx
sub edx, dword [edi + 0x6c]
mov dword [ebp - 0xc], edx
cmp dword [edi + 0x6c], eax
jb 0x443226
mov ecx, dword [edi + 0x38]
push ebx
lea eax, [ecx + ebx]
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi + 0x4c]
add esp, 0xc
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
sub dword [edi + 0x5c], ebx
mov edi, ecx
mov dword [ebp - 8], ecx
lea esi, [eax + ecx*2]
lea esi, [esi - 2]
xor ecx, ecx
movzx edx, word [esi]
mov eax, edx
sub eax, ebx
cmp edx, ebx
movzx eax, ax
cmovae ecx, eax
mov word [esi], cx
sub edi, 1
jne 0x4431db
mov edi, dword [ebp - 4]
mov eax, dword [edi + 0x40]
mov edi, ebx
lea esi, [eax + ebx*2]
lea esi, [esi - 2]
xor ecx, ecx
movzx edx, word [esi]
mov eax, edx
sub eax, ebx
cmp edx, ebx
movzx eax, ax
cmovae ecx, eax
mov word [esi], cx
sub edi, 1
jne 0x443202
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
add edx, ebx
mov esi, dword [edi]
cmp dword [esi + 4], 0
je 0x4432e1
mov eax, dword [edi + 0x74]
add eax, dword [edi + 0x6c]
add eax, dword [edi + 0x38]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
cmp eax, edx
mov ecx, eax
cmova ecx, edx
mov dword [ebp - 8], ecx
test ecx, ecx
jne 0x443253
xor eax, eax
jmp 0x4432a4
sub eax, ecx
mov dword [esi + 4], eax
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x443270
mov edx, dword [esi]
push ecx
mov ecx, dword [esi + 0x30]
call fcn.00443d95
jmp 0x443288
cmp eax, 2
jne 0x44328c
mov edx, dword [esi]
test edx, edx
jne 0x44327f
xor eax, eax
jmp 0x443289
push ecx
mov ecx, dword [esi + 0x30]
call fcn.00443b0d
pop ecx
mov dword [esi + 0x30], eax
push dword [ebp - 8]
push dword [esi]
push dword [ebp - 0xc]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 8]
add esp, 0xc
add dword [esi], eax
add dword [esi + 8], eax
add dword [edi + 0x74], eax
cmp dword [edi + 0x74], 3
jb 0x4432cc
mov edx, dword [edi + 0x6c]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x58]
movzx esi, byte [edx + eax]
mov dword [edi + 0x48], esi
movzx eax, byte [edx + eax + 1]
shl esi, cl
xor esi, eax
and esi, dword [edi + 0x54]
mov dword [edi + 0x48], esi
cmp dword [edi + 0x74], 0x106
jae 0x4432e1
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x443198
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x445a96
Capabilities:
Read file via mapping

Disassembly:
push 0xc0
mov eax, 0x4714d0
call fcn.004676d8
mov ebx, ecx
mov dword [ebp - 0xcc], ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc8], ebx
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
push ecx
push 0x80
push 4
push ecx
mov byte [ebp - 4], 1
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 8
push 3
cmovae eax, dword [ebp + 0xc]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x445b31
cmp dword [esi + 0x10], 0
je 0x445b31
cmp dword [esi + 0x14], 8
jb 0x445afe
mov esi, dword [esi]
push esi
push 0xb0
xor esi, esi
push esi
push 4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebx + 4], eax
test eax, eax
je 0x445b2a
push 0xb0
push esi
push esi
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebx], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
cmp dword [ebx], edi
je 0x445be9
push 0xb0
call fcn.00466559
push 0xb0
mov esi, eax
push edi
push esi
mov dword [ebp - 0xc8], esi
call sub.VCRUNTIME140.dll_memset
mov dword [esi + 0x98], edi
add esp, 0x10
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov eax, dword [ebx + 8]
mov dword [ebx + 8], esi
test eax, eax
je 0x445b8b
push 0xb0
push eax
call fcn.00466591
pop ecx
pop ecx
push ecx
push dword [ebx]
mov ecx, dword [ebx + 8]
call fcn.00445a52
mov eax, dword [ebx]
pop ecx
pop ecx
push 9
pop ecx
cmp word [eax], cx
je 0x445be9
push 0xa0
lea eax, [ebp - 0xc4]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
mov dword [ebp - 0x2c], edi
lea esi, [ebp - 0xc4]
mov dword [ebp - 0x28], edi
xor eax, eax
lea edi, [ebp - 0x24]
add esp, 0xc
stosd dword es:[edi], eax
push 0x2c
stosd dword es:[edi], eax
pop ecx
push 9
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov edi, dword [ebx]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx]
pop eax
mov word [ecx], ax
lea ecx, [ebp + 0xc]
call dword [sym.imp.infra.dll_public:_void___thiscall_base::FilePath::destructor_void_]
mov eax, ebx
call fcn.00467682
ret 0x1c
Function at 0x447968
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x46c7b3
call fcn.004676d8
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x447a6b
cmp byte [esi + 0x3e], 0
je 0x447a6b
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 0xc]
movzx eax, ax
cmp di, ax
sete al
test al, al
je 0x4479a9
xor al, al
jmp 0x447a6d
push ecx
push ecx
lea ecx, [ebp - 0x28]
call fcn.00422254
and dword [ebp - 4], 0
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x14]
cmp edi, 0x10
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
cmovae edx, ebx
lea ecx, [ebp - 0x28]
cmovae ecx, ebx
add eax, edx
push eax
push ecx
mov ecx, dword [esi + 0x38]
lea eax, [esi + 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 0x4479f8
sub eax, 1
je 0x4479fc
dec eax
sub eax, 1
je 0x447a59
xor bl, bl
jmp 0x447a5b
mov byte [esi + 0x3e], 0
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ebx, dword [ebp - 0x28]
cmp edi, 0x10
mov ecx, dword [ebp - 0x2c]
cmovae eax, ebx
sub ecx, eax
mov dword [ebp - 0x30], ecx
je 0x447a3b
push dword [esi + 0x4c]
cmp edi, 0x10
lea eax, [ebp - 0x28]
push ecx
cmovae eax, ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov ecx, dword [ebp - 0x30]
add esp, 0x10
cmp ecx, eax
jne 0x4479f4
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x28]
cmp byte [esi + 0x3e], 0
je 0x447a59
test ecx, ecx
jne 0x4479bd
push ecx
push 8
lea ecx, [ebp - 0x28]
call fcn.0040a838
jmp 0x4479b7
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00401c5e
mov al, bl
jmp 0x447a6d
mov al, 1
call fcn.00467682
ret
Function at 0x44838d
Capabilities:
Get file version info

Disassembly:
push 0x224
mov eax, 0x471b03
call fcn.004676d8
mov esi, edx
push 2
xor ebx, ebx
pop edi
mov dword [0x4a0e18], edi
cmp dword [0x4a0e10], ebx
jne 0x4483d4
push 0x18
call fcn.00466559
pop ecx
mov dword [ebp - 0x21c], eax
push esi
mov ecx, eax
mov dword [ebp - 4], ebx
call dword [sym.imp.infra.dll_public:_void___thiscall_base::FilePath::constructor_class_base::FilePath_const__]
or dword [ebp - 4], 0xffffffff
mov dword [0x4a0e10], eax
push fcn.004480b9
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push edi
push ebx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__set_abort_behavior]
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_signal]
mov edi, 0x44818c
push edi
push 0x16
call esi
push edi
push 0xf
call esi
push 0x44821a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler]
push 0x448302
call dword [sym.imp.VCRUNTIME140.dll__set_purecall_handler]
push 0x44825b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__set_new_handler]
xor edi, edi
inc edi
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__set_new_mode]
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x34
lea eax, [ebp - 0x218]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4484ef
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x22c], ebx
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
je 0x4484ef
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
push esi
lea ecx, [ebp - 0x228]
mov dword [ebp - 4], edi
call fcn.00440816
push dword [ebp - 0x228]
lea eax, [ebp - 0x218]
push esi
push ebx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4484e4
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0x481b00
push dword [ebp - 0x228]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4484e4
mov eax, dword [ebp - 0x21c]
mov ax, word [eax + 0xc]
mov word [0x4a0e14], ax
lea ecx, [ebp - 0x228]
call fcn.004051ad
call fcn.00467682
ret
Function at 0x448c79
Capabilities:
Create process memory minidump
Delete file
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x344
mov eax, dword [0x49d01c]
xor eax, esp
mov dword [esp + 0x340], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
cmp dword [ebx + 0x14], 8
jb 0x448ca5
mov eax, dword [ebx]
jmp 0x448ca7
mov eax, ebx
xor edi, edi
push edi
push edi
push 2
push edi
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x448ccc
xor al, al
jmp 0x448d77
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0x14], eax
lea edi, [esp + 0x28]
mov eax, dword [esi]
push 0x14
pop ecx
lea esi, [eax + 0xc]
rep movsd dword es:[edi], dword [esi]
lea esi, [eax + 0x5c]
mov ecx, 0xb3
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push 0
push 0
push ecx
push dword [ebp + 0xc]
push edi
push eax
push esi
call dword [sym.imp.dbghelp.dll_MiniDumpWriteDump]
push 0
push edi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x448d6e
cmp dword [ebx + 0x14], 8
jb 0x448d67
mov ebx, dword [ebx]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
cmp dword [esp + 0x10], eax
setne al
mov ecx, dword [esp + 0x34c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00466548
mov esp, ebp
pop ebp
ret 8
Function at 0x448d8e
Capabilities:
Enumerate process modules

Disassembly:
push 0x28
mov eax, 0x471ca0
call fcn.004676a4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, dword [sym.imp.PSAPI.DLL_EnumProcessModules]
lea ecx, [ebp - 0x14]
push ecx
xor esi, esi
mov dword [ebp - 0x18], eax
push esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], esi
push ecx
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], esi
call edi
mov eax, dword [ebp - 0x14]
xor ecx, ecx
push 4
shr eax, 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004665c2
mov ebx, eax
pop ecx
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x10]
mov dword [ebp - 4], esi
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], esi
push ebx
push dword [ebp - 0x18]
call edi
jmp 0x448e37
xor ecx, ecx
shr eax, 2
push 4
pop edx
mul edx
mov edi, ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004665c2
mov ebx, eax
mov dword [ebp - 0x24], ebx
pop ecx
test edi, edi
je 0x448e1f
push edi
call fcn.004665cb
pop ecx
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
push ecx
push eax
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
ja 0x448df5
test eax, 0xfffffffc
jbe 0x448ed8
mov eax, dword [ebx + esi*4]
lea edi, [ebp - 0x30]
mov dword [ebp - 0x34], eax
xor eax, eax
stosd dword es:[edi], eax
push 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x18]
call dword [sym.imp.PSAPI.DLL_GetModuleInformation]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x34]
mov ecx, dword [eax + 4]
cmp edx, ecx
jae 0x448ea1
cmp dword [eax], edx
ja 0x448ea1
mov edi, edx
sub edi, dword [eax]
cmp ecx, dword [eax + 8]
jne 0x448e8f
push ecx
mov ecx, eax
call fcn.0044993f
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x448ec2
and edi, 0xfffffff0
add edi, dword [eax]
mov esi, edi
mov edi, dword [eax + 4]
jmp 0x448ebb
cmp ecx, dword [eax + 8]
jne 0x448eb1
push ecx
mov ecx, eax
call fcn.0044993f
mov eax, dword [ebp + 8]
mov edi, dword [eax + 4]
test edi, edi
je 0x448ec2
lea esi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x1c]
add dword [eax + 4], 0x10
inc esi
mov eax, dword [ebp - 0x10]
shr eax, 2
mov dword [ebp - 0x1c], esi
cmp esi, eax
jb 0x448e4a
test ebx, ebx
je 0x448ee3
push ebx
call fcn.004665cb
pop ecx
call fcn.0046766d
ret 4
Function at 0x45852e
Capabilities:
Get disk information

Disassembly:
push 0x418
mov eax, 0x4744e2
call fcn.004676d8
mov ebx, ecx
mov dword [ebp - 0x418], ebx
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x414], eax
cmp dword [eax + 0x10], edi
jne 0x45855c
xor al, al
jmp 0x4586a7
lea esi, [ebx + 0x118]
mov ecx, esi
mov dword [ebp - 0x424], esi
call dword [sym.imp.infra.dll_public:_void___thiscall_base::Lock::Acquire_void_]
mov dword [ebp - 4], edi
cmp dword [ebx + 0x134], edi
jne 0x458603
push 0x400
lea eax, [ebp - 0x410]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x410]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp word [ebp - 0x410], 0
lea edi, [ebp - 0x410]
je 0x458603
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x4585de
push dword [ebp - 0x418]
lea eax, [ebp - 0x420]
push edi
push ecx
push eax
lea ecx, [ebx + 0x130]
call fcn.00459017
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x4585e3
sub ecx, edx
sar ecx, 1
lea edi, [edi + ecx*2]
add edi, 2
cmp word [edi], si
jne 0x4585b8
lea esi, [ebx + 0x118]
mov ecx, dword [ebp - 0x414]
mov edi, dword [ebx + 0x130]
cmp dword [ecx + 0x14], 8
jb 0x45861d
mov ecx, dword [ecx]
mov dword [ebp - 0x414], ecx
mov eax, edi
mov dword [ebp - 0x41c], eax
mov ebx, dword [eax + 4]
cmp byte [ebx + 0xd], 0
jne 0x458669
mov esi, dword [ebp - 0x414]
push esi
lea eax, [ebx + 0xe]
push eax
call fcn.00456e7a
test al, al
je 0x45864d
mov ebx, dword [ebx + 8]
mov eax, dword [ebp - 0x41c]
jmp 0x458657
mov eax, ebx
mov ebx, dword [ebx]
mov dword [ebp - 0x41c], eax
cmp byte [ebx + 0xd], 0
je 0x458634
mov esi, dword [ebp - 0x424]
mov ecx, dword [ebp - 0x414]
mov ebx, dword [ebp - 0x418]
cmp eax, dword [ebx + 0x130]
je 0x45868b
add eax, 0xe
push eax
push ecx
call fcn.00456e7a
test al, al
mov eax, dword [ebp - 0x41c]
je 0x458691
mov eax, dword [ebx + 0x130]
cmp eax, edi
setne bl
mov ecx, esi
mov dword [ebp - 4], 1
call dword [sym.imp.infra.dll_public:_void___thiscall_base::Lock::Release_void_]
mov al, bl
call fcn.00467682
ret 4
Function at 0x100014f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.ucrtbase.dll_strlen]
add esp, 4
test eax, eax
je 0x1000153d
mov esi, eax
xor eax, eax
cmp byte [edi + esi - 1], 0xa
je 0x1000151a
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov ecx, 0x100050e4
lock xchg dword [ecx], eax
push 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
add esp, 4
push eax
push esi
push 1
push edi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
jmp 0x1000153f
xor eax, eax
pop esi
pop edi
pop ebp
ret
Function at 0xb97370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xb9738e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xbc0074
push ecx
mov edi, eax
call fcn.00bab198
mov esi, eax
add esp, 8
test esi, esi
jne 0xb973cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00bab02e
push esi
call fcn.00baafb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret