joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402654
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00402fc4
test esi, esi
jne 0x40268a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.alUnwind_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00403088
jmp 0x4026a8
call sub.alUnwind_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402568
mov edi, eax
test esi, esi
je 0x4026a8
cmp dword [ebx], 0
je 0x4026a8
dec esi
jmp 0x402691
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402768
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x40400c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402800
push 0x80000002
call sub.sDebuggerPresent_RegOpenKeyExA
test eax, eax
jne 0x4027e0
xor eax, eax
push ebp
push 0x4027d9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x40281c
mov eax, dword [ebp - 4]
push eax
call sub.sDebuggerPresent_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4027e0
mov eax, dword [ebp - 4]
push eax
call sub.sDebuggerPresent_RegCloseKey
ret
mov ax, word [0x40400c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x40400c], ax
mov esp, ebp
pop ebp
ret

Function at 0x402e48
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x405034], 0
je 0x402ea9
cmp word [0x405208], 0xd7b2
jne 0x402e71
cmp dword [0x405210], 0
jbe 0x402e71
mov eax, 0x405204
call dword [0x405220]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x40404c
push 0xfffffffffffffff5
call sub.alUnwind_GetStdHandle
push eax
call sub.alUnwind_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x402ed0
push 0xfffffffffffffff5
call sub.alUnwind_GetStdHandle
push eax
call sub.alUnwind_WriteFile_1
pop edx
ret
cmp byte [0x404018], 0
jne 0x402ec5
push 0
push 0x40406c
push 0x40404c
push 0
call sub.ent_MessageBoxA
pop edx
ret
Function at 0x402ed4
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x40561c
mov esi, section.DATA
mov edi, 0x405030
cmp byte [ebx + 0x28], 0
jne 0x402f03
cmp dword [edi], 0
je 0x402f03
mov edx, dword [edi]
mov eax, edx
xor edx, edx
mov dword [edi], edx
mov ebp, eax
call ebp
cmp dword [edi], 0
jne 0x402ef2
cmp dword [0x404004], 0
je 0x402f1d
call fcn.00402dbc
call fcn.00402e48
xor eax, eax
mov dword [0x404004], eax
cmp byte [ebx + 0x28], 2
jne 0x402f2d
cmp dword [esi], 0
jne 0x402f2d
xor eax, eax
mov dword [ebx + 0xc], eax
call fcn.00402cbc
cmp byte [ebx + 0x28], 1
jbe 0x402f3d
cmp dword [esi], 0
je 0x402f5e
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x402f5e
call fcn.00403540
mov edx, dword [ebx + 0x10]
mov eax, dword [edx + 0x10]
cmp eax, dword [edx + 4]
je 0x402f5e
test eax, eax
je 0x402f5e
push eax
call sub.alUnwind_FreeLibrary
call fcn.00402c94
cmp byte [ebx + 0x28], 1
jne 0x402f6c
call dword [ebx + 0x24]
cmp byte [ebx + 0x28], 0
je 0x402f77
call fcn.00402e18
cmp dword [ebx], 0
jne 0x402f93
cmp dword [0x405018], 0
je 0x402f8b
call dword [0x405018]
mov eax, dword [esi]
push eax
call sub.alUnwind_ExitProcess
mov eax, dword [ebx]
push esi
mov esi, eax
mov edi, ebx
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
pop esi
jmp 0x402f1d

Function at 0x4038c0
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
mov eax, ebx
call fcn.00402fc4
push esp
push 0x104
call sub.pFunctionEntry_GetTempPathA
test eax, eax
je 0x403904
mov eax, ebx
mov edx, esp
call fcn.004030b8
mov eax, dword [ebx]
call fcn.004030f4
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x403904
mov eax, ebx
mov edx, 0x403914
call fcn.004030fc
add esp, 0x108
pop ebx
ret

Function at 0x403918
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403238
xor eax, eax
push ebp
push 0x4039a6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00402710
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], 0xa
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403248
push eax
push 0
call sub.pFunctionEntry_CreateProcessA
test eax, eax
jne 0x40398e
jmp 0x403990
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4039ad
lea eax, [ebp - 4]
call fcn.00402fc4
ret
Function at 0x1000437a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x10004399
xor eax, eax
jmp 0x10004414
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100043af
xor eax, eax
jmp 0x10004414
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x100043f7
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jae 0x100043f7
mov eax, dword [ebp - 4]
movzx eax, word [eax]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax*2 + 2]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
jmp 0x100043d0
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jb 0x10004403
xor eax, eax
jmp 0x10004414
mov eax, dword [ebp - 4]
movzx eax, word [eax]
test eax, eax
jne 0x10004411
xor eax, eax
jmp 0x10004414
mov eax, dword [ebp - 4]
leave
ret

Function at 0x10009dc1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x10009dca
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
shl eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
and dword [eax], 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 8]
mov eax, dword [ebp - 0x10]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10009e07
mov eax, dword [ebp - 0xc]
jmp 0x10009e5d
cmp dword [ebp - 4], 1
je 0x10009e18
cmp dword [ebp - 4], 2
je 0x10009e18
push 0xd
pop eax
jmp 0x10009e5d
cmp dword [ebp + 0xc], 0
je 0x10009e51
cmp dword [ebp - 8], 0
je 0x10009e4a
mov eax, dword [ebp - 8]
xor edx, edx
push 2
pop ecx
div ecx
test edx, edx
jne 0x10009e43
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp + 0xc]
movzx eax, word [ecx + eax*2 - 2]
test eax, eax
je 0x10009e48
push 0xd
pop eax
jmp 0x10009e5d
jmp 0x10009e51
mov eax, dword [ebp + 0xc]
and word [eax], 0
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
leave
ret 0xc
Function at 0x10009e88
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x100ed3e0]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x228], ecx
lea ecx, [ebp - 0x10]
call fcn.1001e01d
push 0x2001f
push dword [ebp + 8]
mov eax, dword [ebp - 0x228]
push dword [eax]
lea ecx, [ebp - 0x10]
call fcn.10009be7
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10009ee6
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x10]
call fcn.10009c59
mov eax, dword [ebp - 0x21c]
jmp 0x10009f75
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10009f4b
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x10]
call fcn.10009e88
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10009f42
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x10]
call fcn.10009c59
mov eax, dword [ebp - 0x220]
jmp 0x10009f75
mov dword [ebp - 4], 0x100
jmp 0x10009eed
lea ecx, [ebp - 0x10]
call fcn.10009c2c
push dword [ebp + 8]
mov ecx, dword [ebp - 0x228]
call fcn.10009d27
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 0x10]
call fcn.10009c59
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.10071b1a
leave
ret 4
Function at 0x1000f942
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x100ed3e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
mov eax, dword [ebp - 0x218]
and dword [eax], 0
mov eax, dword [ebp - 0x218]
and dword [eax + 4], 0
mov eax, dword [ebp - 0x218]
and dword [eax + 8], 0
mov eax, dword [ebp - 0x218]
and dword [eax + 0xc], 0
mov eax, dword [ebp - 0x218]
and dword [eax + 0x10], 0
and word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.10071b30
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0x100d6c74
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x1000f9f9
jmp 0x1000fa6d
mov eax, dword [ebp - 0x218]
mov dword [eax], 1
push str.OpenThemeData
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 4], eax
push str.CloseThemeData
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 8], eax
push str.DrawThemeBackground
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 0xc], eax
push str.SetWindowTheme
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10071b1a
leave
ret

Function at 0x100139c5
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.10020a60
test eax, eax
je 0x10013a2a
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jl 0x10013a20
cmp dword [ebp + 8], 0x1b
jne 0x10013a06
push 0
push 2
push 0x111
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.10020b6a
jmp 0x10013a20
cmp dword [ebp + 8], 0xd
jne 0x10013a20
push 0
push 1
push 0x111
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.10020b6a
push 0
mov ecx, dword [ebp - 4]
call fcn.10013ad4
leave
ret 0xc
Function at 0x10029c78
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
call fcn.1000fb1e
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10029ca9
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10029ca9
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
leave
ret

Function at 0x10032fec
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
and dword [ebp - 0xc], 0
and dword [ebp - 4], 0
and dword [ebp - 8], 0
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x334], 0
je 0x1003301d
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [ebp - 0x34]
and dword [eax + 0x334], 0
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x324], 0
je 0x100330fb
mov eax, dword [ebp - 0x34]
push dword [eax + 0x324]
call fcn.1000f80f
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100330f1
push 2
push 0
push dword [ebp - 8]
mov ecx, dword [ebp - 0x34]
call fcn.1003240d
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
mov eax, dword [eax + 0x324]
cmp eax, dword [ecx + 0x320]
jne 0x100330f1
mov eax, dword [ebp + 0xc]
and eax, 0xffff
movzx eax, ax
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
movzx ecx, cx
shl ecx, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
push 0x202
mov ecx, dword [ebp - 8]
call fcn.1000f895
mov ecx, dword [ebp - 8]
call fcn.10025c6f
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x100330d3
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
test eax, eax
je 0x100330d3
push 1
push 0
push 0
push dword [ebp - 0x10]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x14], eax
jmp 0x100330f1
mov ecx, dword [ebp - 8]
call fcn.10025ba4
test eax, eax
je 0x100330f1
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp - 8]
call fcn.10025ba4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x34]
and dword [eax + 0x324], 0
cmp dword [ebp - 0xc], 0
je 0x1003315c
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x34]
add ecx, 4
call fcn.1003510b
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
call dword [eax + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
push 0x4e
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 4
call fcn.1003516a
mov ecx, eax
call fcn.1000ba55
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x2c], eax
leave
ret 0xc
Function at 0x100355e9
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push edi
mov dword [ebp - 0x30], ecx
mov byte [ebp - 1], 0
cmp dword [ebp + 8], 0
je 0x100356b5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x30]
cmp dword [eax + 4], 0
je 0x100356b3
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0xc], 0
je 0x100356b3
push 0x4ff
push 0x64
push 0
mov eax, dword [ebp - 0x30]
add eax, 0xc
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x10035651
mov byte [ebp - 1], 1
jmp 0x100356b3
cmp dword [ebp - 0x10], 0xffffffff
jne 0x1003565b
jmp 0x100356b3
and dword [ebp - 0x2c], 0
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x28]
rep stosd dword es:[edi], eax
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x10035696
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x28], 0x12
jne 0x10035696
mov dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0
je 0x100356ae
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 8]
cmp eax, 0x2710
jbe 0x100356ae
jmp 0x100356b3
jmp 0x1003560e
jmp 0x100356d7
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0xc], 0
je 0x100356d7
push 0xbb8
mov eax, dword [ebp - 0x30]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
pop edi
leave
ret 4

Function at 0x10036aa2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x10036ac5
jmp 0x10036b52
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
mov eax, dword [ebp - 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 8], 1
je 0x10036af2
cmp dword [ebp - 8], 2
je 0x10036af2
jmp 0x10036b52
mov ecx, dword [ebp + 0xc]
call fcn.10004871
mov eax, dword [ebp - 0xc]
shr eax, 1
inc eax
push eax
mov ecx, dword [ebp + 0xc]
call fcn.100045b6
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
mov eax, dword [ebp - 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10036b34
jmp 0x10036b52
mov eax, dword [ebp - 0xc]
shr eax, 1
mov ecx, dword [ebp - 4]
and word [ecx + eax*2], 0
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
call fcn.10009fd8
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
leave
ret 8
Function at 0x10037ac0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x100ed3e0]
xor eax, ebp
mov dword [ebp - 0x28], eax
push edi
cmp dword [0x10109540], 0
jne 0x10037c58
mov word [ebp - 0x88], 0x47
mov word [ebp - 0x86], 0x6c
mov word [ebp - 0x84], 0x6f
mov word [ebp - 0x82], 0x62
mov word [ebp - 0x80], 0x61
mov word [ebp - 0x7e], 0x6c
mov word [ebp - 0x7c], 0x5c
mov word [ebp - 0x7a], 0x7b
mov word [ebp - 0x78], 0x45
mov word [ebp - 0x76], 0x43
mov word [ebp - 0x74], 0x33
mov word [ebp - 0x72], 0x32
mov word [ebp - 0x70], 0x39
mov word [ebp - 0x6e], 0x31
mov word [ebp - 0x6c], 0x41
mov word [ebp - 0x6a], 0x39
mov word [ebp - 0x68], 0x2d
mov word [ebp - 0x66], 0x32
mov word [ebp - 0x64], 0x38
mov word [ebp - 0x62], 0x45
mov word [ebp - 0x60], 0x37
mov word [ebp - 0x5e], 0x2d
mov word [ebp - 0x5c], 0x34
mov word [ebp - 0x5a], 0x30
mov word [ebp - 0x58], 0x33
mov word [ebp - 0x56], 0x36
mov word [ebp - 0x54], 0x2d
mov word [ebp - 0x52], 0x39
mov word [ebp - 0x50], 0x38
mov word [ebp - 0x4e], 0x44
mov word [ebp - 0x4c], 0x44
mov word [ebp - 0x4a], 0x2d
mov word [ebp - 0x48], 0x38
mov word [ebp - 0x46], 0x45
mov word [ebp - 0x44], 0x37
mov word [ebp - 0x42], 0x39
mov word [ebp - 0x40], 0x32
mov word [ebp - 0x3e], 0x41
mov word [ebp - 0x3c], 0x39
mov word [ebp - 0x3a], 0x34
mov word [ebp - 0x38], 0x35
mov word [ebp - 0x36], 0x30
mov word [ebp - 0x34], 0x30
mov word [ebp - 0x32], 0x34
mov word [ebp - 0x30], 0x7d
and word [ebp - 0x2e], 0
and dword [ebp - 0x24], 0
and dword [ebp - 0x20], 0
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0xc
mov byte [ebp - 0x14], 0
xor eax, eax
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10037c71
pop ecx
pop ecx
test eax, eax
je 0x10037c3f
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x88]
push eax
push 0
push 0
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x10109540], eax
xor eax, eax
cmp dword [0x10109540], 0
setne al
pop edi
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.10071b1a
leave
ret

Function at 0x10037d7c
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.1003895b
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
jmp 0x10037da0
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jge 0x10037de1
push dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.1003898c
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
call fcn.10004de7
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10037ddf
push 4
push 0
mov ecx, dword [ebp - 0xc]
call fcn.10004de7
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x10037d99
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.10038a15
leave
ret
Function at 0x1003bdab
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0x100d2740
call dword [sym.imp.USER32.dll_FindWindowW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x1003bde7
mov eax, dword [ebp - 4]
add eax, 8
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
leave
ret

Function at 0x1003bf4a
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0x100d275c
call dword [sym.imp.USER32.dll_FindWindowW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x1003bf86
mov eax, dword [ebp - 4]
add eax, 8
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
leave
ret

Function at 0x1003c0e9
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x1003c125
mov eax, dword [ebp - 4]
add eax, 8
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
leave
ret
Function at 0x1003c288
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c0dff
mov eax, dword fs:[0]
push eax
sub esp, 0x660
mov eax, dword [0x100ed3e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x664], ecx
or dword [ebp - 0x10], 0xffffffff
and dword [ebp - 0x43c], 0
push 0x424
push 0
lea eax, [ebp - 0x438]
push eax
call fcn.10071b30
add esp, 0xc
and dword [ebp - 0x658], 0
and word [ebp - 0x654], 0
push 0x208
push 0
lea eax, [ebp - 0x652]
push eax
call fcn.10071b30
add esp, 0xc
lea ecx, [ebp - 0x440]
call fcn.10003b20
and dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x654]
push eax
call fcn.100a21a9
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jbe 0x1003c39f
lea eax, [ebp - 0x654]
push eax
lea ecx, [ebp - 0x440]
call fcn.10003bd7
lea ecx, [ebp - 0x440]
call fcn.100107d6
push eax
push 0x5c
lea ecx, [ebp - 0x440]
call fcn.10003c09
inc eax
push eax
lea eax, [ebp - 0x65c]
push eax
lea ecx, [ebp - 0x440]
call fcn.100108e3
mov dword [ebp - 0x668], eax
mov eax, dword [ebp - 0x668]
mov dword [ebp - 0x66c], eax
mov byte [ebp - 4], 1
push dword [ebp - 0x66c]
lea ecx, [ebp - 0x440]
call fcn.10003bbe
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x65c]
call fcn.10010769
mov eax, dword [ebp - 0x664]
push dword [eax + 8]
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x1003c3ba
jmp 0x1003c40e
mov dword [ebp - 0x43c], 0x428
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 0x10]
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x1003c3d9
jmp 0x1003c40e
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x440]
call fcn.1003cb0b
test eax, eax
jne 0x1003c3fb
mov dword [ebp - 0x658], 1
jmp 0x1003c40e
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 0x10]
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x1003c3d9
cmp dword [ebp - 0x10], 0xffffffff
je 0x1003c41d
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x658]
mov dword [ebp - 0x660], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.10010769
mov eax, dword [ebp - 0x660]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10071b1a
leave
ret

Function at 0x1003fb1d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
and dword [ebp - 8], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x1003fb36
jmp 0x1003fb64
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 8]
mov eax, dword [ebp - 0x10]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1003fb5d
jmp 0x1003fb64
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
leave
ret 0xc