joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406200
Capabilities:
Check if file exists
Delete directory
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x427c98
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x433a70]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
push str.CScrubber::RemoveFiles
lea ecx, [esp + 0x24]
call fcn.00401130
mov ecx, dword [esp + 0x38]
xor ebp, ebp
cmp ecx, ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x18], ebp
je 0x406383
mov eax, dword [ecx + 0xc]
cmp eax, ebp
je 0x406383
mov edi, dword [ecx + 4]
jle 0x40636c
mov eax, edi
mov esi, dword [eax + 8]
mov edi, dword [edi]
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x406270
sub eax, edx
cmp eax, 4
jb 0x40635c
push 0x429858
push esi
xor ebx, ebx
call fcn.00412936
add esp, 8
test eax, eax
je 0x4062ab
push 0xa
mov byte [eax], bl
add eax, 1
push ebx
push eax
call fcn.00414f12
add esp, 0xc
mov ebx, eax
push ebx
push esi
lea eax, [esp + 0x28]
push str.File_to_remove:__s__Flag:__X
push eax
call fcn.00401460
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
je 0x40635c
test al, 0x10
push esi
je 0x406323
lea ecx, [esp + 0x24]
push str.Removing_directory:__s
push ecx
call fcn.00401460
add esp, 0xc
test bl, 4
je 0x4062fc
mov ecx, dword [esp + 0x14]
push ebx
push esi
call fcn.00405ec0
jmp 0x40635c
test bl, 1
je 0x406310
mov eax, dword [esp + 0x1c]
and eax, 0xffffffde
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x40635c
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x406352
lea edx, [esp + 0x24]
push str.Removing_file:__s
push edx
call fcn.00401460
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ebx
push esi
call fcn.00403b10
test eax, eax
jne 0x40635c
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov dword [esp + 0x18], eax
call esi
push eax
lea ecx, [esp + 0x24]
call fcn.004013d0
mov eax, dword [esp + 0x38]
add ebp, 1
cmp ebp, dword [eax + 0xc]
jl 0x406263
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0xffffffff
call fcn.004012e0
mov eax, dword [esp + 0x18]
jmp 0x406396
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0xffffffff
call fcn.004012e0
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x408cb0
Capabilities:
Get file version info
Read .ini file

Disassembly:
sub esp, 0x158
mov eax, dword [0x433a70]
xor eax, esp
mov dword [esp + 0x154], eax
push ebx
mov ebx, dword [esp + 0x160]
push ebp
push 0x104
lea eax, [esp + 0x5c]
push eax
xor ebp, ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp eax, 0x104
jae 0x408dc4
push esi
push edi
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x64]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
push edi
call fcn.00409b95
mov esi, eax
add esp, 4
test esi, esi
je 0x408da9
push esi
push edi
push ebp
lea eax, [esp + 0x6c]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x408da0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push 0x429658
push esi
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 0x10]
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
push edx
movzx edx, word [eax + 0xa]
push ecx
push edx
push str._d._d._d._d
lea eax, [esp + 0x30]
push 0x20
push eax
call fcn.004131ec
add esp, 0x1c
push ebx
push 0x20
lea ecx, [esp + 0x48]
push ecx
push str.NOT_FOUND
push str.Version
push 0x42ab48
mov byte [esp + 0x54], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00413cf2
add esp, 8
test eax, eax
jne 0x408da0
mov ebp, 1
push esi
call fcn.00409b90
add esp, 4
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.00413011
add esp, 0x158
ret
mov ecx, dword [esp + 0x15c]
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.00413011
add esp, 0x158
ret
Function at 0x408de0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x148
mov eax, dword [0x433a70]
xor eax, esp
mov dword [esp + 0x144], eax
push ebx
push ebp
mov ebp, dword [esp + 0x154]
push edi
push 0x104
lea eax, [esp + 0x50]
xor ebx, ebx
push eax
xor edi, edi
push ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp eax, 0x104
jae 0x408f70
push esi
lea ecx, [esp + 0x50]
push 0x42ab68
push ecx
call fcn.00415a02
mov esi, eax
add esp, 8
test esi, esi
je 0x408e73
push esi
push 1
lea edx, [esp + 0x1c]
push 2
push edx
call fcn.00415923
add esp, 0x10
test eax, eax
jbe 0x408e73
add ebx, dword [esp + 0x14]
push esi
push 1
lea eax, [esp + 0x1c]
push 2
push eax
call fcn.00415923
add esp, 0x10
test eax, eax
ja 0x408e55
mov dword [esp + 0x10], ebx
push esi
call fcn.0041564a
lea ecx, [esp + 0x24]
push ecx
push ebp
call fcn.00413ee3
add esp, 0xc
test eax, eax
jne 0x408f6c
mov edx, dword [esp + 0x34]
push edx
call fcn.00409b95
mov edi, eax
add esp, 4
test edi, edi
je 0x408f44
push 0x42ab68
push ebp
call fcn.00415a02
mov esi, eax
add esp, 8
test esi, esi
je 0x408ed1
mov eax, dword [esp + 0x34]
push esi
push eax
push 1
push edi
call fcn.00415923
push esi
call fcn.0041564a
add esp, 0x14
push str.Key
push edi
call fcn.00412936
mov esi, eax
add esp, 8
test esi, esi
je 0x408f44
push 0x10
lea ecx, [esp + 0x1c]
push ecx
add esi, 4
push esi
call fcn.00414f3b
mov edx, dword [esp + 0x24]
sub edx, esi
push edx
push 0
push esi
movzx ebp, ax
call fcn.004132a0
mov ecx, dword [esp + 0x4c]
add esp, 0x18
xor eax, eax
test ecx, ecx
jle 0x408f38
mov dx, word [esp + 0x10]
lea esp, [esp]
movzx si, byte [eax + edi]
add eax, 1
add dx, si
cmp eax, ecx
jl 0x408f20
mov word [esp + 0x10], dx
mov ebx, dword [esp + 0x10]
add ebp, ebx
test bp, bp
mov esi, 1
je 0x408f48
mov esi, dword [esp + 0x1c]
push edi
call fcn.00409b90
add esp, 4
mov eax, esi
pop esi
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.00413011
add esp, 0x148
ret
mov eax, edi
jmp 0x408f53
mov ecx, dword [esp + 0x150]
mov eax, edi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00413011
add esp, 0x148
ret
Function at 0x408fc0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x138
mov eax, dword [0x433a70]
xor eax, esp
mov dword [esp + 0x134], eax
push ebx
mov ebx, dword [esp + 0x140]
push 0x104
lea eax, [esp + 0x38]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp eax, 0x104
jae 0x409094
push esi
push edi
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x40]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
push edi
call fcn.00409b95
mov esi, eax
add esp, 4
test esi, esi
je 0x409092
push esi
push edi
push 0
lea eax, [esp + 0x48]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x409089
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0x429658
push esi
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 0xc]
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
push edx
movzx edx, word [eax + 0xa]
push ecx
push edx
push str._d._d._d._d
lea eax, [esp + 0x2c]
push 0x20
push eax
call fcn.004131ec
add esp, 0x1c
push ebx
lea ecx, [esp + 0x1c]
push ecx
push str.Version
push 0x42ab48
mov byte [esp + 0x48], 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push esi
call fcn.00409b90
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x138]
pop ebx
xor ecx, esp
call fcn.00413011
add esp, 0x138
ret
Function at 0x4090b0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x168
mov eax, dword [0x433a70]
xor eax, esp
mov dword [esp + 0x164], eax
push ebp
mov ebp, dword [esp + 0x170]
push esi
push 0x104
lea eax, [esp + 0x6c]
xor esi, esi
push eax
push esi
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp eax, 0x104
jae 0x40924b
push edi
lea ecx, [esp + 0x6c]
push 0x42ab68
push ecx
call fcn.00415a02
mov edi, eax
add esp, 8
test edi, edi
je 0x40913e
push edi
push 1
lea edx, [esp + 0x18]
push 2
push edx
call fcn.00415923
add esp, 0x10
test eax, eax
jbe 0x40913e
mov edi, edi
add esi, dword [esp + 0x10]
push edi
push 1
lea eax, [esp + 0x18]
push 2
push eax
call fcn.00415923
add esp, 0x10
test eax, eax
ja 0x409120
mov dword [esp + 0xc], esi
push edi
call fcn.0041564a
lea ecx, [esp + 0x1c]
push ecx
push ebp
call fcn.00413ee3
add esp, 0xc
test eax, eax
jne 0x40924a
mov edx, dword [esp + 0x2c]
push ebx
push edx
call fcn.00409b95
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x409240
push 0x42ab68
push ebp
call fcn.00415a02
mov edi, eax
add esp, 8
test edi, edi
je 0x40919d
mov eax, dword [esp + 0x30]
push edi
push eax
push 1
push ebx
call fcn.00415923
push edi
call fcn.0041564a
add esp, 0x14
push str.Key
push ebx
call fcn.00412936
mov edi, eax
add esp, 8
test edi, edi
je 0x409240
push 0x10
lea ecx, [esp + 0x1c]
push ecx
add edi, 4
push edi
call fcn.00414f3b
mov edx, dword [esp + 0x24]
sub edx, edi
push edx
push 0
push edi
call fcn.004132a0
mov ecx, dword [esp + 0x48]
add esp, 0x18
xor eax, eax
test ecx, ecx
jle 0x409208
mov dx, word [esp + 0x10]
jmp 0x4091f0
movzx si, byte [eax + ebx]
add eax, 1
add dx, si
cmp eax, ecx
jl 0x4091f0
mov word [esp + 0x10], dx
mov esi, dword [esp + 0x10]
not esi
add esi, 1
movzx eax, si
push eax
push str._04X
lea ecx, [esp + 0x54]
push 0x20
push ecx
call fcn.004131ec
add esp, 0x10
push ebp
lea edx, [esp + 0x50]
push edx
push 0x42ab6c
push 0x42ab48
mov byte [esp + 0x7c], 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push ebx
call fcn.00409b90
add esp, 4
pop ebx
pop edi
mov ecx, dword [esp + 0x16c]
pop esi
pop ebp
xor ecx, esp
call fcn.00413011
add esp, 0x168
ret
Function at 0x409290
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x2c
mov eax, dword [0x433a70]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
mov esi, dword [esp + 0x34]
push edi
push 0x42ac18
lea ecx, [esp + 0xc]
call fcn.00401130
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, eax
push edi
mov byte [esp + 0x14], 0x2d
mov byte [esp + 0x15], 0x6d
mov byte [esp + 0x16], 0x61
mov byte [esp + 0x17], 0x67
mov byte [esp + 0x18], 0x69
mov byte [esp + 0x19], 0x63
mov byte [esp + 0x1a], 0
call fcn.00412a4c
lea eax, [esp + 0x14]
push eax
push edi
call fcn.00412936
add esp, 0xc
test eax, eax
je 0x409386
lea ecx, [esp + 8]
push str.Writing_version_and_key_information
push ecx
call fcn.00401460
push esi
call fcn.00409270
lea edx, [esp + 0x14]
push str.Verifying_ini_file
push edx
call fcn.00401460
push esi
call fcn.00408f90
add esp, 0x18
test eax, eax
jne 0x409358
lea eax, [esp + 8]
push str.Ini_file_did_not_verify
push eax
call fcn.00401460
add esp, 8
lea ecx, [esp + 8]
call fcn.004012e0
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00413011
add esp, 0x2c
ret
lea ecx, [esp + 8]
push str.Ini_is_ready_for_use
push ecx
call fcn.00401460
add esp, 8
lea ecx, [esp + 8]
call fcn.004012e0
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00413011
add esp, 0x2c
ret
push esi
call fcn.00408f90
add esp, 4
test eax, eax
jne 0x4093c2
push esi
lea edx, [esp + 0xc]
push str.Ini_file_not_designed_for_use_with_this_scrubber:__s
push edx
call fcn.00401460
add esp, 0xc
lea ecx, [esp + 8]
call fcn.004012e0
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00413011
add esp, 0x2c
ret
push 0x10
call fcn.00409b65
add esp, 4
test eax, eax
je 0x4093dc
push esi
mov ecx, eax
call fcn.00402940
mov esi, eax
jmp 0x4093de
xor esi, esi
lea ecx, [esp + 8]
call fcn.004012e0
mov ecx, dword [esp + 0x30]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.00413011
add esp, 0x2c
ret
Function at 0x4096a0
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x427f4b
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x433a70]
xor eax, esp
mov dword [esp + 0xa4], eax
push esi
push edi
mov eax, dword [0x433a70]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
push str.CIniFile::GetOS
lea ecx, [esp + 0x10]
call fcn.00401130
xor edi, edi
cmp dword [0x435048], edi
mov dword [esp + 0xbc], 0
mov dword [esp + 0x14], edi
jne 0x409901
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x2c]
sub eax, 1
je 0x4097e3
sub eax, 1
jne 0x4098e5
mov esi, 4
cmp dword [esp + 0x20], esi
ja 0x409750
lea ecx, [esp + 0xc]
push str.OS_Version:_WINNT
push ecx
call fcn.00401460
add esp, 8
mov dword [0x435048], esi
mov esi, 5
cmp dword [esp + 0x20], esi
jne 0x4097c0
mov eax, dword [esp + 0x24]
sub eax, 0
je 0x4097a8
sub eax, 1
je 0x40978d
sub eax, 1
jne 0x4098e5
lea edx, [esp + 0xc]
push str.OS_Version:_WIN2K3
push edx
call fcn.00401460
mov dword [0x435048], 7
jmp 0x4097bd
lea eax, [esp + 0xc]
push str.OS_Version:_WINXP
push eax
call fcn.00401460
mov dword [0x435048], 6
jmp 0x4097bd
lea ecx, [esp + 0xc]
push str.OS_Version:_WIN2K
push ecx
call fcn.00401460
mov dword [0x435048], esi
add esp, 8
cmp dword [esp + 0x20], 6
jne 0x4097e3
lea edx, [esp + 0xc]
push str.OS_Version:_WINVISTA
push edx
call fcn.00401460
add esp, 8
mov dword [0x435048], 8
cmp dword [esp + 0x20], 4
jne 0x4098e5
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x409814
lea eax, [esp + 0xc]
push str.OS_Version:_WIN95
push eax
call fcn.00401460
mov dword [0x435048], 1
jmp 0x4098e2
jbe 0x4098e5
lea ecx, [esp + 0x14]
push ecx
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4098e5
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x18]
push edx
push eax
push eax
push eax
mov eax, dword [esp + 0x24]
push str.VersionNumber
push eax
call esi
test eax, eax
jne 0x4098e5
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00409b95
mov edi, eax
add esp, 4
test edi, edi
je 0x4098e5
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push edi
push 0
push 0
push str.VersionNumber
push eax
call esi
test eax, eax
jne 0x4098e5
push str.4.10
push edi
call fcn.00412936
add esp, 8
test eax, eax
je 0x4098b7
lea ecx, [esp + 0xc]
push str.OS_Version:_WIN98
push ecx
call fcn.00401460
mov dword [0x435048], 2
jmp 0x4098e2
push str.4.90
push edi
call fcn.00412936
add esp, 8
test eax, eax
je 0x4098e5
lea edx, [esp + 0xc]
push str.OS_Version:_WINME
push edx
call fcn.00401460
mov dword [0x435048], 3
add esp, 8
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4098f4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x409901
push edi
call fcn.00409b90
add esp, 4
mov esi, dword [0x435048]
lea ecx, [esp + 0xc]
mov dword [esp + 0xbc], 0xffffffff
call fcn.004012e0
mov eax, esi
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00413011
add esp, 0xb4
ret
Function at 0x409950
Capabilities:
Delete registry value
Persist via run registry key
Read .ini file
Set registry value

Disassembly:
sub esp, 0x28
mov eax, dword [0x433a70]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
push str.WinMain
lea ecx, [esp + 0x1c]
call fcn.00401130
xor ebx, ebx
call sym.Scrubber.exe_LocateIniFile
mov edi, eax
test edi, edi
mov dword [esp + 0x14], edi
je 0x409ad4
push edi
call sym.Scrubber.exe_LoadIniFile
add esp, 4
test eax, eax
mov dword [0x435044], eax
je 0x409ad9
push eax
call sym.Scrubber.exe_LoadScrubber
add esp, 4
test eax, eax
mov dword [0x435040], eax
je 0x409af3
push edi
push 0x14
lea eax, [esp + 0x28]
push eax
push str.NOT_FOUND
push str.RunAfterReboot
push 0x42ab48
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x20]
push ecx
push str.NOT_FOUND
call fcn.00413ac5
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 8
test eax, eax
je 0x409a85
lea edx, [esp + 0x20]
push str.True
push edx
call fcn.00413cf2
add esp, 8
test eax, eax
jne 0x409a85
push 0x104
mov dword [esp + 0x14], ebx
call fcn.00409b95
add esp, 4
push 0x104
mov esi, eax
push esi
push 0
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push 0x80000002
call edi
test eax, eax
jne 0x409a7c
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x409a51
mov ecx, dword [esp + 0x10]
sub eax, edx
add eax, 1
push eax
push esi
push 1
push 0
push str.hpscrubber
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x10]
push edx
call ebp
push esi
call fcn.00409b90
add esp, 4
mov ecx, dword [0x435040]
call fcn.004088d0
cmp ebx, 1
jne 0x409ad0
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push 0x80000002
mov dword [esp + 0x24], 0
call edi
test eax, eax
jne 0x409ad0
mov ecx, dword [esp + 0x10]
push str.hpscrubber
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 0x10]
push edx
call ebp
mov edi, dword [esp + 0x14]
mov eax, dword [0x435044]
mov ecx, dword [0x435040]
test ecx, ecx
je 0x409af8
mov esi, ecx
call fcn.00403330
push esi
call fcn.00409b90
add esp, 4
mov eax, dword [0x435044]
test eax, eax
je 0x409b0e
mov ecx, eax
mov esi, eax
call fcn.004023e0
push esi
call fcn.00409b90
add esp, 4
test edi, edi
je 0x409b1b
push edi
call fcn.00409b90
add esp, 4
lea ecx, [esp + 0x18]
call fcn.004012e0
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00413011
add esp, 0x28
ret 0x10

Function at 0x413011
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x433a70]
jne 0x41301b
repz ret
jmp fcn.0041a7b8
Function at 0x421ab1
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00418cc6
xor ebx, ebx
cmp dword [0x4378c8], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x421b86
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x421af1
xor eax, eax
jmp 0x421c4a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42d698
push edi
call esi
cmp eax, ebx
je 0x421aea
push eax
call fcn.00418c63
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4378c8], eax
call esi
push eax
call fcn.00418c63
mov dword [esp], 0x42d674
push edi
mov dword [0x4378cc], eax
call esi
push eax
call fcn.00418c63
mov dword [0x4378d0], eax
lea eax, [ebp - 8]
push eax
call fcn.00417fae
test eax, eax
pop ecx
pop ecx
je 0x421b54
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004191a0
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x421b86
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00418c63
cmp eax, ebx
pop ecx
mov dword [0x4378d8], eax
je 0x421b86
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00418c63
pop ecx
mov dword [0x4378d4], eax
mov eax, dword [0x4378d4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x421bff
cmp dword [0x4378d8], esi
je 0x421bff
push eax
call fcn.00418ccf
pop ecx
call eax
cmp eax, ebx
je 0x421bcc
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4378d8]
call fcn.00418ccf
pop ecx
call eax
test eax, eax
je 0x421bcc
test byte [ebp - 0x18], 1
jne 0x421bff
lea eax, [ebp - 0xc]
push eax
call fcn.00417fe5
test eax, eax
pop ecx
je 0x421be7
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004191a0
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x421bf6
or dword [ebp + 0x10], 0x200000
jmp 0x421c30
or dword [ebp + 0x10], 0x40000
jmp 0x421c30
mov eax, dword [0x4378cc]
cmp eax, esi
je 0x421c30
push eax
call fcn.00418ccf
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x421c30
mov eax, dword [0x4378d0]
cmp eax, esi
je 0x421c30
push dword [ebp - 4]
push eax
call fcn.00418ccf
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4378c8]
call fcn.00418ccf
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x427556
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x433a70]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004274eb
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004132a0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4275a5
cmp dword [ebp - 0x1c], 5
jb 0x4275bd
jmp 0x4275b9
cmp dword [ebp - 0x10], 1
jne 0x4275bd
cmp dword [ebp - 0x1c], 4
ja 0x4275b9
jne 0x4275bd
cmp dword [ebp - 0x18], 0
jbe 0x4275bd
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x42d750
call fcn.004273dc
test eax, eax
jge 0x4275de
mov byte [0x434f00], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00413011
add ebp, 0x78
leave
ret
Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x14040bb4
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x3c33574e
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219