joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433b00
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x433b1c
cmp dword [esi + 4], 0
je 0x433b49
test byte [ebx + 0x55], 1
jne 0x433b3b
mov eax, ebx
call fcn.004326a0
test eax, eax
jne 0x433b3b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x433c59
mov edx, esi
mov eax, ebx
call fcn.00433624
jmp 0x433c59
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x433c52
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00435970
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0043037c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00433b00
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00435970
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433c59
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43a0e0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x465a58]
cmp byte [eax + 0xc], 0
je 0x43a24d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43a246
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x466b64], 0
jne 0x43a134
push 0x43a254
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43a25c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b64], eax
cmp dword [0x464b10], 0
jne 0x43a22f
push 0x43a26c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x464b10], eax
cmp dword [0x464b10], 0
je 0x43a22f
push 0x43a278
mov eax, dword [0x464b10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b68], eax
push 0x43a288
mov eax, dword [0x464b10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b6c], eax
push 0x43a29c
mov eax, dword [0x464b10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b70], eax
push 0x43a2b4
mov eax, dword [0x464b10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b74], eax
push 0x43a2cc
mov eax, dword [0x464b10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b78], eax
push 0x43a2e0
mov eax, dword [0x464b10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b7c], eax
push 0x43a2f8
mov eax, dword [0x464b10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b80], eax
push 0x43a310
mov eax, dword [0x464b10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b84], eax
push 0x43a32c
mov eax, dword [0x464b10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b88], eax
push 0x43a338
mov eax, dword [0x464b10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x466b8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a24d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43e0d8
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.0040421c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43e127
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.0040448c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4458d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x445920]
test si, 4
je 0x4458e4
or bl, 1
test si, 8
je 0x4458ee
or bl, 4
test si, 1
je 0x4458f8
or bl, 8
test si, 2
je 0x445902
or bl, 0x10
test si, 0x10
je 0x44590c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44591b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x445924
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44595c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44593d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44594c
or bl, 4
test esi, 0x20000000
je 0x445957
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44c020
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44c032
add esp, 0xfffffff0
call fcn.004037c8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041974c
mov eax, dword [0x465720]
mov dword [eax + 4], ebx
mov dword [eax], 0x44c3c4
mov eax, dword [0x46572c]
mov dword [eax + 4], ebx
mov dword [eax], 0x44c3d0
mov eax, ebx
call fcn.0044c3dc
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411a44]
call fcn.00403460
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411a44]
call fcn.00403460
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411a44]
call fcn.00403460
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411a44]
call fcn.00403460
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411a44]
call fcn.00403460
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x4487f4
push eax
push 0
push 0
mov eax, dword [0x465870]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b1a8]
call fcn.0041c868
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b1a8]
call fcn.0041c868
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b1a8]
call fcn.0041c868
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044c82c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44c6f4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44c6f4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44c6f4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44c16f
call fcn.00403820
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44c4d8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44c683
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44c664
mov dl, 1
mov eax, dword [0x411e60]
call fcn.00403460
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040421c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44c653
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043a440
test al, al
je 0x44c646
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x44c694
lea eax, [ebp - 0x254]
call fcn.00408e20
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44c646
xor eax, eax
push ebp
push 0x44c63f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x44c6cc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44c628
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040448c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44c628
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040448c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c646
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44c549
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041593c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c68a
lea eax, [ebp - 0x260]
call fcn.0040421c
ret

Function at 0x44cfcc
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x466bb0]
cmp byte [eax + 0xa5], 0
jne 0x44d03d
cmp dword [0x466bc8], 0
jne 0x44cffe
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44cf88
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x466bc8], eax
cmp dword [0x466bc4], 0
jne 0x44d019
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x466bc4], eax
cmp dword [0x466bcc], 0
jne 0x44d03d
push esp
push 0
push 0
push 0x44cf2c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x466bcc], eax
pop edx
ret
Function at 0x44d6d0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x466bb0]
cmp dword [eax + 0x30], 0
je 0x44d77a
cmp dword [ebx + 0x94], 0
jne 0x44d774
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44d660
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44d774
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44d73a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44d774
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413dac
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44d749
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44e2d8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44e30d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040430c
jmp 0x44e31a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404270
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44f444
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44f485
mov eax, esi
call fcn.00435c48
test al, al
je 0x44f485
mov eax, dword [ebx + 0x84]
call fcn.00435970
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44f485
push 0
mov eax, dword [ebx + 0x84]
call fcn.00435970
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x452b70
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x452b9e
mov eax, ebx
call fcn.00453624
cmp dword [ebx + 0x40], 0
je 0x452b97
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x452c0f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x452c01
cmp dword [ebx + 8], 0
je 0x452bc0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x452bd2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x452c01
cmp dword [ebx + 8], 0
je 0x452bb3
cmp eax, 3
je 0x452be5
dec eax
jne 0x452bb3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x452bb3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x452bb3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x452c2d
cmp dword [ebx + 0x14], 0xcc
je 0x452c2d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00452c38
pop ebx
ret
Function at 0x1009790
Capabilities:
Create process on windows
Create process suspended
Create thread
Resume thread
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x478
push esi
xor esi, esi
push esi
push esi
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
cmp eax, esi
mov dword [ebp - 0xc], eax
je 0x10098c0
push ebx
push eax
call fcn.0100970d
cmp eax, esi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], eax
je 0x10098ba
lea ecx, [ebp - 0x24]
push ecx
push 4
push eax
push 0x1009757
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
mov dword [ebp - 4], eax
je 0x10098b5
push edi
xor eax, eax
mov dword [ebp - 0x20], esi
push 0x10
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
pop ecx
push dword [ebp + 8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x400
xor eax, eax
mov dword [ebp - 0x68], esi
lea edi, [ebp - 0x64]
push 0x1001d20
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x478]
push 0x208
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push esi
push 4
push esi
push esi
push esi
lea eax, [ebp - 0x478]
push eax
push esi
mov dword [ebp - 0x68], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10098a4
push dword [ebp - 0x20]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x100988a
push dword [ebp - 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [ebp - 8], 1
call edi
push dword [ebp - 4]
call edi
cmp dword [ebp + 0xc], esi
je 0x1009895
push 0x4ff
push 0xffffffffffffffff
push dword [ebp - 4]
push esi
call fcn.0102a764
jmp 0x1009895
push 5
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp - 0x20]
call ebx
push dword [ebp - 0x1c]
call ebx
cmp dword [ebp - 8], esi
jne 0x10098af
push 5
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [ebp - 4]
call ebx
pop edi
push dword [ebp - 0x10]
call ebx
push dword [ebp - 0xc]
call ebx
pop ebx
mov eax, dword [ebp - 8]
pop esi
leave
ret 8
Function at 0x1009931
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
push ebx
push esi
push edi
push 0xe
pop ecx
xor eax, eax
push 0x43
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
push 0x106
lea eax, [ebp - 0x248]
push eax
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_Ordinal_653]
cmp eax, 0xffffffff
jne 0x1009978
push dword [ebp + 8]
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathGetArgsW]
mov esi, eax
cmp word [esi], bx
je 0x1009990
mov word [esi - 2], bx
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
mov dword [ebp - 0x28], esi
xor esi, esi
inc esi
cmp dword [ebp + 0xc], ebx
lea eax, [ebp - 0x248]
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x38], 0x40
je 0x10099c9
mov dword [ebp - 0x38], 0x440
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x10099fe
cmp dword [ebp - 4], ebx
je 0x10099fa
cmp dword [ebp + 0x10], ebx
je 0x10099f1
push 0x4ff
push 0xffffffffffffffff
push dword [ebp - 4]
push ebx
call fcn.0102a764
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x1009a00
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x1009d97
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push edi
xor ebx, ebx
inc ebx
push ebx
push 0x10
lea eax, [ebp - 0x208]
push eax
xor edi, edi
push edi
call esi
push ebx
push 2
lea eax, [ebp - 0x208]
push eax
push edi
call esi
push ebx
push 0xb
lea eax, [ebp - 0x208]
push eax
push edi
call esi
push ebx
push 7
lea eax, [ebp - 0x208]
push eax
push edi
call esi
push ebx
push 8
lea eax, [ebp - 0x208]
push eax
push edi
call esi
push ebx
push 6
lea eax, [ebp - 0x208]
push eax
push edi
call esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1009fcf
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
push ebx
push esi
push edi
xor edi, edi
push 0x104
lea eax, [ebp - 0x24c]
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov ebx, dword [ebp + 8]
call fcn.01009e01
test eax, eax
jne 0x100a0ac
cmp word [ebx], di
mov esi, ebx
je 0x100a029
mov ax, word [esi]
cmp ax, 0x20
je 0x100a029
cmp ax, 0x2c
je 0x100a029
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
cmp word [esi], di
jne 0x100a00c
cmp word [esi], di
jne 0x100a037
mov dword [ebp - 8], 1
jmp 0x100a03a
mov word [esi], di
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x100a0a0
push 0xe
xor eax, eax
pop ecx
lea edi, [ebp - 0x40]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x34], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x100a097
push ebx
push 0x1030
push 0x20c
push 0x203
push eax
push dword [0x103d768]
call sub.SHELL32.dll_ShellMessageBoxW
add esp, 0x18
jmp 0x100a09e
mov dword [ebp - 4], 1
xor edi, edi
cmp dword [ebp - 8], edi
lea ebx, [esi + 2]
je 0x1009ff8
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x100a0b6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
xor ebx, ebx
cmp dword [0x103d7d0], ebx
mov dword [ebp - 0xc], ebx
jne 0x100a186
lea eax, [ebp - 4]
push eax
push 1
push ebx
push 0x1001e28
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100a186
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x1001e18
push ebx
push dword [ebp - 4]
mov dword [ebp - 8], 0x1fe
call esi
test eax, eax
jne 0x100a13b
cmp dword [ebp - 0x10], 1
jne 0x100a13b
push 7
lea eax, [ebp - 0x210]
push eax
call fcn.01009fcf
test eax, eax
je 0x100a13b
mov dword [ebp - 0xc], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x1001e10
push ebx
push dword [ebp - 4]
mov dword [ebp - 8], 0x1fe
call esi
test eax, eax
jne 0x100a17c
xor esi, esi
inc esi
cmp dword [ebp - 0x10], esi
jne 0x100a17c
push esi
lea eax, [ebp - 0x210]
push eax
call fcn.01009fcf
test eax, eax
je 0x100a17c
mov dword [ebp - 0xc], esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, dword [ebp - 0xc]
pop ebx
leave
ret

Function at 0x100a380
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x1002068
push reloc.SHELL32.dll_SHChangeNotifyRegister
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100a429
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x264]
push eax
push esi
push esi
push 0x1002058
push dword [ebp - 4]
mov dword [ebp - 8], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100a420
cmp word [ebp - 0x264], si
je 0x100a420
push edi
push 0x10
pop ecx
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x264]
push eax
push esi
mov dword [ebp - 0x5c], 0x44
mov word [ebp - 0x2c], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
pop edi
je 0x100a420
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x14]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret