joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436dc4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x44e118]
cmp byte [eax + 0xc], 0
je 0x436f31
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x436f2a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x44fb64], 0
jne 0x436e18
push 0x436f38
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x436f40
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb64], eax
cmp dword [0x44db00], 0
jne 0x436f13
push 0x436f50
call sub.kernel32.dll_LoadLibraryA
mov dword [0x44db00], eax
cmp dword [0x44db00], 0
je 0x436f13
push 0x436f5c
mov eax, dword [0x44db00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb68], eax
push 0x436f6c
mov eax, dword [0x44db00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb6c], eax
push 0x436f80
mov eax, dword [0x44db00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb70], eax
push 0x436f98
mov eax, dword [0x44db00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb74], eax
push 0x436fb0
mov eax, dword [0x44db00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb78], eax
push 0x436fc4
mov eax, dword [0x44db00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb7c], eax
push 0x436fdc
mov eax, dword [0x44db00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb80], eax
push 0x436ff4
mov eax, dword [0x44db00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb84], eax
push 0x437010
mov eax, dword [0x44db00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb88], eax
push 0x43701c
mov eax, dword [0x44db00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436f31
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43adbc
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00403e30
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43ae0b
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004040a0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x442520
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x442570]
test si, 4
je 0x442534
or bl, 1
test si, 8
je 0x44253e
or bl, 4
test si, 1
je 0x442548
or bl, 8
test si, 2
je 0x442552
or bl, 0x10
test si, 0x10
je 0x44255c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44256b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x442574
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4425ac]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44258d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44259c
or bl, 4
test esi, 0x20000000
je 0x4425a7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x448c54
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x448c66
add esp, 0xfffffff0
call fcn.004033e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418f64
mov eax, dword [0x44ddf4]
mov dword [eax + 4], ebx
mov dword [eax], 0x448ff8
mov eax, dword [0x44de00]
mov dword [eax + 4], ebx
mov dword [eax], 0x449004
mov eax, ebx
call fcn.00449010
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41125c]
call fcn.004030a8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41125c]
call fcn.004030a8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41125c]
call fcn.004030a8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41125c]
call fcn.004030a8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41125c]
call fcn.004030a8
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44542c
push eax
push 0
push 0
mov eax, dword [0x44df40]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41aa10]
call fcn.0041be54
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41aa10]
call fcn.0041be54
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41aa10]
call fcn.0041be54
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00449430
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44930c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44930c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44930c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x448da3
call fcn.0040343c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4490f0
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 0x44929b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44927c
mov dl, 1
mov eax, dword [0x411678]
call fcn.004030a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e30
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44926b
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.00437124
test al, al
je 0x44925e
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, 0x4492ac
lea eax, [ebp - 0x254]
call fcn.00408790
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44925e
xor eax, eax
push ebp
push 0x449257
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 0x4492e4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x449240
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040a0
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 0x449240
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44925e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x449161
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415154
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 0x4492a2
lea eax, [ebp - 0x260]
call fcn.00403e30
ret

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

Disassembly:
push ecx
mov eax, dword [0x44fbb0]
cmp byte [eax + 0xa5], 0
jne 0x449c41
cmp dword [0x44fbc8], 0
jne 0x449c02
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x449b8c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x44fbc8], eax
cmp dword [0x44fbc4], 0
jne 0x449c1d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x44fbc4], eax
cmp dword [0x44fbcc], 0
jne 0x449c41
push esp
push 0
push 0
push 0x449b30
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x44fbcc], eax
pop edx
ret
Function at 0x449d38
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x449d4f
add esp, 0xfffffff0
call fcn.004033e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418f64
mov eax, dword [0x44df2c]
cmp word [eax + 2], 0
jne 0x449d77
mov eax, dword [0x44df2c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044b410
mov eax, dword [0x44dfd4]
cmp word [eax + 2], 0
jne 0x449d91
mov eax, dword [0x44dfd4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044b608
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41125c]
call fcn.004030a8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41125c]
call fcn.004030a8
mov dword [ebx + 0xa8], 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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b1c0]
call fcn.00420e08
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x449f18
mov eax, dword [0x44de54]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004211d8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44bba8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x44de54]
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.0040bdcc
test eax, eax
je 0x449e86
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408184
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040bdf4
test eax, eax
je 0x449e9a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004040a0
mov eax, dword [0x44dd58]
cmp byte [eax], 0
jne 0x449ece
mov eax, ebx
call fcn.0044a040
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0044bd84
mov eax, ebx
call fcn.0044c748
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x449f0e
call fcn.0040343c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a2c0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x44fbb0]
cmp dword [eax + 0x30], 0
je 0x44a36a
cmp dword [ebx + 0x94], 0
jne 0x44a364
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44a250
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44a364
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 0x44a32a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44a364
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.004135c4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44a339
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44aecc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44af01
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.00403f20
jmp 0x44af0e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403e84
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44bf60
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44bfa1
mov eax, esi
call fcn.0043292c
test al, al
je 0x44bfa1
mov eax, dword [ebx + 0x84]
call fcn.004326cc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44bfa1
push 0
mov eax, dword [ebx + 0x84]
call fcn.004326cc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x2981e5cc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x2981e5db
pop dword [ebp - 0x28]
mov eax, 0x1f4e0cd5
add eax, 0xa33d906
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xb11f8fad
sub dword [ebp - 0x38], 0x62cd4a62
mov dword [ebp - 0x34], 0x76ae550e
add dword [ebp - 0x34], 0xbb84f737
mov dword [ebp - 0x30], 0xc516b6d4
add dword [ebp - 0x30], 0x87358d5a
mov dword [ebp - 0x2c], 0x707da210
sub dword [ebp - 0x2c], 0x707da210
lea eax, [ebp - 0x38]
push eax
mov eax, 0xc1edad6
add eax, 0x1d66a5ea
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x4feedc0e
sub dword [ebp - 0x38], 0xdb7c72b8
mov dword [ebp - 0x34], 0xaf66f3dd
sub dword [ebp - 0x34], 0x6dfa9268
mov dword [ebp - 0x30], 0x31ddccf0
sub dword [ebp - 0x30], 0xce6e6084
mov dword [ebp - 0x2c], 0x6a280c7e
sub dword [ebp - 0x2c], 0x6a280c7e
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x24cce7ca
sub eax, 0xfb476712
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x44bc8
push 0
call eax
mov ecx, 0x3b19
mov edi, eax
mov esi, 0x97799150
sub esi, 0x6df01d50
add esi, dword [ebp - 0x28]
mov ebx, 0xee46d7f5
add ebx, 0xa5f1c73
mov dword [ebp - 0x24], 0xf59eb050
mov edx, dword [esi]
sub dword [ebp - 8], 0x1fac73ef
xor edx, ebx
sub dword [ebp - 0x1c], ecx
mov dword [edi], edx
add dword [ebp - 0x18], 0x6533b10b
add edi, 0x8a2985bd
add edi, 0x75d67a47
add esi, 0xd96792f1
add esi, 0x26986d13
loop 0x2981e6f7
add eax, 0xb0b5da14
add eax, 0x4f4b0523
xor ebx, ebx
add ebx, eax
add eax, 0xb03ea766
sub eax, 0xb03ea761
mov ecx, 0x2cfa5f18
add ecx, 0xfc85a0e8
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x414cb0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe000]
push edi
or ebp, 0xffffffff
jmp 0x414cd2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414cd9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414cc8
mov eax, 1
add ebx, ebx
jne 0x414ceb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x414ce0
jne 0x414cfc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414ce0
xor ecx, ecx
sub eax, 3
jb 0x414d10
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x414d82
mov ebp, eax
add ebx, ebx
jne 0x414d1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x414d28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x414d4c
inc ecx
add ebx, ebx
jne 0x414d38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x414d2d
jne 0x414d49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414d2d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x414d6c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x414d5d
jmp 0x414cce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x414d6c
add edi, ecx
jmp 0x414cce
pop esi
mov edi, esi
mov ecx, 0x455
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x414d8a
cmp byte [edi], 0
jne 0x414d8a
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 0x414d8f
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0x414dfe
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x151e8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x15270]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x414dbc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x15278]
or eax, eax
je 0x414df8
mov dword [ebx], eax
add ebx, 4
jmp 0x414dd9
call dword [esi + 0x15274]
mov ebp, dword [esi + 0x1527c]
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 0x414e32
sub esp, 0xffffff80
jmp 0x409b60
Function at 0x401000
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0
nop
mov eax, str.Abrindo_Gerenciador_de_Tarefas_do_Windows...
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, 0x3e8
push eax
call sub.msvcrt.dll__sleep
add esp, 4
mov eax, str.taskmgr.exe
push eax
call sub.msvcrt.dll_system
add esp, 4
leave
ret

Function at 0x401036
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0
nop
mov eax, str.Abrindo_Programas_e_Recursos...
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, 0x7d0
push eax
call sub.msvcrt.dll__sleep
add esp, 4
mov eax, str.appwiz.cpl
push eax
call sub.msvcrt.dll_system
add esp, 4
leave
ret

Function at 0x40106c
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0
nop
mov eax, str.Abrindo_Data_e_Hora_do_Sistema...
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, 0x3e8
push eax
call sub.msvcrt.dll__sleep
add esp, 4
mov eax, str.timedate.cpl
push eax
call sub.msvcrt.dll_system
add esp, 4
leave
ret

Function at 0x4010a2
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0
nop
mov eax, str.Abrindo_Propriedades_de_Video...
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, 0x3e8
push eax
call sub.msvcrt.dll__sleep
add esp, 4
mov eax, str.desk.cpl
push eax
call sub.msvcrt.dll_system
add esp, 4
leave
ret

Function at 0x4010d8
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0
nop
mov eax, str.Abrindo_Propriedades_de_Internet...
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, 0x3e8
push eax
call sub.msvcrt.dll__sleep
add esp, 4
mov eax, str.inetcpl.cpl
push eax
call sub.msvcrt.dll_system
add esp, 4
leave
ret

Function at 0x40110e
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0
nop
mov eax, str.Abrindo_Gerenciamento_de_energia...
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, 0x3e8
push eax
call sub.msvcrt.dll__sleep
add esp, 4
mov eax, str.powercfg.cpl
push eax
call sub.msvcrt.dll_system
add esp, 4
leave
ret
Function at 0x401144
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
nop
mov eax, str.color_a
push eax
call sub.msvcrt.dll_system
add esp, 4
mov eax, 1
mov dword [ebp - 4], eax
mov eax, 0x402126
push eax
call sub.msvcrt.dll_system
add esp, 4
mov eax, 0x40212a
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, str.________________________UTILITARIOS_DO_SISTEMA___________________________n
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, 0x4021c2
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, str.__1____Gerenciador_de_tarefas____________________________________________n
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, str.__2____Desinstalar_programas_____________________________________________n
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, str.__3____Data_e_hora_______________________________________________________n
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, str.__4____Propriedades_de_video_____________________________________________n
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, str.__5____Propriedades_de_internet__________________________________________n
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, str.__6____Gerenciamento_de_energia__________________________________________n
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, str.__7____Sair______________________________________________________________n
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, str._n
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, str.Digite_a_opcao_desejada:
push eax
call sub.msvcrt.dll_printf
add esp, 4
mov eax, 0x402584
push eax
mov eax, 0x402488
push eax
call sub.msvcrt.dll_scanf
add esp, 8
movsx eax, byte [0x402584]
cmp eax, 0x31
jne 0x401243
call fcn.00401000
movsx eax, byte [0x402584]
cmp eax, 0x32
jne 0x401258
call fcn.00401036
movsx eax, byte [0x402584]
cmp eax, 0x33
jne 0x40126d
call fcn.0040106c
movsx eax, byte [0x402584]
cmp eax, 0x34
jne 0x401282
call fcn.004010a2
movsx eax, byte [0x402584]
cmp eax, 0x35
jne 0x401297
call fcn.004010d8
movsx eax, byte [0x402584]
cmp eax, 0x36
jne 0x4012ac
call fcn.0040110e
movsx eax, byte [0x402584]
cmp eax, 0x37
jne 0x4012c4
mov eax, 0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
jne 0x401164
leave
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x423004]
jne 0x40100a
repz ret
jmp fcn.004017af

Function at 0x405d6a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x423004]
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.00403529
and dword [ebp - 0x14], 0
cmp dword [0x425b6c], 0
mov dword [ebp - 0x18], eax
jne 0x405e1d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405ec5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405ec5
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x425b6c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x425b70], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x425b74], eax
call edi
push eax
call esi
mov dword [0x425b7c], eax
test eax, eax
je 0x405e1d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x425b78], eax
mov eax, dword [0x425b78]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405e76
cmp dword [0x425b7c], ecx
je 0x405e76
push eax
call esi
push dword [0x425b7c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405e76
test ebx, ebx
je 0x405e76
call edi
test eax, eax
je 0x405e6d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x405e6d
test byte [ebp - 8], 1
jne 0x405e76
or dword [ebp + 0x10], 0x200000
jmp 0x405ea9
mov eax, dword [0x425b70]
cmp eax, dword [ebp - 0x18]
je 0x405ea9
push eax
call esi
test eax, eax
je 0x405ea9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x405ea9
mov eax, dword [0x425b74]
cmp eax, dword [ebp - 0x18]
je 0x405ea9
push eax
call esi
test eax, eax
je 0x405ea9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x425b6c]
call esi
test eax, eax
je 0x405ec5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405ec7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret