joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005634e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10097030]
jne 0x10056358
repz ret
jmp fcn.1005b1d1

Function at 0x100666b4
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.1005bd51
and dword [ebp - 4], 0
cmp dword [0x100a9190], 0
mov ebx, eax
jne 0x10066765
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10066816
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10092e58
push edi
call esi
test eax, eax
je 0x10066816
push eax
call fcn.1005bcdf
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x100a9190], eax
call esi
push eax
call fcn.1005bcdf
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x100a9194], eax
call esi
push eax
call fcn.1005bcdf
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x100a9198], eax
call esi
push eax
call fcn.1005bcdf
pop ecx
mov dword [0x100a91a0], eax
test eax, eax
je 0x10066765
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1005bcdf
pop ecx
mov dword [0x100a919c], eax
mov eax, dword [0x100a919c]
cmp eax, ebx
je 0x100667bd
cmp dword [0x100a91a0], ebx
je 0x100667bd
push eax
call fcn.1005bd5a
push dword [0x100a91a0]
mov esi, eax
call fcn.1005bd5a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100667bd
test edi, edi
je 0x100667bd
call esi
test eax, eax
je 0x100667b4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100667b4
test byte [ebp - 0xc], 1
jne 0x100667bd
or dword [ebp + 0x10], 0x200000
jmp 0x100667f6
mov eax, dword [0x100a9194]
cmp eax, ebx
je 0x100667f6
push eax
call fcn.1005bd5a
pop ecx
test eax, eax
je 0x100667f6
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100667f6
mov eax, dword [0x100a9198]
cmp eax, ebx
je 0x100667f6
push eax
call fcn.1005bd5a
pop ecx
test eax, eax
je 0x100667f6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x100a9190]
call fcn.1005bd5a
pop ecx
test eax, eax
je 0x10066816
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10066818
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1006e160
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x100a92d0], 0
je 0x1006e179
mov eax, dword [0x100a92d0]
jmp 0x1006e219
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x1006e18b
xor eax, eax
jmp 0x1006e219
push 8
call fcn.10056e8b
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1006e1e1
mov dword [ebp - 4], 8
cmp dword [ebp - 8], 0
je 0x1006e1ca
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.10056b9d
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov dword [0x100a92d0], eax
mov dword [0x100a92d4], 0
mov eax, dword [ebp - 4]
jmp 0x1006e219
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1006e1fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x1006e1ab
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [0x100a92d8]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
mov dword [0x100a92d8], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x1006e710
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100a92c0]
mov dword [ebp - 4], eax
jmp 0x1006e729
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x1006e746
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1006e720
mov esp, ebp
pop ebp
ret

Function at 0x1006e870
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x100a92cc], eax
je 0x1006e88e
mov eax, 0x10dd
jmp 0x1006e96f
mov eax, dword [0x100a92dc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1006e90c
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x17]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x1006e8ea
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x1006e8ea
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.1006e340
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.10056b9d
add esp, 4
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x1006e896
mov dword [0x100a92dc], 0
call fcn.1006e6d0
mov ecx, dword [0x100a92d8]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x1006e959
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.10056b9d
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
jmp 0x1006e924
mov dword [0x100a92d8], 0
mov dword [0x100a92cc], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1006ee20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x100a92cc], eax
je 0x1006ee45
mov eax, 0x10dd
jmp 0x1006efd8
cmp dword [0x100a92d0], 0
je 0x1006ee58
mov eax, dword [0x100a92d0]
jmp 0x1006efd8
cmp dword [ebp + 8], 0
jne 0x1006ee68
mov eax, 6
jmp 0x1006efd8
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x1006ee91
mov dword [ebp - 0xc], 6
mov ecx, dword [ebp - 0xc]
mov dword [0x100a92d0], ecx
mov edx, dword [ebp + 8]
mov dword [0x100a92d4], edx
mov eax, dword [ebp - 0xc]
jmp 0x1006efd8
push 0x18
call fcn.10056e8b
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x1006eeea
mov dword [ebp - 0xc], 8
mov ecx, dword [ebp - 0xc]
mov dword [0x100a92d0], ecx
cmp dword [ebp - 0x18], 0
je 0x1006eed9
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.10056b9d
add esp, 4
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp + 8]
mov dword [0x100a92d4], ecx
mov eax, dword [ebp - 0xc]
jmp 0x1006efd8
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1006ee00
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x17]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
sub edx, eax
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x17]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
je 0x1006ef28
cmp dword [ebp - 4], 0x17
jbe 0x1006ef41
mov dword [ebp - 0xc], 9
cmp dword [0x100a92c8], 0
je 0x1006ef3c
jmp 0x1006eeba
jmp 0x1006eeb1
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1c]
cmp eax, dword [ebp + 0xc]
je 0x1006ef68
mov dword [ebp - 0xc], 9
cmp dword [0x100a92c8], 0
je 0x1006ef63
jmp 0x1006eeba
jmp 0x1006eeb1
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
push ecx
push 0x40
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1006ef95
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
jmp 0x1006eeb1
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 4], 1
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x14], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [0x100a92dc]
mov dword [ecx], edx
mov eax, dword [ebp - 0x18]
mov dword [0x100a92dc], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x10070230
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x10070255
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.10056c82
add esp, 4
push 0xa
movzx ecx, word [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x10]
add eax, 8
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 4
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.1006fc60
add esp, 0x14
mov esp, ebp
pop ebp
ret 8

Function at 0x10070a80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007388e
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x10097030]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x120], ecx
mov eax, dword [ebp - 0x120]
mov dword [eax + 0x10], 0
push 0x100
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.Fonts_
push 0x100
lea edx, [ebp - 0x114]
push edx
call fcn.10056ef0
add esp, 0xc
mov eax, dword [ebp + 0x28]
push eax
push 0x100
lea ecx, [ebp - 0x114]
push ecx
call fcn.10056ef0
add esp, 0xc
push 0x150
call fcn.10056e8b
add esp, 4
mov dword [ebp - 0x11c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x11c], 0
je 0x10070b37
mov ecx, dword [ebp - 0x11c]
call fcn.10072ca0
mov dword [ebp - 0x124], eax
jmp 0x10070b41
mov dword [ebp - 0x124], 0
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x118], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x118]
mov dword [eax + 0x34], ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x114]
push ecx
mov edx, dword [ebp - 0x120]
mov ecx, dword [edx + 0x34]
call fcn.100728d0
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005634e
mov esp, ebp
pop ebp
ret 0x24
Function at 0x10071e40
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x10097030]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x11c], ecx
mov eax, dword [ebp + 8]
push eax
call sub.IMM32.dll_ImmGetContext
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
and ecx, 8
je 0x10071e97
push 0x104
mov edx, dword [ebp - 0x11c]
add edx, 1
push edx
push 8
mov eax, dword [ebp - 8]
push eax
call sub.IMM32.dll_ImmGetCompositionStringA
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x11c]
add ecx, dword [ebp - 4]
mov byte [ecx + 1], 0
mov edx, dword [ebp + 0xc]
and edx, 1
je 0x10071ece
push 0x104
mov eax, dword [ebp - 0x11c]
add eax, 0x105
push eax
push 1
mov ecx, dword [ebp - 8]
push ecx
call sub.IMM32.dll_ImmGetCompositionStringA
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x11c]
add edx, dword [ebp - 4]
mov byte [edx + 0x105], 0
mov eax, dword [ebp + 0xc]
and eax, 0x80
je 0x10071efb
push 0
push 0
push 0x80
mov ecx, dword [ebp - 8]
push ecx
call sub.IMM32.dll_ImmGetCompositionStringA
and eax, 0xffff
mov edx, dword [ebp - 0x11c]
mov dword [edx + 0x310], eax
mov eax, dword [ebp + 0xc]
and eax, 0x800
je 0x10071f6f
push 0x104
lea ecx, [ebp - 0x118]
push ecx
push 0x800
mov edx, dword [ebp - 8]
push edx
call sub.IMM32.dll_ImmGetCompositionStringA
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x118], 0
lea ecx, [ebp - 0x118]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx]
test eax, eax
je 0x10071f6f
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
mov dword [ebp - 0x120], edx
push 1
mov eax, dword [ebp - 0x120]
push eax
push 0x102
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
jmp 0x10071f36
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.IMM32.dll_ImmReleaseContext
mov al, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005634e
mov esp, ebp
pop ebp
ret 8

Function at 0x10071f90
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call sub.IMM32.dll_ImmIsIME
test eax, eax
je 0x10072020
mov ecx, dword [ebp + 8]
push ecx
call sub.IMM32.dll_ImmGetContext
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x14]
add edx, 0x318
push edx
push 0x1006
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.IMM32.dll_ImmEscapeA
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.IMM32.dll_ImmGetConversionStatus
mov edx, dword [ebp - 0xc]
and edx, 8
setne al
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0x358], al
mov edx, dword [ebp - 0xc]
and edx, 0x400
setne al
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0x359], al
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.IMM32.dll_ImmReleaseContext
jmp 0x1007202a
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0x318], 0
xor al, al
mov esp, ebp
pop ebp
ret 4
Function at 0x100723d0
Capabilities:
Enumerate threads
Set global application hook

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x10097030]
xor eax, ebp
mov dword [ebp - 0x30], eax
cmp dword [section..hjsdata], 1
jne 0x100723f3
xor eax, eax
jmp 0x1007252f
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0xffffffff
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x1007241a
xor eax, eax
jmp 0x1007252f
mov dword [ebp - 0x24], 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_Thread32First
test eax, eax
jne 0x10072443
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1007252f
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 8]
jne 0x10072453
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
jmp 0x10072464
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x10072443
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [0x100a9288]
push eax
push 0x10072380
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x100ab040], eax
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 0x130], 0
push 0xff
push 0
lea ecx, [ebp - 0x12f]
push ecx
call fcn.10056550
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x28], eax
push 0
push 0
lea edx, [ebp - 0x2c]
push edx
push 0x400
mov eax, dword [ebp - 0x28]
push eax
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov ecx, dword [ebp - 0x2c]
push ecx
push 0x100
lea edx, [ebp - 0x130]
push edx
call fcn.10056ef0
add esp, 0xc
mov eax, dword [ebp - 0x2c]
push eax
push 0x100
lea ecx, [ebp - 0x130]
push ecx
call fcn.10056ef0
add esp, 0xc
cmp dword [0x100ab040], 0
je 0x1007246e
cmp dword [0x100ab040], 0
jne 0x10072520
xor eax, eax
jmp 0x1007252f
mov dword [section..hjsdata], 1
mov eax, 1
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.1005634e
mov esp, ebp
pop ebp
ret

Function at 0x10072540
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [section..hjsdata], 1
jne 0x10072553
xor eax, eax
jmp 0x100725c1
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10072573
xor eax, eax
jmp 0x100725c1
mov dword [ebp - 4], 0
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
push edx
mov eax, dword [0x100a9288]
push eax
push 0x10072380
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x100ab040], eax
cmp dword [0x100ab040], 0
jne 0x100725b2
xor eax, eax
jmp 0x100725c1
mov dword [section..hjsdata], 1
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x100734c0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x10097030]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x100734f2
xor eax, eax
jmp 0x1007355c
mov dword [ebp - 0x230], 0x224
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_Module32First
test eax, eax
jne 0x1007351e
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1007355c
lea ecx, [ebp - 0x210]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.100564f2
add esp, 8
test eax, eax
jne 0x1007353c
mov eax, 1
jmp 0x1007355c
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x1007351e
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1005634e
mov esp, ebp
pop ebp
ret
Function at 0x4043c0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439c46
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x44e06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call fcn.004040d0
add esp, 4
push eax
call fcn.0041f684
add esp, 4
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x40451b
lea ecx, [ebp - 0x218]
push ecx
mov ecx, 0x4500fc
call fcn.00408e70
lea edx, [ebp - 0x258]
push edx
call fcn.004041b0
add esp, 4
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x21c]
push eax
mov ecx, 0x450174
call fcn.00408f50
lea ecx, [ebp - 0x258]
call fcn.00408f00
push 0x450174
push 0x4500fc
lea ecx, [ebp - 0x288]
push ecx
call fcn.004118f0
add esp, 0xc
mov dword [ebp - 0x220], eax
mov edx, dword [ebp - 0x220]
mov dword [ebp - 0x224], edx
mov dword [ebp - 4], 0
push 0x448d48
mov eax, dword [ebp - 0x224]
push eax
lea ecx, [ebp - 0x270]
push ecx
call fcn.004119b0
add esp, 0xc
mov dword [ebp - 0x228], eax
mov edx, dword [ebp - 0x228]
push edx
mov ecx, 0x4501a4
call fcn.00408f50
lea ecx, [ebp - 0x270]
call fcn.00408f00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x288]
call fcn.00408f00
push 0x448d4c
push 0x4501a4
lea eax, [ebp - 0x2a0]
push eax
call fcn.004119f0
add esp, 0xc
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x22c]
push ecx
mov ecx, 0x4501d4
call fcn.00408f50
lea ecx, [ebp - 0x2a0]
call fcn.00408f00
jmp 0x404638
push 0x448d60
mov ecx, 0x4500fc
call fcn.00408e70
lea edx, [ebp - 0x2b8]
push edx
call fcn.004041b0
add esp, 4
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x230]
push eax
mov ecx, 0x450174
call fcn.00408f50
lea ecx, [ebp - 0x2b8]
call fcn.00408f00
push 0x450174
push 0x448d88
lea ecx, [ebp - 0x2e8]
push ecx
call fcn.00411ac0
add esp, 0xc
mov dword [ebp - 0x234], eax
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x238], edx
mov dword [ebp - 4], 1
push 0x448d84
mov eax, dword [ebp - 0x238]
push eax
lea ecx, [ebp - 0x2d0]
push ecx
call fcn.004119b0
add esp, 0xc
mov dword [ebp - 0x23c], eax
mov edx, dword [ebp - 0x23c]
push edx
mov ecx, 0x4501a4
call fcn.00408f50
lea ecx, [ebp - 0x2d0]
call fcn.00408f00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e8]
call fcn.00408f00
push str.MetaData
push 0x4501a4
lea eax, [ebp - 0x300]
push eax
call fcn.004119f0
add esp, 0xc
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x240]
push ecx
mov ecx, 0x4501d4
call fcn.00408f50
lea ecx, [ebp - 0x300]
call fcn.00408f00
push 0
push 0x448dc0
call fcn.0042492c
add esp, 8
cmp eax, 0xffffffff
jne 0x404638
push 0
push str.C:WindowsTemp_
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041a9fe
mov esp, ebp
pop ebp
ret
Function at 0x406dd0
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 1], 1
push 0
mov ecx, 0x45011c
call fcn.00408e00
push eax
call fcn.0041f45e
add esp, 8
cmp eax, 0xffffffff
je 0x406e0b
mov ecx, 0x45011c
call fcn.00408e00
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x406e0b
mov byte [ebp - 1], 0
push 0
mov ecx, 0x4501bc
call fcn.00408e00
push eax
call fcn.0041f45e
add esp, 8
cmp eax, 0xffffffff
je 0x406e49
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x4501bc
call fcn.00408e00
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x406e49
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
jne 0x406e56
or eax, 0xffffffff
jmp 0x406e58
xor eax, eax
mov esp, ebp
pop ebp
ret