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

Disassembly:
push ebp
sub esp, 0x40
mov eax, 0x100c0668
call fcn.100a0664
sub esp, 0x4c
push ebx
push esi
push edi
push dword [ebp + 0x4c]
xor edi, edi
mov dword [ebp - 4], edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1007f54c
mov ecx, dword [ebp + 0x4c]
add ecx, 0xfffffff0
call fcn.10001ccd
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add ebp, 0x44
leave
ret
push edi
push ecx
lea eax, [ebp + 0x4c]
mov dword [ebp + 0x40], esp
mov ecx, esp
push eax
call fcn.100033f5
lea eax, [ebp + 0x1c]
push eax
call fcn.10081ac3
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [ebp + 0x30], edi
jne 0x1007f58d
xor esi, esi
push edi
push 1
lea ecx, [ebp + 0x1c]
call fcn.1000bc62
mov ecx, dword [ebp + 0x4c]
add ecx, 0xfffffff0
call fcn.10001ccd
mov eax, esi
jmp 0x1007f53a
push 0x68
call fcn.100a00a4
pop ecx
mov ecx, eax
mov dword [ebp + 0x40], ecx
mov byte [ebp - 4], 2
cmp ecx, edi
je 0x1007f5ac
call fcn.1007e85e
mov dword [ebp + 0x3c], eax
jmp 0x1007f5af
mov dword [ebp + 0x3c], edi
mov esi, dword [ebp + 0x3c]
push edi
push edi
push edi
push edi
push edi
push str.affiliateMerchants
push esi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.10081e7f
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
mov byte [ebp - 4], 3
jae 0x1007f5d9
lea eax, [ebp + 0x20]
push edi
push edi
push edi
push eax
lea ecx, [ebp - 0x58]
call fcn.10082725
mov eax, dword [esi + 0x18]
sub eax, dword [esi + 0x14]
add esi, 8
sar eax, 2
xor ebx, ebx
test eax, eax
jbe 0x1007f6d1
push ebx
mov ecx, esi
mov dword [ebp + 0x38], edi
call fcn.1000b27e
mov eax, dword [eax]
mov ecx, dword [eax + 0x44]
sub ecx, dword [eax + 0x40]
add eax, 0x34
sar ecx, 2
test ecx, ecx
jbe 0x1007f6bf
push ebx
mov ecx, esi
call fcn.1000b27e
mov ecx, dword [eax]
push dword [ebp + 0x38]
add ecx, 0x34
call fcn.1000b27e
mov eax, dword [eax]
add eax, 8
push dword [eax]
lea ecx, [ebp + 0x40]
call fcn.1000274d
mov ecx, dword [eax]
mov byte [ebp - 4], 4
cmp ecx, edi
je 0x1007f651
call fcn.1005c58b
jmp 0x1007f653
xor eax, eax
push eax
lea ecx, [ebp]
call fcn.10005257
mov ecx, dword [ebp + 0x40]
mov byte [ebp - 4], 6
cmp ecx, edi
je 0x1007f66f
call fcn.10003043
mov dword [ebp + 0x40], edi
push ebx
mov ecx, esi
call fcn.1000b27e
mov ecx, dword [ebp + 0x3c]
push eax
lea eax, [ebp]
push eax
add ecx, 0x20
call fcn.1007f465
mov ecx, eax
call fcn.1001cd36
push edi
push 1
lea ecx, [ebp]
mov byte [ebp - 4], 3
call fcn.100033aa
inc dword [ebp + 0x38]
push ebx
mov ecx, esi
call fcn.1000b27e
mov eax, dword [eax]
mov ecx, dword [eax + 0x44]
sub ecx, dword [eax + 0x40]
add eax, 0x34
sar ecx, 2
cmp dword [ebp + 0x38], ecx
jb 0x1007f61c
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
inc ebx
sar eax, 2
cmp ebx, eax
jb 0x1007f5fb
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.10081e59
mov esi, dword [ebp + 0x3c]
jmp 0x1007f573
Function at 0x1008167e
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x100c08b2
call fcn.100a0664
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10081744
mov esi, 0x1010dad4
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x1008173d
cmp ecx, 0xffffffff
je 0x10081736
xor eax, eax
mov dword [ebp - 0x20], ebx
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push ecx
mov dword [ebp - 0x18], esp
mov ecx, esp
push dword [ebp + 8]
call fcn.100033f5
mov ecx, esi
call fcn.1008161a
mov ecx, dword [eax + 4]
cmp ecx, dword [ebp - 0x1c]
jne 0x10081731
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x20]
jne 0x10081731
push dword [ebp - 0x10]
lea edi, [eax + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
jmp 0x10081746
push dword [ebp - 0x10]
jmp 0x10081737
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x10081755
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x100c08b2
call fcn.100a0664
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1008180e
mov esi, 0x1010dad4
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x10081807
cmp ecx, 0xffffffff
je 0x10081800
xor eax, eax
mov dword [ebp - 0x20], ebx
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push ecx
mov dword [ebp - 0x18], esp
mov ecx, esp
push dword [ebp + 8]
call fcn.100033f5
mov ecx, esi
call fcn.1008161a
mov ecx, dword [ebp - 0x20]
push 0xffffffffffffffff
mov dword [eax], ecx
mov ecx, dword [ebp - 0x1c]
push ebx
push dword [ebp + 0xc]
mov dword [eax + 4], ecx
lea ecx, [eax + 8]
call fcn.1000c5df
push dword [ebp - 0x10]
jmp 0x10081801
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x10083527
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, ecx
cmp eax, dword [esi + 0x4c]
jne 0x1008356b
push dword [esi + 4]
call fcn.1008341c
pop ecx
test al, al
jne 0x1008356b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.1008341c
pop ecx
test al, al
jne 0x1008356b
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x4c]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
pop esi
ret 0x10

Function at 0x10085334
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x100bd4d9
call fcn.100a0664
push esi
mov esi, ecx
cmp dword [esi + 0x1d8], 0
push edi
jne 0x10085365
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0xe8]
call edi
push 0
push dword [esi + 0x154]
call edi
mov eax, dword [esp + 0x28]
and dword [eax], 0
mov ecx, dword [esp + 8]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
leave
ret 0x10

Function at 0x10086983
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, 0x100bd4d9
call fcn.100a0664
push esi
push edi
mov esi, ecx
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [esi + 0x38]
sub eax, dword [esi + 0x34]
add esi, 0x28
sar eax, 2
xor edi, edi
test eax, eax
jbe 0x100869da
push edi
mov ecx, esi
call fcn.1000b27e
mov eax, dword [eax]
test eax, eax
je 0x100869cc
mov eax, dword [eax + 0xc]
push 0
push 0
push 2
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
inc edi
sar eax, 2
cmp edi, eax
jb 0x100869ac
mov ecx, esi
call fcn.10059830
mov ecx, dword [esp + 8]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
leave
ret 0x10

Function at 0x100875a8
Capabilities:
Create thread
Resume thread

Disassembly:
mov eax, 0x100c1053
call fcn.100a0664
sub esp, 0x30
push ebx
push esi
push edi
mov esi, 0x1010db18
mov dword [ebp - 0x10], esp
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.1009d1ee
test eax, eax
je 0x100875ff
mov ecx, esi
call fcn.1009d1ee
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
push 8
call fcn.100a00a4
pop ecx
cmp eax, ebx
je 0x10087618
mov dword [eax], 0x1010db30
mov dword [eax + 4], ebx
mov edi, eax
jmp 0x1008761a
xor edi, edi
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 4], eax
lea eax, [ebp - 0x18]
push eax
push 4
push edi
push 0x10087511
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x100875de
Function at 0x1008a9c9
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100c1578
call fcn.100a0664
sub esp, 0x50
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov edi, 0x1010dc04
lea ecx, [esi + 0xc]
push edi
mov dword [ebp - 4], 2
mov dword [esi], vtable.LayoutManager.0
call fcn.1005d077
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 3
call fcn.1006079b
lea ebx, [esi + 0x30]
push edi
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.1005d077
lea ecx, [esi + 0x34]
push edi
mov byte [ebp - 4], 5
call fcn.1005d077
lea eax, [ebp + 0x14]
push eax
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 6
call fcn.100046db
lea eax, [ebp + 0x18]
push eax
mov ecx, ebx
call fcn.100046db
mov edi, dword [ebp + 8]
lea eax, [ebp + 0xc]
xor ebx, ebx
push eax
lea ecx, [esi + 0xc]
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 4], edi
call fcn.100046db
push 0x180
call fcn.100a00a4
pop ecx
mov dword [ebp + 8], eax
mov byte [ebp - 4], 7
cmp eax, ebx
je 0x1008aa76
push ebx
mov ecx, eax
call fcn.1002c567
jmp 0x1008aa78
xor eax, eax
mov byte [ebp - 4], 6
mov dword [esi + 8], eax
cmp edi, ebx
je 0x1008aa8e
lea eax, [edi + 0xb8]
mov dword [ebp + 8], eax
jmp 0x1008aa91
mov dword [ebp + 8], ebx
push ebx
lea ecx, [esi + 0x30]
call fcn.10003413
push 1
push ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x5c]
push dword [edi + 0x12cc]
push ebx
push eax
push dword [esi + 8]
call fcn.10081e7f
mov eax, dword [esi + 0xc]
push ebx
push dword [ebp + 0x10]
lea ecx, [ebp - 0x5c]
push ebx
push eax
mov byte [ebp - 4], 8
call fcn.10082725
mov eax, dword [esi + 8]
add edi, 0xb8
mov ecx, esi
mov dword [eax + 0x13c], edi
call fcn.1008a450
mov ecx, esi
call fcn.10089684
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 6
call fcn.10081e59
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14
Function at 0x1008cf53
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x100c18e6
call fcn.100a0664
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.1008cdea
lea ebx, [esi + 0x6c]
push 0x1010dc04
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.1005d077
lea eax, [ebp + 0x18]
push eax
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.100046db
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.10068282
push dword [ebp - 0x10]
mov byte [ebp - 4], 6
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1008cff6
lea eax, [ebp - 0x28]
push str.Layout_not_found
push eax
call fcn.10001dd9
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.10002908
cmp ebx, edi
je 0x1008d005
lea eax, [ebx + 0xb8]
mov dword [ebp + 0x14], eax
jmp 0x1008d008
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.100033f5
push dword [ebp + 0x14]
lea eax, [ebp - 0x14]
push eax
call fcn.1000cdc9
push 0x48
mov byte [ebp - 4], 8
call fcn.100a00a4
add esp, 0x14
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 9
cmp eax, edi
je 0x1008d081
push ecx
lea eax, [ebp + 0x10]
mov dword [ebp + 0x1c], esp
mov ecx, esp
push eax
call fcn.100033f5
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0xa
call fcn.100033f5
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0xb
call fcn.100033f5
mov ecx, dword [ebp + 0x14]
push ebx
mov byte [ebp - 4], 9
call fcn.1008b203
jmp 0x1008d083
xor eax, eax
push 0x28
mov byte [ebp - 4], 8
mov dword [esi + 0x74], eax
call fcn.100a00a4
pop ecx
cmp eax, edi
je 0x1008d0a3
push dword [esi + 0x7c]
mov ecx, eax
push ebx
call fcn.1008c575
jmp 0x1008d0a5
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.10001ccd
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x18
Function at 0x1008e6d9
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x100c1b5e
call fcn.100a0664
sub esp, 0x78
and dword [ebp - 0x18], 0
push ebx
push esi
push edi
mov ebx, ecx
push 0x1010dc04
lea ecx, [ebp - 0x14]
call fcn.1005d077
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.1000c6e6
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 0x1008e74e
lea eax, [ebp - 0x10]
jmp 0x1008e75f
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 0x1008e784
cmp dword [ebp + 0xc], 0
je 0x1008e784
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.1002cdda
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.1008e214
add eax, 8
push eax
lea ecx, [ebp + 8]
call fcn.100033f5
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.10001ccd
cmp dword [ebp + 0xc], 0
pop edi
pop esi
pop ebx
je 0x1008e86b
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0x10], 0
je 0x1008e87a
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp - 0xc]
xor eax, eax
inc eax
mov dword fs:[0], ecx
leave
ret 8
Function at 0x100915cd
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
call fcn.100905ff
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
push 0
push 0x1009043e
mov dword [esi + 0x78], eax
call fcn.100a287e
add esp, 0xc
push 0x2710
push dword [esi + 0x78]
mov dword [esi + 0x80], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x78]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esi + 0x94]
mov ecx, esi
call fcn.100912d2
pop esi
ret

Function at 0x1009752d
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100c28fc
call fcn.100a0664
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.10097491
test edi, edi
je 0x10097551
lea eax, [edi + 0xc]
jmp 0x10097553
xor eax, eax
push eax
lea ecx, [esi + 0xc]
call fcn.100974b2
and dword [ebp - 4], 0
add edi, 0x30
push edi
lea ecx, [esi + 0x30]
mov dword [esi], vtable.XMLToolbarNode.0
call fcn.100033f5
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x10099072
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x100c2b59
call fcn.100a0664
sub esp, 0x14
push esi
xor esi, esi
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.100449b3
push eax
lea eax, [ebp - 0x14]
push 0x100d6bbc
push eax
mov dword [ebp - 4], esi
call fcn.1000c548
push 0x100d2e20
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.1000c4dd
add esp, 0x20
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.10001ccd
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.100449b3
push str.ToolbarUpdate.exe
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 5
call fcn.1000c4dd
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.10001ccd
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x10099203
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x100c2bb5
call fcn.100a0664
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.1009f9b0
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.100033f5
push 0x104
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.10003413
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.100029b7
push esi
lea ecx, [ebp + 8]
call fcn.10003413
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 0x100992a7
push 0xffffffffffffffff
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x100992e3
push 0x1010dc04
lea ecx, [ebp - 0x14]
call fcn.1005d077
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push str.ExecuteFile:_failed_to_execute__s
push eax
mov byte [ebp - 4], 2
call fcn.1000c6e6
mov esi, dword [ebp - 0x14]
add esp, 0xc
push esi
mov ecx, ebx
call fcn.10098d1a
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 1
call fcn.10001ccd
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.100029b7
lea ecx, [edi - 0x10]
call fcn.10001ccd
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x10099a48
Capabilities:
Copy file
Delete file

Disassembly:
mov eax, 0x100c2cfc
call fcn.100a0664
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x14]
call fcn.100033f5
mov ebx, dword [ebp + 8]
and dword [ebp - 4], 0
push ecx
lea eax, [ebx + 0x2c]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.100033f5
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.10099676
push dword [eax]
mov edi, 0x104
push edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.10003413
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.10001ccd
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.100029b7
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.100449b3
pop ecx
pop ecx
push dword [ebx + 0x30]
lea ecx, [ebp - 0x10]
push edi
mov byte [ebp - 4], 2
call fcn.10003413
push eax
call esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.100029b7
mov esi, dword [ebp - 0x14]
push 0
push dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x10099b01
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10001ccd
lea ecx, [esi - 0x10]
call fcn.10001ccd
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x10099b25
Capabilities:
Delete file

Disassembly:
mov eax, 0x100c2d16
call fcn.100a0664
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 0x10099c82
push ebx
mov ecx, edi
call fcn.1000b27e
mov esi, dword [eax]
lea eax, [ebp + 8]
push 0
push eax
call fcn.100449b3
pop ecx
pop ecx
push dword [esi + 0x2c]
and dword [ebp - 4], 0
push 0x104
lea ecx, [ebp + 8]
call fcn.10003413
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.100029b7
add esi, 0x30
push str.patch
mov ecx, esi
call fcn.1000272b
test eax, eax
jne 0x10099bb9
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.100033f5
mov ecx, dword [ebp - 0x10]
call fcn.10099878
jmp 0x10099c61
push str.encode
mov ecx, esi
call fcn.1000272b
test eax, eax
jne 0x10099be2
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.100033f5
mov ecx, dword [ebp - 0x10]
call fcn.10098e36
jmp 0x10099c61
push str.execute
mov ecx, esi
call fcn.1000272b
test eax, eax
jne 0x10099c0b
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.100033f5
mov ecx, dword [ebp - 0x10]
call fcn.10099203
jmp 0x10099c61
push str.delete
mov ecx, esi
call fcn.1000272b
test eax, eax
jne 0x10099c61
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10099c61
push 0x1010dc04
lea ecx, [ebp - 0x14]
call fcn.1005d077
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push str.Cannot_delete__s
push eax
mov byte [ebp - 4], 1
call fcn.1000c6e6
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add esp, 0xc
push esi
call fcn.10098d1a
lea ecx, [esi - 0x10]
call fcn.10001ccd
mov ecx, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.10001ccd
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
inc ebx
sar eax, 2
cmp ebx, eax
jb 0x10099b4e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4