joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418e71
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
push esi
xor ebx, ebx
mov esi, 0x20019
push esi
push str.SOFTWARE
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.0040a38f
test eax, eax
je 0x418ed9
lea ecx, [ebp - 0x14]
call fcn.0040a30c
lea ecx, [ebp - 0x20]
call fcn.0040a30c
lea ecx, [ebp - 0x2c]
call fcn.0040a30c
xor eax, eax
pop esi
pop ebx
leave
ret
push esi
push 0x43911c
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x20]
call fcn.0040a38f
lea ecx, [ebp - 0x14]
test eax, eax
jne 0x418ebe
push esi
push str.Java_Runtime_Environment
push dword [ebp - 0x20]
call fcn.0040a38f
test eax, eax
je 0x418f1f
lea ecx, [ebp - 0x14]
call fcn.0040a30c
lea ecx, [ebp - 0x20]
call fcn.0040a30c
lea ecx, [ebp - 0x2c]
call fcn.0040a30c
mov eax, ebx
jmp 0x418ed5
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push 0x80
lea eax, [ebp - 0xcc]
push eax
push ebx
push dword [ebp - 0x14]
mov byte [ebp - 0x14c], bl
call esi
test eax, eax
jne 0x419018
push edi
inc dword [ebp - 8]
push 7
xor eax, eax
mov byte [ebp - 0x4c], bl
pop ecx
lea edi, [ebp - 0x4b]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0x4c]
push eax
call fcn.0041801b
pop ecx
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jle 0x418fde
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0xcc]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x418fa2
cmp dl, bl
je 0x418f9e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x418fa2
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x418f82
xor eax, eax
jmp 0x418fa7
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x418fde
lea eax, [ebp - 0xcc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x418fb4
sub eax, edx
cmp eax, 3
jbe 0x418fde
xor eax, eax
mov cl, byte [ebp + eax - 0xcc]
mov byte [ebp + eax - 0x14c], cl
inc eax
cmp cl, bl
jne 0x418fc4
mov dword [ebp - 4], 1
push 0x80
lea eax, [ebp - 0xcc]
push eax
push dword [ebp - 8]
push dword [ebp - 0x14]
call esi
test eax, eax
je 0x418f46
pop edi
cmp dword [ebp - 4], ebx
je 0x419018
lea eax, [ebp - 0x14c]
push eax
push 0x439144
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov ebx, dword [ebp - 4]
jmp 0x418f03

Function at 0x41904c
Capabilities:
Get common file path
Query environment variable
Write file on windows

Disassembly:
push ebp
mov ebp, esp
call fcn.00419020
test eax, eax
je 0x41905e
pop ebp
jmp fcn.00417d91
pop ebp
ret
Function at 0x4192b5
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push esi
mov esi, 0x9c
push esi
lea eax, [ebp - 0x9c]
push 0
push eax
call fcn.0041b5c0
add esp, 0xc
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call esi
test eax, eax
jne 0x419306
lea eax, [ebp - 0x9c]
push eax
mov dword [ebp - 0x9c], 0x94
call esi
test eax, eax
je 0x41932b
cmp dword [ebp - 0x8c], 2
jne 0x419328
cmp dword [ebp - 0x98], 6
jae 0x419328
cmp dword [ebp - 0x98], 4
jb 0x419328
call fcn.004190e5
jmp 0x41932b
xor eax, eax
inc eax
pop esi
leave
ret
Function at 0x419d01
Capabilities:
Delete file
Delete registry value
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
push esi
push edi
mov edi, 0x400
lea eax, [ebp - 0x41c]
push edi
push eax
call fcn.00419060
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop ecx
pop ecx
test eax, eax
js 0x419d34
lea eax, [ebp - 0x41c]
push eax
call esi
lea eax, [ebp - 0x41c]
push eax
call fcn.00419bd9
pop ecx
test eax, eax
je 0x419d5d
lea eax, [ebp - 0x41c]
push eax
push eax
call fcn.00418336
pop ecx
pop ecx
lea eax, [ebp - 0x41c]
push eax
call esi
call fcn.004177e8
xor esi, esi
push esi
push str.PreDownldStatus
push esi
call fcn.00417597
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
add esp, 0xc
push edi
lea eax, [ebp - 0x41c]
push eax
mov dword [ebp - 4], esi
push esi
mov esi, SysStringLen
jmp 0x419dfe
inc dword [ebp - 4]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
push 0x20019
lea eax, [ebp - 0x41c]
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.0040a38f
lea ecx, [ebp - 0x10]
test eax, eax
jne 0x419de6
push 0x2001f
push 0x4391cc
push dword [ebp - 0x1c]
call fcn.0040a38f
test eax, eax
jne 0x419de3
push str.VersionXmlURL
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [ebp - 0x10]
call fcn.0040a30c
lea ecx, [ebp - 0x1c]
call fcn.0040a30c
push edi
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 4]
push esi
call ebx
test eax, eax
je 0x419d8c
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41a967
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
lea eax, [ebp - 4]
push 1
push eax
xor edi, edi
call fcn.0041753e
pop ecx
pop ecx
test eax, eax
je 0x41aa74
lea eax, [ebp - 0xc]
push eax
push 0x2001f
push edi
push 0x4389e8
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41aa74
push esi
lea eax, [ebp - 8]
push eax
push 0x438a10
push dword [ebp - 4]
call fcn.00418843
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
add esp, 0xc
test eax, eax
jne 0x41aa00
lea eax, [ebp - 8]
push eax
push 0x438a1c
push dword [ebp - 0xc]
call fcn.00418843
add esp, 0xc
test eax, eax
je 0x41aa00
push dword [ebp - 8]
push 0x438a28
push dword [ebp - 4]
call fcn.00417639
add esp, 0xc
test eax, eax
je 0x41aa00
push 0x438a34
push dword [ebp - 0xc]
call esi
inc edi
lea eax, [ebp - 8]
push eax
push 0x438a40
push dword [ebp - 4]
call fcn.00418843
add esp, 0xc
test eax, eax
jne 0x41aa54
lea eax, [ebp - 8]
push eax
push 0x438a50
push dword [ebp - 0xc]
call fcn.00418843
add esp, 0xc
test eax, eax
je 0x41aa54
push dword [ebp - 8]
push 0x438a60
push dword [ebp - 4]
call fcn.00417639
add esp, 0xc
test eax, eax
je 0x41aa54
push 0x438a70
push dword [ebp - 0xc]
call esi
xor edi, edi
inc edi
test edi, edi
jne 0x41aa63
push edi
push dword [ebp - 4]
call fcn.00419c56
pop ecx
pop ecx
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0xc]
call esi
pop esi
pop edi
leave
ret

Function at 0x41ac57
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4470e0], 0
push esi
push edi
jne 0x41abcd
call fcn.0041ab39
test eax, eax
je 0x41ac12
mov eax, dword [0x4470e0]
cmp eax, 1
jne 0x41abee
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x41ac12
jmp 0x41ac54
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x41ac54
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 0x41ac16
xor eax, eax
jmp 0x41ac54
mov eax, dword [esi]
push dword [0x4470e0]
call edi
mov edi, eax
test edi, edi
je 0x41ac38
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x41ac54
lea edi, [esi + 0xff0]
push esi
push dword [0x4470e0]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x41ac3e
mov eax, esi
pop edi
pop esi
ret
jmp 0x41abb9

Function at 0x4228cd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x445e00]
jne 0x4228d7
repz ret
jmp fcn.0042955b
Function at 0x429661
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x445e00]
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.004211e9
and dword [ebp - 0x14], 0
cmp dword [0x447f5c], 0
mov dword [ebp - 0x18], eax
jne 0x429714
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4297bc
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4297bc
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x447f5c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x447f60], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x447f64], eax
call edi
push eax
call esi
mov dword [0x447f6c], eax
test eax, eax
je 0x429714
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x447f68], eax
mov eax, dword [0x447f68]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x42976d
cmp dword [0x447f6c], ecx
je 0x42976d
push eax
call esi
push dword [0x447f6c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x42976d
test ebx, ebx
je 0x42976d
call edi
test eax, eax
je 0x429764
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x429764
test byte [ebp - 8], 1
jne 0x42976d
or dword [ebp + 0x10], 0x200000
jmp 0x4297a0
mov eax, dword [0x447f60]
cmp eax, dword [ebp - 0x18]
je 0x4297a0
push eax
call esi
test eax, eax
je 0x4297a0
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4297a0
mov eax, dword [0x447f64]
cmp eax, dword [ebp - 0x18]
je 0x4297a0
push eax
call esi
test eax, eax
je 0x4297a0
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x447f5c]
call esi
test eax, eax
je 0x4297bc
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4297be
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004228cd
leave
ret
Function at 0x4033f5
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x40341b
cmp al, 0x22
je 0x40342b
inc esi
mov al, byte [esi]
test al, al
jne 0x40340a
cmp al, 0x22
jne 0x40342c
jmp 0x40342b
cmp al, 0x20
jle 0x40342c
inc esi
cmp byte [esi], 0x20
jg 0x40341f
jmp 0x40342c
cmp al, 0x20
jg 0x403432
inc esi
mov al, byte [esi]
test al, al
jne 0x403427
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.004034a0
push 0x406004
push section..data
call fcn.00403486
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x403462
movzx eax, word [ebp - 0x14]
jmp 0x403465
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.004034b8
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x40368a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x406010]
jne 0x403694
repz ret
jmp fcn.00403868

Function at 0x401900
Capabilities:
Access the windows event log

Disassembly:
sub esp, 0x20
push 0
lea ecx, [esp + 4]
call sub.MFC42.DLL_CSyncObject::CSyncObject
lea eax, [esp + 8]
mov dword [esp], 0x403530
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x40423c]
test eax, eax
je 0x401969
mov ecx, dword [esp + 0x2c]
push 0
test ecx, ecx
mov dword [esp + 0x30], ecx
je 0x40194e
lea edx, [esp + 0x30]
push edx
push 0
push 1
jmp 0x401954
push 0
push 0
push 0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push 0
push 0
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
lea eax, [esp + 8]
mov dword [esp], 0x403530
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [esp]
call fcn.004022de
add esp, 0x20
ret
Function at 0x4558b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4f000]
add word [edi + 0x974f4], 4
push edi
jmp 0x4558d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4558d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4558c8
mov eax, 1
add ebx, ebx
jne 0x4558eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4558fc
jne 0x45591b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45591b
dec eax
add ebx, ebx
jne 0x455908
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4558e0
add ebx, ebx
jne 0x455917
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x45596d
xor ecx, ecx
sub eax, 3
jb 0x455933
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4559a2
sar eax, 1
mov ebp, eax
jmp 0x45593e
add ebx, ebx
jne 0x45593e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45590c
inc ecx
add ebx, ebx
jne 0x45594c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45590c
add ebx, ebx
jne 0x455959
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45594e
jne 0x45596a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45594e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45598c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45597e
jmp 0x4558ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45598c
add edi, ecx
jmp 0x4558ce
pop esi
mov edi, esi
mov ecx, 0xad
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4559aa
cmp byte [edi], 5
jne 0x4559aa
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 0x4559af
lea edi, [esi + 0x53000]
mov eax, dword [edi]
or eax, eax
je 0x455a1e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x97978]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x97a04]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4559dc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x97a08]
or eax, eax
je 0x455a18
mov dword [ebx], eax
add ebx, 4
jmp 0x4559f9
call dword [esi + 0x97a18]
mov ebp, dword [esi + 0x97a0c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x455a52
sub esp, 0xffffff80
jmp 0x403405
Function at 0x41c500
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x427850], 0
jne 0x41c581
cmp dword [0x427870], 0
jne 0x41c530
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x427870], eax
test eax, eax
jne 0x41c530
push str.GetEnvironmentStrings_failed
call fcn.0041bd1c
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x427870]
jmp 0x41c544
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c53c
lea edi, [ebp + 1]
push edi
call fcn.004161a8
pop ecx
mov ebx, eax
mov dword [0x427854], ebx
test ebx, ebx
jne 0x41c56e
xor eax, eax
jmp 0x41c644
push edi
mov edx, dword [0x427870]
push edx
push ebx
call fcn.00416754
add esp, 0xc
jmp 0x41c5a1
xor esi, esi
mov ebx, dword [0x427850]
jmp 0x41c59b
push eax
call fcn.004168a4
pop ecx
test eax, eax
jne 0x41c597
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c58b
lea ebx, [esi + 4]
push 4
mov dword [0x427858], ebx
inc ebx
push ebx
call fcn.00415c80
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x41c5c4
xor eax, eax
jmp 0x41c644
cmp dword [0x427850], 0
jne 0x41c5f5
xor esi, esi
mov ebx, dword [0x427854]
mov eax, dword [esp]
mov ebp, eax
jmp 0x41c5e6
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c5dc
jmp 0x41c626
xor esi, esi
mov ebx, dword [0x427850]
mov eax, dword [esp]
mov edi, eax
jmp 0x41c620
push eax
call fcn.004168a4
pop ecx
test eax, eax
je 0x41c615
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x41c619
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c604
mov eax, dword [0x427850]
test eax, eax
je 0x41c636
push eax
call fcn.004161b8
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x427850], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0x6bbd648b
nop
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x125626b4
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x45c4aa
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x45c4d1
call fcn.0045ca4b
mov dword [eax], esi
call fcn.0045ca38
push 0x16
pop esi
mov dword [eax], esi
call fcn.00463c30
mov eax, esi
jmp 0x45c526
test dword [ebp + 0xc], 0xfffffff9
jne 0x45c4b7
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x45c4fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0045ca5e
pop ecx
call fcn.0045ca38
mov eax, dword [eax]
jmp 0x45c526
test al, 0x10
jne 0x45c524
test al, 1
je 0x45c524
test byte [ebp + 0xc], 2
je 0x45c524
call fcn.0045ca4b
mov dword [eax], 5
call fcn.0045ca38
mov dword [eax], 0xd
jmp 0x45c4f5
xor eax, eax
pop esi
pop ebp
ret

Function at 0x470dd0
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4979d4]
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.00463f79
and dword [ebp - 0x14], 0
cmp dword [0x49a184], 0
mov dword [ebp - 0x18], eax
jne 0x470e83
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x470f2b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x47fa8c
push ebx
call edi
test eax, eax
je 0x470f2b
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x47fa7c
push ebx
mov dword [0x49a184], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x49a188], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x49a18c], eax
call edi
push eax
call esi
mov dword [0x49a194], eax
test eax, eax
je 0x470e83
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x49a190], eax
mov eax, dword [0x49a190]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x470edc
cmp dword [0x49a194], ecx
je 0x470edc
push eax
call esi
push dword [0x49a194]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x470edc
test ebx, ebx
je 0x470edc
call edi
test eax, eax
je 0x470ed3
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x470ed3
test byte [ebp - 8], 1
jne 0x470edc
or dword [ebp + 0x10], 0x200000
jmp 0x470f0f
mov eax, dword [0x49a188]
cmp eax, dword [ebp - 0x18]
je 0x470f0f
push eax
call esi
test eax, eax
je 0x470f0f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x470f0f
mov eax, dword [0x49a18c]
cmp eax, dword [ebp - 0x18]
je 0x470f0f
push eax
call esi
test eax, eax
je 0x470f0f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x49a184]
call esi
test eax, eax
je 0x470f2b
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x470f2d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004596e3
leave
ret
Function at 0x4053b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x118
push ebx
mov ebx, eax
xor eax, eax
cmp edx, eax
push edi
je 0x40549f
cmp esi, eax
je 0x40549f
mov byte [esp + 0x18], al
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov ecx, 0x40
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
stosb byte es:[edi], al
lea eax, [esp + 0x1c]
push str.SOFTWARERising_s
push eax
mov dword [esp + 0x1c], 1
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 0x20019
push 0
lea edx, [esp + 0x24]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40548a
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push esi
lea ecx, [esp + 0x18]
push ecx
push 0
push str.datapath
push edx
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405450
sub eax, edx
mov dword [esp + 0x14], eax
je 0x40547f
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405464
sub eax, edx
sub ebx, eax
dec ebx
push ebx
push 0x4214f0
push esi
call fcn.0040b11d
add esp, 0xc
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405490
sub eax, edx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x406870
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4207fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
push ebp
push esi
push edi
push 0x34
xor ebx, ebx
push ebx
mov esi, ecx
push 0x86
mov dword [esp + 0x20], esi
call fcn.0041dc80
lea ebp, [esi + 0x88]
mov ecx, ebp
mov dword [esp + 0x12c], ebx
mov dword [esi], 0x4225e8
call fcn.004066b0
lea edi, [esi + 0xa0]
mov ecx, edi
mov byte [esp + 0x12c], 1
call fcn.004176bb
mov dword [edi], vtable.CListCtrl.0
xor eax, eax
mov byte [esp + 0x18], bl
mov ecx, 0x41
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
push eax
push 0x104
mov byte [esp + 0x134], 2
mov dword [esi + 0x84], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edx, dword [ebp]
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
call dword [edx + 8]
test eax, eax
jne 0x40694b
call dword [esi + 0x98]
mov dword [esi + 0x9c], eax
mov edx, dword [eax]
push ebx
mov ecx, eax
call dword [edx + 4]
mov eax, esi
mov ecx, dword [esp + 0x124]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x124]
mov dword [esi + 0x9c], ebx
pop edi
mov eax, esi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret