joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008bcca
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x100c6b13
call fcn.100a35ac
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x18], esi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 3
mov dword [esi], vtable.COptionsDlg.0
call fcn.1008bb61
lea ebx, [esi + 0x6c]
push 0x101185a8
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.1005a319
lea eax, [ebp + 0x18]
push eax
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.10004a20
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x7c], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
mov dword [esi + 0x70], ebx
call fcn.10064264
push dword [ebp - 0x10]
mov byte [ebp - 4], 6
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1008bd6d
lea eax, [ebp - 0x28]
push str.Layout_not_found
push eax
call fcn.10001f23
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.100029ca
cmp ebx, edi
je 0x1008bd7c
lea eax, [ebx + 0xb8]
mov dword [ebp + 0x14], eax
jmp 0x1008bd7f
mov dword [ebp + 0x14], edi
push edi
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp + 0x1c], esp
mov ecx, esp
push eax
call fcn.10003561
push dword [ebp + 0x14]
lea eax, [ebp - 0x14]
push eax
call fcn.1000dad3
push 0x48
mov byte [ebp - 4], 8
call fcn.100a2ba4
add esp, 0x14
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 9
cmp eax, edi
je 0x1008bdf8
push ecx
lea eax, [ebp + 0x10]
mov dword [ebp + 0x1c], esp
mov ecx, esp
push eax
call fcn.10003561
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0xa
call fcn.10003561
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0xb
call fcn.10003561
mov ecx, dword [ebp + 0x14]
push ebx
mov byte [ebp - 4], 9
call fcn.10089fe9
jmp 0x1008bdfa
xor eax, eax
push 0x28
mov byte [ebp - 4], 8
mov dword [esi + 0x74], eax
call fcn.100a2ba4
pop ecx
cmp eax, edi
je 0x1008be1a
push dword [esi + 0x7c]
mov ecx, eax
push ebx
call fcn.1008b30e
jmp 0x1008be1c
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x78], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], edi
sete al
add ecx, 0xfffffff0
mov byte [esi + 0x24], al
call fcn.10001d29
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x18
Function at 0x1008d4ee
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x100c6db6
call fcn.100a35ac
sub esp, 0x78
and dword [ebp - 0x18], 0
push ebx
push esi
push edi
mov ebx, ecx
push 0x101185a8
lea ecx, [ebp - 0x14]
call fcn.1005a319
mov eax, dword [ebx + 0x40]
and dword [ebp - 4], 0
mov esi, dword [ebp + 0xc]
push eax
push dword [ebp + 8]
xor ecx, ecx
cmp dword [ebp + 8], eax
push dword [esi + 4]
sete cl
lea eax, [ebp - 0x14]
push str.Drawing__d__cid_x__curtab_x_r_n
push eax
mov edi, ecx
call fcn.1000d4c3
add esp, 0x14
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0xfff4e8
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
test edi, edi
mov edi, dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x10], eax
je 0x1008d563
lea eax, [ebp - 0x10]
jmp 0x1008d574
push 0
call edi
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x18], 1
mov eax, dword [eax]
push eax
lea ecx, [esi + 0x1c]
push ecx
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_FillRect]
test byte [ebp - 0x18], 1
je 0x1008d599
cmp dword [ebp + 0xc], 0
je 0x1008d599
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x20]
add eax, 0xfffffc18
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x24]
sub eax, dword [esi + 0x1c]
push 0
sub eax, 0x30
cdq
sub eax, edx
mov edx, dword [esi + 0x18]
add ecx, 3
push ecx
sar eax, 1
push eax
push edx
push dword [ebp + 0xc]
push dword [ebx + 0x3c]
call fcn.10027a9f
lea eax, [ebp - 0x84]
push eax
push 0x5c
push 0x11
call edi
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 2
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [esi + 0x18]
mov dword [ebp + 0xc], eax
call edi
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x20]
add eax, 0x36
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x28]
sub eax, 3
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
add eax, 0xfffffc18
push eax
lea ecx, [ebx + 0x24]
call fcn.1008d029
add eax, 8
push eax
lea ecx, [ebp + 8]
call fcn.10003561
push 1
push dword [esi + 0x18]
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ebx, dword [ebp + 8]
push 0x11
lea eax, [ebp - 0x28]
push eax
push dword [ebx - 0xc]
push ebx
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 0x18]
push dword [esi + 0x18]
call edi
lea ecx, [ebx - 0x10]
call fcn.10001d29
cmp dword [ebp + 0xc], 0
pop edi
pop esi
pop ebx
je 0x1008d680
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0x10], 0
je 0x1008d68f
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0xc]
xor eax, eax
inc eax
mov dword fs:[0], ecx
leave
ret 8
Function at 0x1008fa59
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
call fcn.1008f92f
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
push 0
push 0x1008f76e
mov dword [esi + 0x74], eax
call fcn.100a57da
add esp, 0xc
push 0x2710
push dword [esi + 0x74]
mov dword [esi + 0x7c], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x74]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 0x150]
push eax
mov ecx, esi
call fcn.1008e6e8
pop esi
ret

Function at 0x1009915b
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x100c803c
call fcn.100a35ac
sub esp, 0x14
push esi
xor esi, esi
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.100404f4
push eax
lea eax, [ebp - 0x14]
push 0x100dd6dc
push eax
mov dword [ebp - 4], esi
call fcn.1000d42c
push 0x100d8f0c
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.100053c1
add esp, 0x20
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.10001d29
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.100404f4
push str.ToolbarUpdate.exe
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 5
call fcn.100053c1
add esp, 0x14
push esi
push esi
push dword [ebp - 0x10]
push dword [eax]
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x100992ec
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x100c8098
call fcn.100a35ac
sub esp, 0x5c
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
push 0x40
lea eax, [ebp - 0x64]
push esi
push eax
mov dword [ebp - 4], esi
call fcn.100a2490
xor eax, eax
mov word [ebp - 0x38], ax
mov dword [ebp - 0x24], esi
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x68], 0x44
mov dword [ebp - 0x3c], 1
call fcn.10003561
push 0x104
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.1000357f
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.10002a69
push esi
lea ecx, [ebp + 8]
call fcn.1000357f
mov edi, dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x68]
push ecx
push edi
push esi
push esi
push esi
push esi
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10099390
push 0xffffffffffffffff
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x100993cc
push 0x101185a8
lea ecx, [ebp - 0x14]
call fcn.1005a319
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push str.ExecuteFile:_failed_to_execute__s
push eax
mov byte [ebp - 4], 2
call fcn.1000d4c3
mov esi, dword [ebp - 0x14]
add esp, 0xc
push esi
mov ecx, ebx
call fcn.10098d75
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 1
call fcn.10001d29
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.10002a69
lea ecx, [edi - 0x10]
call fcn.10001d29
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x10099b31
Capabilities:
Copy file
Delete file

Disassembly:
mov eax, 0x100c81df
call fcn.100a35ac
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x14]
call fcn.10003561
mov ebx, dword [ebp + 8]
and dword [ebp - 4], 0
push ecx
lea eax, [ebx + 0x28]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.10003561
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.1009975f
push dword [eax]
mov edi, 0x104
push edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.1000357f
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push eax
call esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.10001d29
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.10002a69
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.100404f4
pop ecx
pop ecx
push dword [ebx + 0x2c]
lea ecx, [ebp - 0x10]
push edi
mov byte [ebp - 4], 2
call fcn.1000357f
push eax
call esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.10002a69
mov esi, dword [ebp - 0x14]
push 0
push dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x10099bea
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10001d29
lea ecx, [esi - 0x10]
call fcn.10001d29
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x10099c0e
Capabilities:
Delete file

Disassembly:
mov eax, 0x100c81f9
call fcn.100a35ac
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
xor ebx, ebx
sar eax, 2
mov dword [ebp - 0x10], ecx
test eax, eax
jbe 0x10099d6b
push ebx
mov ecx, edi
call fcn.10001bf2
mov esi, dword [eax]
lea eax, [ebp + 8]
push 0
push eax
call fcn.100404f4
pop ecx
pop ecx
push dword [esi + 0x28]
and dword [ebp - 4], 0
push 0x104
lea ecx, [ebp + 8]
call fcn.1000357f
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.10002a69
add esi, 0x2c
push str.patch
mov ecx, esi
call fcn.10002834
test eax, eax
jne 0x10099ca2
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.10003561
mov ecx, dword [ebp - 0x10]
call fcn.10099961
jmp 0x10099d4a
push str.encode
mov ecx, esi
call fcn.10002834
test eax, eax
jne 0x10099ccb
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.10003561
mov ecx, dword [ebp - 0x10]
call fcn.10098eb5
jmp 0x10099d4a
push str.execute
mov ecx, esi
call fcn.10002834
test eax, eax
jne 0x10099cf4
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.10003561
mov ecx, dword [ebp - 0x10]
call fcn.100992ec
jmp 0x10099d4a
push str.delete
mov ecx, esi
call fcn.10002834
test eax, eax
jne 0x10099d4a
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10099d4a
push 0x101185a8
lea ecx, [ebp - 0x14]
call fcn.1005a319
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push str.Cannot_delete__s
push eax
mov byte [ebp - 4], 1
call fcn.1000d4c3
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add esp, 0xc
push esi
call fcn.10098d75
lea ecx, [esi - 0x10]
call fcn.10001d29
mov ecx, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.10001d29
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
inc ebx
sar eax, 2
cmp ebx, eax
jb 0x10099c37
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x1009a983
Capabilities:
Move file

Disassembly:
mov eax, 0x100c83a0
call fcn.100a35ac
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
lea esi, [ebx + 0x20]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push edi
mov dword [ebp - 0x24], ebx
test eax, 0xfffffffc
je 0x1009ab4e
push 0x101185a8
lea ecx, [ebp - 0x20]
call fcn.1005a319
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
xor edi, edi
sar eax, 2
mov dword [ebp - 4], edi
test eax, eax
jbe 0x1009aa48
push edi
mov ecx, esi
call fcn.10001bf2
push eax
lea ecx, [ebp - 0x10]
call fcn.10003561
push 0x104
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.1000357f
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.10002a69
push 0x100cc670
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100053c1
add esp, 0xc
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.1000d4f1
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.10001d29
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
inc edi
sar eax, 2
cmp edi, eax
jb 0x1009a9cb
push ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.10003561
mov ecx, ebx
call fcn.1009a6b8
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
and dword [ebp - 0x18], 0
sar eax, 2
test eax, eax
jbe 0x1009ab43
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push dword [ebp - 0x18]
mov ecx, esi
call fcn.10001bf2
push eax
lea ecx, [ebp - 0x10]
call fcn.10003561
mov byte [ebp - 4], 3
jmp 0x1009aae6
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.10003561
push 0x104
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.1000357f
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.10002a69
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x28], esp
mov ecx, esp
push eax
call fcn.10003561
mov ecx, dword [ebp - 0x24]
call fcn.1009a6b8
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.10001d29
push str..new
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100053c1
mov eax, dword [eax]
add esp, 0xc
push 9
push dword [ebp - 0x10]
push eax
call edi
mov ecx, dword [ebp - 0x1c]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.10001d29
test bl, bl
jne 0x1009aa92
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.10001d29
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
inc dword [ebp - 0x18]
sar eax, 2
cmp dword [ebp - 0x18], eax
jb 0x1009aa79
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x1009ab5d
Capabilities:
Delete file

Disassembly:
mov eax, 0x100c83c2
call fcn.100a35ac
sub esp, 0x8c
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x10]
call fcn.10003561
mov eax, dword [ebp + 8]
push ecx
add eax, 0x28
mov dword [ebp - 0x18], esp
mov ecx, esp
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.10003561
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.1009975f
push dword [eax]
lea ecx, [ebp - 0x10]
push 0x104
mov byte [ebp - 4], 1
call fcn.1000357f
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.10001d29
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.10002a69
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.100404f4
pop ecx
pop ecx
mov edi, dword [ebp - 0x10]
push esi
push 0x1009a52c
push ebx
push edi
mov byte [ebp - 4], 2
call dword [sym.imp.SETUPAPI.dll_SetupIterateCabinetW]
test eax, eax
jne 0x1009ac43
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 8], eax
cmp eax, ebx
je 0x1009ac43
xor eax, eax
push 0x7e
mov word [ebp - 0x98], ax
lea eax, [ebp - 0x96]
push ebx
push eax
call fcn.100a2490
push dword [ebp + 8]
lea eax, [ebp - 0x98]
push str.InstallUpdate_Failed:__d
push eax
call fcn.100a3075
add esp, 0x18
lea eax, [ebp - 0x98]
push eax
mov ecx, esi
call fcn.10098d75
jmp 0x1009ac51
mov ecx, esi
call fcn.1009a983
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001d29
lea ecx, [edi - 0x10]
call fcn.10001d29
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x1009b303
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push esi
push edi
xor esi, esi
push 0x228
lea eax, [ebp - 0x228]
push esi
push eax
mov dword [ebp - 0x22c], esi
call fcn.100a2490
add esp, 0xc
push esi
push 0xa
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x1009b342
xor eax, eax
pop edi
pop esi
leave
ret 4
lea eax, [ebp - 0x22c]
push eax
push edi
mov dword [ebp - 0x22c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x1009b368
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x1009b33c
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
call fcn.100a39e0
pop ecx
pop ecx
test eax, eax
je 0x1009b38c
lea eax, [ebp - 0x22c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
jmp 0x1009b359
push dword [ebp - 0x224]
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
jmp 0x1009b35d

Function at 0x1009b3a3
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
push dword [ebp + 0xc]
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp + 0xc], eax
cmp eax, 0xffffffff
jne 0x1009b3c4
xor eax, eax
leave
ret 0x10
push esi
lea ecx, [ebp - 0x428]
push ecx
push eax
mov dword [ebp - 0x428], 0x428
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x1009b3f0
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
jmp 0x1009b3c0
push ebx
push edi
push dword [ebp + 0x10]
call fcn.100a26e2
push dword [ebp + 0x14]
mov esi, eax
call fcn.100a26e2
pop ecx
pop ecx
mov edi, eax
xor ebx, ebx
test esi, esi
jne 0x1009b41d
test edi, edi
jne 0x1009b43a
push dword [ebp + 8]
lea eax, [ebp - 0x408]
jmp 0x1009b443
push dword [ebp + 0x10]
lea eax, [ebp - 0x208]
push eax
call fcn.100a39e0
neg eax
sbb al, al
inc al
pop ecx
pop ecx
jne 0x1009b46a
test edi, edi
je 0x1009b451
push dword [ebp + 0x14]
lea eax, [ebp - 0x208]
push eax
call fcn.100a39e0
neg eax
sbb al, al
pop ecx
inc al
pop ecx
test al, al
jne 0x1009b46a
lea eax, [ebp - 0x428]
push eax
push dword [ebp + 0xc]
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x1009b40a
jmp 0x1009b46d
xor ebx, ebx
inc ebx
pop edi
mov esi, ebx
pop ebx
jmp 0x1009b3e2
Function at 0x1009c4b5
Capabilities:
Enumerate processes

Disassembly:
mov eax, 0x100c853b
call fcn.100a35ac
sub esp, 0x254
push edi
xor edi, edi
push 0x228
lea eax, [ebp - 0x25c]
push edi
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x260], edi
call fcn.100a2490
add esp, 0xc
push edi
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
jne 0x1009c507
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
leave
ret 0xc
lea ecx, [ebp - 0x260]
push ecx
push eax
mov dword [ebp - 0x260], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x1009c52f
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x1009c4f8
push ebx
mov dword [ebp - 0x10], edi
push esi
push dword [ebp + 0x10]
mov ebx, dword [ebp - 0x258]
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
push ebx
push dword [ebp + 8]
call fcn.1009b3a3
mov esi, eax
cmp esi, edi
je 0x1009c580
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x34]
call fcn.10006227
mov ecx, dword [ebp - 0x18]
push ebx
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 4], edi
call fcn.1009c3c5
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea ecx, [ebp - 0x34]
call fcn.100035a9
or dword [ebp - 0x10], esi
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x14]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1009c534
mov edi, dword [ebp - 0x10]
pop esi
pop ebx
jmp 0x1009c522

Function at 0x1009c59d
Capabilities:
Enumerate processes

Disassembly:
mov eax, 0x100c1e46
call fcn.100a35ac
sub esp, 0x24c
push ebx
push edi
xor edi, edi
push 0x228
lea eax, [ebp - 0x254]
push edi
push eax
mov ebx, ecx
mov dword [ebp - 0x258], edi
call fcn.100a2490
add esp, 0xc
push edi
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x1009c5f0
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
lea ecx, [ebp - 0x258]
push ecx
push eax
mov dword [ebp - 0x258], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x1009c618
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x1009c5e0
push esi
xor esi, esi
push dword [ebp + 8]
lea eax, [ebp - 0x234]
push eax
call fcn.100a39e0
pop ecx
pop ecx
test eax, eax
jne 0x1009c665
mov esi, dword [ebp - 0x250]
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10006227
push esi
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.1009c3c5
or dword [ebp - 4], 0xffffffff
xor esi, esi
inc esi
push edi
push esi
lea ecx, [ebp - 0x2c]
call fcn.100035a9
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 0x10]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1009c61b
mov edi, esi
pop esi
jmp 0x1009c60b

Function at 0x1009c78c
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
add ecx, 0x38
push 0x1009c67d
mov dword [ebp - 8], ecx
call dword [sym.imp.USER32.dll_EnumWindows]
leave
ret 4