joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10017d65
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa94
mov eax, dword [0x1003d300]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x1c]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xa88], ecx
mov ecx, dword [ebp + 0x18]
push edi
mov dword [ebp - 0xa84], eax
mov dword [ebp - 0xa80], ecx
mov dword [ebp - 0xa8c], edx
test esi, esi
je 0x10017f8a
test eax, eax
jne 0x10017db6
test ecx, ecx
je 0x10017f8a
movzx eax, word [esi + 2]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp ax, 0x3a
je 0x10017e0c
cmp ax, 0x5c
je 0x10017e0c
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x828], ax
lea eax, [ebp - 0x826]
push eax
call fcn.1001d7d0
add esp, 0xc
lea eax, [ebp - 0x828]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
lea eax, [ebp - 0x828]
push eax
call edi
lea esi, [ebp - 0x828]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10017f8a
test al, 0x10
je 0x10017f8a
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea eax, [ebp - 0x418]
push eax
call ebx
push 0x10036f68
lea eax, [ebp - 0x418]
push eax
call edi
lea eax, [ebp - 0xa78]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xa90], eax
cmp eax, 0xffffffff
je 0x10017f8a
mov dword [ebp - 0xa7c], 1
push 0x10036f6c
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10017f4f
push 0x10036f70
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10017f4f
cmp dword [ebp - 0xa78], 0xffffffff
je 0x10017f4f
push esi
lea eax, [ebp - 0x210]
push eax
call ebx
lea eax, [ebp - 0xa4c]
push eax
lea eax, [ebp - 0x210]
push eax
call edi
test byte [ebp - 0xa78], 0x10
je 0x10017f2f
cmp dword [ebp - 0xa80], 0
je 0x10017ef3
push dword [ebp - 0xa8c]
lea eax, [ebp - 0x210]
push eax
call dword [ebp - 0xa80]
test eax, eax
je 0x10017f6c
cmp dword [ebp + 0xc], 0
je 0x10017f4f
push dword [ebp - 0xa8c]
lea eax, [ebp - 0x210]
push dword [ebp - 0xa80]
push dword [ebp - 0xa88]
push dword [ebp - 0xa84]
push dword [ebp + 0xc]
push eax
call fcn.10017d65
push 2
pop ecx
cmp eax, ecx
jne 0x10017f4f
mov dword [ebp - 0xa7c], ecx
jmp 0x10017f76
cmp dword [ebp - 0xa84], 0
je 0x10017f4f
push dword [ebp - 0xa88]
lea eax, [ebp - 0x210]
push eax
call dword [ebp - 0xa84]
test eax, eax
je 0x10017f6c
lea eax, [ebp - 0xa78]
push eax
push dword [ebp - 0xa90]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10017e6f
jmp 0x10017f76
mov dword [ebp - 0xa7c], 2
push dword [ebp - 0xa90]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0xa7c]
jmp 0x10017f8c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001a9d1
leave
ret 0x18
Function at 0x10018470
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x1003d300]
xor eax, esp
mov dword [esp + 0x430], eax
mov eax, fcn.10018512
push esi
test eax, eax
je 0x100184fd
push 0x424
lea eax, [esp + 0x10]
push 0
push eax
call fcn.1001d7d0
add esp, 0xc
push dword [ebp + 8]
mov dword [esp + 0xc], 0x428
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 4], esi
test esi, esi
je 0x100184f4
cmp esi, 0xffffffff
je 0x100184f4
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
jmp 0x100184f0
push edi
lea eax, [esp + 0xc]
push eax
call fcn.10018512
test eax, eax
je 0x100184f4
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x100184d6
lea eax, [esp + 4]
call fcn.10017b37
mov ecx, dword [esp + 0x434]
pop esi
xor ecx, esp
call fcn.1001a9d1
mov esp, ebp
pop ebp
ret 4

Function at 0x1001889b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x1003d300]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x20
mov eax, 0x10030a41
call fcn.1001b711
mov eax, dword [ebp + 0x80c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x810]
mov esi, ecx
mov edi, edx
xor ebx, ebx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], ebx
call fcn.10016f00
xor esi, esi
inc esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], ebx
cmp edi, ebx
je 0x100189aa
xor eax, eax
push 0x7fe
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call fcn.1001d7d0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push ebx
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
push edi
push dword [ebp - 0x18]
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0x1c], ebx
call edi
cmp dword [ebp - 0x1c], esi
je 0x1001893a
cmp dword [ebp - 0x1c], 2
jne 0x100189aa
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x100189aa
cmp eax, 0x800
jbe 0x10018977
add eax, 2
push eax
call fcn.1001bc35
mov esi, eax
mov eax, dword [ebp - 0x10]
add eax, 2
push eax
push ebx
push esi
call fcn.1001d7d0
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
push esi
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call edi
jmp 0x1001898e
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call edi
mov esi, dword [ebp - 0x28]
mov eax, esi
cmp esi, ebx
jne 0x10018997
lea eax, [ebp]
push dword [ebp - 0x24]
call fcn.10006000
cmp esi, ebx
je 0x100189aa
push esi
call fcn.1001bb58
pop ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.1001a9d1
add ebp, 0x804
leave
ret
Function at 0x100189d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100311a3
mov eax, dword fs:[0]
push eax
mov eax, 0x2048
call fcn.1002c1d0
mov eax, dword [0x1003d300]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x2028], eax
mov ebx, edx
mov dword [ebp - 0x2018], ecx
mov dword [ebp - 0x202c], edi
call fcn.10018dc1
lea eax, [ebp - 0x201c]
push eax
xor esi, esi
inc esi
push esi
push edi
push dword [ebp - 0x2018]
mov dword [ebp - 0x202c], esi
push ebx
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], esi
cmp dword [ebp - 0x201c], edi
je 0x10018b25
xor eax, eax
push 0x1ffe
mov word [ebp - 0x2014], ax
lea eax, [ebp - 0x2012]
push edi
push eax
mov dword [ebp - 0x2018], edi
call fcn.1001d7d0
add esp, 0xc
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x2024]
push eax
lea eax, [ebp - 0x2014]
push eax
push edi
push dword [ebp - 0x201c]
mov dword [ebp - 0x2024], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x10018b25
inc dword [ebp - 0x2018]
lea eax, [ebp - 0x2014]
lea ecx, [ebp - 0x2048]
call fcn.100057f0
lea eax, [ebp - 0x2048]
mov byte [ebp - 4], 2
mov ebx, dword [ebp - 0x2028]
push eax
lea edi, [ebp - 0x2054]
call fcn.10018df7
lea esi, [ebp - 0x2048]
mov byte [ebp - 4], 1
call fcn.10005860
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x2024]
push eax
lea eax, [ebp - 0x2014]
push eax
push dword [ebp - 0x2018]
mov dword [ebp - 0x2024], 0x1000
push dword [ebp - 0x201c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x10018aad
xor edi, edi
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
cmp dword [ebp - 0x201c], edi
je 0x10018b43
push dword [ebp - 0x201c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x2028]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001a9d1
leave
ret
Function at 0x10018b63
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10031143
mov eax, dword fs:[0]
push eax
mov eax, 0x2044
call fcn.1002c1d0
mov eax, dword [0x1003d300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
mov dword [ebp - 4], esi
push ebx
mov dword [ebp - 0x2028], ebx
mov dword [ebp - 0x2024], esi
call fcn.10018dc1
lea eax, [ebp - 0x2018]
push eax
push 8
push esi
xor edi, edi
push str.Softwareprojonepodlp_rptcache_rptstore_
inc edi
push 0x80000002
mov dword [ebp - 0x2024], edi
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], edi
cmp dword [ebp - 0x2018], esi
je 0x10018cad
xor eax, eax
push 0x1ffe
mov word [ebp - 0x2010], ax
lea eax, [ebp - 0x200e]
push esi
push eax
mov dword [ebp - 0x2014], esi
call fcn.1001d7d0
add esp, 0xc
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x2020]
push eax
lea eax, [ebp - 0x2010]
push eax
push esi
push dword [ebp - 0x2018]
mov dword [ebp - 0x2020], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10018cad
inc dword [ebp - 0x2014]
lea eax, [ebp - 0x2010]
lea ecx, [ebp - 0x2044]
call fcn.100057f0
lea eax, [ebp - 0x2044]
push eax
lea edi, [ebp - 0x2050]
mov byte [ebp - 4], 2
call fcn.10018df7
lea esi, [ebp - 0x2044]
mov byte [ebp - 4], 1
call fcn.10005860
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x2020]
push eax
lea eax, [ebp - 0x2010]
push eax
push dword [ebp - 0x2014]
mov dword [ebp - 0x2020], 0x1000
push dword [ebp - 0x2018]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x10018c3b
xor esi, esi
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
cmp dword [ebp - 0x2018], esi
je 0x10018ccb
push dword [ebp - 0x2018]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001a9d1
leave
ret

Function at 0x10018ce7
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x1003d300]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push ebx
lea eax, [ebp - 0x80]
push eax
push 0x23
xor ebx, ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x10018d54
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call fcn.1001d7d0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x10018d54
push 0x104
lea eax, [ebp - 0x7c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
inc ebx
cmp dword [ebp - 0x80], 0
je 0x10018d63
push dword [ebp - 0x80]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp + 0x18c]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.1001a9d1
add ebp, 0x190
leave
ret
Function at 0x10019f3c
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x1003d300]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call fcn.1001d7d0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Logsignored
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x7c]
mov ecx, esi
call fcn.100057f0
mov ecx, dword [ebp + 0x18c]
xor ecx, ebp
mov eax, esi
call fcn.1001a9d1
add ebp, 0x190
leave
ret

Function at 0x1001a295
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 4
shl eax, 4
pop edx
mov esi, ecx
lea edi, [eax + ecx + 0x3c]
mov dword [ebp - 4], edx
xor eax, eax
mov ecx, edi
mov bl, byte [ecx]
xor byte [esi + eax], bl
inc eax
add ecx, edx
cmp eax, edx
jl 0x1001a2af
inc edi
add esi, edx
dec dword [ebp - 4]
jne 0x1001a2ab
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001a349
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1003d300]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x10]
lea esi, [eax + 4]
mov dword [ebp - 0x1c], 4
mov al, byte [edi - 4]
mov bl, byte [edi + 4]
call fcn.1001a4d6
push ebx
mov dl, al
call fcn.1001a4af
xor dl, al
movzx eax, byte [edi + 8]
push eax
call fcn.1001a46a
xor dl, al
movzx eax, byte [edi]
push eax
call fcn.1001a488
xor dl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi - 4], dl
call fcn.1001a46a
push ebx
mov byte [ebp - 0x15], al
call fcn.1001a488
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi + 8]
push eax
mov byte [ebp - 0x15], cl
call fcn.1001a4af
mov cl, byte [ebp - 0x15]
xor cl, al
mov al, byte [edi]
mov byte [ebp - 0x15], cl
call fcn.1001a4d6
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi], cl
call fcn.1001a4af
mov bl, al
mov al, byte [edi + 4]
call fcn.1001a4d6
movzx edx, byte [edi + 8]
push edx
xor bl, al
call fcn.1001a488
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.1001a46a
xor bl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi + 4], bl
call fcn.1001a488
mov bl, al
movzx eax, byte [edi + 4]
push eax
call fcn.1001a46a
xor bl, al
mov al, dl
call fcn.1001a4d6
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.1001a4af
xor bl, al
mov byte [esi + 8], bl
inc esi
inc edi
dec dword [ebp - 0x1c]
jne 0x1001a375
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001a9d1
leave
ret 4
Function at 0x1001a7ff
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push 0x2c
mov eax, 0x100301f3
call fcn.1001b77a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
xor ebx, ebx
mov eax, edi
mov dword [ebp - 0x30], ebx
xor esi, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x1001a81d
sub eax, ecx
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], 0xf
call fcn.100012c0
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x30], ebx
jbe 0x1001a91c
movsx eax, byte [esi + edi]
mov al, byte [eax + 0x100363c8]
inc esi
cmp esi, dword [ebp - 0x30]
jae 0x1001a859
cmp al, 0xff
je 0x1001a845
cmp al, 0xff
je 0x1001a91c
movsx ecx, byte [esi + edi]
mov cl, byte [ecx + 0x100363c8]
inc esi
mov byte [ebp - 0x32], cl
cmp esi, dword [ebp - 0x30]
jae 0x1001a879
cmp cl, 0xff
je 0x1001a861
cmp cl, 0xff
je 0x1001a91c
sar cl, 4
shl al, 2
and cl, 3
or cl, al
movzx eax, cl
push eax
xor eax, eax
inc eax
lea ebx, [ebp - 0x2c]
call fcn.10010bd2
mov al, byte [esi + edi]
inc esi
cmp al, 0x3d
je 0x1001a91c
movsx eax, al
mov al, byte [eax + 0x100363c8]
mov byte [ebp - 0x31], al
cmp esi, dword [ebp - 0x30]
jae 0x1001a8b9
cmp al, 0xff
je 0x1001a89c
cmp al, 0xff
je 0x1001a91c
mov cl, al
mov al, byte [ebp - 0x32]
sar cl, 2
shl al, 4
and cl, 0xf
or cl, al
movzx eax, cl
push eax
xor eax, eax
inc eax
lea ebx, [ebp - 0x2c]
call fcn.10010bd2
mov al, byte [esi + edi]
inc esi
cmp al, 0x3d
je 0x1001a91c
movsx eax, al
mov cl, byte [eax + 0x100363c8]
cmp esi, dword [ebp - 0x30]
jae 0x1001a8f7
cmp cl, 0xff
je 0x1001a8dc
cmp cl, 0xff
je 0x1001a91c
mov al, byte [ebp - 0x31]
shl al, 6
or al, cl
movzx eax, al
push eax
xor eax, eax
inc eax
lea ebx, [ebp - 0x2c]
call fcn.10010bd2
cmp esi, dword [ebp - 0x30]
jb 0x1001a845
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
push eax
call fcn.10005790
lea ecx, [ebp - 0x2c]
call fcn.10001240
mov eax, dword [ebp - 0x38]
call fcn.1001b7fd
ret

Function at 0x1001a9d1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1003d300]
jne 0x1001a9db
repz ret
jmp fcn.1001cd48
Function at 0x10025953
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.1001d0a4
and dword [ebp - 4], 0
cmp dword [0x1003fbcc], 0
mov ebx, eax
jne 0x10025a04
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10025ab5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10025ab5
push eax
call fcn.1001d032
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1003fbcc], eax
call esi
push eax
call fcn.1001d032
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1003fbd0], eax
call esi
push eax
call fcn.1001d032
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1003fbd4], eax
call esi
push eax
call fcn.1001d032
pop ecx
mov dword [0x1003fbdc], eax
test eax, eax
je 0x10025a04
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1001d032
pop ecx
mov dword [0x1003fbd8], eax
mov eax, dword [0x1003fbd8]
cmp eax, ebx
je 0x10025a5c
cmp dword [0x1003fbdc], ebx
je 0x10025a5c
push eax
call fcn.1001d0ad
push dword [0x1003fbdc]
mov esi, eax
call fcn.1001d0ad
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10025a5c
test edi, edi
je 0x10025a5c
call esi
test eax, eax
je 0x10025a53
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10025a53
test byte [ebp - 0xc], 1
jne 0x10025a5c
or dword [ebp + 0x10], 0x200000
jmp 0x10025a95
mov eax, dword [0x1003fbd0]
cmp eax, ebx
je 0x10025a95
push eax
call fcn.1001d0ad
pop ecx
test eax, eax
je 0x10025a95
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10025a95
mov eax, dword [0x1003fbd4]
cmp eax, ebx
je 0x10025a95
push eax
call fcn.1001d0ad
pop ecx
test eax, eax
je 0x10025a95
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1003fbcc]
call fcn.1001d0ad
pop ecx
test eax, eax
je 0x10025ab5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10025ab7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x6b4dd0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1bd000]
push edi
or ebp, 0xffffffff
jmp 0x6b4df2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6b4df9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6b4de8
mov eax, 1
add ebx, ebx
jne 0x6b4e0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6b4e1c
jne 0x6b4e3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6b4e3b
dec eax
add ebx, ebx
jne 0x6b4e28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6b4e00
add ebx, ebx
jne 0x6b4e37
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6b4e8d
xor ecx, ecx
sub eax, 3
jb 0x6b4e53
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6b4ec2
sar eax, 1
mov ebp, eax
jmp 0x6b4e5e
add ebx, ebx
jne 0x6b4e5e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6b4e2c
inc ecx
add ebx, ebx
jne 0x6b4e6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6b4e2c
add ebx, ebx
jne 0x6b4e79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6b4e6e
jne 0x6b4e8a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6b4e6e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6b4eac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6b4e9e
jmp 0x6b4dee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6b4eac
add edi, ecx
jmp 0x6b4dee
pop esi
mov edi, esi
mov ecx, 0x6530
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6b4eca
cmp byte [edi], 0x13
jne 0x6b4eca
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 0x6b4ecf
lea edi, [esi + 0x2ab000]
mov eax, dword [edi]
or eax, eax
je 0x6b4f47
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2b9b64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2b9ca4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6b4efc
mov ecx, edi
jns 0x6b4f2b
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 + 0x2b9ca8]
or eax, eax
je 0x6b4f41
mov dword [ebx], eax
add ebx, 4
jmp 0x6b4f19
call dword [esi + 0x2b9cb8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x6b4f78
cmp al, 0xef
ja 0x6b4f6b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x6b4f4d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x6b4f5a
mov ebp, dword [esi + 0x2b9cac]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x6b4fac
sub esp, 0xffffff80
jmp 0x4ab813
Function at 0x56b8bd
Capabilities:
Encode data using xor

Disassembly:
or dword [ebp - 0x48], edx
mov eax, dword [0x681b176]
pop ebp
lodsd eax, dword [esi]
test dword [edx + 0x35d47100], 0xdc02b390
xor eax, 0xdc02b390
sub dword [ecx + 0x2d70f7d4], 0x25
xchg ecx, eax
sub eax, 0x686ead18
in eax, 0x77
mov word [ebp + 0x30], fs
pushal
xor dword [ecx - 0x45], edi
pushal
and dword [eax + 0x40619ac5], edi
jno 0x56b865
or eax, 0xed10b121
add byte [0xdaede2ed], bh
or esp, 0xffffff90
cmp esi, dword [ebp + 0x7d]
dec ebp
xchg ebp, eax
sbb byte [ebp + 0x29b955af], ch
loopne 0x56b879
dec ebp
push ecx
mov al, 0x67
invalid
dec esi
push eax
loope 0x56b856
fiadd word gs:[ecx - 0x75]
lea edi, [esi + 0x3f]
fdivr qword [ecx + 0x2180737e]
loopne 0x56b910
invalid
inc eax
int3