joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4197ba
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [edi + 0x10], eax
cmp dword [eax], ebx
je 0x4197ed
push ebx
push ebx
push ebx
push ebx
lea esi, [edi + 0x14]
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
call fcn.00406465
mov eax, dword [edi + 0x10]
mov ecx, dword [eax]
push dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x10]
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x419a0c
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x18], esi
cmp dword [eax], ebx
je 0x419841
call fcn.0041987d
mov ebx, dword [edi + 4]
mov esi, eax
mov eax, dword [edi]
mov dword [ebp - 0xc], edx
call fcn.00408a16
add esi, eax
adc dword [ebp - 0xc], edx
mov eax, dword [edi + 0x10]
push dword [ebp - 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
push esi
call dword [eax]
mov eax, dword [edi + 0x10]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, dword [ebp - 0x18]
xor ebx, ebx
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x41986b
mov edi, dword [ebp - 4]
cmp esi, ebx
je 0x419867
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x419878
cmp esi, ebx
je 0x419876
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x419a89
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov eax, dword [ebx + 0x28]
push esi
push edi
push dword [eax]
lea esi, [ebx + 4]
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [esi]
call fcn.00419c1a
mov dword [esp], 0x414
push dword [esi]
mov edi, eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x170
push eax
call edi
push esi
call fcn.0040a73a
push dword [esi]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x412
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
and dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x24]
mov eax, dword [eax + 4]
mov dword [esp + 0x14], eax
test eax, eax
jle 0x419b8b
push dword [esp + 0xc]
mov ecx, dword [ebx + 0x24]
call fcn.0040700f
movzx eax, word [eax]
push 0
push 0x435508
push 2
push eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov esi, eax
lea eax, [esi - 1]
push eax
push 0x78
pop ecx
lea edx, [esp + 0x1c]
call fcn.00407c7c
push esi
lea esi, [esp + 0x1c]
call fcn.0040642d
push eax
push 2
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov esi, dword [esp + 0x18]
push esi
push 0
push 0x143
push dword [esp + 0x1c]
call edi
push dword [esp + 0x1c]
push eax
push 0x151
push dword [esp + 0x1c]
call edi
lea eax, [esi - 0x10]
call fcn.004039c4
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x14]
jl 0x419b03
xor esi, esi
cmp dword [esp + 0x14], esi
mov dword [esp + 0x1c], esi
jle 0x419bb8
push 0
push esi
push 0x150
push dword [esp + 0x1c]
call edi
movzx ecx, word [ebx + 0x2c]
cmp ecx, eax
jne 0x419bb1
mov dword [esp + 0x1c], esi
inc esi
cmp esi, dword [esp + 0x14]
jl 0x419b97
push 0
push dword [esp + 0x20]
push 0x14e
push dword [esp + 0x1c]
call edi
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41ad7e
Capabilities:
Create process on windows
Query service status
Start service

Disassembly:
push ebp
lea ebp, [esp - 0x304]
sub esp, 0x384
mov eax, dword [0x43c07c]
xor eax, ebp
mov dword [ebp + 0x300], eax
push esi
push edi
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0xc], 1
jne 0x41ae49
push str.SYSTEM_AGENT_COM_WINDOW
push str.SAGEWINDOWCLASS
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x41add1
xor eax, eax
jmp 0x41aeac
push 0x44
pop esi
push esi
xor edi, edi
lea eax, [ebp - 0x80]
push edi
push eax
call fcn.00423730
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 0xf8]
push eax
push 0x104
push edi
push str.mstask.exe
push edi
mov dword [ebp - 0x80], esi
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x41ae13
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41aeac
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x80]
push eax
push edi
push edi
push 0x210
push edi
push edi
push edi
push edi
lea eax, [ebp + 0xf8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41ae08
push dword [ebp - 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x2c]
call esi
jmp 0x41adca
push 1
xor edi, edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
cmp esi, edi
je 0x41ae08
push ebx
push 0x14
push str.Schedule
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, eax
call esi
cmp ebx, edi
je 0x41ae9e
lea eax, [ebp - 0x3c]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x41ae9b
cmp dword [ebp - 0x38], 4
je 0x41aea6
push edi
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x41aea6
push ebx
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41aeab
push ebx
call esi
xor eax, eax
pop ebx
mov ecx, dword [ebp + 0x300]
pop edi
xor ecx, ebp
pop esi
call fcn.0042370b
add ebp, 0x304
leave
ret
Function at 0x41b49b
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push esi
call fcn.00416829
test eax, eax
je 0x41b538
lea eax, [esp + 8]
push eax
xor esi, esi
push 0x28
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x41b4e8
cmp dword [esp + 8], esi
je 0x41b4e4
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x41b54f
lea eax, [esp + 0x14]
push eax
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push esi
push esi
push esi
lea eax, [esp + 0x1c]
push eax
push esi
push dword [esp + 0x1c]
mov dword [esp + 0x28], 1
mov dword [esp + 0x34], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41b4d4
cmp dword [esp + 8], esi
je 0x41b53d
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41b53d
call fcn.0041b554
push 0x80040002
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
setne al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41b554
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x43c07c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.CreateToolhelp32Snapshot
push edi
mov dword [ebp - 0x248], edi
call esi
test eax, eax
jne 0x41b59d
test edi, edi
je 0x41b689
push edi
jmp 0x41b683
push 0
push 2
call eax
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41b5b3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41b58f
lea eax, [ebp - 0x23c]
push 0x43e5a4
push eax
call fcn.0040d022
pop ecx
pop ecx
push str.Process32FirstW
push edi
call esi
push str.Process32NextW
push dword [ebp - 0x248]
mov edi, eax
call esi
push 0x228
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x234]
push 0
push eax
call fcn.00423730
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
push ebx
mov dword [ebp - 0x238], 0x22c
call edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41b65b
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.0040cb27
test eax, eax
jne 0x41b64d
push dword [ebp - 0x230]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test esi, esi
je 0x41b64d
push esi
call edi
lea eax, [ebp - 0x238]
push eax
push ebx
call dword [ebp - 0x240]
test eax, eax
jne 0x41b615
mov eax, dword [ebp - 0x23c]
add eax, 0xfffffff0
call fcn.004039c4
test ebx, ebx
je 0x41b674
push ebx
call edi
cmp dword [ebp - 0x248], 0
je 0x41b689
push dword [ebp - 0x248]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042370b
leave
ret
Function at 0x41de27
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push edi
lea eax, [ebp - 0x14]
xor edi, edi
push eax
push dword [esi + 4]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x419
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 4], eax
push eax
mov eax, dword [esi + 0x74]
call fcn.004112d9
push dword [eax]
push edi
push 0x172
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x210
push 1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
call fcn.004121ce
mov byte [esi + 0x78], 1
pop edi
leave
ret
Function at 0x41f457
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x43d85c]
push ebx
push esi
push edi
mov ecx, 0x43d85c
call dword [eax + 0xc]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x80]
mov ecx, dword [eax]
mov eax, dword [ebx + 0x10]
add ecx, 4
call fcn.0040cb4d
add eax, 0x1c
mov eax, dword [eax]
sub eax, 0x10
call fcn.00407082
mov esi, eax
add esi, 0x10
cmp dword [esi - 0xc], 0
mov dword [ebp - 8], esi
je 0x41f590
mov eax, dword [edi + 0x84]
mov eax, dword [eax]
sub eax, 0x10
call fcn.00407082
add eax, 0x10
lea esi, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.004070da
mov eax, dword [ebx + 0x14]
push dword [eax - 0xc]
push eax
mov eax, esi
call fcn.00401663
call fcn.004070da
lea eax, [ebp - 0xc]
push eax
call fcn.0041afb8
mov eax, dword [eax]
pop ecx
push dword [eax - 0xc]
push eax
mov eax, esi
call fcn.00401663
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.004039c4
xor bl, bl
mov esi, edi
call fcn.0041f654
push 0x8a
lea esi, [ebp - 0xc]
call fcn.00416ecc
pop ecx
push dword [ebp - 0xc]
push 2
push dword [edi + 0xf4]
push dword [ebp + 0xc]
call fcn.0041472d
lea eax, [ebp - 8]
push 0
push eax
lea edx, [ebp - 4]
call fcn.00416007
mov bl, al
pop ecx
pop ecx
test bl, bl
jne 0x41f573
lea esi, [ebp - 4]
call fcn.0040642d
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x5c
call fcn.004062ac
mov ecx, eax
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.004063f7
push dword [eax]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004039c4
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.004039c4
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.004039c4
test bl, bl
je 0x41f5b8
mov esi, dword [ebp - 8]
push dword [edi + 0xf4]
push dword [ebp + 0xc]
call fcn.0041518e
mov ecx, dword [edi + 0x80]
mov ecx, dword [ecx]
add ecx, 4
call fcn.0040cb4d
mov byte [eax + 0x5c], 1
mov byte [ebp + 0xf], 1
jmp 0x41f625
inc dword [edi + 0x17c]
mov eax, dword [0x43d85c]
mov ecx, 0x43d85c
call dword [eax + 0xc]
add eax, 0x10
push 0x8b
lea esi, [ebp - 0x10]
mov dword [ebp - 0xc], eax
call fcn.00416ecc
pop ecx
lea edi, [ebp - 0xc]
call fcn.004060b8
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004039c4
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
push esi
push 2
push dword [eax + 0xf4]
push dword [ebp + 0xc]
call fcn.0041472d
mov eax, dword [ebp + 0x10]
mov dword [eax + 0xc], 1
lea eax, [esi - 0x10]
mov byte [ebp + 0xf], 0
call fcn.004039c4
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 8]
cmp dword [esi - 0xc], 0
je 0x41f637
mov bl, 1
mov esi, edi
call fcn.0041f654
mov esi, dword [ebp - 8]
lea eax, [esi - 0x10]
call fcn.004039c4
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004039c4
mov al, byte [ebp + 0xf]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x421658
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, eax
mov esi, dword [edi + 0x74]
call fcn.00411142
mov eax, dword [edi + 0x74]
xor esi, esi
push esi
push 0x3025
call fcn.004111db
mov eax, dword [edi + 0x74]
push esi
push 0x3023
call fcn.004111db
mov eax, dword [edi + 0x74]
push esi
push 0x3024
call fcn.004111db
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x401
push dword [edi + 4]
call ebx
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x7f04
push edi
call fcn.00421031
push edi
call fcn.00420de1
mov dword [edi + 0x88], esi
push 0
lea esi, [edi + 0x80]
push dword [esi]
call fcn.0041075b
test eax, eax
jne 0x420daa
mov esi, dword [esi]
add esi, 0x28
add edi, 0x7c
mov byte [esi + 0x15], al
mov byte [esi + 0x14], al
mov dword [esi + 0xc], edi
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [esi + 0x18], eax
lea eax, [esp + 0xc]
push eax
xor eax, eax
push eax
push esi
push 0x41b2ec
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x420dda
mov eax, dword [edi + 0x74]
mov esi, dword [sym.imp.USER32.dll_GetParent]
mov byte [eax + 0x85], 1
push dword [edi + 4]
call esi
push 2
push eax
call ebx
push dword [edi + 4]
mov ebx, eax
call esi
push ebx
push 2
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
push esi
mov esi, eax
mov eax, dword [edi + 4]
cmp dword [esi], eax
je 0x421675
push eax
call dword [sym.imp.USER32.dll_GetParent]
cmp dword [esi], eax
je 0x421675
and dword [ebx], 0
xor eax, eax
inc eax
pop esi
ret
mov esi, dword [esi + 8]
lea ecx, [esi + 0xd1]
xor eax, eax
cmp ecx, 9
ja case.0x421685.204
jmp dword [ecx*4 + 0x4216ac]
mov eax, edi
pop esi
jmp 0x420cfb
mov eax, 0xca
pop esi
ret
mov ecx, dword [edi + 0x74]
mov byte [ecx + 0x85], al
pop esi
ret
mov dword [ebx], eax
pop esi
ret

Function at 0x42259d
Capabilities:
Hash data with md5

Disassembly:
xor ecx, ecx
mov byte [eax + 0x68], cl
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x422c90
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x422ca6
xor al, al
jmp 0x422d13
push ebx
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax - 0xc]
lea esi, [eax + eax]
lea eax, [esi + 2]
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
mov dword [edi], ebx
test ebx, ebx
je 0x422cdb
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
test eax, eax
jne 0x422cdf
xor al, al
jmp 0x422d11
mov ecx, dword [ebp + 8]
push esi
push dword [ecx]
push eax
call fcn.004246f0
mov ecx, dword [ebp - 4]
add esp, 0xc
xor eax, eax
push ebx
mov word [esi + ecx], ax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [edi]
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov al, 1
pop esi
pop ebx
leave
ret 4

Function at 0x4234d9
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x43d8d8], 0
push esi
jne 0x42344c
call fcn.00423372
test eax, eax
je 0x42348f
mov eax, dword [0x43d8d8]
cmp eax, 1
jne 0x42346d
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x42348f
pop esi
ret
push eax
call dword [0x43d8e0]
test eax, eax
jne 0x4234d7
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x423493
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x43d8d8]
call dword [0x43d8e0]
mov edi, eax
test edi, edi
je 0x4234b8
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x4234d4
mov edi, esi
add esi, 0xff0
push edi
push dword [0x43d8d8]
call dword [0x43d8dc]
add edi, 0x10
cmp edi, esi
jb 0x4234c0
mov eax, edi
pop edi
pop esi
ret
jmp 0x423439

Function at 0x42370b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43c07c]
jne 0x423715
repz ret
jmp fcn.00424dcc
Function at 0x42cd3d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00425637
and dword [ebp - 4], 0
cmp dword [0x43e39c], 0
mov ebx, eax
jne 0x42cdee
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42ce9f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x42ce9f
push eax
call fcn.004255c5
mov dword [esp], 0x433e90
push edi
mov dword [0x43e39c], eax
call esi
push eax
call fcn.004255c5
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43e3a0], eax
call esi
push eax
call fcn.004255c5
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43e3a4], eax
call esi
push eax
call fcn.004255c5
pop ecx
mov dword [0x43e3ac], eax
test eax, eax
je 0x42cdee
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004255c5
pop ecx
mov dword [0x43e3a8], eax
mov eax, dword [0x43e3a8]
cmp eax, ebx
je 0x42ce46
cmp dword [0x43e3ac], ebx
je 0x42ce46
push eax
call fcn.00425640
push dword [0x43e3ac]
mov esi, eax
call fcn.00425640
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42ce46
test edi, edi
je 0x42ce46
call esi
test eax, eax
je 0x42ce3d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42ce3d
test byte [ebp - 0xc], 1
jne 0x42ce46
or dword [ebp + 0x10], 0x200000
jmp 0x42ce7f
mov eax, dword [0x43e3a0]
cmp eax, ebx
je 0x42ce7f
push eax
call fcn.00425640
pop ecx
test eax, eax
je 0x42ce7f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42ce7f
mov eax, dword [0x43e3a4]
cmp eax, ebx
je 0x42ce7f
push eax
call fcn.00425640
pop ecx
test eax, eax
je 0x42ce7f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43e39c]
call fcn.00425640
pop ecx
test eax, eax
je 0x42ce9f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42cea1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402fc8
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx]
mov esi, dword [ecx + 8]
mov edi, dword [ecx + 4]
add edi, esi
mov edx, eax
shr edx, 1
test al, 1
lea edx, [ecx + edx + 1]
cmovne edx, edi
lea ecx, [ecx + 1]
cmovne ecx, esi
sub edx, ecx
mov eax, edx
cmp edx, 4
jb 0x40301d
imul esi, dword [ecx], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, esi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x402ff7
cmp edx, 1
je 0x40303e
cmp edx, 2
je 0x403035
cmp edx, 3
jne 0x403049
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
pop esi
pop edi
pop ebp
ret 4
Function at 0x406600
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
movdqu xmm1, xmmword [ecx]
movdqu xmm2, xmmword [ecx + 0x10]
movdqu xmm4, xmmword [ecx + 0x20]
movdqu xmm3, xmmword [ecx + 0x30]
movd xmm0, dword [ebp + 0x10]
pxor xmm0, xmm1
add eax, 0xffffffc0
add ecx, 0x40
cmp eax, 0x40
jb 0x4066ee
nop word cs:[eax + eax]
movdqa xmm6, xmm0
movdqa xmm1, xmmword [0x53b960]
pclmulqdq xmm6, xmm1, 0
movdqa xmm5, xmmword [0x53b970]
pclmulqdq xmm0, xmm5, 0x11
movdqa xmm7, xmm0
pxor xmm7, xmm6
movdqa xmm0, xmm2
movdqa xmm1, xmmword [0x53b960]
pclmulqdq xmm0, xmm1, 0
pclmulqdq xmm2, xmm5, 0x11
movdqa xmm6, xmm2
pxor xmm6, xmm0
movdqa xmm0, xmm4
pclmulqdq xmm0, xmm1, 0
movdqa xmm2, xmm1
pclmulqdq xmm4, xmm5, 0x11
movdqa xmm1, xmm4
pxor xmm1, xmm0
movdqa xmm0, xmm3
pclmulqdq xmm0, xmm2, 0
pclmulqdq xmm3, xmm5, 0x11
movdqa xmm5, xmm3
pxor xmm5, xmm0
movdqu xmm0, xmmword [ecx]
pxor xmm0, xmm7
movdqu xmm2, xmmword [ecx + 0x10]
pxor xmm2, xmm6
movdqu xmm4, xmmword [ecx + 0x20]
pxor xmm4, xmm1
movdqu xmm3, xmmword [ecx + 0x30]
pxor xmm3, xmm5
add eax, 0xffffffc0
add ecx, 0x40
cmp eax, 0x3f
ja 0x406640
movdqa xmm1, xmmword [0x53b980]
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm1, 0
pxor xmm5, xmm2
movdqa xmm2, xmmword [0x53b990]
pclmulqdq xmm0, xmm2, 0x11
pxor xmm0, xmm5
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm1, 0
pxor xmm5, xmm4
pclmulqdq xmm0, xmm2, 0x11
pxor xmm0, xmm5
movdqa xmm4, xmm0
pclmulqdq xmm4, xmm1, 0
pxor xmm4, xmm3
pclmulqdq xmm0, xmm2, 0x11
pxor xmm0, xmm4
cmp eax, 0x10
jb 0x406838
lea edx, [eax - 0x10]
mov esi, edx
shr esi, 4
add esi, 1
and esi, 3
je 0x406798
shl esi, 4
xor edi, edi
nop word cs:[eax + eax]
nop
movdqu xmm3, xmmword [ecx + edi]
movdqa xmm4, xmm0
pclmulqdq xmm4, xmm1, 0
pxor xmm4, xmm3
pclmulqdq xmm0, xmm2, 0x11
pxor xmm0, xmm4
add edi, 0x10
cmp esi, edi
jne 0x406770
add ecx, edi
sub eax, edi
movdqa xmm3, xmm0
cmp edx, 0x30
jb 0x40683c
nop word cs:[eax + eax]
nop
movdqa xmm4, xmm0
pclmulqdq xmm4, xmm1, 0
pclmulqdq xmm0, xmm2, 0x11
movdqu xmm3, xmmword [ecx]
pxor xmm3, xmm4
pxor xmm3, xmm0
movdqu xmm0, xmmword [ecx + 0x10]
movdqa xmm4, xmm3
pclmulqdq xmm4, xmm1, 0
pxor xmm4, xmm0
pclmulqdq xmm3, xmm2, 0x11
pxor xmm3, xmm4
movdqu xmm0, xmmword [ecx + 0x20]
movdqa xmm4, xmm3
pclmulqdq xmm4, xmm1, 0
pxor xmm4, xmm0
pclmulqdq xmm3, xmm2, 0x11
pxor xmm3, xmm4
movdqu xmm0, xmmword [ecx + 0x30]
movdqa xmm4, xmm3
pclmulqdq xmm4, xmm1, 0
pxor xmm4, xmm0
pclmulqdq xmm3, xmm2, 0x11
pxor xmm3, xmm4
add eax, 0xffffffc0
add ecx, 0x40
movdqa xmm0, xmm3
cmp eax, 0xf
ja 0x4067b0
jmp 0x40683c
movdqa xmm3, xmm0
movdqa xmm0, xmmword [0x53b990]
pclmulqdq xmm0, xmm3, 1
psrldq xmm3, 8
pxor xmm3, xmm0
pxor xmm0, xmm0
pxor xmm1, xmm1
pblendw xmm1, xmm3, 3
psrldq xmm3, 4
pclmulqdq xmm1, xmmword [0x53b9a0], 0
pxor xmm1, xmm3
pxor xmm2, xmm2
pblendw xmm2, xmm1, 3
pclmulqdq xmm2, xmmword [0x53b9b0], 0x10
pblendw xmm2, xmm0, 0xfc
pclmulqdq xmm2, xmmword [0x53b9c0], 0
pxor xmm2, xmm1
pextrd eax, xmm2, 1
pop esi
pop edi
pop ebp
ret
Function at 0x40cbf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov dword [ebp - 0x20], ecx
mov eax, dword [0x591128]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
xor eax, eax
dec eax
mov dword [ecx - 4], eax
mov dword [ecx - 8], eax
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x1c], 0xffffffff
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 0x18]
push edx
push dword [edi + 0x28]
call dword [eax + 0x10]
mov ebx, eax
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
sub esi, eax
push dword [edi + 0x20]
push esi
push 1
push eax
call fcn.00525b6b
add esp, 0x10
cmp eax, esi
jne 0x40cc73
cmp ebx, 1
je 0x40cc15
cmp ebx, 2
mov esi, 0xffffffff
je 0x40cc76
mov eax, dword [ebp - 0x20]
push dword [eax + 0x20]
call fcn.005256eb
add esp, 4
neg eax
sbb esi, esi
jmp 0x40cc76
xor esi, esi
dec esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050f421
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x40cc90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp byte [ecx + 0x2c], 0
je 0x40ccb4
push dword [ecx + 0x20]
push esi
push 1
push eax
call fcn.00525b6b
add esp, 0x14
jmp 0x40cce3
test esi, esi
jle 0x40ccdc
mov dword [ebp - 0x10], ecx
xor edi, edi
mov ebx, eax
movzx eax, byte [eax + edi]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
call dword [edx + 0x30]
cmp eax, 0xffffffff
je 0x40ccde
inc edi
cmp esi, edi
mov eax, ebx
jne 0x40ccbd
mov edi, esi
jmp 0x40ccde
xor edi, edi
mov eax, edi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 8