joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42552b
Capabilities:
Create thread

Disassembly:
mov eax, 0x476da4
call fcn.004680bc
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x14], edi
lea ebx, [esi + 0x14]
jne 0x4255c8
push str.UIManagerStarted
push edi
push edi
push edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], eax
lea eax, [esi + 0x10]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x18]
push edi
push eax
push 0x4252b2
push edi
push edi
call fcn.00469114
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xc]
add esp, 0x18
cmp eax, dword [ebp - 0x14]
je 0x42558e
cmp eax, edi
je 0x425588
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], edi
mov eax, dword [ebp - 0x14]
mov dword [esi + 0xc], eax
push 0x7530
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push 0x47f070
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoGetInterfaceAndReleaseStream]
mov eax, dword [ebx]
push dword [esi + 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10], edi
je 0x4255c8
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebx]
push dword [ebp + 8]
mov eax, dword [ebx]
push 0x47f070
push ebx
call dword [eax]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x42936f
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x477370
call fcn.004680bc
sub esp, 0x114
push ebx
push esi
xor esi, esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esi
push 0x2001f
lea ecx, [ebp - 0x10]
push dword [ebp + 8]
mov dword [ebp - 4], esi
push dword [ebx]
call fcn.0042929e
mov edi, eax
cmp edi, esi
je 0x4293b9
cmp dword [ebp - 0x10], esi
je 0x4293b2
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x429456
lea eax, [ebp - 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x14], 0x100
push eax
push esi
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x42942a
lea eax, [ebp - 0x120]
lea ecx, [ebp - 0x10]
push eax
call fcn.0042936f
cmp eax, esi
mov dword [ebp - 0x18], eax
jne 0x429417
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 0x100
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
push eax
push esi
push dword [ebp - 0x10]
jmp 0x4293dc
cmp dword [ebp - 0x10], esi
je 0x429425
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
jmp 0x429456
cmp dword [ebp - 0x10], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x42943d
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp dword [ebp - 0x10], esi
mov ebx, eax
je 0x429454
push dword [ebp - 0x10]
call edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x431170
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 0xffffffff
mov esi, ecx
jne 0x431183
xor eax, eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4311b7
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.00463ae9
test al, al
jne 0x4311ea
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.004187ab
lea eax, [ebp - 0x4c]
push 0x485560
push eax
call fcn.004680db
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4311ea
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.00407d0e
lea eax, [ebp - 0x48]
push 0x481f68
push eax
call fcn.004680db
mov eax, dword [ebp + 8]
pop esi
leave
ret 8
Function at 0x431213
Capabilities:
Delete file

Disassembly:
mov eax, 0x478105
call fcn.004680bc
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi - 4], 0x47ee3c
mov dword [esi], 0x47ee38
mov dword [ebp - 4], 5
call fcn.00418f21
cmp dword [esi + 0xcc], 0
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
je 0x43125b
lea ecx, [esi + 0xc0]
call fcn.00406608
push eax
call edi
cmp dword [esi + 0xf4], 0
je 0x431272
lea ecx, [esi + 0xe8]
call fcn.00406608
push eax
call edi
mov eax, dword [esi + 0x118]
mov byte [ebp - 4], 4
test eax, eax
je 0x431286
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x114]
mov byte [ebp - 4], 3
test eax, eax
je 0x43129a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esi + 0xe8]
mov byte [ebp - 4], 2
call fcn.00407421
lea ecx, [esi + 0xc0]
mov byte [ebp - 4], 1
call fcn.00407421
and byte [ebp - 4], 0
lea ecx, [esi + 0x98]
call fcn.00407421
lea edi, [esi - 4]
neg edi
sbb edi, edi
and edi, esi
mov dword [ebp - 0x10], edi
mov dword [edi], 0x47ed94
mov ecx, edi
mov dword [ebp - 4], 6
call fcn.00418f21
or dword [ebp - 4], 0xffffffff
lea ecx, [edi + 0xc]
call fcn.00407421
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x431648
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
call fcn.00406608
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x43167f
push 1
lea ecx, [ebp - 0x48]
push dword [ebp + 8]
call fcn.00407d0e
lea eax, [ebp - 0x48]
push 0x481f68
push eax
call fcn.004680db
leave
ret

Function at 0x4318ee
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
push esi
mov ebp, ecx
push 0
call fcn.0041dda8
pop ecx
test al, al
pop ecx
je 0x431948
mov ecx, esi
call fcn.00406608
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
mov ecx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00406608
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push eax
call edi
test eax, eax
jne 0x431948
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, ebp
call fcn.0043194f
push ebx
mov ecx, esi
call fcn.00406608
push eax
jmp 0x431928
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x4376e0
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
push esi
push dword [esp + 0x1c]
mov ebp, ecx
call fcn.0041dda8
pop ecx
test al, al
pop ecx
je 0x437742
mov ecx, esi
call fcn.00406608
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
mov ecx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00406608
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push eax
call edi
test eax, eax
jne 0x437742
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push esi
mov ecx, ebp
call fcn.0043759d
push ebx
mov ecx, esi
call fcn.00406608
push eax
jmp 0x43771c
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x437749
Capabilities:
Delete file

Disassembly:
mov eax, 0x478cfc
call fcn.004680bc
push esi
push edi
mov edi, ecx
push dword [ebp + 0x34]
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
call fcn.004376e0
lea ecx, [ebp + 8]
call fcn.00406608
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call esi
test eax, eax
jne 0x4377a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x4377a9
cmp eax, 2
je 0x4377a9
push dword [ebp + 0x34]
mov ecx, edi
push eax
lea eax, [ebp + 8]
push dword [ebp + 0x30]
push eax
call fcn.0043759d
lea ecx, [ebp + 8]
call fcn.00406608
push eax
jmp 0x437776
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00407421
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 0x30

Function at 0x43aac5
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x4791b8
call fcn.004680bc
push ecx
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4804c0
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x14], ebx
mov al, byte [ebp - 0xd]
lea ecx, [esi + 0x1c]
mov dword [esi + 0x18], ebx
mov byte [ebp - 4], 1
mov byte [ecx], al
mov al, byte [ebp - 0xd]
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.0043ac01
lea eax, [ebp - 0xd]
push 1
push eax
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call fcn.0040561b
lea eax, [ebp - 0xe]
push 1
push eax
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 3
call fcn.0040561b
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x84], bl
mov dword [esi], 0x480328
mov dword [esi + 4], 0x480318
mov dword [esi + 8], 0x480300
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4495a1
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x47a8a0
call fcn.004680bc
sub esp, 0x130
push ebx
push esi
push edi
xor edi, edi
push edi
push 0x80
push 2
push edi
push edi
push 0x40000000
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
mov dword [ebp - 4], edi
mov ebx, 0x80070000
jne 0x449615
call esi
test eax, eax
jg 0x4495f1
call esi
jmp 0x4495fa
call esi
and eax, 0xffff
or eax, ebx
cmp eax, edi
jge 0x449615
push eax
lea ecx, [ebp - 0x38]
call fcn.00407899
lea eax, [ebp - 0x38]
push 0x482280
push eax
call fcn.004680db
mov dword [ebp - 0x14], edi
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 0x104
push eax
lea eax, [ebp - 0x13c]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.msi.dll_MsiRecordSetStringA
mov edi, eax
test edi, edi
jne 0x4496a1
cmp dword [ebp + 0x10], eax
je 0x449692
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x13c]
push dword [ebp + 0x10]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x449673
call esi
test eax, eax
jg 0x449666
call esi
jmp 0x44966f
call esi
and eax, 0xffff
or eax, ebx
test eax, eax
jl 0x4496c8
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 0x10]
je 0x449692
call esi
test eax, eax
jg 0x449685
call esi
jmp 0x44968e
call esi
and eax, 0xffff
or eax, ebx
test eax, eax
jl 0x4496df
mov eax, dword [ebp + 0x10]
add dword [ebp - 0x14], eax
test eax, eax
jbe 0x4496f6
jmp 0x449618
mov esi, edi
and edi, 0xf7ff
or edi, 0x80040800
neg esi
sbb esi, esi
and esi, edi
cmp dword [ebp - 0x10], 0xffffffff
je 0x4496c4
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x449707
push eax
lea ecx, [ebp - 0x38]
call fcn.00407899
lea eax, [ebp - 0x38]
push 0x482280
push eax
call fcn.004680db
push eax
lea ecx, [ebp - 0x38]
call fcn.00407899
lea eax, [ebp - 0x38]
push 0x482280
push eax
call fcn.004680db
cmp dword [ebp - 0x10], 0xffffffff
je 0x449705
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x449716
Capabilities:
Reference sql statements

Disassembly:
mov eax, 0x47a8bf
call fcn.004680bc
sub esp, 0x408
push esi
push edi
lea eax, [ebp - 0x410]
xor edi, edi
push 0x49f938
push eax
mov dword [ebp - 0x414], edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp + 0x10]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], edi
push str.SELECT__FROM__Binary__WHERE__Name___s
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x414]
push eax
call fcn.00449468
add esp, 0x14
cmp eax, edi
je 0x44977a
and eax, 0xf7ff
or eax, 0x80040800
jmp 0x44978a
push dword [ebp + 0xc]
push 2
push dword [ebp - 0x10]
call fcn.004495a1
add esp, 0xc
cmp dword [ebp - 0x10], edi
mov esi, eax
je 0x449799
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x414], edi
je 0x4497ac
push dword [ebp - 0x414]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4498b7
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x47a8f0
call fcn.004680bc
push ecx
push esi
xor esi, esi
push edi
mov dword [ebp - 0x10], esi
xor eax, eax
cmp dword [ebp + 0xc], esi
push 0x20019
push str.SOFTWAREInstallShieldDriver1150Intel32
setne al
add eax, 0x80000001
lea ecx, [ebp - 0x10]
push eax
mov dword [ebp - 4], esi
call fcn.0042929e
mov edi, eax
cmp edi, esi
jne 0x449910
push dword [ebp + 0x10]
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], esi
push dword [ebp + 8]
push eax
push esi
push 0x4986b0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
cmp dword [ebp - 0x10], esi
je 0x44991e
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x449e1c
Capabilities:
Reference sql statements

Disassembly:
mov eax, 0x47a9a7
call fcn.004680bc
sub esp, 0x43c
push ebx
push esi
push dword [ebp + 0x10]
push dword [ebp + 8]
call sub.msi.dll_MsiPreviewBillboardA
xor ebx, ebx
mov esi, eax
cmp byte [ebp + 0xc], bl
je 0x449f99
cmp esi, 0x666
jne 0x449f99
push str.msi.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x449e85
push str.MsiOpenPackageExA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [0x49864c], eax
je 0x449e85
push dword [ebp + 0x10]
push 1
push dword [ebp + 8]
call eax
jmp 0x449f9b
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ebx
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x10], ebx
call sub.msi.dll_MsiOpenProductA
mov esi, eax
cmp esi, ebx
jne 0x449f8c
lea eax, [ebp + 0xf]
push 1
push eax
lea ecx, [ebp - 0x44]
call fcn.0040561b
mov dword [ebp + 8], ebx
lea eax, [ebp - 0x444]
push 0x49f938
push eax
mov dword [ebp - 0x448], ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [ebp + 8], ebx
mov byte [ebp - 4], 3
je 0x449edc
push dword [ebp + 8]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea eax, [ebp + 8]
push str.SELECT__Value__FROM__Property__WHERE__Property___ProductCode
push eax
lea eax, [ebp - 0x448]
push dword [ebp - 0x10]
mov dword [ebp + 8], ebx
push eax
call fcn.00449468
mov esi, eax
add esp, 0x10
cmp esi, ebx
jne 0x449f61
mov eax, 0x800
lea ecx, [ebp - 0x44]
mov dword [ebp + 0xc], eax
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040581b
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 4
call fcn.0040653c
lea ecx, [ebp + 0xc]
mov dword [esi + 8], eax
push ecx
push eax
push 1
push dword [ebp + 8]
call sub.msi.dll_MsiRecordSetInteger
lea ecx, [ebp - 0x1c]
mov esi, eax
mov byte [ebp - 4], 3
call fcn.00405861
cmp esi, ebx
jne 0x449f61
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
push dword [ebp + 0x10]
lea ecx, [ebp - 0x44]
call fcn.0040653c
push eax
call sub.msi.dll_MsiPreviewDialogA
mov esi, eax
cmp dword [ebp - 0x448], ebx
je 0x449f74
push dword [ebp - 0x448]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp + 8], ebx
je 0x449f81
push dword [ebp + 8]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.00407421
cmp dword [ebp - 0x10], ebx
je 0x449f99
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x44a1ca
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
and dword [ebp - 0x404], 0
lea eax, [ebp - 0x400]
push 0x49f938
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp + 0xc]
lea eax, [ebp - 0x404]
push str.SELECT__FROM__CustomAction__WHERE__Action____s
push dword [ebp + 0x10]
push dword [ebp + 8]
push eax
call fcn.00449468
add esp, 0x14
test eax, eax
jne 0x44a224
cmp dword [ebp - 0x404], eax
je 0x44a220
push dword [ebp - 0x404]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov al, 1
leave
ret
cmp dword [ebp - 0x404], 0
je 0x44a238
push dword [ebp - 0x404]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
xor al, al
leave
ret
Function at 0x44a23c
Capabilities:
Delete file

Disassembly:
mov eax, 0x47a9e3
call fcn.004680bc
sub esp, 0x7c
push ebx
push esi
push edi
lea eax, [ebp - 0xd]
push 1
push eax
push dword [ebp + 0x10]
lea ecx, [ebp - 0x88]
call fcn.0040572c
lea eax, [ebp - 0xe]
push 1
xor edi, edi
push eax
push str..dll
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], edi
call fcn.0040572c
push dword [0x47e4c4]
lea eax, [ebp - 0x60]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x5c]
and eax, ecx
push edi
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 1
call fcn.00408b32
and byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00407421
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x38]
push dword [ebp + 0x18]
push eax
call fcn.004170cd
lea eax, [ebp - 0x38]
push 0xc
push eax
mov byte [ebp - 4], 2
call fcn.0041859e
mov ebx, dword [ebp + 8]
add esp, 0x14
test al, al
jne 0x44a302
push dword [ebp + 0x10]
lea ecx, [ebp - 0x38]
call fcn.00406608
push eax
push ebx
call fcn.00449716
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x44a302
push esi
push str.Failed_to_extract_Binary_for_DLL_CA__error_is__d
push ebx
call fcn.0044954e
add esp, 0xc
jmp 0x44a3c3
push 8
push edi
lea ecx, [ebp - 0x38]
call fcn.00406608
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
mov dword [ebp + 0x10], eax
jne 0x44a341
call esi
test eax, eax
je 0x44a341
call esi
push eax
push str.Could_find_function_in_DLL__error_is__d
push ebx
call fcn.0044954e
add esp, 0xc
call esi
mov esi, eax
jmp 0x44a3c3
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
mov dword [0x498650], eax
jne 0x44a35c
call esi
test eax, eax
jne 0x44a327
push dword [ebp + 0xc]
call dword [0x498650]
mov edi, eax
test edi, edi
je 0x44a37e
push edi
push str.Custom_Action_Call_failed__error_is__d
push ebx
call fcn.0044954e
add esp, 0xc
mov esi, edi
jmp 0x44a3c3
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
jne 0x44a39b
call esi
test eax, eax
je 0x44a39b
call esi
push eax
push str.Could_free_module_for_CA_DLL__error_is__d
jmp 0x44a32f
lea ecx, [ebp - 0x38]
call fcn.00406608
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x44a3c1
call esi
test eax, eax
je 0x44a3c1
call esi
push eax
push str.Could_delete_CA_DLL__error_is__d
jmp 0x44a32f
xor esi, esi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.00407421
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.00407421
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x44aac0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp eax, edi
mov dword [esi + 0x88], eax
jne 0x44aadf
xor al, al
jmp 0x44aaf9
lea eax, [esp + 8]
push eax
push edi
push esi
push 0x44aafd
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ecx
ret
Function at 0x44ad47
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push esi
lea eax, [ebp - 8]
push edi
push eax
lea eax, [ebp - 4]
xor esi, esi
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push str.SoftwareInstallShield
push SysReAllocStringLen
xor edi, edi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
jne 0x44ad81
mov edi, dword [ebp - 4]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x808]
push dword [ebp + 8]
push eax
call fcn.004683bb
add esp, 0xc
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x808]
push eax
push 1
push esi
push str.IDriverInit
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp edi, esi
je 0x44adc7
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
leave
ret
Function at 0x44b874
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
lea eax, [ebp + 8]
push edi
push eax
lea eax, [ebp - 4]
xor esi, esi
mov ecx, dword [ecx]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
jne 0x44b8a8
mov edi, dword [ebp - 4]
xor eax, eax
cmp eax, esi
mov ebx, eax
jne 0x44b8cb
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 0x10]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
cmp edi, esi
je 0x44b8d6
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret 0xc

Function at 0x44b8df
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp + 0xc]
push edi
push eax
lea eax, [ebp - 8]
xor esi, esi
push eax
push esi
push 2
push esi
push esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
jne 0x44b964
xor eax, eax
cmp dword [ebp - 4], esi
je 0x44b920
push dword [ebp - 4]
call edi
mov ecx, dword [ebp - 8]
cmp eax, esi
mov dword [ebp - 4], ecx
jne 0x44b964
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp + 0x10]
push 1
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
lea ecx, [ebp - 4]
push dword [ebp + 8]
push str.CLSID
call fcn.0044b874
cmp dword [ebp - 4], esi
je 0x44b960
push dword [ebp - 4]
call edi
xor eax, eax
jmp 0x44b982
cmp eax, esi
push ebx
jle 0x44b973
and eax, 0xffff
or eax, 0x80070000
cmp dword [ebp - 4], esi
mov ebx, eax
je 0x44b97f
push dword [ebp - 4]
call edi
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret