joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ef40
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov ebx, ecx
mov byte [ebp - 1], 1
xor esi, esi
mov edx, dword [ebx + 0xc]
mov eax, 1
push dword [ebx + 0x10]
sub edx, esi
cmp dword [ebx + 0xc], esi
cmova eax, edx
push eax
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
xor esi, esi
cmp eax, 0x102
jne 0x40efac
lea edi, [ebx + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov ecx, ebx
mov eax, dword [ebx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 1], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 8]
jmp 0x40efb3
cmp eax, 0xc0
jne 0x40efb9
cmp byte [ebp - 1], 0
jne 0x40ef51
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40f050
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp dword [edi + 0x10], 0
jne 0x40f06d
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x10], eax
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [edi + 4]
push eax
push 0
push dword [ebp + 0x14]
push 0x40f0b0
push 0
push 0
call fcn.005360e3
add esp, 0x18
mov dword [edi + 8], eax
test eax, eax
setne al
pop edi
pop ebp
ret 0x14

Function at 0x40f7a0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
push dword [ebp + 8]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
test eax, eax
je 0x40f7f0
push 0
push 0
push 0
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 8], eax
test eax, eax
jne 0x40f7f7
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
xor al, al
pop esi
pop ebp
ret 4
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0xc], eax
test eax, eax
je 0x40f7f0
mov cx, word [eax]
mov word [ebp + 8], cx
mov cl, byte [eax + 2]
mov al, byte [ebp + 8]
cmp al, 0xff
jne 0x40f832
cmp byte [ebp + 9], 0xfe
jne 0x40f860
mov dword [esi + 0x10], 1
mov al, 1
pop esi
pop ebp
ret 4
cmp al, 0xfe
jne 0x40f84a
cmp byte [ebp + 9], 0xff
jne 0x40f860
mov dword [esi + 0x10], 2
mov al, 1
pop esi
pop ebp
ret 4
cmp al, 0xef
jne 0x40f860
cmp byte [ebp + 9], 0xbb
jne 0x40f860
cmp cl, 0xbf
jne 0x40f860
mov dword [esi + 0x10], 3
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x40fe60
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0052d340
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str._substat.dll
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0053521e
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x61dd6c], eax
test eax, eax
jne 0x40fee9
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.STInit
push eax
call esi
push str.STUDPProxy
push dword [0x61dd6c]
mov dword [0x61dd68], eax
call esi
push str.STUDPTransfer
push dword [0x61dd6c]
call esi
push str.STCmdApp
push dword [0x61dd6c]
call esi
push str.STEntryAddr
push dword [0x61dd6c]
call esi
push str.STUnionID
push dword [0x61dd6c]
call esi
push str.STAppID
push dword [0x61dd6c]
mov dword [0x61dd64], eax
call esi
push str.STVersion
push dword [0x61dd6c]
mov dword [0x61dd60], eax
call esi
push str.STOnline
push dword [0x61dd6c]
mov dword [0x61dd5c], eax
call esi
push str.STOffline
push dword [0x61dd6c]
mov dword [0x61dd58], eax
call esi
push str.STAction
push dword [0x61dd6c]
mov dword [0x61dd54], eax
call esi
push str.STUninit
push dword [0x61dd6c]
mov dword [0x61dd50], eax
call esi
mov ecx, dword [ebp - 4]
mov dword [0x618d4c], eax
xor ecx, ebp
mov al, 1
pop esi
call fcn.005120a1
mov esp, ebp
pop ebp
ret

Function at 0x410130
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov edi, ecx
push 0
push eax
call fcn.0052d340
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x58b4a8
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0053521e
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x41020b
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HostInstall
push eax
call esi
push str.HostUninst
push dword [edi]
mov dword [edi + 4], eax
call esi
push str.StartHostService
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.StartClientProc
push dword [edi]
mov dword [edi + 0xc], eax
call esi
push str.HostManualUpdate
push dword [edi]
mov dword [edi + 0x10], eax
call esi
push str.SystemCopyFile
push dword [edi]
mov dword [edi + 0x14], eax
call esi
mov dword [edi + 0x18], eax
mov al, 1
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop edi
call fcn.005120a1
mov esp, ebp
pop ebp
ret 4
Function at 0x410270
Capabilities:
Link many functions at runtime

Disassembly:
push edi
push 0x58b524
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
jne 0x410288
xor al, al
pop edi
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Mu_Init
push eax
call esi
push str.Mu_SetProductString
push dword [edi]
mov dword [edi + 4], eax
call esi
push 0x58b564
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.Mu_SetProducID
push dword [edi]
mov dword [edi + 0xc], eax
call esi
push str.Mu_SetUnionID
push dword [edi]
mov dword [edi + 0xc], eax
call esi
push str.Mu_SetPCID
push dword [edi]
mov dword [edi + 0x10], eax
call esi
push 0x58b5a0
push dword [edi]
mov dword [edi + 0x14], eax
call esi
push str.Mu_Uninit
push dword [edi]
mov dword [edi + 0x1c], eax
call esi
push str.Mu_SetProductVerion
push dword [edi]
mov dword [edi + 0x20], eax
call esi
mov dword [edi + 0x18], eax
mov al, 1
pop esi
pop edi
ret
Function at 0x4118a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552519
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x61308c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x618d28]
test eax, eax
jne 0x4118f6
push 0x70
call fcn.005120b2
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov ecx, eax
call fcn.00409ee0
mov dword [ebp - 4], 0xffffffff
mov dword [0x618d28], eax
push ecx
mov ecx, eax
call fcn.0040a1c0
mov esi, dword [0x61e774]
test esi, esi
jne 0x411945
push 0x2a8
call fcn.005120b2
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 1
push 0x2a8
push 0
push esi
call fcn.0052d340
add esp, 0xc
mov ecx, esi
call fcn.00442c50
mov dword [ebp - 4], 0xffffffff
mov dword [0x61e774], esi
mov eax, dword [esi + 0x18]
xor ecx, ecx
mov ecx, dword [esi + 0x1c]
lea eax, [ebp - 0x14]
push eax
push 3
push 0
push str.SOFTWAREDTLDriverTalent
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x10], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4119c0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 4
push eax
push 0
push 0
push 0x58c788
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4119b7
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x10]
je 0x4119b7
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push 0x58c798
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4119d0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x411a41
lea eax, [ebp - 0x10]
push eax
push 0x58c7a8
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push 0
push dword [ebp - 0x18]
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0x8002000d
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret
Function at 0x411a50
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x411ac1
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push 0
push dword [ebp - 0x18]
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0x8002000d
push 5
call dword [sym.imp.USER32.dll_ExitWindowsEx]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret

Function at 0x411c40
Capabilities:
Create directory
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55256d
mov eax, dword fs:[0]
push eax
sub esp, 0x410
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x418], esi
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x414], 0
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov dword [ebp - 0x41c], esi
mov word [esi], ax
mov dword [ebp - 4], eax
push eax
push 0x1a
lea eax, [ebp - 0x410]
mov dword [ebp - 0x414], 1
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x410], 0
jne 0x411cce
xor ecx, ecx
jmp 0x411ce6
lea ecx, [ebp - 0x410]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411cd7
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
call fcn.00404d30
push 0xd
push 0x58c81c
mov ecx, esi
call fcn.00406f60
cmp dword [esi + 0x14], 8
jb 0x411d0d
mov eax, dword [esi]
jmp 0x411d0f
mov eax, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [edi]
cmp eax, 0x5c
je 0x411d33
cmp eax, 0x2f
je 0x411d33
push 1
push 0x58c838
mov ecx, esi
call fcn.00406f60
cmp word [edi], 0
jne 0x411d3d
xor ecx, ecx
jmp 0x411d51
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411d42
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, esi
call fcn.00406f60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret
Function at 0x412530
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push edi
push 0
mov edi, ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x412593
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov eax, 1
pop edi
ret
xor eax, eax
pop edi
ret

Function at 0x4125a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
push 1
push 0
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x412616
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005120a1
mov esp, ebp
pop ebp
ret
Function at 0x412630
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55272b
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x41277d
cmp word [esi], 0
je 0x41277d
push 1
push 0
push 0
push esi
push 0x58c964
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
cmp edi, 0x20
ja 0x412779
lea eax, [ebp - 0x424]
mov edx, str..htm
push eax
call fcn.004125a0
add esp, 4
test eax, eax
jne 0x412779
push str._shellopencommand
lea eax, [ebp - 0x424]
push 0x208
push eax
call fcn.0053521e
lea eax, [ebp - 0x424]
push eax
mov edx, eax
call fcn.004125a0
add esp, 0x10
test eax, eax
jne 0x412779
lea eax, [ebp - 0x424]
push 0x58cad4
push eax
call fcn.0052a047
add esp, 8
test eax, eax
jne 0x41270b
lea eax, [ebp - 0x424]
push 0x58cae0
push eax
call fcn.0052a047
add esp, 8
test eax, eax
je 0x412710
xor ecx, ecx
mov word [eax], cx
push 0x58cae8
lea eax, [ebp - 0x424]
push 0x206
push eax
call fcn.0053521e
push esi
lea eax, [ebp - 0x424]
push 0x206
push eax
call fcn.0053521e
add esp, 0x18
lea eax, [ebp - 0x424]
lea ecx, [ebp - 0x43c]
push eax
call fcn.0040c2d0
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x41275c
mov eax, dword [eax]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x43c]
call fcn.0040c3b0
mov eax, edi
jmp 0x412780
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret
Function at 0x4128d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5527e2
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
mov dword [ebp - 4], 1
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], eax
mov word [ebp - 0x230], ax
mov byte [ebp - 4], 3
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0052d340
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x230]
push str.__s_
push eax
call fcn.0040d480
push 0x44
lea eax, [ebp - 0x2a0]
push 0
push eax
call fcn.0052d340
add esp, 0x18
mov dword [ebp - 0x2a0], 0x44
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x25c]
lea eax, [ebp - 0x230]
xorps xmm0, xmm0
cmovae eax, dword [ebp - 0x230]
push ecx
lea ecx, [ebp - 0x2a0]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
movups xmmword [ebp - 0x25c], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x412a1e
push dword [ebp - 0x25c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x258]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x249], 1
jmp 0x412a25
mov byte [ebp - 0x249], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x412a47
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x412a89
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov al, byte [ebp - 0x249]
mov dword [ebp - 0x238], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret

Function at 0x412ad0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552810
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x61308c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
push dword [ebp + 0x14]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push edx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412b90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55284a
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x61308c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, edx
mov dword [ebp - 0x14], 0
mov esi, dword [0x61e774]
test esi, esi
jne 0x412c08
push 0x2a8
call fcn.005120b2
mov esi, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
push 0x2a8
push 0
push esi
call fcn.0052d340
add esp, 0x10
mov ecx, esi
call fcn.00442c50
mov dword [ebp - 4], 0xffffffff
mov dword [0x61e774], esi
mov ecx, esi
call fcn.004434b0
mov esi, str._unregistered
test al, al
cmovne esi, dword [ebp + 0xc]
mov dword [ebp + 0xc], esi
mov dword [ebp - 4], 2
call fcn.00415660
push 1
push 0
push esi
push dword [ebp + 8]
push edi
push dword [eax]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
mov dword [ebp - 0x14], edi
push 0x58ceac
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x412c7f
push esi
call dword [sym.imp.USER32.dll_IsHungAppWindow]
test eax, eax
jne 0x412c7f
push eax
push 0xf120
push 0x112
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x412cf0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552870
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x61308c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412d90
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov esi, ecx
push 0
push eax
call fcn.0052d340
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.0052d340
push 0x410
lea eax, [ebp - 0x824]
push 0
push eax
call fcn.0052d340
add esp, 0x24
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0053531f
push 0x58cf2c
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0053521e
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x824]
push 0x208
push eax
call fcn.0053531f
push 0x58cf48
lea eax, [ebp - 0x824]
push 0x208
push eax
call fcn.0053521e
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x824]
push 0x208
push eax
call fcn.0053521e
push 0x58cf84
lea eax, [ebp - 0x824]
push 0x208
push eax
call fcn.0053521e
add esp, 0x48
lea eax, [ebp - 0x824]
push esi
push 0x208
push eax
call fcn.0053521e
add esp, 0xc
lea eax, [ebp - 0x20c]
push 5
push eax
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x414]
push eax
push 0x58cf88
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005120a1
mov esp, ebp
pop ebp
ret