joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402e0f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret

Function at 0x4030e1
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push dword [ebp + 8]
call fcn.00402e0f
test eax, eax
pop ecx
je 0x4030fb
xor eax, eax
leave
ret
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x108]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 0x10
test eax, eax
je 0x403130
and byte [eax], 0
lea eax, [ebp - 0x108]
push eax
call fcn.004030e1
pop ecx
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
leave
ret

Function at 0x40318f
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
lea eax, [ebp - 0x248]
push esi
push eax
push dword [ebp + 0xc]
call fcn.00403052
pop ecx
lea eax, [ebp - 0x140]
pop ecx
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4031f7
push dword [ebp + 0x10]
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x140]
push eax
call dword [ebp + 8]
test eax, eax
je 0x4031eb
lea eax, [ebp - 0x140]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x4031c1
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
push 1
pop eax
jmp 0x4031f9
xor eax, eax
pop esi
leave
ret

Function at 0x403337
Capabilities:
Get common file path

Disassembly:
cmp byte [0x40f508], 0
push esi
mov esi, 0x40f508
jne 0x403357
push 0x104
push esi
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
mov dword [0x40f610], eax
push esi
push dword [esp + 0xc]
call sub.MSVCRT.dll_strcpy
mov eax, dword [0x40f610]
pop ecx
pop ecx
pop esi
ret

Function at 0x40336a
Capabilities:
Get common file path

Disassembly:
cmp byte [0x40f614], 0
push esi
mov esi, 0x40f614
jne 0x40338a
push 0x104
push esi
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
mov dword [0x40f71c], eax
push esi
push dword [esp + 0xc]
call sub.MSVCRT.dll_strcpy
mov eax, dword [0x40f71c]
pop ecx
pop ecx
pop esi
ret

Function at 0x40339d
Capabilities:
Get common file path
Get file attributes

Disassembly:
cmp byte [0x40f720], 0
push esi
mov esi, 0x40f720
jne 0x4033ca
push esi
call fcn.00402f9a
pop ecx
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test al, 1
je 0x4033ca
push esi
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
mov eax, esi
pop esi
ret

Function at 0x4033ce
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x40f030
push 5
push eax
push eax
push dword [esp + 0x14]
push str.open
push dword [esp + 0x18]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0x20
pop ecx
cmp ecx, eax
sbb eax, eax
neg eax
ret
Function at 0x407250
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [ebp + 0x14]
push edi
sub eax, 0x9c45
je 0x4072c7
sub eax, 6
je 0x4072b8
sub eax, 0x15
jne 0x407313
mov al, byte [0x40f030]
mov ecx, 0xc3
mov byte [ebp - 0x310], al
xor eax, eax
lea edi, [ebp - 0x30f]
push 3
rep stosd dword es:[edi], eax
push eax
lea eax, [ebp - 0x310]
push eax
push dword [ebp + 0xc]
call fcn.00405792
add esp, 0x10
test eax, eax
je 0x407313
cmp byte [ebp - 0x310], 0
je 0x407313
push 5
lea eax, [ebp - 0x310]
jmp 0x40730c
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00407208
pop ecx
pop ecx
jmp 0x407313
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x10c8], 0
jne 0x407313
mov al, byte [0x40f030]
mov ecx, 0xc3
mov byte [ebp - 0x310], al
xor eax, eax
lea edi, [ebp - 0x30f]
push 1
rep stosd dword es:[edi], eax
push eax
lea eax, [ebp - 0x310]
push eax
push edx
call fcn.00405792
add esp, 0x10
test eax, eax
je 0x407313
push 5
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.DLL_WinExec]
pop edi
leave
ret

Function at 0x407358
Capabilities:
Delete file

Disassembly:
mov eax, 0x40b387
call fcn.0040b0d4
sub esp, 0x84
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [esi + 0x34]
push edi
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
lea ecx, [ebp - 0x90]
call fcn.004038ff
xor ebx, ebx
push 1
push edi
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], ebx
call fcn.00403c96
test eax, eax
je 0x4073ce
xor edi, edi
cmp dword [esi + 0x20], ebx
jle 0x4073c3
mov eax, dword [esi + 0x1c]
lea ecx, [ebp - 0x90]
add eax, ebx
push ecx
push eax
push esi
call fcn.00407147
add esp, 0xc
inc edi
add ebx, 0x1104
cmp edi, dword [esi + 0x20]
jl 0x4073a1
lea ecx, [ebp - 0x90]
call fcn.00403cf0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.0040398b
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4077ab
Capabilities:
Delete file
Get common file path

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 0x1a
and byte [edi + 0x34], 0
lea esi, [edi + 0x34]
push esi
call fcn.0040aaed
pop ecx
test eax, eax
pop ecx
je 0x4077eb
push esi
call fcn.0040296f
mov dword [esp], str.NirSoft
push esi
call sub.MSVCRT.dll_strcat
cmp dword [edi + 0x2bc], 0
pop ecx
pop ecx
je 0x4077eb
push esi
call fcn.004030e1
pop ecx
cmp byte [esi], 0
jne 0x4077fc
push 0x104
push esi
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
push esi
call fcn.0040296f
mov dword [esp], str.MyUninst.ini
push esi
call sub.MSVCRT.dll_strcat
cmp dword [edi + 0x2bc], 0
pop ecx
pop ecx
jne 0x407821
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
pop edi
pop esi
ret
Function at 0x408666
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
lea eax, [ebp - 0x104]
push 0x40ea40
push eax
call fcn.00402d88
push 1
push 1
lea eax, [ebp - 0x104]
push 1
push eax
push dword [ebp + 8]
call fcn.0040850b
add esp, 0x1c
test eax, eax
je 0x4086c9
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call fcn.00402b5a
pop ecx
test eax, eax
pop ecx
je 0x4086bc
push eax
push dword [ebp + 8]
call fcn.00402997
pop ecx
pop ecx
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
leave
ret

Function at 0x4089c1
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [ebp + 8]
call fcn.00404e55
lea ecx, [ebp - 4]
push ecx
push eax
call fcn.00404e62
add esp, 0xc
test eax, eax
je 0x4089fe
mov eax, dword [ebp - 4]
push 5
push 0x40f030
add eax, 0x3c3
push 0
push eax
push str.open
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
leave
ret

Function at 0x408a32
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
push dword [ebp + 8]
call fcn.00404e55
lea ecx, [ebp - 4]
push ecx
push eax
call fcn.00404e62
add esp, 0xc
test eax, eax
je 0x408aa1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10d0], 0
je 0x408aa1
push 0xc
call fcn.00404309
push eax
push dword [ebp + 8]
call fcn.004013c5
add esp, 0xc
cmp eax, 6
jne 0x408aa1
push 2
lea eax, [ebp - 0x314]
push 0
push eax
push dword [ebp - 4]
call fcn.00405792
add esp, 0x10
test eax, eax
je 0x408aa1
lea eax, [ebp - 0x314]
push 5
push eax
call dword [sym.imp.KERNEL32.DLL_WinExec]
leave
ret

Function at 0x408aa3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
push dword [ebp + 8]
call fcn.00404e55
cmp dword [eax + 0x2c0], 0
pop ecx
je 0x408acd
push 0x9c60
push eax
call fcn.00407316
pop ecx
pop ecx
leave
ret
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.00404e62
pop ecx
test eax, eax
pop ecx
je 0x408b2a
mov al, byte [0x40f030]
push edi
mov byte [ebp - 0x310], al
mov ecx, 0xc3
xor eax, eax
lea edi, [ebp - 0x30f]
push 3
push eax
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x310]
push eax
push dword [ebp + 8]
call fcn.00405792
add esp, 0x10
test eax, eax
pop edi
je 0x408b2a
cmp byte [ebp - 0x310], 0
je 0x408b2a
lea eax, [ebp - 0x310]
push 5
push eax
call dword [sym.imp.KERNEL32.DLL_WinExec]
leave
ret

Function at 0x408b2c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
push dword [ebp + 8]
call fcn.00404e55
cmp dword [eax + 0x2c0], 0
pop ecx
je 0x408b56
push 0x9c45
push eax
call fcn.00407316
pop ecx
pop ecx
leave
ret
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.00404e62
pop ecx
test eax, eax
pop ecx
je 0x408b99
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10c8], 0
jne 0x408b99
push 1
lea ecx, [ebp - 0x310]
push 0
push ecx
push eax
call fcn.00405792
add esp, 0x10
test eax, eax
je 0x408b99
lea eax, [ebp - 0x310]
push 5
push eax
call dword [sym.imp.KERNEL32.DLL_WinExec]
leave
ret
Function at 0x408f41
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov al, byte [0x40f030]
push edi
push 0x41
mov byte [ebp - 0x108], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x108]
push eax
call fcn.00402f88
lea eax, [ebp - 0x108]
mov dword [esp], 0x40ea98
push eax
call fcn.00403439
pop ecx
lea eax, [ebp - 0x108]
pop ecx
push 5
push 0x40f030
push 0
push eax
push str.open
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
leave
ret
Function at 0x409e9c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.0040b090
cmp dword [ebp + 8], 0
mov al, byte [0x40f030]
push esi
push edi
je 0x409f01
mov byte [ebp - 0x2004], al
mov ecx, 0x800
xor eax, eax
lea edi, [ebp - 0x2003]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2004]
push 0x2000
push eax
mov eax, dword [ebp + 0x18]
push dword [eax]
push dword [ebp + 0x14]
call fcn.004035df
add esp, 0x10
lea eax, [ebp - 0x2004]
push dword [ebp + 0x1c]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_WritePrivateProfileStringA]
mov esi, eax
jmp 0x409f53
push dword [ebp + 0x1c]
mov byte [ebp - 0x2004], al
mov ecx, 0x800
xor eax, eax
lea edi, [ebp - 0x2003]
push 0x2000
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2004]
push eax
push 0x40f030
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
push dword [ebp + 0x14]
xor ecx, ecx
cmp ecx, eax
lea eax, [ebp - 0x2004]
push dword [ebp + 0x18]
sbb esi, esi
push eax
neg esi
call fcn.00403661
add esp, 0xc
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x409f59
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push dword [ebp + 0x1c]
je 0x409f7a
mov eax, dword [ebp + 0x18]
push dword [eax]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00409e1c
add esp, 0x10
pop ebp
ret
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntA]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
pop ebp
ret

Function at 0x40a386
Capabilities:
Create process on windows

Disassembly:
push 5
push str.regedit.exe
call dword [sym.imp.KERNEL32.DLL_WinExec]
push 0x1f
pop ecx
cmp ecx, eax
sbb eax, eax
neg eax
ret

Function at 0x40aaed
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push esi
call fcn.0040aa1c
cmp dword [0x4101b4], 0
mov esi, dword [ebp + 0xc]
je 0x40ab2f
call fcn.004030a8
test eax, eax
je 0x40ab1c
push esi
call fcn.0040aa4b
test eax, eax
pop ecx
jne 0x40ab2f
push 0
push esi
push dword [ebp + 8]
push 0
call dword [0x4101b4]
jmp 0x40abc4
mov al, byte [0x40f030]
push edi
push 0x40
mov byte [ebp - 0x124], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x123]
push esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.0040aa4b
pop ecx
pop edi
test eax, eax
lea eax, [ebp + 0xc]
push 0x20019
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
je 0x40ab6c
push CreateStatusWindowA
jmp 0x40ab71
push 0x80000001
call fcn.00409fca
add esp, 0x10
test eax, eax
jne 0x40abab
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.0040aa65
lea eax, [ebp - 0x124]
push 0x104
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0xc]
call fcn.0040a009
add esp, 0x18
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x124]
push eax
push esi
call sub.MSVCRT.dll_strcpy
xor eax, eax
pop ecx
cmp byte [esi], al
pop ecx
setne al
pop esi
leave
ret
Function at 0x40abc7
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push edi
push 0xe
pop ecx
xor eax, eax
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x24], 0
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x38], 0xc
mov dword [ebp - 0x30], str.properties
mov dword [ebp - 0x28], 0x40f030
mov dword [ebp - 0x20], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
pop edi
leave
ret
Function at 0x40ae9b
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push ebx
push esi
lea eax, [ebp - 0x20]
push edi
push eax
xor ebx, ebx
push dword [ebp + 8]
mov dword [ebp - 0x20], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
cmp eax, ebx
mov dword [ebp - 4], eax
jbe 0x40b050
mov esi, dword [ebp + 0xc]
push 0x810
push ebx
push esi
call sub.MSVCRT.dll_memset
push dword [ebp - 4]
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x10
mov edi, eax
push edi
push dword [ebp - 4]
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0xc]
push eax
push 0x40e2e8
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40af31
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], ebx
mov ecx, dword [eax + 0x30]
mov dword [esi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [esi], ecx
mov ecx, dword [eax + 0x14]
mov dword [esi + 0xc], ecx
mov eax, dword [eax + 0x10]
mov dword [esi + 8], eax
je 0x40af39
push 1
push edi
call fcn.0040ae6e
pop ecx
pop ecx
jmp 0x40b052
cmp dword [ebp + 0x10], ebx
je 0x40af39
push ebx
jmp 0x40af24
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1c]
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40af88
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
lea eax, [ebp - 0x18]
push str._4.4X_4.4X
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x18]
push 0x40f030
push eax
push edi
call fcn.0040add8
add esp, 0x20
test eax, eax
jne 0x40af98
lea eax, [ebp - 0x18]
push str.040904E4
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x18]
push str.ProductName
push eax
push edi
call fcn.0040add8
lea eax, [esi + 0x110]
push eax
lea eax, [ebp - 0x18]
push str.FileDescription
push eax
push edi
call fcn.0040add8
lea eax, [esi + 0x210]
push eax
lea eax, [ebp - 0x18]
push str.FileVersion
push eax
push edi
call fcn.0040add8
lea eax, [esi + 0x310]
push eax
lea eax, [ebp - 0x18]
push str.ProductVersion
push eax
push edi
call fcn.0040add8
add esp, 0x40
lea eax, [esi + 0x410]
push eax
lea eax, [ebp - 0x18]
push str.CompanyName
push eax
push edi
call fcn.0040add8
lea eax, [esi + 0x510]
push eax
lea eax, [ebp - 0x18]
push str.InternalName
push eax
push edi
call fcn.0040add8
lea eax, [esi + 0x610]
push eax
lea eax, [ebp - 0x18]
push str.LegalCopyright
push eax
push edi
call fcn.0040add8
add esi, 0x710
lea eax, [ebp - 0x18]
push esi
push str.OriginalFileName
push eax
push edi
call fcn.0040add8
add esp, 0x40
jmp 0x40af22
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4024b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403add
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x40600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004025c0
mov ecx, eax
call fcn.00401a90
push eax
mov ecx, edx
call fcn.00401a90
push eax
mov ecx, esi
call fcn.00401a90
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.00402630
add esp, 8
lea ecx, [ebp - 0x14]
push eax
call fcn.00402690
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.00402600
lea esi, [edi + 4]
push esi
push 0
lea ecx, [ebp - 0x14]
call fcn.004025f0
push eax
push 0x4026c0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x40257b
lea ecx, [ebp - 0x14]
call fcn.004025d0
call fcn.00402600
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00402917
mov esp, ebp
pop ebp
ret 0xc
push 6
mov dword [esi], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x403276
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4032b5
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4032b5
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4032b5
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4032b5
cmp dword [ecx + 0x74], 0xe
jbe 0x4032b5
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1006225
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
xor eax, eax
cmp byte [ecx], al
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
je 0x100625b
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x100625f
xor eax, eax
jmp 0x1006275
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 8]
push 0x400
push dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
leave
ret 4

Function at 0x1007528
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [esp + 0x14]
jle 0x1007563
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x1007540
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x100757f
dec esi
je 0x1007578
dec esi
jne 0x1007584
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
ret 0xc

Function at 0x431002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x4f32916
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x431024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x36377421
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x431084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x45f7e1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00455bb8
and dword [ebp - 4], 0
cmp dword [0x493288], 0
mov ebx, eax
jne 0x45f892
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x45f943
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x473330
push edi
call esi
test eax, eax
je 0x45f943
push eax
call fcn.00455b46
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x493288], eax
call esi
push eax
call fcn.00455b46
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x49328c], eax
call esi
push eax
call fcn.00455b46
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x493290], eax
call esi
push eax
call fcn.00455b46
pop ecx
mov dword [0x493298], eax
test eax, eax
je 0x45f892
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00455b46
pop ecx
mov dword [0x493294], eax
mov eax, dword [0x493294]
cmp eax, ebx
je 0x45f8ea
cmp dword [0x493298], ebx
je 0x45f8ea
push eax
call fcn.00455bc1
push dword [0x493298]
mov esi, eax
call fcn.00455bc1
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x45f8ea
test edi, edi
je 0x45f8ea
call esi
test eax, eax
je 0x45f8e1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45f8e1
test byte [ebp - 0xc], 1
jne 0x45f8ea
or dword [ebp + 0x10], 0x200000
jmp 0x45f923
mov eax, dword [0x49328c]
cmp eax, ebx
je 0x45f923
push eax
call fcn.00455bc1
pop ecx
test eax, eax
je 0x45f923
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x45f923
mov eax, dword [0x493290]
cmp eax, ebx
je 0x45f923
push eax
call fcn.00455bc1
pop ecx
test eax, eax
je 0x45f923
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x493288]
call fcn.00455bc1
pop ecx
test eax, eax
je 0x45f943
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x45f945
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..reloc
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x608206c3
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..rdata
mov ebx, 0x42f314
nop
mov ecx, 0x401231fe
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x101f9f9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x101fa52
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x101fa44
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x101fa40
cmp esi, eax
jae 0x101fa44
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x101fa32
cmp esi, eax
jb 0x101fa48
xor eax, eax
jmp 0x101fa51
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret 0xc