joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000e16c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
cmp dword [ebp + 8], 0
jne 0x1000e180
or eax, 0xffffffff
leave
ret
cmp dword [ebp + 0xc], 0
jne 0x1000e19a
lea eax, [ebp - 0x104]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
jmp 0x1000e1ab
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x104]
push 0x100133fc
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
xor eax, eax
leave
ret

Function at 0x1000e1cb
Capabilities:
Check if file exists
Copy file
Delete file
Get common file path
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
je 0x1000e33a
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x1000e33a
push dword [ebp + 8]
call fcn.1000dc27
test eax, eax
pop ecx
je 0x1000e33a
mov eax, dword [ebp + 0x10]
push edi
mov ebx, eax
and eax, 2
and ebx, 1
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1000e224
test al, 1
je 0x1000e224
and al, 0xfe
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp esi, 1
je 0x1000e30f
push edi
call fcn.1000de12
test eax, eax
pop ecx
je 0x1000e30f
call fcn.1000d293
cmp eax, 1
jne 0x1000e270
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 4
push 0
push edi
call esi
test eax, eax
je 0x1000e324
push 4
push edi
push dword [ebp + 8]
call esi
test eax, eax
jne 0x1000e2fc
jmp 0x1000e324
lea eax, [ebp - 0x208]
push 0
push eax
call fcn.1000e16c
pop ecx
mov esi, 0x104
pop ecx
push esi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea eax, [ebp - 0x208]
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x104]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x104]
push str.WININIT.INI
push eax
call fcn.1000e0d5
add esp, 0xc
lea eax, [ebp - 0x104]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push eax
lea eax, [ebp - 0x208]
push eax
push edi
mov edi, str.Rename
push edi
call esi
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x208]
push eax
push 0x100147e0
push edi
call esi
cmp ebx, 1
jne 0x1000e30a
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 1
pop eax
jmp 0x1000e33d
push 0
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x1000e328
call fcn.10001686
push 0xfffffffffffffffe
jmp 0x1000e30c
cmp ebx, 1
jne 0x1000e336
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
jmp 0x1000e33d
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000e342
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.1000dc27
test eax, eax
pop ecx
jne 0x1000e35f
or eax, 0xffffffff
jmp 0x1000e3bb
mov eax, dword [ebp + 0xc]
and eax, 2
cmp al, 1
je 0x1000e3be
push esi
call fcn.1000de12
test eax, eax
pop ecx
je 0x1000e3be
lea eax, [ebp - 0x104]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x104]
push str.WININIT.INI
push eax
call fcn.1000e0d5
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push esi
push 0x100147e0
push str.Rename
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
xor eax, eax
pop esi
leave
ret
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1000e3b9
push 0xfffffffffffffffe
pop eax
jmp 0x1000e3bb

Function at 0x1000e487
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 8]
push esi
push eax
push 1
call dword [sym.imp.ole32.dll_CoGetMalloc]
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffc18
and byte [esi], 0
cmp eax, 9
ja case.default.0x1000e4b0
jmp dword [eax*4 + 0x1000e549]
push 7
jmp 0x1000e4d9
push 0x18
jmp 0x1000e4d9
push 0xb
jmp 0x1000e4d9
push 0x16
jmp 0x1000e4d9
push 2
jmp 0x1000e4d9
push 0x17
jmp 0x1000e4d9
push 0x10
jmp 0x1000e4d9
push 0x19
jmp 0x1000e4d9
push 0x1a
pop eax
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne case.default.0x1000e4b0
push esi
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
cmp eax, 1
jne case.default.0x1000e4b0
push esi
call sub.MSVCRT.dll_strlen
lea esi, [eax + esi - 1]
mov al, byte [esi]
push eax
call fcn.1000de47
pop ecx
test al, al
pop ecx
je 0x1000e516
and byte [esi], 0
xor eax, eax
jmp 0x1000e546
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x1000e4fb
cmp dword [ebp - 4], 0
je 0x1000e53a
mov eax, dword [ebp - 8]
push dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
or eax, 0xffffffff
pop esi
leave
ret

Function at 0x1000e7e9
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x10013400
push dword [ebp + 8]
mov esi, ecx
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
test eax, eax
pop ecx
je 0x1000e81b
add eax, 2
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_strchr]
pop ecx
test eax, eax
pop ecx
je 0x1000e81b
cmp byte [eax + 1], 0
jne 0x1000e820
or eax, 0xffffffff
jmp 0x1000e840
lea eax, [ebp + 8]
mov ecx, esi
push eax
call fcn.1000e71d
mov ecx, dword [ebp + 8]
cmp byte [ecx], 0x5c
jne 0x1000e836
inc dword [ebp + 8]
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop esi
pop ebp
ret 4
Function at 0x1000e942
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
jne 0x1000e950
push 3
pop eax
jmp 0x1000e977
push dword [esp + 0xc]
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push dword [esp + 0x10]
push 1
push 0
push dword [esp + 0x18]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esi + 8], eax
neg eax
sbb eax, eax
pop esi
ret 8

Function at 0x1000e97b
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x1000e98a
push 3
pop eax
jmp 0x1000e9a7
lea ecx, [esp + 0xc]
push 4
push ecx
push 4
push 0
push dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esi + 8], eax
neg eax
sbb eax, eax
pop esi
ret 8
Function at 0x40da92
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x3c]
add eax, edx
add eax, 4
add eax, 0x14
lea eax, [eax + 0x60]
add eax, 8
mov eax, dword [eax]
add eax, edx
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x118], 0x49
mov byte [ebp - 0x117], 0x6d
mov byte [ebp - 0x116], 0x70
mov byte [ebp - 0x115], 0x6f
mov byte [ebp - 0x114], 0x72
mov byte [ebp - 0x113], 0x74
mov byte [ebp - 0x112], 0x20
mov byte [ebp - 0x111], 0x54
mov byte [ebp - 0x110], 0x61
mov byte [ebp - 0x10f], 0x62
mov byte [ebp - 0x10e], 0x6c
mov byte [ebp - 0x10d], 0x65
mov byte [ebp - 0x10c], 0x3a
mov byte [ebp - 0x10b], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x40db67
lea esi, [ebp - 0x14]
mov ecx, 0x14
mov al, 0
mov byte [esi], al
inc esi
dec ecx
jne 0x40db31
mov ebx, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
mov edi, ebx
mov ecx, 0x14
repe cmpsb byte [esi], byte es:[edi]
je 0x40db5d
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040db71
test eax, eax
je 0x40db67
add ebx, 0x14
jmp 0x40db3a
popal
mov eax, 1
leave
ret 8
popal
mov eax, 0
leave
ret 8
Function at 0x40db71
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
pushal
mov eax, 1
test eax, eax
je 0x40dddd
mov byte [ebp - 0x10c], 0x50
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x6f
mov byte [ebp - 0x109], 0x63
mov byte [ebp - 0x108], 0x65
mov byte [ebp - 0x107], 0x73
mov byte [ebp - 0x106], 0x73
mov byte [ebp - 0x105], 0x69
mov byte [ebp - 0x104], 0x6e
mov byte [ebp - 0x103], 0x67
mov byte [ebp - 0x102], 0x20
mov byte [ebp - 0x101], 0x49
mov byte [ebp - 0x100], 0x6d
mov byte [ebp - 0xff], 0x70
mov byte [ebp - 0xfe], 0x6f
mov byte [ebp - 0xfd], 0x72
mov byte [ebp - 0xfc], 0x74
mov byte [ebp - 0xfb], 0x20
mov byte [ebp - 0xfa], 0x44
mov byte [ebp - 0xf9], 0x69
mov byte [ebp - 0xf8], 0x72
mov byte [ebp - 0xf7], 0x65
mov byte [ebp - 0xf6], 0x63
mov byte [ebp - 0xf5], 0x74
mov byte [ebp - 0xf4], 0x6f
mov byte [ebp - 0xf3], 0x72
mov byte [ebp - 0xf2], 0x79
mov byte [ebp - 0xf1], 0x3a
mov byte [ebp - 0xf0], 0
mov eax, 1
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
add eax, dword [ebp + 0xc]
mov ebx, eax
mov eax, 1
test eax, eax
je 0x40dddd
mov eax, 1
test eax, eax
je 0x40dddd
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
test eax, eax
je 0x40dddd
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [edx + 0x10]
add eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
sub ecx, ecx
mov eax, dword [ebp - 0xc]
add eax, ecx
mov eax, dword [eax]
test eax, eax
je 0x40ddd3
mov ebx, eax
and eax, 0x80000000
jne 0x40dd4a
mov byte [ebp - 0x10c], 0x4e
mov byte [ebp - 0x10b], 0x61
mov byte [ebp - 0x10a], 0x6d
mov byte [ebp - 0x109], 0x65
mov byte [ebp - 0x108], 0x3a
mov byte [ebp - 0x107], 0x20
mov byte [ebp - 0x106], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x40dddd
add ebx, dword [ebp + 0xc]
lea ebx, [ebx + 2]
mov eax, ebx
mov eax, 1
test eax, eax
je 0x40dddd
mov eax, 1
test eax, eax
je 0x40dddd
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x40dddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x40dca5
mov byte [ebp - 0x10c], 0x4f
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x64
mov byte [ebp - 0x109], 0x69
mov byte [ebp - 0x108], 0x6e
mov byte [ebp - 0x107], 0x61
mov byte [ebp - 0x106], 0x6c
mov byte [ebp - 0x105], 0x3a
mov byte [ebp - 0x104], 0x20
mov byte [ebp - 0x103], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x40dddd
xor ebx, 0x80000000
mov eax, ebx
mov eax, 1
test eax, eax
je 0x40db67
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x40dddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x40dca5
popal
mov eax, 1
leave
ret 0xc
popal
mov eax, 0
leave
ret 0xc
Function at 0x40de9d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
sub eax, eax
mov ax, word [edx + 2]
mov dword [ebp - 0x118], eax
add edx, 0x14
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x114], eax
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x110], edx
lea edx, [ebp - 0xc]
mov ebx, dword [ebp + 8]
push edx
push 4
push eax
push dword [ebp - 0x114]
call dword [ebx + 0x24]
test eax, eax
je 0x40dfee
mov byte [ebp - 0x10c], 0x53
mov byte [ebp - 0x10b], 0x65
mov byte [ebp - 0x10a], 0x74
mov byte [ebp - 0x109], 0x20
mov byte [ebp - 0x108], 0x49
mov byte [ebp - 0x107], 0x6d
mov byte [ebp - 0x106], 0x61
mov byte [ebp - 0x105], 0x67
mov byte [ebp - 0x104], 0x65
mov byte [ebp - 0x103], 0x20
mov byte [ebp - 0x102], 0x77
mov byte [ebp - 0x101], 0x72
mov byte [ebp - 0x100], 0x69
mov byte [ebp - 0xff], 0x74
mov byte [ebp - 0xfe], 0x61
mov byte [ebp - 0xfd], 0x62
mov byte [ebp - 0xfc], 0x6c
mov byte [ebp - 0xfb], 0x65
mov byte [ebp - 0xfa], 0x3a
mov byte [ebp - 0xf9], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x40dfee
mov edx, dword [ebp - 0x110]
lea ebx, [edx + 0x60]
mov eax, dword [edx + 0x5c]
mov edx, 8
mul edx
add eax, ebx
mov dword [ebp - 8], eax
mov eax, 0x28
mov edx, dword [ebp - 0x118]
mul edx
add eax, dword [ebp - 8]
mov ebx, dword [ebp + 0x10]
sub eax, ebx
mov dword [ebp - 4], eax
mov edi, dword [ebp - 0x114]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x118]
mov ebx, dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp - 0x114]
push ebx
push dword [ebp + 8]
call fcn.0040dff8
test eax, eax
je 0x40dfee
add ebx, 0x28
dec ecx
jne 0x40dfc7
popal
mov eax, dword [ebp - 0x114]
leave
ret 0x10
popal
mov eax, 0
leave
ret 0x10

Function at 0x40e09e
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
pushal
mov edx, dword [ebp + 0xc]
mov ebx, dword [edx + 0x24]
and ebx, 0xe0000000
cmp ebx, 0xe0000000
jne 0x40e0c9
mov eax, 0x40
mov dword [ebp - 0x108], eax
jmp 0x40e12e
mov ebx, dword [edx + 0x24]
and ebx, 0x60000000
cmp ebx, 0x60000000
jne 0x40e0e7
mov eax, 0x20
mov dword [ebp - 0x108], eax
jmp 0x40e12e
mov ebx, dword [edx + 0x24]
and ebx, 0xc0000000
cmp ebx, 0xc0000000
jne 0x40e105
mov eax, 4
mov dword [ebp - 0x108], eax
jmp 0x40e12e
mov ebx, dword [edx + 0x24]
and ebx, 0x40000000
cmp ebx, 0x40000000
jne 0x40e123
mov eax, 2
mov dword [ebp - 0x108], eax
jmp 0x40e12e
mov eax, 1
mov dword [ebp - 0x108], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov ebx, dword [edx + 8]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x104]
push edx
push dword [ebp - 0x108]
push ebx
push eax
call dword [ecx + 0x24]
test eax, eax
je 0x40e16b
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov eax, 1
popal
mov eax, 1
leave
ret 0x10
popal
sub eax, eax
leave
ret 0x10
Function at 0x40e172
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
mov edx, dword [ebp + 8]
mov ax, word [edx]
cmp ax, 0x5a4d
jne 0x40e1a1
mov eax, dword [edx + 0x3c]
add edx, eax
mov eax, dword [edx]
cmp eax, 0x4550
jne 0x40e1a1
add edx, 4
mov dword [ebp - 4], edx
popal
mov eax, dword [ebp - 4]
leave
ret 8
popal
sub eax, eax
leave
ret 8

Function at 0x40edff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ecx, 3
mov edx, 1
push ecx
push dword [ebp + 8]
call fcn.0040ef04
rol eax, 8
push dword [ebp + 0xc]
push eax
call fcn.0040ef20
push edx
push dword [ebp + 0x10]
push eax
call fcn.0040eeec
inc edx
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0040ef04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0040eecb
push ecx
push dword [ebp + 8]
call fcn.0040ef04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0040ef04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0040eecb
push ecx
push dword [ebp + 8]
call fcn.0040ef04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0040ef04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0040eecb
push ecx
push dword [ebp + 8]
call fcn.0040ef04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0040ef04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0040eecb
cmp ecx, 0x2b
jne 0x40ee0f
leave
ret 0xc

Function at 0x4104b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov byte [ebp - 0x118], 0x42
mov byte [ebp - 0x117], 0x72
mov byte [ebp - 0x116], 0x75
mov byte [ebp - 0x115], 0x74
mov byte [ebp - 0x114], 0x65
mov byte [ebp - 0x113], 0x66
mov byte [ebp - 0x112], 0x6f
mov byte [ebp - 0x111], 0x72
mov byte [ebp - 0x110], 0x63
mov byte [ebp - 0x10f], 0x69
mov byte [ebp - 0x10e], 0x6e
mov byte [ebp - 0x10d], 0x67
mov byte [ebp - 0x10c], 0x20
mov byte [ebp - 0x10b], 0x4b
mov byte [ebp - 0x10a], 0x65
mov byte [ebp - 0x109], 0x79
mov byte [ebp - 0x108], 0
mov eax, 1
lea edi, [ebp - 0x14]
mov ecx, 0x10
mov al, 0
mov byte [edi], al
inc edi
dec ecx
jne 0x410544
mov eax, dword [ebp + 8]
push 4
push 0x3000
push 0x20b0
push 0
call dword [eax + 0x20]
test eax, eax
je 0x4105d6
mov dword [ebp - 4], eax
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, 0x20b0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push 0x20b0
call fcn.004103fa
push 0x20b0
push dword [ebp + 0xc]
call fcn.0040e1a8
test eax, eax
jne 0x4105b8
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov ecx, 0x20b0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.004105dd
test eax, eax
je 0x4105d6
jmp 0x410574
mov eax, dword [ebp + 8]
push 0x8000
push 0
push dword [ebp - 4]
call dword [eax + 0x28]
test eax, eax
je 0x4105d6
popal
mov eax, 1
leave
ret 8
popal
sub eax, eax
leave
ret 8
Function at 0x41060b
Capabilities:
Terminate process

Disassembly:
call fcn.00410618
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x7ece30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x287000]
push edi
or ebp, 0xffffffff
jmp 0x7ece52
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7ece59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7ece48
mov eax, 1
add ebx, ebx
jne 0x7ece6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7ece7c
jne 0x7ece9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7ece9b
dec eax
add ebx, ebx
jne 0x7ece88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7ece60
add ebx, ebx
jne 0x7ece97
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7eceed
xor ecx, ecx
sub eax, 3
jb 0x7eceb3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7ecf22
sar eax, 1
mov ebp, eax
jmp 0x7ecebe
add ebx, ebx
jne 0x7ecebe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7ece8c
inc ecx
add ebx, ebx
jne 0x7ececc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7ece8c
add ebx, ebx
jne 0x7eced9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7ecece
jne 0x7eceea
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7ecece
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7ecf0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7ecefe
jmp 0x7ece4e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7ecf0c
add edi, ecx
jmp 0x7ece4e
pop esi
mov edi, esi
mov ecx, 0xb9f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7ecf2a
cmp byte [edi], 0x1d
jne 0x7ecf2a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x7ecf2f
lea edi, [esi + 0x3d7000]
mov eax, dword [edi]
or eax, eax
je 0x7ecfa7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x462c38]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x462cec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7ecf5c
mov ecx, edi
jns 0x7ecf8b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x462cf0]
or eax, eax
je 0x7ecfa1
mov dword [ebx], eax
add ebx, 4
jmp 0x7ecf79
call dword [esi + 0x462d00]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x7ecfd8
cmp al, 0xef
ja 0x7ecfcb
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x7ecfad
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x7ecfba
mov ebp, dword [esi + 0x462cf4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x7ed00c
sub esp, 0xffffff80
jmp 0x5590a2
Function at 0x4c09b0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4c09dd
test al, 0x10
jne 0x4c09d4
and eax, 0xffffffdf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4c09dd
mov eax, 1
pop esi
ret 4
push esi
push 0x4bf
call fcn.004750b0
push eax
mov eax, dword [0x51f844]
push eax
call fcn.004ace90
add esp, 0xc
xor eax, eax
pop esi
ret 4

Function at 0x4c0c62
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4eb984]
jne 0x4c0c6c
repz ret
jmp fcn.004c5d43

Function at 0x4cf17f
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.004c6c76
and dword [ebp - 4], 0
cmp dword [0x58a2e4], 0
mov ebx, eax
jne 0x4cf230
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4cf2e1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4cf2e1
push eax
call fcn.004c6c04
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x58a2e4], eax
call esi
push eax
call fcn.004c6c04
mov dword [esp], 0x4e152c
push edi
mov dword [0x58a2e8], eax
call esi
push eax
call fcn.004c6c04
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x58a2ec], eax
call esi
push eax
call fcn.004c6c04
pop ecx
mov dword [0x58a2f4], eax
test eax, eax
je 0x4cf230
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004c6c04
pop ecx
mov dword [0x58a2f0], eax
mov eax, dword [0x58a2f0]
cmp eax, ebx
je 0x4cf288
cmp dword [0x58a2f4], ebx
je 0x4cf288
push eax
call fcn.004c6c7f
push dword [0x58a2f4]
mov esi, eax
call fcn.004c6c7f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4cf288
test edi, edi
je 0x4cf288
call esi
test eax, eax
je 0x4cf27f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4cf27f
test byte [ebp - 0xc], 1
jne 0x4cf288
or dword [ebp + 0x10], 0x200000
jmp 0x4cf2c1
mov eax, dword [0x58a2e8]
cmp eax, ebx
je 0x4cf2c1
push eax
call fcn.004c6c7f
pop ecx
test eax, eax
je 0x4cf2c1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4cf2c1
mov eax, dword [0x58a2ec]
cmp eax, ebx
je 0x4cf2c1
push eax
call fcn.004c6c7f
pop ecx
test eax, eax
je 0x4cf2c1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x58a2e4]
call fcn.004c6c7f
pop ecx
test eax, eax
je 0x4cf2e1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4cf2e3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx