joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ed40
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485b00
mov eax, dword fs:[0]
push eax
sub esp, 0x144
push ebx
push esi
push edi
mov eax, dword [0x4c600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x24], esi
cmp dword [esi + 4], 0
jne 0x43ef29
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0x200
cmp byte [esi + 0x6c], 0
je 0x43ee76
call fcn.0043f770
mov dword [ebp - 0x2c], eax
push 1
lea ecx, [eax + 8]
push ecx
mov ecx, eax
call fcn.00437c70
test eax, eax
jne 0x43edba
mov dword [esi + 4], 0x32
jmp 0x43ee41
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea ecx, [ebp - 0x58]
call fcn.0040fdea
mov byte [ebp - 4], 0x18
push ecx
push 0x200
mov ecx, eax
call fcn.0040fdda
push eax
push dword [esi + 0x70]
call fcn.0043f770
mov ecx, eax
call fcn.00440030
mov ecx, eax
call fcn.0043fcd0
mov dword [esi + 4], eax
mov byte [ebp - 4], 0x19
mov byte [ebp - 4], 0
lea edx, [ebp - 0x58]
mov dword [ebp - 0x30], edx
mov byte [ebp - 4], 0x1a
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x43ee36
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x43ee36
add ecx, ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x43ee36
mov byte [eax], 0
inc eax
mov dword [ebp - 0x14], eax
dec ecx
mov dword [ebp - 0x18], ecx
jmp 0x43ee25
push dword [edx + 4]
call fcn.0043af60
add esp, 4
cmp dword [esi + 4], 0
je 0x43ef22
push str.RegDeleteKeyExW__
lea ecx, [esi + 8]
call fcn.0043fcf0
push ecx
push esi
lea ecx, [ebp - 0xe0]
call fcn.0043bf60
push 0x4c3934
lea eax, [ebp - 0xe0]
push eax
call fcn.0046b639
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea ecx, [ebp - 0x68]
call fcn.0040fdea
mov byte [ebp - 4], 0x15
mov ecx, eax
call fcn.0040fdda
push eax
push dword [esi + 0x70]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, eax
call fcn.0043fcd0
mov dword [esi + 4], eax
mov byte [ebp - 4], 0x16
mov byte [ebp - 4], 0
lea edx, [ebp - 0x68]
mov dword [ebp - 0x3c], edx
mov byte [ebp - 4], 0x17
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x43eee6
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x43eee6
add ecx, ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
test ecx, ecx
je 0x43eee6
mov byte [eax], 0
inc eax
mov dword [ebp - 0x1c], eax
dec ecx
mov dword [ebp - 0x20], ecx
jmp 0x43eed5
push dword [edx + 4]
call fcn.0043af60
add esp, 4
cmp dword [esi + 4], 0
je 0x43ef22
push str.RegDeleteKeyW__
lea ecx, [esi + 8]
call fcn.00414544
push ecx
push esi
lea ecx, [ebp - 0x150]
call fcn.0043bf60
push 0x4c3934
lea eax, [ebp - 0x150]
push eax
call fcn.0046b639
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 0x10
Function at 0x43ef70
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485b38
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x4c600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x1c], esi
cmp dword [esi + 4], 0
jne 0x43f089
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea ecx, [ebp - 0x48]
call fcn.0040fdea
mov byte [ebp - 4], 0x15
mov ecx, eax
call fcn.0040fdda
push eax
push dword [esi + 0x70]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, eax
call fcn.0043fcd0
mov dword [esi + 4], eax
mov byte [ebp - 4], 0x16
mov byte [ebp - 4], 0
lea edx, [ebp - 0x48]
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 0x17
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x43f028
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x43f028
add ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x43f028
mov byte [eax], 0
inc eax
mov dword [ebp - 0x14], eax
dec ecx
mov dword [ebp - 0x18], ecx
jmp 0x43f017
push dword [edx + 4]
call fcn.0043af60
add esp, 4
cmp dword [esi + 4], 0
je 0x43f082
push str.RegDeleteKeyW__
lea ecx, [esi + 8]
call fcn.00414544
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
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 0x10
Function at 0x43fdf0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481e08
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4c600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 6
sub esp, 8
mov eax, esp
mov dword [eax], str.Advapi32.dll
mov dword [eax + 4], 0xc
call fcn.00422f70
mov dword [ebp - 4], 0
mov dword [esi], vtable.Advapi32Dll.0
mov dword [esi + 8], str.RegDeleteKeyExW
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], str.NotifyServiceStatusChangeW
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], str.RegCreateKeyTransactedW
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], str.RegOpenKeyTransactedW
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x440750
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485ec8
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push esi
push edi
mov eax, dword [0x4c600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 4], 0
jne 0x44083b
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax]
cmp edx, 1
jne 0x440797
mov eax, dword [ecx]
or eax, dword [ecx + 4]
je 0x4407e7
push edx
push dword [ecx + 4]
push dword [ecx]
lea ecx, [ebp - 0x74]
push dword [esi + 0x58]
call fcn.00440280
mov edi, eax
mov dword [ebp - 4], 0
lea ecx, [esi + 8]
cmp dword [ecx], 0
lea edx, [edi + 8]
jne 0x4407d2
mov eax, dword [edx]
test eax, eax
je 0x4407c6
mov dword [ecx], eax
jmp 0x4407d2
sub esp, 8
push edx
push 0xffffffffffffffff
push ecx
call fcn.004162b0
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00440420
cmp dword [esi + 4], 0
jne 0x44083b
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push 0
push eax
push dword [edi]
push dword [ebp + 8]
push dword [esi + 0x58]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x440836
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
test eax, eax
je 0x440836
push ecx
lea ecx, [esi + 8]
call fcn.00440eb0
push ecx
push esi
lea ecx, [ebp - 0x80]
call fcn.00440180
push 0x4c3960
lea eax, [ebp - 0x80]
push eax
call fcn.0046b639
mov eax, dword [ebp - 0x10]
mov dword [edi], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4408b0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x78
push esi
mov esi, ecx
push edi
cmp dword [esi + 4], 0
jne 0x4408f5
lea eax, [esp + 0xc]
push eax
push dword [esi + 0x58]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4408e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
test eax, eax
jne 0x4408fd
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [esp + 0xc]
or ecx, edi
mov dword [eax], ecx
mov dword [eax + 4], edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0xd
push str.GetFileSize__
push 0xffffffffffffffff
push ecx
lea ecx, [esi + 8]
call fcn.00416320
push ecx
push esi
lea ecx, [esp + 0x18]
call fcn.00440180
push 0x4c3960
lea eax, [esp + 0x14]
push eax
call fcn.0046b639
int3

Function at 0x4409b0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485f48
mov eax, dword fs:[0]
push eax
sub esp, 0x108
push ebx
push esi
mov eax, dword [0x4c600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x34], esi
call fcn.00414201
mov dword [ebp - 4], 0
cmp byte [ebp + 0x10], 0
mov dword [esi], vtable.WWLib::CFileRemove_1_.0
je 0x440acb
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 2
mov ecx, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00410191
mov byte [ebp - 4], 3
mov eax, 0x4ca5a8
cmp dword [ebp - 0x18], 0
push 4
cmovne eax, dword [ebp - 0x1c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
invalid
xchg esp, eax
Function at 0x440bb0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485fbb
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
mov eax, dword [0x4c600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push ecx
call fcn.0043b810
mov dword [ebp - 4], 0
lea eax, [esi + 0x48]
mov dword [esi], vtable.WWLib::CWinApiBase_0_.0
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 3
lea eax, [ebp - 0x24]
mov dword [esi], vtable.WWLib::CFileRemove_0_.0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 0xa
mov ecx, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00410191
mov byte [ebp - 4], 0xb
mov eax, 0x4ca5a8
cmp dword [ebp - 0x1c], 0
cmovne eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
sete bl
mov byte [ebp - 4], 3
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x440c9e
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x440c9e
add ecx, ecx
je 0x440c9e
lea ecx, [ecx]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x440c90
mov eax, dword [ebp - 0x20]
push eax
call fcn.0043af60
add esp, 4
test bl, bl
je 0x440cc5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
test eax, eax
je 0x440cc5
push str.DeleteFileW__
lea ecx, [esi + 8]
call fcn.00440e90
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x441530
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4861a0
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push esi
mov eax, dword [0x4c600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 1
mov ecx, eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00410191
mov dword [ebp - 4], 2
lea eax, [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 4
mov ecx, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00410191
mov byte [ebp - 4], 5
mov ecx, 0x4ca5a8
cmp dword [ebp - 0x28], 0
mov eax, ecx
push dword [ebp + 0x18]
cmovne eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], 0
push eax
cmovne ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
sete bl
mov byte [ebp - 4], 2
lea eax, [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x441625
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x441625
add ecx, ecx
je 0x441625
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x441617
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0043af60
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x441662
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x441662
add ecx, ecx
je 0x441662
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x441654
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0043af60
add esp, 4
test bl, bl
je 0x4416a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
test eax, eax
je 0x4416a7
push str.MoveFileExW__
lea ecx, [esi + 8]
call fcn.00440e90
push ecx
push esi
lea ecx, [ebp - 0xa0]
call fcn.00440fd0
push 0x4c398c
lea eax, [ebp - 0xa0]
push eax
call fcn.0046b639
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x441f50
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48649f
mov eax, dword fs:[0]
push eax
sub esp, 0x210
push ebx
push esi
push edi
mov eax, dword [0x4c600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x34]
push eax
call fcn.004437a0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x9c]
mov edi, eax
call fcn.00414201
mov byte [ebp - 4], 2
push 4
mov dword [ebp - 0x9c], vtable.WWLib::CHandle_1_.0
mov dword [ebp - 0x44], 0xffffffff
mov byte [ebp - 0x40], 1
call fcn.0043aea0
add esp, 4
test eax, eax
je 0x441fee
mov dword [eax], 1
jmp 0x441ff0
xor eax, eax
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 3
cmp byte [0x4cb09f], 0
jne 0x44201d
push 0
push 0
push 6
call fcn.0041e080
add esp, 0xc
mov byte [0x4cb09e], al
xchg dword [ebp - 0x38], eax
mov byte [0x4cb09f], 1
cmp byte [0x4cb09e], 0
jne 0x4421e5
lea eax, [ebp - 0x34]
mov edx, str.Global_
push eax
lea ecx, [ebp - 0xc4]
call fcn.0041290c
add esp, 4
mov byte [ebp - 4], 4
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x442051
lea edx, [ecx - 1]
jmp 0x442053
xor edx, edx
test ecx, ecx
je 0x44205c
mov eax, dword [eax + 4]
jmp 0x442061
mov eax, 0x4ca5a8
sub esp, 8
lea ecx, [ebp - 0x188]
push edx
push eax
call fcn.004428c0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x4420a1
mov ecx, dword [ebp - 0xbc]
test ecx, ecx
je 0x4420a1
add ecx, ecx
je 0x4420a1
lea ecx, [ecx]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x442090
mov eax, dword [ebp - 0xc0]
push eax
call fcn.0043af60
add esp, 4
cmp dword [ebp - 0x124], 2
jne 0x442185
mov eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x18], eax
call fcn.00414201
mov byte [ebp - 4], 8
lea eax, [ebp - 0x18]
push ecx
push 0
push eax
push ecx
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x120], 0x49f798
call fcn.00445f20
mov byte [ebp - 4], 9
cmp dword [ebp - 0xc8], 0x102
invalid
xchg esp, eax
Function at 0x445a70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481e08
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4c600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 7
sub esp, 8
mov eax, esp
mov dword [eax], str.KtmW32.dll
mov dword [eax + 4], 0xa
call fcn.00422f70
mov dword [ebp - 4], 0
mov dword [esi], vtable.KtmW32Dll.0
mov dword [esi + 8], str.CreateTransaction
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], str.OpenTransaction
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], str.GetTransactionId
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], str.GetTransactionInformation
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], str.SetTransactionInformation
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], str.CommitTransaction
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], str.CommitTransactionAsync
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], str.RollbackTransaction
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], str.RollbackTransactionAsync
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x446100
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push esi
push dword [ebp + 8]
mov esi, ecx
push 1
push 0
mov dword [esi + 0x64], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0x58], eax
test eax, eax
jne 0x446134
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
test eax, eax
jne 0x446150
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
sbb eax, eax
add eax, 2
mov dword [esi + 0x64], eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
push 0xe
push str.CreateMutexW__
push 0xffffffffffffffff
push ecx
lea ecx, [esi + 8]
call fcn.00416320
push ecx
push esi
lea ecx, [esp + 0x10]
call fcn.00445fa0
push 0x4c3a94
lea eax, [esp + 0xc]
push eax
call fcn.0046b639
int3
Function at 0x446310
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486ad3
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4c600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x4a86d0
lea ecx, [esi + 0x30]
mov dword [esi + 4], 3
mov dword [esi + 8], 0x4a86d8
mov dword [esi + 0xc], 4
mov dword [esi + 0x10], 0x4a86e4
mov dword [esi + 0x14], 3
mov dword [esi + 0x18], str.__U_
mov dword [esi + 0x1c], 4
mov dword [esi + 0x20], 0x4a86f8
mov dword [esi + 0x24], 3
mov dword [esi + 0x28], str.__I_
mov dword [esi + 0x2c], 4
mov dword [ebp - 0x14], ecx
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ebp - 4], 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00416670
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x446b10
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486cf3
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4c600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
lea eax, [ecx + 8]
mov dword [ecx], 0x49d894
mov dword [ecx + 4], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 2
lea eax, [ecx + 0x18]
mov dword [ebp - 0x18], eax
mov dword [eax], 0x49d894
mov dword [eax + 4], 0
add eax, 8
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 5
lea eax, [ecx + 0x30]
mov dword [ebp - 0x18], eax
mov dword [eax], 0x49d894
mov dword [eax + 4], 0
add eax, 8
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 8
lea eax, [ecx + 0x48]
mov dword [ebp - 0x18], eax
mov dword [eax], 0x49d894
mov dword [eax + 4], 0
add eax, 8
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 0xb
lea eax, [ecx + 0x60]
mov dword [ebp - 0x18], eax
mov dword [eax], 0x49d894
mov dword [eax + 4], 0
add eax, 8
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x44f3b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4880c9
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x4c600c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
xor eax, eax
mov dword [edi], 0x4a9a58
mov dword [edi + 0x40], 0x4a9a64
mov dword [edi + 0x2c], vtable.std::exception.0
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov dword [ebp - 4], eax
lea ecx, [edi + 0x3c]
mov dword [ebp - 0x18], ecx
mov eax, dword [ecx + 4]
mov dword [ecx], vtable.WException.1.0
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [eax + ecx + 4], vtable.WException.0
lea eax, [ecx + 8]
mov dword [ebp - 0x1c], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 3
mov edx, 0xa
mov ebx, dword [ebp + 0x10]
push ecx
push 0
push 0
push ebx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x10], 3
call fcn.00401efa
mov esi, eax
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x3c]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00452730
mov byte [ebp - 4], 5
mov edx, eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00411a06
add esp, 0x1c
mov byte [ebp - 4], 6
mov edx, dword [eax + 8]
test edx, edx
je 0x44f4a2
lea ecx, [edx - 1]
jmp 0x44f4a4
xor ecx, ecx
test edx, edx
je 0x44f4ad
mov eax, dword [eax + 4]
jmp 0x44f4b2
mov eax, 0x4ca5a8
push 0
push ecx
push ecx
push eax
mov ecx, edi
call fcn.0044ee10
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x44f4e2
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x44f4e2
add ecx, ecx
je 0x44f4e2
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x44f4d4
mov eax, dword [ebp - 0x28]
push eax
call fcn.0043af60
add esp, 4
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x44f50f
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x44f50f
add ecx, ecx
je 0x44f50f
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x44f501
mov eax, dword [ebp - 0x38]
push eax
call fcn.0043af60
add esp, 4
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x44f53e
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x44f53e
add ecx, ecx
je 0x44f53e
mov edi, edi
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x44f530
mov eax, dword [ebp - 0x48]
push eax
call fcn.0043af60
mov eax, dword [edi]
add esp, 4
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.InstallMsiError.1.0
mov eax, dword [edi]
mov eax, dword [eax + 8]
mov dword [edi + eax], vtable.InstallMsiError.0
mov eax, dword [edi]
mov ecx, dword [eax + 8]
lea eax, [ecx - 0x3c]
mov dword [ecx + edi - 4], eax
lea eax, [edi + 0x18]
mov dword [ebp - 0x1c], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 0xf
mov dword [edi + 0x28], ebx
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 0x10