joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f010
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e90b
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x463140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
lea ecx, [ebp - 0x220]
push ecx
push ebx
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x220], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
je 0x41f08b
push esi
call fcn.004375a9
add esp, 4
mov edi, eax
push edi
push esi
xor esi, esi
push esi
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x41f092
push edi
call fcn.00438031
add esp, 4
xor eax, eax
jmp 0x41f245
mov ebx, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x218]
push eax
push 0x457c7c
push edi
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x218], esi
call ebx
test eax, eax
je 0x41f082
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x218]
push edx
push str.VarFileInfoTranslation
push edi
call ebx
test eax, eax
je 0x41f082
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x224]
push ecx
push str.VarFileInfoTranslation
push edi
call ebx
test eax, eax
je 0x41f082
mov eax, dword [ebp - 0x214]
shr eax, 2
cmp eax, 1
jb 0x41f082
mov dword [ebp - 0x258], str.Comments
mov dword [ebp - 0x254], str.CompanyName
mov dword [ebp - 0x250], str.FileDescription
mov dword [ebp - 0x24c], str.FileVersion
mov dword [ebp - 0x248], str.InternalName
mov dword [ebp - 0x244], str.LegalCopyright
mov dword [ebp - 0x240], str.LegalTrademarks
mov dword [ebp - 0x23c], str.OriginalFilename
mov dword [ebp - 0x238], str.ProductName
mov dword [ebp - 0x234], str.ProductVersion
mov dword [ebp - 0x230], str.PrivateBuild
mov dword [ebp - 0x22c], str.SpecialBuild
xor ebx, ebx
lea ebx, [ebx]
mov eax, dword [ebp - 0x224]
movzx edx, word [eax + 2]
mov esi, dword [ebp + ebx*4 - 0x258]
movzx eax, word [eax]
push esi
push edx
push eax
push str.StringFileInfo_04x_04x_s
lea ecx, [ebp - 0x210]
push 0x100
push ecx
call fcn.0043b54e
add esp, 0x18
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x210]
push ecx
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x41f22d
lea edx, [ebp - 0x21c]
push edx
mov ecx, esi
call fcn.00404da4
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x218]
push eax
push ecx
lea ecx, [ebp - 0x21c]
call fcn.00403b35
push eax
call fcn.00404f36
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f22d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc ebx
cmp ebx, 0xc
jb 0x41f180
push edi
call fcn.00438031
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00437608
mov esp, ebp
pop ebp
ret
Function at 0x41f270
Capabilities:
Check if file exists
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e8d8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x463140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41f2b1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
xor esi, esi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x14]
push eax
push 0x451548
push 1
push esi
push 0x451558
mov dword [ebp - 0x14], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x41f3ac
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], esi
mov ecx, dword [eax]
push 0x451568
push eax
mov eax, dword [ecx]
call eax
test eax, eax
js 0x41f3a1
lea ecx, [ebp - 0x10]
push ecx
mov ecx, edi
call fcn.00404da4
push edi
mov dword [ebp - 4], esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x41f33b
mov eax, dword [ebp - 0x10]
cmp dword [eax - 4], 1
jle 0x41f32c
mov edx, dword [eax - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.00404f5f
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea esi, [ebp - 0x10]
call fcn.00406c56
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push edi
push eax
call edx
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
mov ecx, dword [eax]
push 1
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
xor ecx, ecx
test eax, eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
setns cl
push eax
mov eax, dword [edx + 8]
mov esi, ecx
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f3a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41f6a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x463140]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00437620
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x41f705
cmp dword [ebp - 0x114], 6
jb 0x41f705
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00437608
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.00437608
mov esp, ebp
pop ebp
ret
Function at 0x41f820
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f2c9
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x463140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
or eax, ecx
mov dword [ebp - 0x10], 1
jge 0x41f89a
mov eax, 0x104
mov ecx, esi
call fcn.00404fef
mov eax, dword [esi]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x41f8c4
push ecx
push eax
call fcn.00439a48
add esp, 8
test eax, eax
js 0x41f9a5
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x41f9a5
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
lea eax, [ebp - 0x14]
push str.ThinkSkyiTools
push eax
mov ecx, esi
call fcn.004038cf
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, dword [ebp - 0x14]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f91a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41f978
mov eax, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
or eax, ecx
jge 0x41f940
mov eax, 0x104
mov ecx, esi
call fcn.00404fef
mov eax, dword [esi]
push 1
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x41f966
push ecx
push eax
call fcn.00439a48
add esp, 8
test eax, eax
js 0x41f9a5
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x41f9a5
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
push str.ThinkSkyiTools
call fcn.004396d3
add esp, 4
push eax
push str.ThinkSkyiTools
mov eax, esi
call fcn.00406c8a
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004050e3
int3
Function at 0x41fea0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
xor eax, eax
push esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x24]
push eax
mov esi, 1
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ecx, 9
cmp cx, word [ebp - 0x24]
je 0x41fee5
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42a3b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44df88
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x463140]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x463140]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edx, dword [edi]
mov esi, ecx
mov ecx, dword [ebp + 0x10]
push ecx
push eax
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
mov edx, dword [edi]
mov edx, dword [edx + 0x24]
push eax
mov dword [esp + 0x14], eax
push str.text
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call edx
mov dword [esp + 0x50], 0
mov ecx, dword [eax]
mov dword [esi + 0xa4], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0xa8], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0xac], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xb0], edx
mov ecx, dword [eax + 0x10]
mov dword [esi + 0xb4], ecx
mov eax, dword [eax + 0x14]
mov ebx, dword [esi + 0xb8]
lea ecx, [eax - 0x10]
sub ebx, 0x10
cmp ecx, ebx
je 0x42a4aa
jmp loc.004cee28
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42a4d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
mov edx, dword [edi]
mov edx, dword [edx + 0x14]
push eax
push str.size
lea ecx, [esp + 0x38]
push ecx
mov ecx, edi
call edx
mov ecx, dword [eax]
mov dword [esi + 0x2c], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x30], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x34], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x38], edx
mov eax, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00437608
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42a910
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44e3cb
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x463140]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x463140]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebx]
mov edi, ecx
mov ecx, dword [ebp + 0x10]
push ecx
push eax
mov eax, dword [edx + 0xc]
mov ecx, ebx
mov dword [esp + 0x1c], edi
call eax
mov edx, dword [ebx]
mov esi, eax
mov eax, dword [edx + 0x10]
push esi
push 0x4599c4
mov ecx, ebx
mov dword [esp + 0x20], esi
call eax
push esi
mov dword [edi + 0xc], eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x14]
push str.size
lea eax, [esp + 0x3c]
push eax
mov ecx, ebx
call edx
mov ecx, dword [eax]
mov dword [edi + 0x2c], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0x30], edx
mov ecx, dword [eax + 8]
mov dword [edi + 0x34], ecx
mov edx, dword [eax + 0xc]
push esi
mov dword [edi + 0x38], edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x18]
push str.normal
lea ecx, [esp + 0x54]
push ecx
mov ecx, ebx
call edx
mov esi, eax
add edi, 0xa4
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
mov eax, dword [eax + 0x18]
push ecx
push str.grayed
lea edx, [esp + 0x54]
push edx
mov ecx, ebx
call eax
mov edi, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x18]
push eax
add edi, 0xf4
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebx]
mov edx, dword [edx + 0x18]
push str.lighted
lea ecx, [esp + 0x54]
push ecx
mov ecx, ebx
call edx
mov edi, dword [esp + 0x14]
jmp loc.004d1dd0
Function at 0x4359b0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test ecx, ecx
jne 0x4359bb
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
pop ebp
jmp fcn.004359d0
Function at 0x435c90
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, eax
shr edi, 0x10
and ecx, 0xffff
mov esi, edx
cmp ebx, 1
jne 0x435ce0
movzx eax, byte [esi]
add ecx, eax
cmp ecx, 0xfff1
jb 0x435cbe
sub ecx, 0xfff1
add edi, ecx
cmp edi, 0xfff1
jb 0x435eef
sub edi, 0xfff1
mov eax, edi
pop edi
shl eax, 0x10
pop esi
or eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x435cee
pop edi
lea eax, [esi + 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
jmp 0x4c9450
mov eax, edi
pop edi
shl eax, 0x10
pop esi
or eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x437608
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x463140]
jne 0x437612
repz ret
jmp loc.004cc8a8

Function at 0x44646c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x463140]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0043d488
and dword [ebp - 0x14], 0
cmp dword [0x4661fc], 0
mov dword [ebp - 0x18], eax
jne 0x44651f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4465c7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x452e64
push ebx
call edi
test eax, eax
je 0x4465c7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4661fc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x466200], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x466204], eax
call edi
push eax
call esi
mov dword [0x46620c], eax
test eax, eax
je 0x44651f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x466208], eax
mov eax, dword [0x466208]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x446578
cmp dword [0x46620c], ecx
je 0x446578
push eax
call esi
push dword [0x46620c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x446578
test ebx, ebx
je 0x446578
call edi
test eax, eax
je 0x44656f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x44656f
test byte [ebp - 8], 1
jne 0x446578
or dword [ebp + 0x10], 0x200000
jmp 0x4465ab
mov eax, dword [0x466200]
cmp eax, dword [ebp - 0x18]
je 0x4465ab
push eax
call esi
test eax, eax
je 0x4465ab
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4465ab
mov eax, dword [0x466204]
cmp eax, dword [ebp - 0x18]
je 0x4465ab
push eax
call esi
test eax, eax
je 0x4465ab
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4661fc]
call esi
test eax, eax
je 0x4465c7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4465c9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00437608
leave
ret
Function at 0x805d8c
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x805d92
pop ebp
sub ebp, 6
sub ebp, 0x405d8c
jmp 0x805df0
jmp 0x805df9
mov eax, 0x405d8c
add eax, ebp
add eax, 0x93
mov ecx, 0x632
mov edx, 0x3b1e6a9f
xor byte [eax], dl
inc eax
dec ecx
jne 0x805e10
jmp 0x805e23
cmc
fcompi st(7)
lahf
invalid
Function at 0x4659a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x457015
lea edi, [esi - 0x56015]
push edi
or ebp, 0xffffffff
jmp 0x4659c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4659c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4659b8
mov eax, 1
add ebx, ebx
jne 0x4659db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4659d0
jne 0x4659ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4659d0
xor ecx, ecx
sub eax, 3
jb 0x465a00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x465a72
mov ebp, eax
add ebx, ebx
jne 0x465a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x465a18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x465a3c
inc ecx
add ebx, ebx
jne 0x465a28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x465a1d
jne 0x465a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465a1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x465a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x465a4d
jmp 0x4659be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x465a5c
add edi, ecx
jmp 0x4659be
pop esi
mov edi, esi
mov ecx, 0x33e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465a7a
cmp byte [edi], 0
jne 0x465a7a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x465a7f
lea edi, [esi + 0x63000]
mov eax, dword [edi]
or eax, eax
je 0x465aee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x651f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x65254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465aac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x65258]
or eax, eax
je 0x465ae8
mov dword [ebx], eax
add ebx, 4
jmp 0x465ac9
call dword [esi + 0x6525c]
popal
jmp 0x40da18

Function at 0x408907
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, 0x4085d8
call fcn.0040892f
and edi, edi
dec edx
xor dword [ecx], eax
add edx, 0x8b28460f
sub edx, 0x2e49bda8
inc ecx
and edi, edx
mov edx, 0x706198d3
cmp ecx, esi
jne fcn.00408907
ret
Function at 0x402780
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402799
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4027d4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4027d0
lea ebx, [ebx]
cmp esi, eax
jae 0x4027d4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4027c0
cmp esi, eax
jb 0x4027da
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x407d30
Capabilities:
Get disk information via ioctl

Disassembly:
sub esp, 0x134
mov eax, dword [0x480208]
xor eax, esp
mov dword [esp + 0x130], eax
push ebp
push 0x12
push 0
push 0
push 0x4707c0
mov dword [esp + 0x14], 0
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x407f2c
xor eax, eax
push ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x1c]
push eax
xor ebx, ebx
push ebx
push 0x4707c0
push ebx
push ebp
mov dword [esp + 0x30], 0x1c
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
test eax, eax
je 0x407f10
push esi
push edi
nop
mov esi, dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailA]
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
lea edx, [esp + 0x34]
push edx
push ebp
mov dword [esp + 0x28], 0
call esi
test eax, eax
jne 0x407de4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x407eae
mov eax, dword [esp + 0x10]
push eax
call fcn.0044174d
mov edi, eax
add esp, 4
test edi, edi
je 0x407eae
push 0
lea ecx, [esp + 0x14]
push ecx
mov dword [edi], 5
mov edx, dword [esp + 0x18]
push edx
push edi
lea eax, [esp + 0x34]
push eax
push ebp
call esi
test eax, eax
je 0x407ea5
lea esi, [edi + 4]
push str.acronisvbus
push esi
call fcn.00442be0
add esp, 8
test eax, eax
je 0x407ea5
lea edx, [esp + 0x40]
mov eax, esi
sub edx, esi
jmp 0x407e40
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x407e40
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x407ea5
push 0
lea edx, [esp + 0x18]
push edx
push 0xc
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0x2d1080
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, 1
jne 0x407e9e
mov ecx, dword [esp + 0x1c]
mov dword [ecx*4 + 0x49d8f0], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.00441810
add esp, 4
xor eax, eax
lea edx, [esp + 0x24]
push edx
add ebx, 1
push ebx
push 0x4707c0
push eax
mov dword [esp + 0x34], eax
push ebp
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x38], 0x1c
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
test eax, eax
jne 0x407db0
pop edi
pop esi
pop ebx
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.00441a71
add esp, 0x134
ret
pop ebx
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.00441a71
add esp, 0x134
ret
mov ecx, dword [esp + 0x134]
pop ebp
xor ecx, esp
mov eax, 1
call fcn.00441a71
add esp, 0x134
ret