joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425420
Capabilities:
Get file size
Hash data with crc32
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450ccb
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x4656fc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x430], 0
push 0
mov eax, dword [ebp - 0x430]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x418], eax
push 0
push 0x8000000
push 3
push 0
push 3
push SysReAllocString
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x430], eax
push 0
mov edx, dword [ebp - 0x430]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x418], eax
mov eax, dword [ebp - 0x418]
push eax
push 0x20
lea ecx, [ebp - 0x42c]
call fcn.00425660
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x434]
push ecx
mov edx, dword [ebp - 0x418]
push edx
mov eax, dword [ebp - 0x418]
push eax
lea ecx, [ebp - 0x42c]
call fcn.00424dd0
push eax
mov ecx, dword [ebp - 0x430]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x430]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
lea ecx, [ebp - 0x42c]
call fcn.00425740
mov dword [ebp - 0x424], 0x4c10db7
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x41c], 0
jmp 0x425532
mov eax, dword [ebp - 0x41c]
add eax, 1
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0x100
jge 0x4255b7
mov ecx, dword [ebp - 0x41c]
mov dword [ebp - 0x420], ecx
mov dword [ebp - 0x440], 0
jmp 0x425565
mov edx, dword [ebp - 0x440]
add edx, 1
mov dword [ebp - 0x440], edx
cmp dword [ebp - 0x440], 8
jge 0x42559f
mov eax, dword [ebp - 0x420]
and eax, 1
je 0x42558f
mov ecx, dword [ebp - 0x420]
shr ecx, 1
xor ecx, 0xedb88320
mov dword [ebp - 0x420], ecx
jmp 0x42559d
mov edx, dword [ebp - 0x420]
shr edx, 1
mov dword [ebp - 0x420], edx
jmp 0x425556
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x420]
mov dword [ebp + eax*4 - 0x414], ecx
jmp 0x425523
mov dword [ebp - 0x10], 0xffffffff
mov edx, dword [ebp - 0x418]
mov dword [ebp - 0x428], edx
lea ecx, [ebp - 0x42c]
call fcn.00425410
mov dword [ebp - 0x438], eax
mov eax, dword [ebp - 0x428]
mov ecx, dword [ebp - 0x428]
sub ecx, 1
mov dword [ebp - 0x428], ecx
test eax, eax
je 0x425628
mov edx, dword [ebp - 0x10]
shr edx, 8
mov eax, dword [ebp - 0x10]
and eax, 0xff
mov ecx, dword [ebp - 0x438]
movzx ecx, byte [ecx]
xor eax, ecx
xor edx, dword [ebp + eax*4 - 0x414]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x438]
add edx, 1
mov dword [ebp - 0x438], edx
jmp 0x4255db
mov eax, dword [ebp - 0x10]
xor eax, 0xffffffff
mov dword [ebp - 0x444], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call fcn.00422b80
mov eax, dword [ebp - 0x444]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x425d70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 4]
push eax
push 2
push 0
push 0x4544c4
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x425dd8
push 4
lea ecx, [ebp + 8]
push ecx
push 4
push 0
push str.Affiliate
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x425dce
mov al, 1
jmp 0x425dda
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov esp, ebp
pop ebp
ret 4

Function at 0x425ee0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450d4e
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x4656fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x21d]
call fcn.00430680
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], 0
push 0
push 0
push 0x104
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x21d]
call fcn.0042b160
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
jne 0x425fdc
push 0x454510
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x425fdc
mov dword [ebp - 0x264], 0
push 0x38
push 0
lea eax, [ebp - 0x260]
push eax
call fcn.0043b030
add esp, 0xc
mov dword [ebp - 0x264], 0x3c
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x254], ecx
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x248], 1
mov dword [ebp - 0x260], 0x40
lea edx, [ebp - 0x264]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x268], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21d]
call fcn.0042f930
mov eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043a91c
mov esp, ebp
pop ebp
ret
Function at 0x426020
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
push 0x38
push 0
lea eax, [ebp - 0x38]
push eax
call fcn.0043b030
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], 1
mov eax, dword [ebp + 0x10]
neg eax
sbb eax, eax
and eax, 0x40
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x40], eax
cmp dword [ebp + 0x10], 0
je 0x4260ab
cmp dword [ebp - 0x40], 0
je 0x4260ab
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x4260ab
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
mov eax, dword [ebp - 0x40]
mov esp, ebp
pop ebp
ret
Function at 0x427370
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450deb
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x4656fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x458], ecx
mov ecx, 0x467318
call fcn.00404fa0
push eax
push 0x410
mov ecx, dword [ebp - 0x458]
add ecx, 4
call fcn.00428c60
push 0
push 0x3f0
lea eax, [ebp - 0x438]
push eax
mov ecx, dword [ebp - 0x458]
add ecx, 4
call fcn.00428cc0
mov ecx, eax
call fcn.00428b80
push 0
push 0x3ee
lea ecx, [ebp - 0x43c]
push ecx
mov ecx, dword [ebp - 0x458]
add ecx, 4
call fcn.00428cc0
mov ecx, eax
call fcn.00428b80
push 0x64
push 0
push 0x3ee
lea edx, [ebp - 0x444]
push edx
mov ecx, dword [ebp - 0x458]
add ecx, 4
call fcn.00428cc0
mov ecx, eax
call fcn.00425410
push eax
lea ecx, [ebp - 0x440]
call fcn.00428d80
mov ecx, eax
call fcn.00428a20
push 0x20
push 0x3ec
mov eax, dword [ebp - 0x458]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.SHLWAPI.dll_SHAutoComplete]
lea ecx, [ebp - 0x21d]
call fcn.00430680
mov dword [ebp - 4], 0
push 0
push 0
push 0x104
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x21d]
call fcn.0042b160
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 1
jne 0x427569
mov byte [ebp - 0x42d], 1
xor eax, eax
mov word [ebp - 0x42c], ax
push 0x206
push 0
lea ecx, [ebp - 0x42a]
push ecx
call fcn.0043b030
add esp, 0xc
mov edx, dword [ebp - 0x458]
cmp dword [edx + 0x58], 0
je 0x4274fa
push 0x104
lea eax, [ebp - 0x42c]
push eax
mov ecx, dword [ebp - 0x458]
call fcn.00428620
mov dword [ebp - 0x434], eax
cmp dword [ebp - 0x434], 0
jne 0x4274fa
mov byte [ebp - 0x42d], 0
movzx ecx, byte [ebp - 0x42d]
test ecx, ecx
je 0x427518
push 0
push 0x26
lea edx, [ebp - 0x42c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x454630
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x42c]
push ecx
push 0x3ec
mov ecx, dword [ebp - 0x458]
add ecx, 4
call fcn.00428c60
push 1
push 0x3ed
lea edx, [ebp - 0x448]
push edx
mov ecx, dword [ebp - 0x458]
add ecx, 4
call fcn.00428cc0
mov ecx, eax
call fcn.00428bf0
jmp 0x4275c7
lea eax, [ebp - 0x21c]
push eax
push 0x3ec
mov ecx, dword [ebp - 0x458]
add ecx, 4
call fcn.00428c60
push 0x3ec
lea ecx, [ebp - 0x44c]
push ecx
mov ecx, dword [ebp - 0x458]
add ecx, 4
call fcn.00428cc0
mov ecx, eax
call fcn.00428c10
push 0
push 0x3ec
lea edx, [ebp - 0x450]
push edx
mov ecx, dword [ebp - 0x458]
add ecx, 4
call fcn.00428cc0
mov ecx, eax
call fcn.00428bf0
mov eax, dword [ebp - 0x458]
xor ecx, ecx
cmp dword [eax + 0x58], 1
sete cl
mov byte [0x467242], cl
mov dword [ebp - 0x454], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21d]
call fcn.0042f930
mov eax, dword [ebp - 0x454]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043a91c
mov esp, ebp
pop ebp
ret 0x10
Function at 0x427800
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450e1b
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4656fc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
cmp dword [ebp + 8], 0
je 0x427838
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x42783f
xor eax, eax
jmp 0x4278fa
push 0x5c
mov edx, dword [ebp + 8]
push edx
call fcn.0043b0aa
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x42785d
xor eax, eax
jmp 0x4278fa
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp + 8]
sar eax, 1
add eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00428970
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00425410
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
je 0x42789a
cmp dword [ebp - 0x10], 5
jne 0x4278b5
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00422b80
mov eax, dword [ebp - 0x24]
jmp 0x4278fa
mov edx, dword [ebp - 0x1c]
add edx, 2
push edx
lea ecx, [ebp - 0x18]
call fcn.00422b00
push str._:____
lea ecx, [ebp - 0x18]
call fcn.004289a0
mov dword [ebp - 0x20], eax
xor eax, eax
cmp dword [ebp - 0x20], 0xffffffff
sete al
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x18]
call fcn.00422b80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00422b80
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x428400
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x4656fc]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x41c], ecx
mov ecx, 0x4672a8
call fcn.00404fa0
push eax
push 0x104
lea eax, [ebp - 0x418]
push eax
call fcn.0043af94
add esp, 0xc
push 0x4547d8
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
movzx edx, byte [ebp + 8]
test edx, edx
jne 0x428608
push 0
push 0x10
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4547f0
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
lea edx, [ebp - 0x210]
push edx
push 0
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp - 0x41c]
call fcn.004280f0
push 0
push 0xb
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x454800
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
lea eax, [ebp - 0x210]
push eax
push 0
lea ecx, [ebp - 0x418]
push ecx
mov ecx, dword [ebp - 0x41c]
call fcn.004280f0
push 0
push 2
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x454810
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x428572
push 0x454818
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, 0x4672a8
call fcn.00404fa0
push eax
push 0x104
lea eax, [ebp - 0x418]
push eax
call fcn.0043af94
add esp, 0xc
push 0x454828
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
lea edx, [ebp - 0x210]
push edx
push 0
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp - 0x41c]
call fcn.004280f0
push 0
push 2
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x454848
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x428608
push 0x454850
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, 0x4672a8
call fcn.00404fa0
push eax
push 0x104
lea edx, [ebp - 0x418]
push edx
call fcn.0043af94
add esp, 0xc
push 0x454860
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
lea ecx, [ebp - 0x210]
push ecx
push 0
lea edx, [ebp - 0x418]
push edx
mov ecx, dword [ebp - 0x41c]
call fcn.004280f0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a91c
mov esp, ebp
pop ebp
ret 4
Function at 0x428620
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
cmp dword [ebp + 8], 0
jne 0x428639
mov eax, 1
jmp 0x428742
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x42873d
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 0
push 0x4548cc
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x428694
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x428742
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.0043a520
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x428733
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0
push 0
push str.ProgramW6432Dir
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4286ff
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.0043b247
add esp, 4
mov eax, 1
jmp 0x428742
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0043af94
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0043b247
add esp, 4
xor eax, eax
jmp 0x428742
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x428750
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4656fc]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x424], ecx
mov eax, dword [ebp - 0x424]
xor ecx, ecx
cmp dword [eax + 0x58], 1
sete cl
mov byte [0x467242], cl
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x424]
call fcn.00427800
test eax, eax
jne 0x428798
mov dword [ebp + 0xc], 0
movzx eax, byte [ebp + 8]
test eax, eax
je 0x4287c0
cmp dword [ebp + 0xc], 0
je 0x4287c0
mov ecx, dword [ebp + 0xc]
push ecx
push 0x104
lea edx, [ebp - 0x210]
push edx
call fcn.0043af94
add esp, 0xc
jmp 0x428824
mov eax, dword [ebp - 0x424]
cmp dword [eax + 0x58], 0
je 0x4287ff
push 0x104
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x424]
call fcn.00428620
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
je 0x4287fd
mov eax, dword [ebp - 0x420]
jmp 0x4288e4
jmp 0x428812
push 0
push 0x26
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x45490c
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x210]
push ecx
mov ecx, 0x4672a8
call fcn.00405150
lea edx, [ebp - 0x210]
push edx
mov ecx, dword [ebp - 0x424]
call fcn.00427800
test eax, eax
jne 0x428855
mov eax, 1
jmp 0x4288e4
push 0x104
lea eax, [ebp - 0x418]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x418]
push ecx
mov ecx, dword [ebp - 0x424]
add ecx, 0x5c
call fcn.0042c900
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jge 0x428894
mov eax, 1
jmp 0x4288e4
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov eax, dword [ebp - 0x424]
mov dword [eax + 0x54], 1
mov ecx, dword [ebp - 0x424]
push ecx
call fcn.00427f10
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
movzx edx, byte [ebp + 8]
test edx, edx
sete al
movzx ecx, al
push ecx
mov ecx, dword [ebp - 0x424]
call fcn.00428400
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a91c
mov esp, ebp
pop ebp
ret 8
Function at 0x429be0
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov dword [eax], vtable.CExtractOutFile.0
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 8], 0xffffffff
je 0x429c20
mov edx, dword [ebp - 0xc]
add edx, 0x14
push edx
push 0
push 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 8], 0xffffffff
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x10], 0
je 0x429c63
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xc], 0
je 0x429c63
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x429c63
push 1
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x10], 0
je 0x429c8b
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0043b247
add esp, 4
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xc], 0
je 0x429cb3
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
call fcn.0043b247
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0xc], 0
mov esp, ebp
pop ebp
ret

Function at 0x42ae80
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0xffffffff
je 0x42aec5
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], edx
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
xor eax, eax
jmp 0x42aeca
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42b020
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x4656fc]
xor eax, ebp
mov dword [ebp - 0x30], eax
push 0x24
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.0043b030
add esp, 0xc
push 0x11c
push 0
lea ecx, [ebp - 0x150]
push ecx
call fcn.0043b030
add esp, 0xc
mov dword [ebp - 0x150], 0x11c
lea edx, [ebp - 0x150]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x42b07b
xor eax, eax
jmp 0x42b14a
push str.GetNativeSystemInfo
push 0x454a1c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42b0a4
lea eax, [ebp - 0x2c]
push eax
call dword [ebp - 8]
jmp 0x42b0ae
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [ebp - 4], 0
cmp dword [ebp - 0x140], 2
jne 0x42b147
cmp dword [ebp - 0x14c], 4
jbe 0x42b147
cmp dword [ebp - 0x14c], 6
jne 0x42b0f8
cmp dword [ebp - 0x148], 0
jne 0x42b0e6
mov dword [ebp - 4], 4
jmp 0x42b0f6
cmp dword [ebp - 0x148], 1
jne 0x42b0f6
mov dword [ebp - 4], 5
jmp 0x42b147
cmp dword [ebp - 0x14c], 5
jne 0x42b113
cmp dword [ebp - 0x148], 2
jne 0x42b113
mov dword [ebp - 4], 3
jmp 0x42b147
cmp dword [ebp - 0x14c], 5
jne 0x42b12e
cmp dword [ebp - 0x148], 1
jne 0x42b12e
mov dword [ebp - 4], 2
jmp 0x42b147
cmp dword [ebp - 0x14c], 5
jne 0x42b147
cmp dword [ebp - 0x148], 0
jne 0x42b147
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.0043a91c
mov esp, ebp
pop ebp
ret
Function at 0x42b160
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4656fc]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0xc], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x454a48
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x42b307
cmp dword [ebp + 8], 0
je 0x42b2ab
cmp dword [ebp + 0xc], 0
je 0x42b2ab
xor ecx, ecx
mov word [ebp - 0x220], cx
push 0x206
push 0
lea edx, [ebp - 0x21e]
push edx
call fcn.0043b030
add esp, 0xc
mov dword [ebp - 0x10], 0x208
lea eax, [ebp - 0x220]
test eax, eax
je 0x42b2a4
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
push 0
push 0x454a78
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42b22b
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x42b30c
lea edx, [ebp - 0x220]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043af94
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42b26e
xor eax, eax
mov ecx, dword [ebp + 8]
mov word [ecx], ax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x42b30c
push 0x454a84
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x220]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42b2a2
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x42b30c
jmp 0x42b2ab
mov dword [ebp - 0xc], 1
cmp dword [ebp + 0x10], 0
je 0x42b2f8
cmp dword [ebp + 0x14], 0
je 0x42b2f8
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 0x224]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
push 0
push 0x454a9c
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42b2f8
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x42b30c
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
jmp 0x42b30c
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043a91c
mov esp, ebp
pop ebp
ret 0x10