joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f973
Capabilities:
Get networking parameters

Disassembly:
push 0x34
mov eax, 0x4703b4
call fcn.00466ebb
mov esi, ecx
mov dword [ebp - 0x3c], esi
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
push 0x248
mov dword [ebp - 4], eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
jne 0x43f9bf
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
jmp 0x43fa9e
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x248
push eax
push edi
call dword [sym.imp.IPHLPAPI.DLL_GetNetworkParams]
cmp eax, 0x6f
jne 0x43f9f6
push edi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x38]
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x43f9b0
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.IPHLPAPI.DLL_GetNetworkParams]
test eax, eax
jne 0x43fa7b
lea eax, [edi + 0x110]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401a65
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x34]
call fcn.00404e98
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00401c5e
mov eax, dword [edi + 0x10c]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x43fa7b
mov ebx, eax
lea eax, [ebx + 4]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401a65
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x34]
call fcn.00404e98
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00401c5e
mov ebx, dword [ebx]
test ebx, ebx
jne 0x43fa43
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test edi, edi
je 0x43fa8b
push edi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x34]
mov dword [esi], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 8], eax
xor eax, eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
call fcn.00404f87
mov eax, esi
call fcn.00466e65
ret

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

Disassembly:
push esi
mov esi, edx
or edx, 0xffffffff
push edi
mov edi, ecx
test esi, esi
jle 0x440214
movzx eax, byte [edi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x476820]
inc edi
sub esi, 1
jne 0x4401fc
pop edi
mov eax, edx
pop esi
ret
Function at 0x441436
Capabilities:
Check os version

Disassembly:
push 0x550
mov eax, 0x470840
call fcn.00466ebb
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x410]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push 0x400
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x554], 0x114
lea eax, [ebp - 0x554]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x441491
cmp dword [ebp - 0x550], 6
ja 0x441495
jne 0x441491
cmp dword [ebp - 0x54c], 2
jae 0x441495
mov eax, ebx
jmp 0x441498
xor eax, eax
inc eax
mov edx, dword [esi + 0x18]
lea ecx, [ebp - 0x410]
push ecx
push eax
mov ecx, esi
call fcn.00440c99
pop ecx
pop ecx
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, ebx
lea esi, [eax - 1]
test esi, esi
jle 0x4414e8
mov ax, word [ebp + edx - 0x410]
movzx ecx, byte [ebp + edx - 0x40f]
shl ax, 8
or cx, ax
mov word [ebp + edx - 0x410], cx
add edx, 2
cmp edx, esi
jl 0x4414c2
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x428]
call fcn.00401a65
lea eax, [ebp - 0x428]
mov dword [ebp - 4], ebx
push eax
push ecx
push ecx
mov esi, esp
mov eax, 0x481328
push eax
mov dword [esi], eax
call fcn.004010ec
mov dword [esi + 4], eax
lea eax, [ebp - 0x428]
pop ecx
push eax
call dword [sym.imp.infra.dll_bool___cdecl_base::TrimString_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_base::BasicStringPiece_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____]
cmp dword [ebp - 0x414], 0x10
lea eax, [ebp - 0x428]
cmovae eax, dword [ebp - 0x428]
mov dword [ebp - 0x55c], eax
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x558], eax
lea eax, [ebp - 0x55c]
push eax
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.infra.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_base::SysUTF8ToWide_class_base::BasicStringPiece_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____const__]
add esp, 0x18
mov ecx, edi
push eax
call fcn.00407877
push ebx
push 1
lea ecx, [ebp - 0x440]
call fcn.004061ab
push ebx
push 1
lea ecx, [ebp - 0x428]
call fcn.00401c5e
mov al, 1
call fcn.00466e65
ret 8
Function at 0x4419bd
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47095d
mov eax, dword fs:[0]
push eax
mov eax, 0x2040
call fcn.00466e20
mov eax, dword [0x49d01c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
test esi, esi
jne 0x441a03
xor al, al
jmp 0x441b21
push eax
lea eax, [ebp - 0x2038]
push str..PhysicalDrive_d
push eax
call dword [sym.imp.infra.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_base::StringPrintf_wchar_t_const__]
add esp, 0xc
xor edi, edi
lea eax, [ebp - 0x2038]
push edi
push edi
push 3
push edi
mov dword [ebp - 4], edi
cmp dword [ebp - 0x2024], 8
push 3
cmovae eax, dword [ebp - 0x2038]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
lea ecx, [ebp - 0x203c]
mov dword [ebp - 0x203c], edi
call fcn.00442010
mov byte [ebp - 4], 1
push dword [ebp - 0x203c]
call fcn.00440c81
pop ecx
test al, al
je 0x441aff
xor eax, eax
lea edi, [ebp - 0x2020]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov edi, 0x2000
mov dword [ebp - 0x2020], eax
push edi
push eax
mov dword [ebp - 0x201c], eax
mov dword [ebp - 0x2040], eax
lea eax, [ebp - 0x2014]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2040]
push 0
push eax
push edi
lea eax, [ebp - 0x2014]
push eax
push 0xc
lea eax, [ebp - 0x2020]
push eax
push 0x2d1400
push dword [ebp - 0x203c]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x441aff
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x441aff
lea eax, [ebp - 0x2014]
mov dword [ebp - 0x2044], esi
lea edx, [ebp - 0x2044]
mov dword [ebp - 0x2048], eax
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0x2048]
push edx
call dword [eax + 8]
mov bl, al
jmp 0x441b01
mov bl, 1
lea ecx, [ebp - 0x203c]
mov byte [ebp - 4], 3
call fcn.00441fda
push 0
push 1
lea ecx, [ebp - 0x2038]
call fcn.004061ab
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00465d26
mov esp, ebp
pop ebp
ret 0xc
Function at 0x441b3f
Capabilities:
Get mac address on windows

Disassembly:
push 0x5c
mov eax, 0x4709ab
call fcn.00466ebb
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 0x441ca1
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.00465da0
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 0x441c8c
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 0x441c8c
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.00442225
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 0x441c4e
cmp dword [ebx], eax
ja 0x441c4e
sub eax, dword [ebx]
cdq
idiv dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
cmp ecx, dword [ebx + 8]
jne 0x441c40
push 1
mov ecx, ebx
call fcn.00423449
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebx + 4]
imul eax, eax, 0x18
add eax, dword [ebx]
test ecx, ecx
je 0x441c6c
jmp 0x441c66
cmp ecx, dword [ebx + 8]
jne 0x441c5c
push 1
mov ecx, ebx
call fcn.00423449
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x441c6c
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 0x441bc7
mov byte [ebp - 4], 0
test esi, esi
je 0x441c9b
push esi
call fcn.00465da9
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 0x441cc2
push dword [ebx]
mov ecx, esi
call fcn.004086d8
mov dword [ebp - 4], 3
jmp 0x441ce5
and dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
jb 0x441cd7
mov eax, dword [esi]
jmp 0x441cd9
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.00466e65
ret 8
Function at 0x441cf7
Capabilities:
Get mac address on windows

Disassembly:
push 0x60
mov eax, 0x4709e7
call fcn.00466ebb
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 0x441e1e
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.00465da0
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 0x441e0c
and dword [ebp - 0x5c], eax
test esi, esi
je 0x441e0c
mov esi, dword [ebp - 0x5c]
cmp esi, 0x10
jge 0x441e09
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.00442253
add esp, 0x2c
lea ecx, [ebp - 0x50]
call fcn.00405fc5
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebx + 0x74]
call fcn.00413266
mov eax, dword [ebp - 0x58]
inc esi
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
test eax, eax
je 0x441e09
cmp esi, 0x10
jge 0x441e09
mov ecx, 0x481240
call fcn.00405fc5
push eax
push 0x481240
lea ecx, [ebx + 0x74]
call fcn.00413266
jmp 0x441d6b
mov esi, dword [ebp - 0x60]
mov byte [ebp - 4], 0
test esi, esi
je 0x441e1b
push esi
call fcn.00465da9
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.00466e65
ret 4
Function at 0x442bf5
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0x248
mov eax, 0x470b24
call fcn.00466ebb
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 0x442d1f
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 0x442d10
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x238], eax
je 0x442ca7
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.00442d27
mov byte [ebp - 0x241], 1
pop ecx
test al, al
jne 0x442cae
mov byte [ebp - 0x241], 0
or dword [ebp - 4], 0xffffffff
test bl, 1
je 0x442cc5
lea ecx, [ebp - 0x254]
and ebx, 0xfffffffe
call fcn.0041cd01
cmp byte [ebp - 0x241], 0
je 0x442d02
push dword [ebp - 0x238]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x442cfc
cmp edi, 0xffffffff
je 0x442cfc
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 0x442c5a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00466e65
ret 4
Function at 0x4432d1
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 0x443370
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 0x443325
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 0x44334c
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
add edx, ebx
mov esi, dword [edi]
cmp dword [esi + 4], 0
je 0x44342b
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 0x44339d
xor eax, eax
jmp 0x4433ee
sub eax, ecx
mov dword [esi + 4], eax
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x4433ba
mov edx, dword [esi]
push ecx
mov ecx, dword [esi + 0x30]
call fcn.00443edf
jmp 0x4433d2
cmp eax, 2
jne 0x4433d6
mov edx, dword [esi]
test edx, edx
jne 0x4433c9
xor eax, eax
jmp 0x4433d3
push ecx
mov ecx, dword [esi + 0x30]
call fcn.00443c57
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 0x443416
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 0x44342b
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x4432e2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x445be0
Capabilities:
Read file via mapping

Disassembly:
push 0xc0
mov eax, 0x470d02
call fcn.00466ebb
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 0x445c7b
cmp dword [esi + 0x10], 0
je 0x445c7b
cmp dword [esi + 0x14], 8
jb 0x445c48
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 0x445c74
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 0x445d33
push 0xb0
call fcn.00465d37
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 0x445cd5
push 0xb0
push eax
call fcn.00465d6f
pop ecx
pop ecx
push ecx
push dword [ebx]
mov ecx, dword [ebx + 8]
call fcn.00445b9c
mov eax, dword [ebx]
pop ecx
pop ecx
push 9
pop ecx
cmp word [eax], cx
je 0x445d33
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.00466e65
ret 0x1c
Function at 0x447972
Capabilities:
Get file version info

Disassembly:
push 0x224
mov eax, 0x4712cf
call fcn.00466ebb
mov esi, edx
push 2
xor ebx, ebx
pop edi
mov dword [0x4a0e10], edi
cmp dword [0x4a0e14], ebx
jne 0x4479b9
push 0x18
call fcn.00465d37
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 [0x4a0e14], eax
push fcn.0044769e
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, 0x447771
push edi
push 0x16
call esi
push edi
push 0xf
call esi
push 0x4477ff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler]
push 0x4478e7
call dword [sym.imp.VCRUNTIME140.dll__set_purecall_handler]
push 0x447840
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 0x447ad4
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 0x447ad4
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.00440945
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 0x447ac9
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0x481a98
push dword [ebp - 0x228]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x447ac9
mov eax, dword [ebp - 0x21c]
mov ax, word [eax + 0xc]
mov word [0x4a0e18], ax
lea ecx, [ebp - 0x228]
call fcn.004051ad
call fcn.00466e65
ret
Function at 0x44825e
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 0x44828a
mov eax, dword [ebx]
jmp 0x44828c
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 0x4482b1
xor al, al
jmp 0x44835c
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 0x448353
cmp dword [ebx + 0x14], 8
jb 0x44834c
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.00465d26
mov esp, ebp
pop ebp
ret 8