joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4055c5
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push 0x64
mov dword [ebp - 4], eax
mov eax, dword [0x4a9450]
pop edi
push edi
lea ecx, [ebp - 8]
mov dword [ebp - 8], eax
call fcn.00406846
test eax, eax
je 0x405609
mov eax, dword [ebp - 8]
mov dword [eax - 8], edi
mov eax, dword [ebp - 8]
mov word [eax + 0xc8], bx
mov eax, dword [ebp - 8]
push 0x63
push eax
push dword [esi + 0x170]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.004068ae
push dword [esi + 0x170]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [ebp - 8]
mov edi, dword [sym.imp.USER32.dll_AppendMenuW]
push eax
push ebx
push dword [ebp - 4]
call edi
mov eax, dword [esi + 0x20]
cmp dword [eax + 0xc], ebx
je 0x405697
push ebx
push ebx
push 0x800
push dword [ebp - 4]
call edi
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
cmp eax, dword [ecx + 4]
je 0x405697
mov ebx, dword [eax + 0xc]
add eax, 0x10
push eax
lea ecx, [ebp - 8]
add ebx, 0x8ca0
call fcn.004065e8
push dword [ebp - 8]
push ebx
push 0
push dword [ebp - 4]
call edi
lea ecx, [ebp - 0xc]
call fcn.004085ad
mov ecx, dword [esi + 0x20]
mov eax, dword [ebp - 0xc]
cmp eax, dword [ecx + 4]
jne 0x405662
xor ebx, ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esi + 4]
push ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x100
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
cmp dword [ebp - 4], ebx
mov edi, eax
je 0x4056d1
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_DestroyMenu]
test eax, eax
je 0x4056d1
mov dword [ebp - 4], ebx
cmp edi, ebx
je 0x40572d
push dword [esi + 0x170]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
cmp edi, eax
jne 0x405710
movzx eax, di
push ebx
push eax
push 0x111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 8]
call fcn.00401085
cmp dword [ebp - 4], ebx
je 0x405742
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_DestroyMenu]
jmp 0x405742
add edi, 0xffff7360
push edi
push dword [esi + 0x48]
call fcn.0043a133
pop ecx
test eax, eax
pop ecx
jne 0x40572d
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
lea ecx, [ebp - 8]
call fcn.00401085
cmp dword [ebp - 4], ebx
je 0x405742
lea ecx, [ebp - 4]
call fcn.0040633e
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x407959
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
mov byte [ebp - 1], 1
mov eax, dword [esi + 0x50]
mov ecx, eax
and ecx, 0xc
cmp cl, 0xc
jne 0x4079ae
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0x10], eax
call edi
push dword [esi + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xfffffffe
call edi
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x10]
push ecx
push edi
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x407a08
shr eax, 2
test al, 1
je 0x4079d7
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [esi + 4]
movzx ecx, di
push ecx
push 0x111
jmp 0x4079a5
xor ebx, ebx
push 1
push ebx
push ebx
push dword [esi + 0x24]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta byte [ebp - 1]
cmp byte [ebp - 1], bl
je 0x407a08
or byte [esi + 0x54], 2
push 1
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x409953
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.004093cf
push eax
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x40998a
cmp byte [ebp + 8], 0
je 0x40997a
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
mov dword [ebp - 4], eax
jmp 0x40997e
and dword [ebp - 4], 0
cmp byte [ebp + 8], 0
je 0x40998e
cmp dword [ebp - 4], 0
jne 0x40998e
xor al, al
leave
ret
push ebx
push esi
push edi
call fcn.004093cf
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
xor bl, bl
test esi, esi
je 0x4099d7
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
test eax, eax
je 0x4099d7
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
je 0x4099d7
push edi
call fcn.004916e0
pop ecx
mov ecx, dword [ebp + 0xc]
push eax
push edi
call fcn.00409b5b
push esi
inc bl
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [ebp - 4], 0
je 0x4099e3
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
mov al, bl
pop esi
pop ebx
leave
ret

Function at 0x40a168
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 8
call fcn.00490944
test eax, eax
pop ecx
je 0x40a188
mov ecx, dword [ebp + 8]
mov esi, eax
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
jmp 0x40a18a
xor esi, esi
test esi, esi
je 0x40a1b8
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x40dd58
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x40a1b1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40a1b8
push esi
call fcn.0048e18e
pop ecx
pop esi
leave
ret
Function at 0x40a3cf
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push edi
push 0xe
pop ecx
xor eax, eax
cmp byte [ebp + 0x10], 0
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x28], eax
pop edi
mov dword [ebp - 0x30], str.open
je 0x40a40f
mov dword [ebp - 0x30], str.runas
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x20], 3
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
neg eax
sbb eax, eax
and eax, dword [ebp - 4]
leave
ret

Function at 0x40a429
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push edi
xor esi, esi
xor eax, eax
lea edi, [ebp - 0xc]
mov dword [ebp - 0x10], esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x54], 0x44
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
mov word [ebp - 0x24], 3
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40a484
cmp dword [ebp - 0xc], esi
je 0x40a481
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
leave
ret

Function at 0x40a90e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x10
call fcn.00490944
test eax, eax
pop ecx
je 0x40a93a
mov ecx, dword [ebp + 8]
mov esi, eax
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0xc], ecx
jmp 0x40a93c
xor esi, esi
test esi, esi
jne 0x40a944
xor eax, eax
jmp 0x40a979
lea eax, [ebp - 4]
push edi
push eax
push 0
push esi
push 0x40b823
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
je 0x40a96a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40a971
push esi
call fcn.0048e18e
pop ecx
xor eax, eax
test edi, edi
setne al
pop edi
pop esi
leave
ret

Function at 0x40b7a3
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
test edi, edi
jne 0x40b7c9
mov ecx, dword [ebp + 8]
push 0x4bf5f0
call fcn.004064a9
mov eax, dword [ebp + 8]
jmp 0x40b820
mov eax, dword [0x4a9450]
push esi
lea esi, [edi + 2]
lea ecx, [ebp - 4]
push esi
mov dword [ebp - 4], eax
call fcn.00406846
test eax, eax
je 0x40b7f3
mov eax, dword [ebp - 4]
mov dword [eax - 8], esi
mov eax, dword [ebp - 4]
and word [eax + esi*2], 0
mov eax, dword [ebp - 4]
inc edi
push edi
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push eax
lea ecx, [ebp - 4]
call fcn.004068ae
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.00406383
lea ecx, [ebp - 4]
call fcn.00401085
mov eax, dword [ebp + 8]
pop esi
pop edi
leave
ret
Function at 0x40ba69
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x18
call fcn.00490944
mov esi, eax
pop ecx
test esi, esi
je 0x40ba8b
mov eax, dword [ebp + 0x1c]
lea ecx, [esi + 0x14]
push dword [eax]
call fcn.004064a9
jmp 0x40ba8d
xor esi, esi
test esi, esi
jne 0x40ba95
xor eax, eax
jmp 0x40bae7
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esi], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x10], eax
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x40a643
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x40badd
lea ecx, [esi + 0x14]
call fcn.00401085
push esi
call fcn.0048e18e
pop ecx
jmp 0x40ba91
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
pop esi
leave
ret
Function at 0x40bdc6
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push esi
xor esi, esi
push edi
mov dword [ebp - 4], esi
call fcn.0044a6a8
mov ecx, eax
call fcn.0045cb20
test eax, eax
je 0x40bdf8
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 1
push eax
call fcn.00416ca3
mov eax, dword [eax]
pop ecx
jmp 0x40bdfd
mov eax, 0x4bf5f0
push eax
lea ecx, [ebp - 0xc]
call fcn.004064a9
test byte [ebp - 4], 1
je 0x40be14
lea ecx, [ebp - 0x10]
call fcn.00401085
mov ecx, dword [ebp - 0xc]
push ebx
push esi
mov eax, dword [ecx - 8]
neg eax
sbb eax, eax
and eax, ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0045b27b
mov ebx, dword [ebp + 0xc]
add esp, 0xc
mov ecx, ebx
push eax
call fcn.004065e8
lea ecx, [ebp - 0x10]
call fcn.00401085
push 1
lea eax, [ebp - 8]
push dword [ebp + 8]
push eax
call fcn.00411030
add esp, 0xc
xor eax, eax
lea edi, [ebp - 0x60]
mov dword [ebp - 0x20], esi
push 0x10
pop ecx
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x1c]
mov ecx, dword [ebx]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x64], 0x44
mov word [ebp - 0x34], si
stosd dword es:[edi], eax
mov eax, dword [ecx - 8]
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x64]
push ecx
push dword [ebp - 8]
push esi
push esi
push esi
push esi
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
pop ebx
cmp edi, esi
je 0x40bead
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x20]
call esi
lea ecx, [ebp - 8]
call fcn.00401085
lea ecx, [ebp - 0xc]
call fcn.00401085
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x40bec3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8e8
push esi
xor esi, esi
push esi
push 0x7f8a
lea ecx, [ebp - 0x10]
call fcn.00405370
lea eax, [ebp - 4]
push eax
call fcn.00415d93
push dword [ebp - 4]
call fcn.00411bc2
pop ecx
test al, al
pop ecx
jne 0x40bf54
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0x14]
push str.Cannot_find_file_n
push eax
call fcn.0040673f
push 1
lea ecx, [ebp - 0x10]
call fcn.0040531d
push dword [ebp + 0x14]
call fcn.0043d98d
cmp dword [ebp + 8], esi
pop ecx
je 0x40bf34
push 0x30
push 0x4a95b4
push dword [ebp + 0x14]
call fcn.0040a08b
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp + 0x14]
call fcn.00401085
lea ecx, [ebp - 4]
call fcn.00401085
push esi
lea ecx, [ebp - 0x10]
call fcn.0040531d
xor eax, eax
jmp 0x40c08e
mov eax, dword [ebp + 0x14]
xor ecx, ecx
push edi
mov eax, dword [eax]
cmp dword [eax - 8], esi
lea eax, [ebp - 8]
setne cl
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.0040a1bb
add esp, 0x10
lea ecx, [ebp - 0x8e8]
call fcn.0040a89d
push 3
push esi
push dword [ebp - 8]
push dword [ebp - 4]
push str.open
call fcn.0040a08b
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
cmp edi, 0x20
jge 0x40c063
lea ecx, [ebp - 0x8e8]
call fcn.0040a8db
push eax
lea ecx, [ebp + 0x10]
call fcn.004064a9
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 8]
push 0x4a9724
push eax
lea eax, [ebp - 4]
push str.Params:
push eax
lea eax, [ebp - 0x1c]
push str.Cannot_start_the_file_n
push eax
call fcn.0040673f
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004066f3
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040665f
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.004066f3
push eax
lea eax, [ebp + 0x14]
push eax
call fcn.0040665f
lea ecx, [ebp + 0xc]
call fcn.00401085
lea ecx, [ebp - 0x18]
call fcn.00401085
lea ecx, [ebp - 0x14]
call fcn.00401085
lea ecx, [ebp - 0x1c]
call fcn.00401085
push dword [ebp + 0x14]
call fcn.0043d98d
pop ecx
push 1
lea ecx, [ebp - 0x10]
call fcn.0040531d
cmp dword [ebp + 8], esi
je 0x40c053
push 0x30
push 0x4a95b4
push dword [ebp + 0x14]
call fcn.0040a08b
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp + 0x14]
call fcn.00401085
lea ecx, [ebp + 0x10]
call fcn.00401085
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 8]
call fcn.00401085
lea ecx, [ebp - 4]
call fcn.00401085
push esi
lea ecx, [ebp - 0x10]
call fcn.0040531d
xor eax, eax
cmp edi, 0x20
setg al
pop edi
pop esi
leave
ret
Function at 0x40c1dc
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, ebx
mov dword [0x4bf700], eax
je 0x40c263
push 8
call fcn.00490944
cmp eax, ebx
pop ecx
je 0x40c217
mov ecx, dword [0x4bf700]
mov edx, dword [ebp + 8]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov esi, eax
jmp 0x40c219
xor esi, esi
cmp esi, ebx
je 0x40c263
lea eax, [ebp - 4]
push eax
push 4
push esi
push 0x40c26a
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, ebx
je 0x40c253
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
jmp 0x40c265
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.0048e18e
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40c57a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 4
call fcn.00490944
test eax, eax
pop ecx
je 0x40c594
mov ecx, dword [ebp + 8]
mov esi, eax
mov dword [eax], ecx
jmp 0x40c596
xor esi, esi
test esi, esi
je 0x40c5c7
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x40c5cc
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x40c5c0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
jmp 0x40c5c9
push esi
call fcn.0048e18e
pop ecx
xor eax, eax
pop esi
leave
ret

Function at 0x40c9cf
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
lea ecx, [ebp - 0x220]
call fcn.00437b55
lea eax, [ebp - 8]
lea ecx, [ebp - 0x220]
push eax
call fcn.00437cb1
push 1
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0044fb3c
add esp, 0xc
test al, al
je 0x40ca74
lea eax, [ebp - 4]
lea ecx, [ebp - 0x220]
push eax
call fcn.00437c89
push dword [ebp - 4]
call fcn.00411bc2
test al, al
pop ecx
je 0x40ca45
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x40ca3c
xor eax, 1
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 8]
call fcn.00411bc2
push dword [ebp - 4]
call fcn.00411bc2
pop ecx
pop ecx
push 0
push 0x800a
push 0x111
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 4]
call fcn.00401085
lea ecx, [ebp - 8]
call fcn.00401085
lea ecx, [ebp - 0x220]
call fcn.00437b8d
leave
ret
Function at 0x40cabe
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
call fcn.0040a97c
test eax, eax
je 0x40cad7
xor eax, eax
jmp 0x40cb74
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0xc
push eax
call fcn.0044f684
xor edi, edi
lea ecx, [ebp - 0x10]
neg eax
sbb eax, eax
mov dword [esp], str.A26A4D3A_49A1_4290_85DC_5974E3DFE203
push edi
and eax, ecx
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, eax
cmp ebx, edi
je 0x40cad0
push 0x10
call fcn.00490944
mov esi, eax
pop ecx
cmp esi, edi
je 0x40cb30
push 0x10
push edi
push esi
call fcn.00491510
add esp, 0xc
or dword [esi + 0xc], 0xffffffff
jmp 0x40cb32
xor esi, esi
mov eax, dword [ebp + 8]
mov dword [esi + 4], ebx
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], eax
lea eax, [ebp - 4]
push eax
push edi
push esi
push 0x40daf3
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
jne 0x40cb6a
push esi
call fcn.0048e18e
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40cad0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40ccd4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0xc
push eax
call fcn.0044f684
xor edi, edi
lea ecx, [ebp - 0x10]
neg eax
sbb eax, eax
mov dword [esp], str.BD9F528F_8997_48c7_897C_F437765F93D2
push edi
and eax, ecx
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, eax
cmp ebx, edi
jne 0x40cd1a
xor eax, eax
jmp 0x40cd75
push 0x10
call fcn.00490944
mov esi, eax
pop ecx
cmp esi, edi
je 0x40cd3a
push 0x10
push edi
push esi
call fcn.00491510
add esp, 0xc
or dword [esi + 0xc], 0xffffffff
jmp 0x40cd3c
xor esi, esi
mov eax, dword [ebp + 8]
mov dword [esi + 4], ebx
mov dword [esi], eax
lea eax, [ebp - 4]
push eax
push edi
push esi
push 0x40cd7a
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
jne 0x40cd6b
push esi
call fcn.0048e18e
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40cd16
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40d409
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
and dword [ebp - 0xa0], 0
push ebx
push esi
push edi
push 0x27
xor eax, eax
pop ecx
lea edi, [ebp - 0x9c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xa0]
push eax
push 0x28
call dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
mov ebx, eax
xor edi, edi
test ebx, ebx
jle 0x40d464
lea esi, [ebp - 0xa0]
movzx eax, word [esi]
push dword [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.0040d46f
add esp, 0xc
test al, al
jne 0x40d46b
inc edi
add esi, 4
cmp edi, ebx
jl 0x40d446
xor al, al
pop edi
pop esi
pop ebx
leave
ret
mov al, 1
jmp 0x40d466

Function at 0x40d582
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0xc
call fcn.00490944
test eax, eax
pop ecx
je 0x40d5a8
mov ecx, dword [ebp + 8]
mov esi, eax
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 8], ecx
jmp 0x40d5aa
xor esi, esi
test esi, esi
jne 0x40d5b2
xor eax, eax
jmp 0x40d5df
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x40d5e2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x40d5d5
push esi
call fcn.0048e18e
pop ecx
jmp 0x40d5ae
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
pop esi
leave
ret

Function at 0x40db70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0xc
push eax
call fcn.0044f684
pop ecx
xor edi, edi
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
neg eax
sbb eax, eax
push edi
and eax, ecx
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, eax
cmp ebx, edi
jne 0x40dc02
mov eax, dword [0x4a9450]
push dword [ebp + 8]
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0x10]
push eax
call fcn.004504e0
pop ecx
pop ecx
push eax
lea eax, [ebp + 8]
push str.Cannot_create_event
push eax
call fcn.0040673f
push eax
lea ecx, [ebp + 0xc]
call fcn.004065e8
lea ecx, [ebp + 8]
call fcn.00401085
lea ecx, [ebp + 0x10]
call fcn.00401085
push dword [ebp + 0xc]
call fcn.0043d497
pop ecx
lea ecx, [ebp + 0xc]
call fcn.00401085
xor eax, eax
jmp 0x40dc78
push 0x10
call fcn.00490944
mov esi, eax
pop ecx
cmp esi, edi
je 0x40dc22
push 0x10
push edi
push esi
call fcn.00491510
add esp, 0xc
or dword [esi + 0xc], 0xffffffff
jmp 0x40dc24
xor esi, esi
cmp esi, edi
jne 0x40dc31
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40dbfe
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], ebx
mov dword [esi], eax
call fcn.004755cd
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xc], eax
lea eax, [ebp - 4]
push eax
push edi
push esi
push 0x40daf3
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
jne 0x40dc6e
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.0048e18e
pop ecx
jmp 0x40dbfe
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40df4d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
lea ecx, [ebp - 4]
push dword [ebp + 0x18]
call fcn.004064a9
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0044f684
pop ecx
push dword [ebp + 0x18]
lea ecx, [ebp - 0x14]
neg eax
sbb eax, eax
push ebx
and eax, ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
cmp edi, ebx
je 0x40e003
push 0x14
call fcn.00490944
cmp eax, ebx
pop ecx
je 0x40dfbc
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0xc], edi
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x10], ecx
mov esi, eax
jmp 0x40dfbe
xor esi, esi
cmp esi, ebx
jne 0x40dfcb
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40e003
lea eax, [ebp - 8]
push eax
push ebx
push esi
push 0x40de79
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
jne 0x40dff9
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x40dff0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.0048e18e
pop ecx
jmp 0x40e003
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop ebx
lea ecx, [ebp - 4]
call fcn.00401085
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret

Function at 0x40e238
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea ecx, [ebp - 4]
push dword [ebp + 0xc]
call fcn.004064a9
push eax
lea eax, [ebp + 0xc]
push str.shell32.dll_OpenAs_RunDLL
push eax
call fcn.0040673f
lea ecx, [ebp - 4]
call fcn.00401085
push 5
push 0
push dword [ebp + 0xc]
push str.Rundll32.exe
push str.open
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setg cl
mov esi, ecx
lea ecx, [ebp + 0xc]
call fcn.00401085
mov eax, esi
pop esi
leave
ret