joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d531
Capabilities:
Query or enumerate registry value

Disassembly:
push 4
mov eax, 0x5207cb
call fcn.004ac58b
lea ecx, [ebp - 0x10]
call fcn.00516bc0
xor ebx, ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.00516c00
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x44d583
push dword [ebp + 0x18]
lea ecx, [ebp - 0x10]
push dword [ebp + 0x14]
push ebx
push ebx
push dword [ebp + 0x10]
call fcn.00516c10
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44d583
mov bl, 1
lea ecx, [ebp - 0x10]
call fcn.00516be0
mov al, bl
call fcn.004ac554
ret

Function at 0x44d600
Capabilities:
Set registry value

Disassembly:
push 4
mov eax, 0x5207cb
call fcn.004ac58b
lea ecx, [ebp - 0x10]
call fcn.00516bc0
xor ebx, ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.00516c00
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x44d655
push dword [ebp + 0x1c]
lea ecx, [ebp - 0x10]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
push dword [ebp + 0x10]
call fcn.00516c10
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb al, al
lea ebx, [eax + 1]
lea ecx, [ebp - 0x10]
call fcn.00516be0
mov al, bl
call fcn.004ac554
ret
Function at 0x44d7cd
Capabilities:
Terminate process

Disassembly:
push 0x30
mov eax, 0x52084f
call fcn.004ac5bf
xor ebx, ebx
lea ecx, [ebp - 0x34]
push ebx
mov dword [ebp - 0x38], ebx
push ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
call fcn.00408a20
mov dword [ebp - 0x34], eax
push 0x526ba0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.00403a6c
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x38], 1
push eax
call fcn.00516710
pop ecx
pop ecx
test al, al
je 0x44d828
mov byte [ebp - 0x29], 1
cmp dword [ebp - 0x30], ebx
ja 0x44d82b
mov byte [ebp - 0x29], bl
push ebx
push 1
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.004049c9
cmp byte [ebp - 0x29], 0
je 0x44d912
mov esi, dword [sym.imp.USER32.dll_FindWindowW]
push ebx
push 0x527d20
call esi
push ebx
push str.HEINOTE_MAIN_WND_U
mov edi, eax
call esi
push ebx
push str.HEINOTE_MAIN_WND_B
mov dword [ebp - 0x38], eax
call esi
push ebx
push str.HEINOTE_MAIN_WND_U_B
mov dword [ebp - 0x3c], eax
call esi
test edi, edi
jne 0x44d887
cmp dword [ebp - 0x38], edi
jne 0x44d887
cmp dword [ebp - 0x3c], edi
jne 0x44d887
test eax, eax
je 0x44d912
push 0x527dc0
lea ecx, [ebp - 0x28]
call fcn.00403a6c
mov esi, 0x526d14
mov byte [ebp - 4], 2
push esi
call fcn.00401ae4
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00404de0
mov esi, 0x527ddc
push esi
call fcn.00401ae4
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00404de0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 4
cmovae eax, dword [ebp - 0x28]
push 0x527e14
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x44d933
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
cmp esi, eax
je 0x44d907
push dword [esi + 8]
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, dword [esi]
cmp esi, dword [ebp - 0x34]
jne 0x44d8ec
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.004049c9
mov bl, 1
lea ecx, [ebp - 0x34]
call fcn.0044a40e
push 0xc
push 1
push dword [ebp - 0x34]
call fcn.00401bf3
add esp, 0xc
mov al, bl
call fcn.004ac569
ret
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.004049c9
jmp 0x44d914
Function at 0x44d992
Capabilities:
Check if file exists
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov ecx, 0x56dff0
call fcn.00449c9e
mov ecx, eax
call fcn.004049b7
push 0x527414
push dword [ebp + 8]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x44da2e
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp + 0xc]
mov edi, eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x44d9f1
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x80
push 1
push 0
push 1
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x44da2d
and dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
push 0
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
pop esi
pop ebp
ret 8

Function at 0x44db43
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x569564]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x108]
push 0x104
push 0
push eax
call fcn.004e9750
add esp, 0xc
cmp dword [esi + 0x10], 0
jbe 0x44dbd5
cmp dword [esi + 0x14], 0x10
jb 0x44db7e
mov esi, dword [esi]
movsx eax, byte [esi]
push eax
lea eax, [ebp - 0x108]
push str._c:_
push eax
call fcn.0040d690
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x110]
xor ecx, ebp
mov edx, dword [ebp - 0x10c]
pop esi
call fcn.004ac267
mov esp, ebp
pop ebp
ret 4
push str.invalid_string_position
call fcn.00457a51
int3
Function at 0x44de6d
Capabilities:
Get common file path

Disassembly:
push 0x254
mov eax, 0x52094b
call fcn.004ac5bf
mov esi, ecx
mov ebx, 0x104
lea eax, [ebp - 0x114]
push ebx
push 0
push eax
call fcn.004e9750
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x114]
push str.HNCheck.7z.md5
push eax
call ebx
lea eax, [ebp - 0x114]
mov ecx, esi
push eax
push str.7ZDATAMD5
call fcn.0044d992
lea eax, [ebp - 0x114]
mov ecx, esi
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.0044e2b0
and dword [ebp - 4], 0
cmp dword [ebp - 0x220], 0
jne 0x44def3
mov bl, 1
jmp 0x44dfdd
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004e9750
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.HN7zData.7z
lea eax, [ebp - 0x218]
push eax
call ebx
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
push str.7ZDATA
call fcn.0044d992
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00516250
pop ecx
pop ecx
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
mov ecx, esi
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x260]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.0044e330
cmp dword [ebp - 0x234], 0x10
lea ecx, [ebp - 0x248]
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 2
cmovae ecx, dword [ebp - 0x248]
lea esi, [ebp - 0x230]
cmp dword [ebp - 0x21c], 0x10
push ecx
cmovae eax, dword [ebp - 0x230]
cmovae esi, dword [ebp - 0x230]
push eax
call fcn.00516090
pop ecx
pop ecx
cmp eax, esi
lea ecx, [ebp - 0x248]
push 0
push 1
sete bl
call fcn.004049c9
push 0
push 1
lea ecx, [ebp - 0x260]
call fcn.00409a10
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.004049c9
mov al, bl
call fcn.004ac569
ret
Function at 0x44dff4
Capabilities:
Get disk information

Disassembly:
push 0x64
mov eax, 0x52098b
call fcn.004ac5bf
mov ebx, ecx
mov esi, dword [ebp + 8]
test esi, esi
je 0x44e0fc
cmp byte [esi], 0
je 0x44e0fc
push 0x5c
push esi
call fcn.004ec970
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x44e0fc
push esi
lea ecx, [ebp - 0x28]
call fcn.00403a6c
and dword [ebp - 4], 0
lea eax, [ebp - 0x58]
sub edi, esi
lea ecx, [ebp - 0x28]
inc edi
push edi
push 0
push eax
call fcn.00403921
push eax
lea ecx, [ebp - 0x28]
call fcn.004039f8
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.004049c9
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 1
je 0x44e0ea
cmp eax, 5
je 0x44e0ea
push esi
lea ecx, [ebp - 0x40]
call fcn.00403a6c
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x40]
call fcn.00403921
push eax
lea ecx, [ebp - 0x40]
call fcn.004039f8
xor esi, esi
lea ecx, [ebp - 0x58]
push esi
push 1
call fcn.004049c9
push str._:____
lea ecx, [ebp - 0x70]
call fcn.00403a6c
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.0044da34
cmp eax, 0xffffffff
lea ecx, [ebp - 0x70]
push esi
push 1
sete bl
call fcn.004049c9
push esi
push 1
lea ecx, [ebp - 0x40]
call fcn.004049c9
jmp 0x44e0ec
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004049c9
mov al, bl
jmp 0x44e0fe
xor al, al
call fcn.004ac569
ret 4

Function at 0x44e2b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x569564]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x2c], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push 0x54dc88
push eax
call fcn.004f1612
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x44e2ed
push 0x549961
mov ecx, esi
call fcn.00403a6c
jmp 0x44e31c
push edi
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x28]
rep stosd dword es:[edi], eax
push ebx
push 0x20
push 1
stosb byte es:[edi], al
lea eax, [ebp - 0x28]
push eax
call fcn.004f17f5
push ebx
call fcn.004f138d
add esp, 0x14
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00403a6c
pop edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ac267
mov esp, ebp
pop ebp
ret 8
Function at 0x44f8ab
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x914
mov eax, dword [0x569564]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x104]
push edi
xor ebx, ebx
or edi, 0xffffffff
push 0x100
push ebx
push eax
mov dword [ebp - 0x908], ebx
call fcn.004e9750
push esi
lea eax, [ebp - 0x104]
push str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_sConnection
push eax
call fcn.0040d690
add esp, 0x18
lea eax, [ebp - 0x908]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x104]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44f9d4
mov esi, 0x800
lea eax, [ebp - 0x904]
push esi
push ebx
push eax
call fcn.004e9750
add esp, 0xc
mov dword [ebp - 0x910], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x910]
push eax
lea eax, [ebp - 0x904]
push eax
push ebx
push ebx
push str.PnpInstanceID
push dword [ebp - 0x908]
call esi
test eax, eax
jne 0x44f9c8
push 3
push 0x527ff4
lea eax, [ebp - 0x904]
push eax
push ebx
call dword [sym.imp.SHLWAPI.dll_StrIsIntlEqualW]
test eax, eax
je 0x44f9c8
lea eax, [ebp - 0x914]
mov dword [ebp - 0x90c], ebx
push eax
lea eax, [ebp - 0x90c]
mov dword [ebp - 0x914], 4
push eax
push ebx
push ebx
push str.MediaSubType
push dword [ebp - 0x908]
call esi
cmp eax, 2
je 0x44f9c6
test eax, eax
jne 0x44f9c8
cmp dword [ebp - 0x90c], 1
je 0x44f9c6
cmp dword [ebp - 0x90c], 2
jne 0x44f9c8
xor edi, edi
inc edi
jmp 0x44f9c8
mov edi, ebx
push dword [ebp - 0x908]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ac267
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x569564]
xor eax, ebp
mov dword [ebp - 4], eax
xor ecx, ecx
push 8
mov eax, ecx
pop edx
test al, 1
je 0x44fadf
shr eax, 1
xor eax, 0xedb88320
jmp 0x44fae1
shr eax, 1
sub edx, 1
jne 0x44fad2
mov dword [ebp + ecx*4 - 0x404], eax
inc ecx
cmp ecx, 0x100
jl 0x44facd
push esi
mov esi, dword [ebp + 0xc]
or edx, 0xffffffff
test esi, esi
je 0x44fb1e
push edi
mov edi, dword [ebp + 8]
movsx eax, byte [edi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ebp + ecx*4 - 0x404]
inc edi
sub esi, 1
jne 0x44fb05
pop edi
mov ecx, dword [ebp - 4]
not edx
xor ecx, ebp
mov eax, edx
pop esi
call fcn.004ac267
mov esp, ebp
pop ebp
ret 8
Function at 0x4507b9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x88
mov eax, 0x521b96
call fcn.004ac5bf
mov eax, dword [ebp + 8]
push eax
call fcn.0045fa59
push 4
call fcn.0045fcce
lea eax, [ebp - 0x94]
push eax
call fcn.0045b803
add esp, 0xc
and dword [ebp - 4], 0
call fcn.0045b94d
sub eax, 1
je 0x450850
sub eax, 3
jne 0x450872
call fcn.0045b7fd
push str.ZIPRES
push str.SKINDATA
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x450872
call fcn.0045b938
mov ebx, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x450847
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x450847
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.0045fcdb
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x450872
push str..._skinInstall_
lea ecx, [ebp - 0x94]
call fcn.0045956a
lea ecx, [ebp - 0x94]
call fcn.004049b7
push eax
call fcn.0045fc85
pop ecx
lea ecx, [ebp - 0x94]
call fcn.00459402
call fcn.004ac569
ret 4

Function at 0x4528bf
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push ecx
push 0x45276a
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret

Function at 0x454508
Capabilities:
Create thread

Disassembly:
push esi
xor eax, eax
mov esi, ecx
push eax
push eax
push esi
push 0x4542d7
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x1c], eax
pop esi
ret
Function at 0x454835
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x569564]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x25c]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0x40
push 0
push eax
call fcn.004e9750
xor eax, eax
mov dword [ebp - 0x260], 0x44
push 0x208
push eax
mov word [ebp - 0x230], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x20c]
push eax
movups xmmword [ebp - 0x21c], xmm0
call fcn.004e9750
push esi
push edi
lea eax, [ebp - 0x20c]
push 0x526a38
push eax
call fcn.004490df
add esp, 0x28
lea eax, [ebp - 0x21c]
xor ecx, ecx
push eax
lea eax, [ebp - 0x260]
push eax
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
lea eax, [ebp - 0x20c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4548f9
push 0xffffffffffffffff
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x21c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x218]
call esi
mov al, 1
jmp 0x454907
test ebx, ebx
je 0x454905
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ac267
mov esp, ebp
pop ebp
ret

Function at 0x454918
Capabilities:
Check if file exists

Disassembly:
push 0x34
mov eax, 0x5212e2
call fcn.004ac5bf
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45493c
xor al, al
jmp 0x4549ab
push ebx
lea eax, [ebp - 0x28]
push str._image
push eax
call fcn.0041b94e
add esp, 0xc
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [edi + 0x10], ebx
je 0x454985
push edi
lea eax, [ebp - 0x40]
push str.__args
push eax
call fcn.0041b94e
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00412b30
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00409a10
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ebx
cmovae eax, dword [ebp - 0x28]
push eax
push esi
call fcn.00454835
add esp, 0xc
lea ecx, [ebp - 0x28]
mov bl, al
push 0
push 1
call fcn.00409a10
mov al, bl
call fcn.004ac569
ret
Function at 0x454b4e
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0x42c
mov eax, 0x521312
call fcn.004ac5bf
mov esi, dword [ebp + 8]
xor eax, eax
mov bl, al
lea eax, [esi + 0x90]
cmp dword [eax + 0x14], 8
jb 0x454b72
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.005162f0
xor eax, eax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
call fcn.004e9750
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
add esi, 0xc0
cmp dword [esi + 0x14], 8
jb 0x454bbb
mov eax, dword [esi]
jmp 0x454bbd
mov eax, esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push eax
lea eax, [ebp - 0x218]
push eax
call edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
cmp dword [ebp - 0x424], 0x10
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
xor ecx, ecx
push ecx
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00443b88
xor eax, eax
push 0x208
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.004e9750
add esp, 0x18
xor eax, eax
mov ecx, eax
movzx eax, word [ebp + ecx - 0x218]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x422], ax
test ax, ax
jne 0x454c19
cmp dword [esi + 0x14], 8
jb 0x454c39
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x420]
push eax
call edi
lea edi, [ebp - 0x420]
sub edi, 2
xor ecx, ecx
mov ax, word [edi + 2]
add edi, 2
cmp ax, cx
jne 0x454c4e
mov esi, str..dll
lea eax, [ebp - 0x420]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x454ca2
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x454c9b
push str.Install_7z
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x454c9b
call eax
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
lea ecx, [ebp - 0x438]
push eax
push 1
call fcn.004049c9
mov al, bl
call fcn.004ac569
ret
Function at 0x45519d
Capabilities:
Enumerate processes

Disassembly:
push 0x26c
mov eax, 0x5213c4
call fcn.004ac5bf
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, edi
mov bl, al
xor esi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x4551ba
sub ecx, edx
sar ecx, 1
cmp ecx, 4
jbe 0x45532b
push 0x22c
lea eax, [ebp - 0x26c]
push esi
push eax
call fcn.004e9750
add esp, 0xc
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x278], esi
cmp esi, 0xffffffff
je 0x45532b
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x26c], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x455324
mov eax, 0x4fa5ba
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.005163a0
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.005162f0
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
lea esi, [ebp - 0x270]
cmovae edx, dword [ebp - 0x40]
add eax, ecx
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
push esi
cmovae ecx, dword [ebp - 0x40]
push edx
push eax
push ecx
mov byte [ebp - 4], 1
call fcn.00452f1a
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
lea esi, [ebp - 0x274]
cmovae edx, dword [ebp - 0x28]
add eax, ecx
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push esi
cmovae ecx, dword [ebp - 0x28]
push edx
push eax
push ecx
call fcn.00452f1a
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 0x10
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004ecaa0
mov esi, dword [ebp - 0x278]
lea ecx, [ebp - 0x28]
add esp, 0x38
push 0
push 1
test eax, eax
jne 0x455311
call fcn.004049c9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
push 0
push 1
call fcn.004049c9
lea eax, [ebp - 0x26c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x455230
jmp 0x455324
mov bl, 1
call fcn.004049c9
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.004049c9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
call fcn.004ac569
ret
Function at 0x455586
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x569564]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
mov ecx, esi
push edi
xor edi, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x4555a5
sub ecx, edx
sar ecx, 1
je 0x455600
push 0x208
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.004e9750
add esp, 0xc
lea eax, [ebp - 0x20c]
push edi
push dword [ebp + 8]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x455600
mov al, 1
jmp 0x455602
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004ac267
mov esp, ebp
pop ebp
ret
Function at 0x455a26
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x569564]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x210]
push edi
mov edi, dword [ebp + 8]
push 0x20a
push 0
push eax
call fcn.004e9750
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x228]
call fcn.004075b0
push eax
lea ecx, [edi + 0x90]
call fcn.00413fc0
push 0
push 1
lea ecx, [ebp - 0x228]
call fcn.00409a10
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004ac267
mov esp, ebp
pop ebp
ret

Function at 0x455d54
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, 0xe3
push edi
lea edi, [esi + 0x9c4]
mov ecx, dword [edi + 4]
xor ecx, dword [edi]
and ecx, 0x7fffffff
xor ecx, dword [edi]
lea edi, [edi + 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub ebx, 1
jne 0x455d64
lea edi, [esi + 0xd50]
mov ebx, 0x18c
mov ecx, dword [edi + 4]
xor ecx, dword [edi]
and ecx, 0x7fffffff
xor ecx, dword [edi]
lea edi, [edi + 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd50]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub ebx, 1
jne 0x455da4
mov ecx, dword [esi + 0x1380]
xor ecx, dword [esi + 4]
and ecx, 0x7fffffff
xor ecx, dword [esi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
and dword [esi], ebx
pop esi
pop ebx
ret

Function at 0x455e14
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea edx, [ecx + 8]
mov esi, 0x270
mov ecx, dword [edx - 4]
xor ecx, dword [edx]
lea edx, [edx + 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x455e1d
pop esi
ret

Function at 0x456bd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ecx + 4], edx
push edi
inc esi
lea edi, [ecx + 8]
mov ebx, 0x270
mov eax, edx
shr eax, 0x1e
xor edx, eax
imul edx, dword [ebp + 0xc]
add edx, esi
inc esi
mov dword [edi], edx
lea edi, [edi + 4]
cmp esi, ebx
jl 0x456be7
pop edi
pop esi
mov dword [ecx], ebx
pop ebx
pop ebp
ret 8