joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100bde69
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x100bde73
add dword [esp], 5
retf

Function at 0x100bed4c
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x100bed56
add dword [esp], 5
retf

Function at 0x100c245e
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x100c248a
add dword [esp], 5
retf
Function at 0x100c3527
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.100da659
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.100da659
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0x10
call fcn.100da659
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0
mov ebx, 0x8d4
call fcn.100e0740
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
je 0x100c35e0
mov eax, 0
jmp 0x100c374c
cmp dword [ebp + 0xc], 0
jne 0x100c3616
mov dword [ebp - 0x18], esp
call dword [sym.imp.kernel32.dll_GetCurrentProcess_1]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x100c3613
push 0xa0
push 0x4023034
push 6
call fcn.100da665
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
jne 0x100c363e
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x100c3638
push ebx
call fcn.100da65f
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0x28
push dword [ebp - 4]
call dword [sym.imp.advapi32.dll_OpenProcessToken_1]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x100c3673
push 0x104
push 0x4023034
push 6
call fcn.100da665
add esp, 0xc
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0x10106579
call dword [sym.imp.advapi32.dll_LookupPrivilegeValueA_1]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x100c36a9
push 0x12e
push 0x4023034
push 6
call fcn.100da665
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov dword [ebp - 0x18], esp
mov eax, 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
push 0x1c
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
call dword [sym.imp.advapi32.dll_AdjustTokenPrivileges_1]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x100c3747
push 0x225
push 0x4023034
push 6
call fcn.100da665
add esp, 0xc
jmp 0x100c374c
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.100da65f
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.100da65f
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.100da65f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100d9dac
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push htons
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x100d9dd1
mov eax, 0x1010669c
push eax
push 1
mov ebx, 0x194
call fcn.100db4e0
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0x40
push 0x1000
push dword [ebp - 8]
push 0
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_VirtualAllocEx_1]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x100d9e25
push 0x4e
push 0x4022e97
push 6
call fcn.100da665
add esp, 0xc
mov dword [ebp - 4], eax
push dword [ebp + 0xc]
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.100a3ea3
mov eax, dword [ebp - 4]
jmp 0x100d9e3e
mov esp, ebp
pop ebp
ret 8

Function at 0x100dcdc0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.kernel32.dll_CreateFileA_1]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x100dce29
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.kernel32.dll_GetFileSize_1]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.100db040
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.kernel32.dll_ReadFile_1]
push edi
call dword [sym.imp.kernel32.dll_CloseHandle_1]
mov eax, esi
pop esi
pop ebx
pop edi
ret

Function at 0x100dcfd0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.kernel32.dll_CreateFileA_1]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x100dd062
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x100dd054
mov ebp, dword [sym.imp.kernel32.dll_WriteFile_1]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x100dd04c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x100dd015
push edi
call dword [sym.imp.kernel32.dll_CloseHandle_1]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.kernel32.dll_CloseHandle_1]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x100dd4e0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x100dd4fe
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x100dd4f3
pop esi
ret
Function at 0x100dd750
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
push edi
push eax
call fcn.100e1be0
mov esi, dword [esp + 0x38]
mov ebx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 4
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x10], ebp
test ebx, ebx
je 0x100dd8a0
test ecx, ecx
je 0x100dd8a0
inc ecx
push ecx
call fcn.100e2e97
mov ebp, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov edx, ecx
mov esi, edi
mov edi, ebp
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.100e2e70
mov edi, eax
add esp, 0xc
test edi, edi
je 0x100dd7c9
mov byte [edi], 0
inc edi
lea eax, [esp + 0x1c]
push eax
push ebp
push ebx
call dword [sym.imp.advapi32.dll_RegOpenKeyA]
test eax, eax
jne 0x100dd88d
push 0x400
mov dword [esp + 0x18], 0x400
mov dword [esp + 0x1c], 1
call fcn.100e2e97
add esp, 4
mov ebx, dword [sym.imp.advapi32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push esi
push edx
push 0
push edi
push eax
call ebx
test eax, eax
je 0x100dd851
cmp eax, 0xea
jne 0x100dd879
push esi
call fcn.100e2e59
mov ecx, dword [esp + 0x18]
push ecx
call fcn.100e2e97
mov ecx, dword [esp + 0x24]
add esp, 8
lea edx, [esp + 0x14]
mov esi, eax
push edx
lea eax, [esp + 0x1c]
push esi
push eax
push 0
push edi
push ecx
call ebx
test eax, eax
jne 0x100dd81c
mov eax, dword [esp + 0x18]
cmp eax, 1
je 0x100dd85f
cmp eax, 2
jne 0x100dd879
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
call fcn.100e14c0
add esp, 8
mov dword [esp + 0x10], eax
push esi
call fcn.100e2e59
mov edx, dword [esp + 0x20]
add esp, 4
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
push ebp
call fcn.100e2e59
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
jne 0x100dd8ce
mov ebp, eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x100dd8da
mov edx, dword [esp + 0x40]
test edx, edx
je 0x100dd8da
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
call fcn.100e14c0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x100df860
Capabilities:
Get common file path
Get disk size

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x11c
test eax, eax
jne 0x100df884
lea eax, [esp + 0x18]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA_1]
test eax, eax
je 0x100df8e2
jmp 0x100df8a6
mov edx, dword [esp + 0x124]
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
je 0x100df8e2
mov cl, byte [edx]
mov byte [esp + 0x19], 0x3a
mov byte [esp + 0x18], cl
lea edx, [esp + 8]
lea eax, [esp]
push edx
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x2a], 0
call dword [sym.imp.kernel32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x100df8e2
mov eax, dword [esp]
mov edx, dword [esp + 4]
mov ecx, 0xa
call fcn.100e2f80
add esp, 0x11c
ret
or eax, 0xffffffff
add esp, 0x11c
ret

Function at 0x100df9e0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push esi
push eax
push 0x104
xor esi, esi
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA_1]
test eax, eax
je 0x100dfa1d
lea ecx, [esp + 4]
push ecx
call fcn.100e0ec0
lea edx, [esp + 8]
push eax
push edx
call fcn.100e14c0
add esp, 0xc
pop esi
add esp, 0x104
ret
mov eax, esi
pop esi
add esp, 0x104
ret

Function at 0x100dfa40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x114
mov eax, dword [esp + 0x11c]
push ebp
push esi
push edi
push eax
call fcn.100e1be0
mov esi, dword [esp + 0x138]
mov ebp, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 4
xor edx, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x10], edx
test ebp, ebp
je 0x100dfb2e
test ecx, ecx
je 0x100dfb2e
inc ecx
push ebx
push ecx
call fcn.100e2e97
mov ebx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov edx, ecx
mov esi, edi
mov edi, ebx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.100e2e70
mov esi, eax
add esp, 0xc
test esi, esi
je 0x100dfac2
mov byte [esi], 0
inc esi
lea eax, [esp + 0x10]
push eax
push ebx
push ebp
call dword [sym.imp.advapi32.dll_RegOpenKeyA]
test eax, eax
jne 0x100dfb16
lea ecx, [esp + 0x18]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push edx
push eax
push 0
push esi
push ecx
mov dword [esp + 0x30], 0x104
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
je 0x100dfb03
cmp eax, 0xea
jne 0x100dfb0b
mov dword [esp + 0x14], 1
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
push ebx
call fcn.100e2e59
mov eax, dword [esp + 0x18]
add esp, 4
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x114
ret
pop edi
pop esi
mov eax, edx
pop ebp
add esp, 0x114
ret
Function at 0x100dfb40
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
lea eax, [esp + 0x14]
push edi
push eax
mov dword [esp + 0x1c], 0x44
call dword [sym.imp.kernel32.dll_GetStartupInfoA_1]
mov eax, dword [esp + 0x84]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x44], 1
je case.0x100dfb81.2
mov ecx, dword [esp + 0x7c]
lea eax, [ecx - 1]
cmp eax, 5
ja case.0x100dfb81.2
jmp dword [eax*4 + 0x100dfc0c]
mov word [esp + 0x48], di
jmp 0x100dfbba
mov word [esp + 0x48], 2
jmp 0x100dfbba
mov word [esp + 0x48], 3
jmp 0x100dfbba
mov word [esp + 0x48], 4
jmp 0x100dfbba
mov word [esp + 0x48], 7
jmp 0x100dfbba
mov word [esp + 0x48], 5
lea edx, [esp + 8]
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x18]
push edx
push eax
push edi
push edi
push edi
push 1
push edi
push edi
push ecx
push edi
call dword [sym.imp.kernel32.dll_CreateProcessA]
mov esi, eax
cmp esi, edi
je 0x100dfc04
cmp dword [esp + 0x70], edi
je 0x100dfbf0
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.kernel32.dll_CloseHandle_1]
push eax
call edi
mov ecx, dword [esp + 0xc]
push ecx
call edi
mov eax, esi
pop edi
pop esi
add esp, 0x54
ret
Function at 0x100e0000
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x140
push ebx
mov ebx, dword [esp + 0x154]
push ebp
push esi
mov esi, dword [ebx]
push edi
mov edi, dword [esp + 0x154]
xor ebp, ebp
test edi, edi
je 0x100e007f
push edi
call fcn.100e0ec0
add esp, 4
test eax, eax
jbe 0x100e007f
test esi, esi
je 0x100e003d
cmp esi, 0xffffffff
je 0x100e003d
push esi
call dword [sym.imp.kernel32.dll_FindClose]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebx], esi
je 0x100e00c1
mov eax, dword [esp + 0x15c]
test eax, eax
je 0x100e006b
mov ecx, dword [esp + 0x10]
and ecx, 0x10
cmp cl, 0x10
je 0x100e007f
jmp 0x100e007a
mov edx, dword [esp + 0x158]
mov eax, dword [esp + 0x10]
test edx, eax
je 0x100e007f
mov ebp, 1
test esi, esi
je 0x100e00c1
cmp esi, 0xffffffff
je 0x100e00c1
test ebp, ebp
jne 0x100e00f8
mov eax, dword [esp + 0x15c]
mov edi, dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
lea eax, [esp + 0x10]
push eax
push esi
je 0x100e00ce
call edi
test eax, eax
je 0x100e00c1
mov ecx, dword [esp + 0x10]
and ecx, 0x10
cmp cl, 0x10
jne 0x100e00f8
lea edx, [esp + 0x10]
push edx
push esi
call edi
test eax, eax
jne 0x100e00a9
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x140
ret
call edi
test eax, eax
je 0x100e00c1
mov ebx, dword [esp + 0x158]
test dword [esp + 0x10], ebx
jne 0x100e00f8
lea ecx, [esp + 0x10]
push ecx
push esi
call edi
test eax, eax
jne 0x100e00db
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
lea edx, [esp + 0x3c]
push edx
call fcn.100e0ec0
inc eax
push eax
call fcn.100db040
mov edx, eax
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
Function at 0x8e0f08
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x8e0f0e
pop ebp
sub ebp, 6
sub ebp, 0x4e0f08
jmp 0x8e0f6c
jmp 0x8e0f75
mov eax, 0x4e0f08
add eax, ebp
add eax, 0x93
mov ecx, 0x648
mov edx, 0xc00fbd47
xor byte [eax], dl
inc eax
dec ecx
jne 0x8e0f8c
jmp 0x8e0f9f
sub eax, 0x57472f07
inc edi
inc edi
das
inc edi
mov ebp, dword [ebx + 0x47]
invalid
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408e54
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x50f52800
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x4b13749a
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x408940
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x4085d8
call fcn.0040896a
sub edi, 0xdeafd962
add eax, eax
xor dword [ebx], esi
inc eax
sub eax, 0x4ac9a28e
add ebx, 1
cmp ebx, edx
jne fcn.00408940
sub edi, edi
sub eax, edi
ret
Function at 0x414c13
Capabilities:
Create process on windows

Disassembly:
push ebp
mov edx, 0x12
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x414c19
call fcn.00454930
mov edx, dword [esp + 0x50]
lea ecx, [esp]
call fcn.00417000
mov edx, dword [esp + 0x54]
lea ecx, [esp + 4]
call fcn.00417000
mov edx, dword [esp + 0x58]
lea ecx, [esp + 8]
call fcn.00417000
lea ebp, [esp + 0xc]
mov dword [ebp], 0x3c
mov eax, str.runas
push eax
pop eax
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 4]
push eax
pop eax
mov dword [ebp + 0x14], eax
mov eax, dword [esp]
push eax
pop eax
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 8]
push eax
pop eax
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x1c], 1
lea eax, [esp + 0xc]
push eax
call sub.SHELL32.dll_ShellExecuteExW
jmp 0x414c95
push dword [esp]
call fcn.00454990
push dword [esp + 4]
call fcn.00454990
push dword [esp + 8]
call fcn.00454990
add esp, 0x48
pop ebp
ret 0xc

Function at 0x4177f8
Capabilities:
Create thread

Disassembly:
push ecx
push ebp
push esi
lea eax, [esp + 8]
xor esi, esi
push eax
push esi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, eax
test ebp, ebp
je 0x417890
push edi
push 0x4e456c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x4e3adc]
test edi, edi
je 0x417864
push ebx
push esi
lea ebx, [edi + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x41785d
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [edi]
push ebx
push 0x4e3adc
call fcn.0045469e
pop ecx
pop ecx
jmp 0x41785f
mov edi, dword [edi]
test edi, edi
jne 0x417834
pop ebx
mov eax, dword [0x4e0e58]
mov esi, eax
inc eax
push 0x10
push 0x4e3adc
mov dword [0x4e0e58], eax
call fcn.004546de
pop ecx
pop ecx
push 0x4e456c
mov dword [eax], ebp
mov dword [eax + 4], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebp
pop ecx
ret 8
Function at 0x41c65f
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x41c6b4
push dword [esp + 0x10]
push 0x41c5de
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [0x4e3afc]
test esi, esi
je 0x41c70d
xor edi, edi
mov ebx, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x41c6ac
cmp byte [esi + 0x10], 0
je 0x41c6ac
push 3
push edi
push edi
push edi
push edi
push 0xfffffffffffffffe
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, ebx
test ebx, ebx
jne 0x41c688
jmp 0x41c70d
mov esi, dword [0x4e3afc]
test esi, esi
je 0x41c70d
xor edi, edi
push ebp
mov ebx, dword [esi]
lea ebp, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp], eax
jne 0x41c706
cmp byte [esi + 0x11], 0
je 0x41c6e2
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [esi + 0x10], 0
je 0x41c6f9
push 3
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebp
push 0x4e3afc
call fcn.0045469e
pop ecx
pop ecx
mov esi, ebx
test ebx, ebx
jne 0x41c6c1
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x43a2c5
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x43a373
cmp dword [ebp + 0xc], edi
je 0x43a373
push esi
push 0x60
push 8
push dword [0x4e36cc]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push dword [ebp + 8]
mov esi, eax
or dword [esi + 4], 0xffffffff
mov dword [esi], edi
call sub.MSVCRT.dll__wcsdup
push dword [ebp + 0xc]
mov dword [esi + 8], eax
call sub.MSVCRT.dll__wcsdup
push dword [ebp + 0x14]
mov dword [esi + 0xc], eax
call sub.MSVCRT.dll__wcsdup
mov dword [esi + 0x40], eax
add esp, 0xc
mov eax, dword [0x4e0efc]
mov dword [esi + 0x28], eax
mov eax, dword [0x4e3b5c]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x24], eax
test al, 1
je 0x43a362
lea eax, [ebp + 8]
push eax
push edi
push esi
push 0x43a4f5
push 0x10000
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x43a35a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, esi
jmp 0x43a372
push esi
call fcn.0043a21b
jmp 0x43a371
push esi
call fcn.0043a38c
push esi
mov edi, eax
call fcn.0043a21b
pop ecx
pop ecx
pop esi
mov eax, edi
pop edi
pop ebp
ret 0x10

Function at 0x43a38c
Capabilities:
Delete file

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
xor ebx, ebx
mov ebp, dword [edi + 0xc]
push dword [edi + 8]
mov dword [esp + 0x18], ebp
call fcn.004a0a90
push dword [edi + 0x40]
mov dword [esp + 0x20], eax
call fcn.004a0a90
mov dword [esp + 0x10], eax
call fcn.0046b190
mov esi, eax
test esi, esi
je 0x43a4cb
push ebx
push pe_nt_image_headers32
push 2
push ebx
push 1
push 0xc0000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x43a4b6
test byte [edi + 0x24], 2
mov dword [edi + 0x10], ebp
jne 0x43a3fe
push 1
push 0x34
push esi
call fcn.0046e0e0
add esp, 0xc
mov eax, dword [0x4e3b50]
test eax, eax
je 0x43a416
push eax
push 0x2714
push esi
call fcn.0046e0e0
add esp, 0xc
mov eax, dword [0x4e3b54]
test eax, eax
je 0x43a447
cmp dword [0x4e3b58], ebx
je 0x43a447
push eax
push 0x27bf
push esi
call fcn.0046e0e0
push dword [0x4e3b58]
push 0x27c0
push esi
call fcn.0046e0e0
add esp, 0x18
push dword [esp + 0x1c]
push 0x2712
push esi
call fcn.0046e0e0
push dword [esp + 0x1c]
push 0x2722
push esi
call fcn.0046e0e0
push 0x43a504
push 0x4e2b
push esi
call fcn.0046e0e0
push edi
push 0x2711
push esi
call fcn.0046e0e0
push 1
push 0x63
push esi
call fcn.0046e0e0
push esi
call fcn.0046b230
add esp, 0x40
test eax, eax
jne 0x43a4a1
cmp dword [edi + 4], 0xfffffffb
je 0x43a4a1
xor ebx, ebx
inc ebx
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x43a4b6
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call fcn.0046b150
pop ecx
cmp ebx, 1
jne 0x43a4cb
mov dword [edi + 4], 0xfffffffe
jmp 0x43a4da
xor ecx, ecx
cmp dword [edi + 4], 0xfffffffb
setne cl
add ecx, 0xfffffffc
mov dword [edi + 4], ecx
push dword [esp + 0x1c]
call fcn.004a0a80
push dword [esp + 0x10]
call fcn.004a0a80
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
pop ecx
ret