joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459344
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4594ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4594d0
mov dl, 1
mov eax, dword [0x4126fc]
call fcn.004039f4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404850
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4594bf
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044aab4
test al, al
je 0x4594b2
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x459500
lea eax, [ebp - 0x254]
call fcn.00409574
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4594b2
xor eax, eax
push ebp
push 0x4594ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x459538
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x459494
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ac0
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x459494
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ac0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4594b2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4593b5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041660c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4594f6
lea eax, [ebp - 0x260]
call fcn.00404850
ret

Function at 0x459e68
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x466ccc]
cmp byte [eax + 0xad], 0
jne 0x459ed9
cmp dword [0x466ce8], 0
jne 0x459e9a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x459e24
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x466ce8], eax
cmp dword [0x466ce4], 0
jne 0x459eb5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x466ce4], eax
cmp dword [0x466cec], 0
jne 0x459ed9
push esp
push 0
push 0
push 0x459dc8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x466cec], eax
pop edx
ret
Function at 0x45a0dc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45a0f3
add esp, 0xfffffff0
call fcn.00403d48
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a760
mov eax, dword [0x4619f4]
cmp word [eax + 2], 0
jne 0x45a11b
mov eax, dword [0x4619f4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045bdcc
mov eax, dword [0x461a9c]
cmp word [eax + 2], 0
jne 0x45a135
mov eax, dword [0x461a9c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045bfd8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4122d8]
call fcn.004039f4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4122d8]
call fcn.004039f4
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4122d8]
call fcn.004039f4
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41ef28]
call fcn.004265d0
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45a2ec
mov eax, dword [0x46191c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004269a4
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45c69c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46191c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040cd4c
test eax, eax
je 0x45a23c
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408f2c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cd80
test eax, eax
je 0x45a250
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404ac0
mov byte [ebx + 0xd4], 0
push ebx
push 0x45b858
call fcn.0041b8dc
mov dword [ebx + 0xc8], eax
mov eax, dword [0x461818]
cmp byte [eax], 0
jne 0x45a2a1
mov eax, ebx
call fcn.0045a430
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045c8b0
mov eax, ebx
call fcn.0045d414
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45a2e1
call fcn.00403da0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45a6b0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x45a74f
cmp dword [ebx + 0x94], 0
jne 0x45a749
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45a638
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45a749
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45a70f
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45a749
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041467c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45a71e
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45a968
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x466ccc]
cmp dword [eax + 0x30], 0
je 0x45aac5
test bl, bl
jne 0x45aa16
cmp dword [esi + 0x9c], 0
jne 0x45aa0b
mov eax, esi
call fcn.0045d290
push eax
push 0x45a894
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x45a9dc
mov eax, dword [0x466ccc]
call fcn.0045d970
test al, al
je 0x45a9dc
mov eax, dword [0x466cf0]
call fcn.00405758
mov edi, eax
cmp edi, 0
jl 0x45a9dc
push 0
mov eax, dword [0x466cf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45a9c6
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45aa0b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041467c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45a9eb
inc dword [esi + 0x9c]
jmp 0x45aac5
cmp dword [esi + 0x9c], 0
jle 0x45aac5
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x45aac5
cmp dword [esi + 0x44], 0
je 0x45aa71
mov eax, dword [0x466ccc]
call fcn.0045d970
test al, al
je 0x45aa71
mov eax, dword [0x466cf0]
call fcn.00405758
mov edi, eax
cmp edi, 0
jl 0x45aa71
push 5
mov eax, dword [0x466cf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45aa5b
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45aaa0
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041467c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45aa80
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x466cf0
mov ecx, 1
mov edx, dword [0x45a874]
call fcn.0040590c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x45b5ac
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45b616
mov eax, ebx
call fcn.0045d970
test al, al
jne 0x45b616
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404940
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x45b603
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x45b623
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004048a4
jmp 0x45b623
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004048a4
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x45ca94
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45cb02
mov eax, esi
call fcn.004456e4
test al, al
je 0x45cb02
mov eax, dword [ebx + 0x84]
call fcn.00445344
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45cb02
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45caf6
push 0
mov eax, dword [ebx + 0x84]
call fcn.00445344
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043d1c0
jmp 0x45cb02
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045c8d0
pop esi
pop ebx
ret
Function at 0x45e320
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404cd0
xor eax, eax
push ebp
push 0x45e448
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
push ebp
push 0x45e417
push dword fs:[edi]
mov dword fs:[edi], esp
mov esi, dword [ebp - 4]
mov ebx, esi
test ebx, ebx
je 0x45e369
sub ebx, 4
mov ebx, dword [ebx]
push 0x45e464
lea eax, [ebp - 0x14]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404d48
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00404d48
push dword [ebp - 0x18]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404be4
mov eax, dword [ebp - 0x10]
call fcn.004089b0
mov dword [ebp - 0xc], eax
mov ebx, esi
test ebx, ebx
je 0x45e3c0
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 4]
push eax
mov ecx, ebx
sub ecx, 2
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00404d48
xor ecx, ecx
mov eax, dword [ebp - 4]
test eax, eax
je 0x45e3e4
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x45e3fb
mov edx, 1
mov ebx, dword [ebp - 4]
movzx ebx, byte [ebx + edx - 1]
xor ecx, ebx
inc edx
dec eax
jne 0x45e3ed
cmp ecx, dword [ebp - 0xc]
jne 0x45e404
mov byte [ebp - 5], 1
cmp ecx, dword [ebp - 0xc]
je 0x45e40d
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45e425
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e44f
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404874
lea eax, [ebp - 4]
call fcn.00404850
ret
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x1b3b5849
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x47975aa5
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x57a2de
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
pushal
push ebp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add dl, dl
jne 0x57a2fb
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x57a2ec
add dl, dl
jne 0x57a306
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x57a352
xor eax, eax
add dl, dl
jne 0x57a313
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x57a3ef
add dl, dl
jne 0x57a322
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x57a32d
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x57a338
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x57a343
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x57a34d
push edi
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
jmp 0x57a2f2
mov eax, 1
add dl, dl
jne 0x57a360
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x57a36b
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x57a357
sub eax, 2
jne 0x57a39a
mov ecx, 1
add dl, dl
jne 0x57a380
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x57a38b
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x57a377
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x57a2f2
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x57a3b1
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x57a3bc
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x57a3a8
cmp eax, 0x7d00
jae 0x57a3df
cmp eax, 0x500
jb 0x57a3da
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x57a2f2
cmp eax, 0x7f
ja 0x57a3e2
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x57a2f2
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x57a40b
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x57a2f2
pop ebp
sub edi, dword [ebp + 0xc]
mov dword [ebp - 4], edi
popal
pop ebp
ret 8
Function at 0x405d9a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c574], 0
push esi
jne 0x405dd1
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405dab
mov dword [ecx*4 + 0x42c570], eax
inc ecx
cmp ecx, 0x100
jl 0x405da6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e02
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c570]
xor eax, esi
inc ecx
dec edx
jne 0x405de4
pop edi
not eax
pop esi
ret 0xc

Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x307705aa
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..rsrc
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x667e64b5
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x4018c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x4018db
cmp dword [ebp + 0xc], 0
jne 0x4018df
xor eax, eax
jmp 0x401938
mov eax, dword [ebp + 8]
mov word [eax], 0
lea ecx, [ebp - 4]
push ecx
push 0x20019
push 0
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401936
lea ecx, [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
push 0
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 0
jne 0x401936
mov eax, dword [ebp + 8]
jmp 0x401938
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x67f140
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1a3000]
push edi
jmp 0x67f15a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x67f161
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x67f150
mov eax, 1
add ebx, ebx
jne 0x67f173
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x67f184
jne 0x67f1a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x67f1a3
dec eax
add ebx, ebx
jne 0x67f190
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x67f168
add ebx, ebx
jne 0x67f19f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x67f1f5
xor ecx, ecx
sub eax, 3
jb 0x67f1bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x67f22a
sar eax, 1
mov ebp, eax
jmp 0x67f1c6
add ebx, ebx
jne 0x67f1c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x67f194
inc ecx
add ebx, ebx
jne 0x67f1d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x67f194
add ebx, ebx
jne 0x67f1e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x67f1d6
jne 0x67f1f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x67f1d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x67f214
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x67f206
jmp 0x67f156
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x67f214
add edi, ecx
jmp 0x67f156
pop esi
mov edi, esi
mov ecx, 0xc5c6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x67f232
cmp byte [edi], 0x22
jne 0x67f232
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 0x67f237
lea edi, [esi + 0x26a000]
mov eax, dword [edi]
or eax, eax
je 0x67f2af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2929d8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x292ba4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x67f264
mov ecx, edi
jns 0x67f293
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 + 0x292ba8]
or eax, eax
je 0x67f2a9
mov dword [ebx], eax
add ebx, 4
jmp 0x67f281
call dword [esi + 0x292bb8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x67f2e0
cmp al, 0xef
ja 0x67f2d3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x67f2b5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x67f2c2
mov ebp, dword [esi + 0x292bac]
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 0x67f314
sub esp, 0xffffff80
jmp 0x57b349
Function at 0x4012c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x405004]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
push 0
push 2
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x124
mov edi, eax
lea eax, [esp + 0x18]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x10], 0x128
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x401365
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
nop dword [eax]
cmp dword [esi + 0x18], 0x10
lea eax, [esi + 4]
jb 0x40132c
mov eax, dword [esi + 4]
lea ecx, [esp + 0x34]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401350
test dl, dl
je 0x40134c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401350
add eax, 2
add ecx, 2
test dl, dl
jne 0x401330
xor eax, eax
jmp 0x401355
sbb eax, eax
or eax, 1
test eax, eax
je 0x40137c
lea eax, [esp + 0x10]
push eax
push edi
call ebx
test eax, eax
jne 0x401320
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.004014de
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x13c]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004014de
mov esp, ebp
pop ebp
ret

Function at 0x401d9b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401dda
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401dda
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401dda
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401dda
cmp dword [ecx + 0x74], 0xe
jbe 0x401dda
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

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

Disassembly:
pushal
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219