joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a38b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov ebp, ecx
xor ebx, ebx
mov dword [esp + 0xc], ebp
push edi
mov edi, edx
mov dword [esp + 0x24], edi
test ebp, ebp
je 0x4a38db
push 2
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [esp + 0x1c], eax
jmp 0x4a38e5
mov esi, dword [0x4e9858]
mov dword [esp + 0x1c], esi
test esi, esi
je 0x4a3a76
test edi, edi
jns 0x4a38fa
mov eax, edi
neg eax
movzx eax, ax
jmp 0x4a392b
test edi, edi
mov dword [esp + 0x2c], ebx
mov eax, 1
mov dword [esp + 0x30], 0x4ed8ac
cmovne eax, edi
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
push 0x4a3880
push 0xe
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
mov eax, dword [esp + 0x30]
cmp eax, 0x4ed8ac
je 0x4a3a4f
push 0xe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4a3a4f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4a3a4f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, eax
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x4a3a4f
cmp dword [esp + 0x38], 0xffffffff
mov ebx, dword [esp + 0x3c]
cmovne ebx, dword [esp + 0x38]
test ebx, ebx
jne 0x4a398d
push 0xb
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x18]
mov ebx, eax
lea eax, [ecx + 6]
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], eax
xor ebp, ebp
movzx eax, word [ecx + 4]
mov dword [esp + 0x18], eax
test eax, eax
je 0x4a3a49
mov edi, dword [esp + 0x20]
mov esi, 0x100
movzx edx, byte [edi]
test edx, edx
cmove edx, esi
xor ecx, ecx
cmp edx, ebp
jle 0x4a39cc
cmp ebp, ebx
setl cl
jmp 0x4a39d1
cmp edx, ebx
setge cl
test ecx, ecx
mov eax, edi
cmove eax, dword [esp + 0x14]
add edi, 0xe
test ecx, ecx
mov dword [esp + 0x14], eax
cmove edx, ebp
sub dword [esp + 0x18], 1
mov ebp, edx
jne 0x4a39b7
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
test eax, eax
je 0x4a3a49
movzx eax, word [eax + 0xc]
push 3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x4a3a49
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4a3a49
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x4a3a49
push 0
push 0
push 0
push 0x30000
push 1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push ebp
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
mov ebx, eax
jmp 0x4a3a4b
xor ebx, ebx
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4a3a67
test ebx, ebx
je 0x4a3a67
mov dword [eax], esi
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x24
ret
test ebp, ebp
je 0x4a3a72
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
jne 0x4a3a5d
test edi, edi
jle 0x4a3a8f
lea eax, [edi - 1]
push eax
push ebp
push 0
call dword [sym.imp.SHELL32.dll_ExtractIconW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
xor eax, eax
cmp edi, 0xffffffff
cmovl eax, edi
push eax
push ebp
push 0
call dword [sym.imp.SHELL32.dll_ExtractIconW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x4a4de0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0x810
push edi
push 0x800
lea eax, [esp + 0x18]
mov dword [esp + 8], edx
push 0
push eax
mov edi, ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x10]
push 0xf0000000
push 0x18
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4a4f84
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x8004
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x4a4f84
mov edx, dword [esp + 0x818]
test edx, edx
je 0x4a4e84
cmp dword [edx], 0
je 0x4a4e84
push esi
xor ecx, ecx
mov eax, edx
mov esi, 0x4e0a28
nop dword [eax]
cmp edx, 0x4e8164
jne 0x4a4e6c
mov eax, esi
jmp 0x4a4e6e
mov eax, dword [eax]
mov ax, word [eax]
add esi, 0xa
mov word [esp + ecx*2 + 0x18], ax
inc ecx
cmp dword [edx + ecx*4], 0
lea eax, [edx + ecx*4]
jne 0x4a4e60
pop esi
lea ecx, [esp + 0x14]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a4e90
sub ecx, edx
sar ecx, 1
push 0
lea eax, [ecx + ecx]
push eax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x4a4f84
push 0x800
lea eax, [esp + 0x18]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x82c]
add esp, 0xc
mov edx, ecx
shl edx, 0x10
cmp ecx, 0x80
jne 0x4a4eeb
mov eax, 0x660e
jmp 0x4a4efb
xor eax, eax
cmp ecx, 0xc0
setne al
add eax, 0x660f
lea ecx, [esp + 0xc]
push ecx
push edx
push dword [esp + 0x10]
push eax
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x4a4f84
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
je 0x4a4f84
cmp byte [esp + 0x81c], 0
je 0x4a4f4c
mov eax, dword [esp + 4]
add eax, 0x10
push eax
lea eax, [esp + 8]
push eax
push edi
push 0
push 1
push 0
push dword [esp + 0x24]
call dword [0x4e9820]
jmp 0x4a4f62
lea eax, [esp + 4]
push eax
push edi
push 0
push 1
push 0
push dword [esp + 0x20]
call dword [0x4e981c]
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [esp + 4]
pop edi
add esp, 0x810
ret
xor eax, eax
pop edi
add esp, 0x810
ret
Function at 0x4a5ea0
Capabilities:
Write clipboard data

Disassembly:
sub esp, 8
push ebx
mov ebx, ecx
mov ecx, 0x4ec4b0
push esi
mov esi, edx
call fcn.00405f40
test eax, eax
jne 0x4a5ed1
push 0x4bfba0
push str.Cant_open_clipboard_for_writing.
mov ecx, 0x4eb958
call fcn.0043ec50
pop esi
pop ebx
add esp, 8
ret
push ebp
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea eax, [ebx + esi]
lea esi, [ebx + 4]
mov dword [esp + 0x14], eax
cmp esi, eax
ja 0x4a5f59
mov ecx, dword [ebx]
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x4a5f59
mov edi, esi
add esi, 4
cmp esi, eax
ja 0x4a5f59
mov edi, dword [edi]
mov ebx, esi
add esi, edi
cmp esi, eax
ja 0x4a5f59
xor eax, eax
test edi, edi
sete al
add eax, edi
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x4a600d
test edi, edi
je 0x4a5f43
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4a5fa8
push edi
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ebx, esi
push ebp
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetClipboardData]
mov eax, dword [esp + 0x14]
lea esi, [ebx + 4]
cmp esi, eax
jbe 0x4a5ee7
cmp dword [0x4ec4c8], 0
je 0x4a5f9b
cmp dword [0x4ec4b8], 0
je 0x4a5f81
push dword [0x4ec4b0]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4ec4b8], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4ec4c8], 0
mov dword [0x4ec4b0], 0
pop edi
pop ebp
pop esi
mov eax, 1
pop ebx
add esp, 8
ret
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [0x4ec4c8], 0
je 0x4a5ff1
cmp dword [0x4ec4b8], 0
je 0x4a5fd7
push dword [0x4ec4b0]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4ec4b8], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4ec4c8], 0
mov dword [0x4ec4b0], 0
push 0x4bfba0
push 0x4c00a4
mov ecx, 0x4eb958
call fcn.0043ec50
pop edi
pop ebp
pop esi
pop ebx
add esp, 8
ret
cmp dword [0x4ec4c8], 0
je 0x4a604f
cmp dword [0x4ec4b8], 0
je 0x4a6035
push dword [0x4ec4b0]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4ec4b8], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4ec4c8], 0
mov dword [0x4ec4b0], 0
push 0x4bfba0
push str.Out_of_memory.
mov ecx, 0x4eb958
call fcn.0043ec50
pop edi
pop ebp
pop esi
pop ebx
add esp, 8
ret
Function at 0x4a7270
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
push ecx
cmp byte [esp + 8], 0
push ebx
push esi
push edi
mov ebx, edx
mov esi, ecx
je 0x4a72da
lea eax, [esp + 0xc]
push eax
push 0x1f4
push 2
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
jne 0x4a72e7
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4a72e7
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4a72e7
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4a72e7
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
xor edi, edi
test ebx, ebx
cmovns edi, ebx
test edi, edi
je 0x4a7353
push ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword fs:[0x24]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x18], eax
nop word [eax + eax]
cmp dword [0x4eb0cc], ebx
jne 0x4a7329
mov edx, 1
mov ecx, 0x8000012f
call fcn.00401700
jmp 0x4a732d
push 0xa
call ebp
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a734b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x18]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jg 0x4a7310
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
ret
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
ret
Function at 0x4a74f0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x11c6c
call fcn.004bdab0
mov eax, edx
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 8], eax
movzx eax, word [eax]
push edi
mov edi, ecx
cmp eax, 0x41
je 0x4a7521
cmp eax, 0x61
jne 0x4a7584
mov ecx, dword [esp + 0xc]
cmp word [ecx + 2], 0
jne 0x4a7584
cmp word [ebx], 0
jne 0x4a7584
cmp word [edx], 0
jne 0x4a7584
cmp word [esi], 0
jne 0x4a7584
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x4a756b
cmp byte [edi + 0xea], 0
jne 0x4a756b
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4a7569
mov ecx, esi
call fcn.004a8260
test al, al
je 0x4a756b
xor esi, esi
cmp byte [ebp + 0x18], 0
je 0x4a757b
test esi, esi
je 0x4a757b
mov dword [edi + 0xc4], esi
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ax, ax
jne 0x4a75a6
cmp word [ebx], ax
jne 0x4a75a6
cmp word [edx], ax
jne 0x4a75a6
cmp word [esi], ax
jne 0x4a75a6
mov ecx, edi
call fcn.004a76b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x10]
call fcn.00440830
push esi
push edx
push ebx
push dword [esp + 0x18]
push edi
call fcn.004a83b0
test eax, eax
je 0x4a7672
test byte [esp + 0x10], 2
mov al, byte [ebp + 0x14]
mov byte [esp + 0x183d], al
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x184c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x1850], eax
je 0x4a767b
mov esi, dword [esp + 0x102c]
cmp esi, 0xffff
je 0x4a764a
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a7672
cmp byte [edi + 0xea], 0
mov esi, dword [esp + 0x102c]
jne 0x4a764a
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4a762d
mov ecx, esi
call fcn.004a8260
test al, al
je 0x4a7643
push 0xfffffffffffffff0
push dword [esp + 0x1030]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x4a7672
mov esi, dword [esp + 0x102c]
cmp dword [esp + 0x1864], esi
je 0x4a7663
lea ecx, [esp + 0x10]
mov dword [esp + 0x1864], esi
call fcn.004a8820
push 0
lea ecx, [esp + 0x14]
call fcn.004a8900
test eax, eax
jne 0x4a768b
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x10]
push eax
push 0x4a7750
call dword [sym.imp.USER32.dll_EnumWindows]
cmp byte [ebp + 0x18], 0
mov eax, dword [esp + 0x1844]
je 0x4a7674
test eax, eax
je 0x4a7674
mov dword [edi + 0xc4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a8820
Capabilities:
Get graphical window text

Disassembly:
push ecx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x1854]
test ecx, ecx
je 0x4a88f9
mov eax, dword [esi]
test eax, eax
je 0x4a88f9
push edi
test al, 1
jne 0x4a884d
mov eax, dword [esi + 0x100c]
cmp word [eax], 0
je 0x4a8867
push 0x7fff
lea edi, [esi + 0x1860]
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x4a8867
mov word [edi], ax
mov eax, dword [esi]
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test al, 4
je 0x4a8884
lea eax, [esi + 0x185c]
push eax
push dword [esi + 0x1854]
call edi
mov eax, dword [esi]
test al, 0x20
je 0x4a88bf
lea eax, [esp + 8]
push eax
push dword [esi + 0x1854]
call edi
test eax, eax
je 0x4a88bf
movzx eax, byte [esi + 0x182c]
lea edx, [esi + 0x11a60]
push eax
push ecx
mov ecx, dword [esp + 0x10]
call fcn.0046c480
add esp, 8
test eax, eax
jne 0x4a88bf
mov word [esi + 0x11a60], ax
mov eax, dword [esi]
pop edi
test al, 8
je 0x4a88e0
push 0x101
lea eax, [esi + 0x1185e]
push eax
push dword [esi + 0x1854]
call dword [sym.imp.USER32.dll_GetClassNameW]
mov eax, dword [esi]
test eax, 0x100
je 0x4a88f9
push dword [esi + 0x1854]
call dword [sym.imp.USER32.dll_GetParent]
mov dword [esi + 0x1858], eax
pop esi
pop ecx
ret

Function at 0x4a9210
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x11c68
call fcn.004bdab0
mov edx, dword [ecx + 8]
test edx, edx
je 0x4a92ab
lea ecx, [esp]
call fcn.00440830
mov al, byte [ebp + 8]
mov byte [esp + 0x1848], al
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x184c], eax
mov eax, ecx
push eax
push 0x4a99f0
mov dword [esp + 0x184c], edx
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0x1834], 0
je 0x4a92ab
mov eax, dword [0x4e7024]
cmp dword [eax + 0x54], 0xffffffff
jle 0x4a92ab
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4eb0cc], eax
je 0x4a9298
mov eax, dword [0x4e7024]
push dword [eax + 0x54]
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x4e7024]
mov edx, 1
mov ecx, dword [ecx + 0x54]
call fcn.00401700
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x4a9590
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x11c74
call fcn.004bdab0
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 8], 0
je 0x4a9780
push 0
call fcn.004a9790
test eax, eax
jne 0x4a95c3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push dword [0x4e7024]
mov ebx, eax
mov ecx, esi
push ebx
call fcn.004a9830
mov edx, dword [0x4eb0c4]
xor ecx, ecx
test eax, eax
cmovne edx, ecx
lea ecx, [esp + 0x18]
mov dword [0x4eb0c4], edx
call fcn.00440830
cmp byte [ebp + 8], 0
je 0x4a9607
mov byte [esp + 0x1845], 0
test edx, edx
je 0x4a960f
mov byte [esp + 0x1845], 1
mov eax, dword [0x4eb0c0]
mov edi, dword [sym.imp.USER32.dll_EnumWindows]
mov dword [esp + 0x1854], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x185c], eax
lea eax, [esp + 0x18]
push eax
push 0x4a98c0
mov dword [esp + 0x1860], edx
call edi
mov eax, dword [esp + 0x184c]
test eax, eax
je 0x4a9748
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push 0x4a81a0
mov dword [esp + 0x1c], 0
call edi
mov edi, dword [esp + 0x14]
test edi, edi
je 0x4a96ab
mov ecx, dword [0x4eb0c4]
xor eax, eax
mov edx, dword [esp + 0x184c]
mov esi, dword [0x4eb0c0]
test ecx, ecx
jle 0x4a9690
cmp dword [esi + eax*4], edx
je 0x4a96a2
inc eax
cmp eax, ecx
jl 0x4a9686
cmp ecx, 0x1f4
jge 0x4a96a2
mov dword [esi + ecx*4], edx
inc ecx
mov dword [0x4eb0c4], ecx
mov dword [esp + 0x184c], edi
jmp 0x4a96b2
mov edi, dword [esp + 0x184c]
mov ecx, edi
call fcn.004a6ee0
mov ecx, dword [0x4eb0c4]
xor eax, eax
mov edx, dword [esp + 0x184c]
mov esi, dword [0x4eb0c0]
test ecx, ecx
jle 0x4a96dc
cmp dword [esi + eax*4], edx
je 0x4a96ee
inc eax
cmp eax, ecx
jl 0x4a96d2
cmp ecx, 0x1f4
jge 0x4a96ee
mov dword [esi + ecx*4], edx
inc ecx
mov dword [0x4eb0c4], ecx
mov eax, dword [0x4e7024]
cmp dword [eax + 0x54], 0xffffffff
jle 0x4a9780
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4eb0cc], eax
je 0x4a9727
mov eax, dword [0x4e7024]
push dword [eax + 0x54]
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [0x4e7024]
mov edx, 1
mov ecx, dword [ecx + 0x54]
call fcn.00401700
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x4eb0c4]
test eax, eax
je 0x4a9780
cmp eax, 1
mov dword [0x4eb0c4], 0
setg al
test al, al
je 0x4a9780
mov ecx, dword [0x4eb0c0]
push 0
mov dword [0x4eb0c4], 1
mov dword [ecx], ebx
mov ecx, esi
call fcn.004a9590
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401830
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x401855
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x4018c8
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x40188a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x4018bd
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x4018bb
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x401881
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x40184c
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret
Function at 0xaa9370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xaa938e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xad2074
push ecx
mov edi, eax
call fcn.00abd198
mov esi, eax
add esp, 8
test esi, esi
jne 0xaa93cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00abd02e
push esi
call fcn.00abcfb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xaac850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0xaac8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0xad7720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xaac8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.00abd1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0xaac8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xad7720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xaac92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00abe082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xaac957
mov word [eax], si
add eax, 2
push eax
call fcn.00abe030
add esp, 4
jmp 0xaac959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0xaac8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xaac8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xaacff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0xaad080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xaad0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xad2458
push ecx
call fcn.00abd1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00abd1e1
add esp, 0x10
jmp 0xaad0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00abd20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00abcdff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00aad050
mov eax, dword [0xad7728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0xaad13b
push esi
call fcn.00aacfb0
add esp, 4
mov dword [0xad7728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xaad14c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.00aacff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0xab0440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xab04b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0xab048e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xab0471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xab047e
add edx, ecx
cmp ebx, edx
jb 0xab048a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xab0467
xor ecx, ecx
jmp 0xab04a2
test eax, eax
jne 0xab0492
xor ecx, ecx
jmp 0xab04a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.00ab03c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret