joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443410
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x472908
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0046b96b
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00442db0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0046b899
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00468162
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00468162
push 1
push 0
push 0
mov ecx, esi
call fcn.0046810a
push 1
push 0
push 1
mov ecx, esi
call fcn.0046810a
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046b9dd
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x443590
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x472928
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0046b96b
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00442db0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0046b899
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x443654
cmp dword [esp + 0x40], 1
jne 0x443652
cmp ecx, eax
jge 0x443654
mov eax, ecx
cmp eax, 0xc8
jge 0x443660
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00443410
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046b9dd
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x443dd0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x472993
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0046657b
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0046bc13
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0046d12f
test eax, eax
je 0x443eec
mov ecx, dword [esp + 0x3c]
call fcn.0046bc40
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x443eb0
push edi
mov ecx, esi
call fcn.004692a9
mov ecx, esi
call fcn.00444050
cmp dword [esp + 0x38], 1
jne 0x443ee5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004693e4
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x446910
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x446943
push esi
call fcn.00449a00
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44693c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4469c9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4469b2
mov eax, dword [esi + 8]
test eax, eax
je 0x446967
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4469ae
cmp eax, 2
je 0x4469b2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44695a
cmp eax, 3
je 0x44698d
cmp eax, 1
jne 0x44695a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44695a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44695a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004469f0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4469d8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004469f0
add esp, 4
pop esi
ret

Function at 0x452230
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
push esi
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 8]
xor esi, esi
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x9c
call edi
test eax, eax
jne 0x45227c
lea ecx, [esp + 8]
mov dword [esp + 8], 0x94
push ecx
call edi
test eax, eax
jne 0x45227c
pop edi
pop esi
add esp, 0x9c
ret
cmp dword [esp + 0x18], 2
jne 0x45228f
cmp dword [esp + 0xc], 5
jb 0x45228f
mov esi, 1
mov eax, esi
pop edi
pop esi
add esp, 0x9c
ret
Function at 0x453480
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2820
call fcn.00455f60
mov eax, dword [esp + 0x2824]
push ebx
push esi
push edi
push eax
lea ecx, [esp + 0x20]
push str..PhysicalDrive_d
push ecx
call fcn.00456c8e
add esp, 0xc
lea edx, [esp + 0x1c]
push 0
push 0
push 3
push 0
push 3
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x45362d
xor eax, eax
mov ecx, 0x9c4
mov dword [esp + 0x10], eax
lea edi, [esp + 0x11c]
mov dword [esp + 0x14], eax
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push eax
push ecx
lea edx, [esp + 0x124]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push 0x2710
push edx
lea eax, [esp + 0x20]
push 0xc
push eax
push 0x2d1400
push esi
mov dword [esp + 0x2c], 0
call ebx
test eax, eax
je 0x45362d
mov ecx, dword [esp + 0x283c]
mov edx, dword [esp + 0x128]
push ecx
push 0
lea eax, [esp + 0x124]
push edx
push eax
call fcn.00453640
mov ecx, dword [esp + 0x2848]
mov edx, dword [esp + 0x13c]
push ecx
push 0
lea eax, [esp + 0x134]
push edx
push eax
call fcn.00453640
mov ecx, dword [esp + 0x2860]
mov edx, dword [esp + 0x150]
push ecx
push 0
lea eax, [esp + 0x144]
push edx
push eax
call fcn.00453640
mov ecx, dword [esp + 0x2864]
mov edx, dword [esp + 0x164]
push ecx
push 1
lea eax, [esp + 0x154]
push edx
push eax
call fcn.00453640
mov ecx, dword [esp + 0x2884]
add esp, 0x40
xor eax, eax
lea edi, [esp + 0x11c]
mov dword [ecx], 1
mov ecx, 0x9c4
lea edx, [esp + 0xc]
push eax
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x124]
push 0x2710
push eax
push 0
push 0
push 0x700a0
push esi
call ebx
test eax, eax
je 0x45362d
mov edi, dword [esp + 0x124]
mov edx, dword [esp + 0x2848]
mov eax, dword [esp + 0x284c]
xor ecx, ecx
cmp edi, 0xc
push esi
setne cl
inc ecx
mov dword [edx], ecx
mov ecx, dword [esp + 0x138]
mov edx, dword [esp + 0x13c]
mov dword [eax], ecx
mov dword [eax + 4], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x2820
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x2820
ret

Function at 0x467370
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4673a8
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004653fd
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004653d5
jmp 0x4673b4
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x468a66
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x468aa8
call fcn.0046e515
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x468aa8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x468a9f
xor eax, eax
jmp 0x468ab0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00468ab6
pop edi
pop esi
pop ebx
ret 4

Function at 0x46ea45
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46ea73
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46ea91
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046e9ab
jmp 0x46ea91
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46ea91
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046e9ab
test edi, edi
mov eax, edi
jne 0x46ea7b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x6ad41e70
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
push ecx
sub esp, 0x14
mov edx, dword [ecx]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ecx, dword [ebp - 4]
sub esp, 0xc
leave
lea esp, [ecx - 4]
ret 4

Function at 0x6ad41ec0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
push ecx
sub esp, 0x14
mov edx, dword [ecx]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [ebp - 4]
sub esp, 0xc
leave
lea esp, [ecx - 4]
ret 4

Function at 0x6ad42040
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x3c
test edx, edx
je 0x6ad420e0
cmp word [edx], 0
mov esi, edx
je 0x6ad42120
mov eax, edx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x6ad42068
sub eax, esi
sar eax, 1
inc eax
lea edx, [ebp - 0x1c]
mov word [ebp - 0x1e], ax
lea eax, [ebp - 0x1e]
mov edi, dword [sym.imp.kernel32.dll_WriteFile]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0
mov dword [esp + 8], 2
mov dword [esp + 4], eax
mov dword [esp], ebx
call edi
lea edx, [ebp - 0x1c]
sub esp, 0x14
test eax, eax
je 0x6ad420d6
movzx eax, word [ebp - 0x1e]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
add eax, eax
mov dword [esp + 4], esi
mov word [ebp - 0x1e], ax
movzx eax, ax
mov dword [esp + 8], eax
mov dword [esp], ebx
call edi
sub esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
mov dword [esp], ebx
mov word [ebp - 0x1e], ax
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x1e]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 2
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_WriteFile]
sub esp, 0x14
test eax, eax
setne al
lea esp, [ebp - 0xc]
pop ebx
movzx eax, al
pop esi
pop edi
pop ebp
ret
mov eax, 1
jmp 0x6ad42076
Function at 0x6ad46fd0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
movzx ebx, word [ebp + 0xc]
test byte [0x6ad4c0a0], 8
jne 0x6ad470d0
cmp ebx, dword [edi + 0x5c]
jae 0x6ad47130
lea eax, [ebx + ebx*2]
shl eax, 4
add eax, dword [edi + 0x60]
movzx edx, word [eax]
mov word [esi], dx
xor edx, edx
mov word [esi + 2], dx
movzx edx, word [eax + 4]
mov word [esi + 4], dx
movzx edx, word [eax + 6]
mov word [esi + 6], dx
movzx edx, word [eax + 8]
mov word [esi + 8], dx
movzx edx, word [eax + 0xa]
mov word [esi + 0xa], dx
movzx edx, word [eax + 0xc]
mov word [esi + 0xc], dx
movzx edx, word [eax + 0xe]
mov word [esi + 0xe], dx
movzx edx, word [eax + 0x10]
mov word [esi + 0x10], dx
movzx edx, word [eax + 0x12]
mov word [esi + 0x12], dx
mov edx, dword [eax + 0x14]
mov dword [esi + 0x14], edx
mov edx, dword [eax + 0x18]
mov dword [esi + 0x18], edx
mov edx, dword [eax + 0x1c]
mov dword [esi + 0x1c], edx
mov edx, dword [eax + 0x20]
mov dword [esi + 0x20], edx
cmp edx, 3
je 0x6ad47118
ja 0x6ad470a8
cmp edx, 1
je 0x6ad47108
cmp edx, 2
jne 0x6ad47090
movzx edx, word [eax + 0x24]
mov word [esi + 0x24], dx
movzx eax, word [eax + 0x26]
mov word [esi + 0x26], ax
nop
mov dword [esi + 0x2c], 0
xor eax, eax
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp edx, 4
jne 0x6ad47090
movzx edx, word [eax + 0x24]
mov word [esi + 0x24], dx
movzx edx, word [eax + 0x26]
mov word [esi + 0x26], dx
movzx eax, word [eax + 0x28]
mov word [esi + 0x28], ax
jmp 0x6ad47090
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x6ad4e218
mov dword [esp + 8], str.task_get_trigger
mov dword [esp + 4], 0x6ad4c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x6ad46ff0
movzx eax, word [eax + 0x24]
mov word [esi + 0x24], ax
jmp 0x6ad47090
mov edx, dword [eax + 0x24]
mov dword [esi + 0x24], edx
movzx eax, word [eax + 0x28]
mov word [esi + 0x28], ax
jmp 0x6ad47090
mov eax, 0x80041309
jmp 0x6ad47099
Function at 0x6ad479b0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x2c
mov esi, dword [ecx]
test byte [0x6ad4c0c0], 8
jne 0x6ad479f0
mov ebx, 0xffffffff
lock xadd dword [esi + 4], ebx
dec ebx
je 0x6ad47a20
lea esp, [ebp - 0xc]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0xc], 0x6ad4f017
mov dword [esp + 8], str.MSTASK_ITaskScheduler_Release
mov dword [esp + 4], 0x6ad4c0c0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x6ad479ce
test byte [0x6ad4c0c0], 8
jne 0x6ad47a78
mov eax, dword [esi + 8]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lock dec dword [section..bss]
lea esp, [ebp - 0xc]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x6ad4f019
mov dword [esp + 8], str.TaskSchedulerDestructor
mov dword [esp + 4], 0x6ad4c0c0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x6ad47a29
Function at 0x6ad48400
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
sub esp, 0x20
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
test byte [0x6ad4c0c0], 8
jne 0x6ad48488
test ebx, ebx
je 0x6ad484b9
mov dword [ebx], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], 0xc
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x6ad484c0
mov dword [eax], sym._EnumWorkItems_QueryInterface_12
mov dword [eax + 4], 1
mov dword [eax + 8], 0xffffffff
mov dword [ebx], eax
lock inc dword [section..bss]
xor eax, eax
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__p_____p__n
mov dword [esp + 8], str.MSTASK_ITaskScheduler_Enum
mov dword [esp + 4], 0x6ad4c0c0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x6ad48420
mov eax, 0x80070057
jmp 0x6ad48479
mov eax, 0x8007000e
jmp 0x6ad48479

Function at 0x6ad484d0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, 0xffffffff
push ecx
sub esp, 0x2c
mov esi, dword [ecx]
lock xadd dword [esi + 4], ebx
dec ebx
test byte [0x6ad4c0c0], 8
jne 0x6ad48550
test ebx, ebx
jne 0x6ad4853c
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x6ad48511
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindClose]
sub esp, 4
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lock dec dword [section..bss]
lea esp, [ebp - 0xc]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.__p_____lu__n
mov dword [esp + 8], str.EnumWorkItems_Release
mov dword [esp + 4], 0x6ad4c0c0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x6ad484f9
Function at 0x6ad48670
Capabilities:
Delete file
Get common file path

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x23c
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
test byte [0x6ad4c0c0], 8
jne 0x6ad487b8
mov dword [esp + 4], 0x2e
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcschr]
test eax, eax
jne 0x6ad487f0
lea ebx, [ebp - 0x220]
mov dword [esp + 4], 0x104
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
mov edx, ebx
sub esp, 8
cmp word [ebp - 0x220], 0
je 0x6ad486e9
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x6ad486e0
xor eax, eax
mov ecx, 0x5c
jmp 0x6ad486ff
movzx ecx, word [eax + str.Tasks_]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x6ad486f8
cmp word [ebp - 0x220], 0
mov edx, ebx
je 0x6ad48729
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x6ad48720
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [esi + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x6ad48730
cmp word [ebp - 0x220], 0
mov edx, ebx
je 0x6ad48759
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x6ad48750
xor eax, eax
mov ecx, 0x2e
jmp 0x6ad4876f
movzx ecx, word [eax + str..job]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x6ad48768
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_DeleteFileW]
mov edx, eax
sub esp, 4
xor eax, eax
test edx, edx
jne 0x6ad487a6
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovg eax, edx
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 8
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str._p___s_n
mov dword [esp + 8], str.MSTASK_ITaskScheduler_Delete
mov dword [esp + 4], 0x6ad4c0c0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x6ad48698
mov eax, 0x80070057
jmp 0x6ad487a6
Function at 0x6ad48800
Capabilities:
Get common file path

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x238
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
mov ebx, dword [ecx + 8]
test byte [0x6ad4c0c0], 8
jne 0x6ad48970
mov dword [esp + 4], 0x2e
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcschr]
test eax, eax
jne 0x6ad489ac
lea esi, [ebp - 0x220]
mov dword [esp + 4], 0x104
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
mov edx, esi
sub esp, 8
cmp word [ebp - 0x220], 0
je 0x6ad48879
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x6ad48870
xor eax, eax
mov ecx, 0x5c
jmp 0x6ad4888f
movzx ecx, word [eax + str.Tasks_]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x6ad48888
cmp word [ebp - 0x220], 0
mov edx, esi
je 0x6ad488b9
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x6ad488b0
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [edi + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x6ad488c0
cmp word [ebp - 0x220], 0
mov edx, esi
je 0x6ad488e9
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x6ad488e0
xor eax, eax
mov ecx, 0x2e
jmp 0x6ad488ff
movzx ecx, word [eax + str..job]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x6ad488f8
mov eax, dword [ebx]
lea edx, [ebp - 0x224]
mov dword [esp], ebx
mov dword [esp + 8], edx
mov dword [esp + 4], 0x6ad502d8
call dword [eax]
sub esp, 0xc
mov ebx, eax
test eax, eax
jne 0x6ad4895d
mov eax, dword [ebp - 0x224]
mov edx, dword [eax]
mov dword [esp + 8], 1
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x18]
mov ebx, eax
mov eax, dword [ebp - 0x224]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov eax, edi
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str._p___s___p_n
mov dword [esp + 8], str.MSTASK_ITaskScheduler_AddWorkItem
mov dword [esp + 4], 0x6ad4c0c0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x6ad4882c
mov ebx, 0x80070057
jmp 0x6ad4895d