joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e639
Capabilities:
Set registry value

Disassembly:
push 0x1c
mov eax, 0x453de5
call fcn.0043bfe8
cmp byte [ebx + 0xcc], 0
jne 0x40e77e
mov eax, dword [ebx + 0xa8]
xor esi, esi
cmp eax, esi
je 0x40e685
cmp dword [ebx + 0xa4], esi
mov edx, dword [ebx + 0x19c]
push esi
je 0x40e674
push str.InstallBroken
jmp 0x40e679
push str.InstallCancelled
call fcn.00406328
pop ecx
pop ecx
jmp 0x40e777
lea ecx, [ebp - 0x24]
call fcn.00406380
mov dword [ebp - 4], esi
push dword [ebx + 0xbc]
lea eax, [ebp - 0x24]
push str.SOFTWARESlimWare_Utilities_Inc_sRegistration
push eax
call fcn.0040242a
add esp, 0xc
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 1
push dword [ebp - 0x24]
lea edi, [ebp - 0x28]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00409c9f
cmp eax, esi
jne 0x40e732
push str.LI_UPDATE
mov ecx, 0x473b2c
call fcn.004178a0
test eax, eax
je 0x40e6ec
lea eax, [ebx + 0xe0]
push 0x45aa54
push eax
call fcn.0040f58a
test eax, eax
pop ecx
pop ecx
je 0x40e732
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x10
lea eax, [ebp - 0x20]
push eax
push 3
push esi
push str.InstallationID
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x40e732
lea eax, [ebx + 0xe0]
lea esi, [ebp - 0x20]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [0x473b28]
test ecx, ecx
je 0x40e74a
push eax
call fcn.004133ef
xor esi, esi
mov ecx, dword [0x473b28]
cmp ecx, esi
je 0x40e74c
push 1
push str.InstallerFinished
call fcn.0041348d
jmp 0x40e74c
xor esi, esi
mov eax, dword [ebx + 0x19c]
push esi
push str.InstallFinished
call fcn.00406315
pop ecx
pop ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00406962
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00401b5d
mov byte [ebx + 0xcc], 1
call fcn.0043c06b
ret

Function at 0x40e784
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.0043066e
push dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x40e7a5
xor eax, eax
jmp 0x40e7b8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40e7a1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
pop esi
pop ebp
ret 8

Function at 0x40ea05
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, eax
test esi, esi
push edi
je 0x40ea3c
mov ebx, ecx
add ebx, 0x19c
mov edi, dword [ebx]
test edi, edi
je 0x40ea31
call fcn.00409f34
mov edx, dword [ebx]
push 0
push str.InstallBroken
call fcn.00406328
pop ecx
pop ecx
mov eax, dword [esi]
push 0
push 0
mov ecx, esi
call dword [eax + 0x14]
push 1
call fcn.004385fd
int3
Function at 0x40f671
Capabilities:
Delete file

Disassembly:
push 4
mov eax, 0x4532cd
call fcn.0043bf7e
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CProgressPage.0
mov dword [ebp - 4], 3
xor edi, edi
cmp dword [esi + 0x118], edi
je 0x40f6b9
lea ebx, [esi + 0x110]
mov eax, edi
mov ecx, ebx
call fcn.00409ce4
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc edi
cmp edi, dword [esi + 0x118]
jne 0x40f69f
mov byte [ebp - 4], 2
lea ecx, [esi + 0x178]
call fcn.00430754
mov byte [ebp - 4], 1
lea ecx, [esi + 0x124]
call fcn.00430754
mov byte [ebp - 4], 0
lea ecx, [esi + 0x110]
call fcn.0043153f
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00410d54
call fcn.0043c057
ret

Function at 0x40fbcc
Capabilities:
Delete file
Move file

Disassembly:
push 4
mov eax, 0x450dae
call fcn.0043bf7e
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.RememberTempFile.0
mov dword [ebp - 4], 1
lea esi, [edi + 4]
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x40fc0e
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40fc0e
mov eax, dword [esi]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.00401b5d
or dword [ebp - 4], 0xffffffff
mov dword [edi], vtable.CProgressPageProxy::Caller.0
call fcn.0043c057
ret
Function at 0x41401c
Capabilities:
Get common file path

Disassembly:
push 0x28
mov eax, 0x4514b5
call fcn.0043bfb1
mov edi, ecx
lea ecx, [ebp - 0x34]
call fcn.0042c7cd
and dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0xc]
call fcn.004016f6
and dword [edi], 0
lea ecx, [ebp - 0x14]
call fcn.00406380
mov byte [ebp - 4], 2
mov esi, 0x105
push esi
lea ecx, [ebp - 0x14]
call fcn.00409e2b
mov dword [ebp - 0x20], eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x414092
call fcn.004033f1
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00401b5d
or dword [ebp - 4], 0xffffffff
call fcn.0042c7e3
mov eax, esi
call fcn.0043c057
ret
or ebx, 0xffffffff
push ebx
lea ecx, [ebp - 0x14]
call fcn.00405628
lea ecx, [ebp - 0x18]
call fcn.00406380
mov byte [ebp - 4], 3
push esi
lea ecx, [ebp - 0x18]
call fcn.00409e2b
mov esi, eax
push esi
push 0
push dword [ebp + 8]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x4140ec
call fcn.004033f1
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00401b5d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00401b5d
mov dword [ebp - 4], ebx
jmp 0x414085
push ebx
lea ecx, [ebp - 0x18]
call fcn.00405628
lea eax, [ebp - 0x1c]
push eax
call fcn.004160ea
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1c]
push eax
push 0
push 1
push 0x80
push 0x1041
push esi
call dword [sym.imp.SHLWAPI.dll_SHCreateStreamOnFileEx]
mov dword [ebp - 0x24], eax
test eax, eax
jge 0x414157
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
push eax
call fcn.004152bc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00401b5d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00401b5d
mov dword [ebp - 4], ebx
call fcn.0042c7e3
mov eax, dword [ebp - 0x24]
jmp 0x41408c
mov eax, dword [ebp - 0x1c]
mov dword [edi], eax
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
push esi
mov ecx, dword [ebp + 0xc]
call fcn.00401640
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
push eax
call fcn.004152bc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00401b5d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00401b5d
mov dword [ebp - 4], ebx
call fcn.0042c7e3
xor eax, eax
jmp 0x41408c

Function at 0x4141d3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
push 0x40
xor esi, esi
lea eax, [ebp - 0x50]
push esi
push eax
mov dword [ebp - 0x54], 0x44
call fcn.00436bb0
mov ecx, dword [ebp + 8]
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push 0x1000000
push esi
push esi
push esi
call fcn.00409b1d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
mov ebx, eax
call fcn.00405628
cmp edi, esi
jne 0x414232
xor eax, eax
jmp 0x414245
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x414686
Capabilities:
Get installed programs
Query or enumerate registry key

Disassembly:
push 0x240
mov eax, 0x452209
call fcn.0043bfe8
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x248], ebx
xor esi, esi
inc esi
mov dword [ebp - 4], esi
lea edi, [ebp + 0xc]
call fcn.0040e06c
mov ecx, dword [ebp - 0x22c]
push 0x45b10c
call fcn.0040154d
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x248], esi
call fcn.0040154d
mov byte [ebp - 4], 2
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x21c]
push eax
push 0x20019
push ebx
push dword [ebp - 0x230]
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp eax, ebx
jne 0x4148a2
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x224]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [ebp - 0x224], ebx
je 0x4148a2
mov dword [ebp - 0x228], ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x228]
mov dword [ebp - 0x224], 0x104
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebx
mov dword [ebp - 0x23c], eax
jne 0x414886
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x238]
call fcn.0040154d
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x220]
call fcn.00406380
mov byte [ebp - 4], 4
lea eax, [ebp - 0x234]
push eax
push 0xf003f
push ebx
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
call esi
cmp eax, ebx
jne 0x414868
push ecx
mov ecx, esp
mov dword [ebp - 0x244], esp
push str.DisplayName
call fcn.0040154d
mov byte [ebp - 4], 5
push dword [ebp - 0x234]
mov byte [ebp - 4], 4
lea edi, [ebp - 0x24c]
call fcn.004145eb
pop ecx
pop ecx
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x220]
call fcn.00401afd
mov byte [ebp - 4], 4
mov ecx, edi
call fcn.00401b5d
lea edi, [ebp - 0x220]
call fcn.0040e06c
push dword [ebp + 0xc]
mov ecx, edi
call fcn.00401e61
test eax, eax
jne 0x414868
push ecx
mov ecx, esp
mov dword [ebp - 0x244], esp
push str.UninstallString
call fcn.0040154d
mov byte [ebp - 4], 7
push dword [ebp - 0x234]
mov byte [ebp - 4], 4
lea edi, [ebp - 0x240]
call fcn.004145eb
pop ecx
pop ecx
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x22c]
push eax
call fcn.00401ae8
mov byte [ebp - 4], 4
mov ecx, edi
call fcn.00401b5d
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x220]
call fcn.00401b5d
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x238]
call fcn.00401b5d
inc dword [ebp - 0x228]
cmp dword [ebp - 0x23c], ebx
mov dword [ebp - 0x224], 0x104
je 0x414738
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.00401b5d
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.00401b5d
mov eax, dword [ebp - 0x22c]
call fcn.0043c06b
ret
Function at 0x4148d4
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x22c
mov eax, 0x452d1f
call fcn.0043bfe8
xor esi, esi
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [ebp - 0x21c], esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x224]
push eax
push 0x20019
push esi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x224], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x4149e9
lea ecx, [ebp - 0x21c]
call fcn.00406962
cmp eax, esi
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 0x21c], ecx
jne 0x4149e9
lea eax, [ebp - 0x230]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push ecx
mov dword [ebp - 0x220], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x228], 1
jmp 0x4149e5
cmp word [ebp - 0x218], 0x76
jne 0x4149ab
lea eax, [ebp - 0x216]
push eax
lea ebx, [ebp - 0x230]
call fcn.00416425
mov ecx, dword [ebp - 0x22c]
cmp ecx, dword [edi + 4]
jb 0x4149ab
mov eax, dword [ebp - 0x230]
ja 0x4149a6
cmp eax, dword [edi]
jbe 0x4149ab
mov dword [edi], eax
mov dword [edi + 4], ecx
lea eax, [ebp - 0x238]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x228]
mov dword [ebp - 0x220], 0x104
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
inc dword [ebp - 0x228]
cmp eax, esi
je 0x414973
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00406962
mov eax, edi
call fcn.0043c06b
ret
Function at 0x414a00
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x22c
mov eax, 0x452cec
call fcn.0043bfe8
xor ebx, ebx
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP
lea ecx, [ebp - 0x230]
mov byte [ebp - 0x219], bl
call fcn.0040154d
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x22c]
push eax
push 0x20019
push ebx
push dword [ebp - 0x230]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x414b3c
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x224]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [ebp - 0x224], ebx
je 0x414b3c
mov dword [ebp - 0x228], ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x228]
mov dword [ebp - 0x224], 0x104
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
cmp edi, ebx
jne 0x414b24
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x220]
call fcn.0040154d
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax - 0xc]
cmp ecx, ebx
jle 0x414b16
movzx eax, word [eax]
cmp ax, 0x76
jne 0x414b16
push 0x76
lea eax, [ebp - 0x220]
push eax
call fcn.00411c70
push dword [ebp - 0x220]
lea ebx, [ebp - 0x238]
call fcn.00416425
mov eax, dword [ebp - 0x234]
shr eax, 0x10
xor ebx, ebx
cmp ax, 2
jne 0x414b16
mov byte [ebp - 0x219], 1
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x220]
call fcn.00401b5d
inc dword [ebp - 0x228]
cmp edi, ebx
mov dword [ebp - 0x224], 0x104
je 0x414a7f
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00401b5d
mov al, byte [ebp - 0x219]
call fcn.0043c06b
ret
Function at 0x414bd6
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push 0x220
mov eax, 0x45141c
call fcn.0043bfe8
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], edi
xor esi, esi
inc esi
mov dword [ebp - 4], esi
mov ecx, ebx
call fcn.00406380
mov dword [ebp - 0x228], esi
call fcn.004144cb
test al, al
je 0x414cfb
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.00401afd
push str.SOFTWAREMicrosoftWindowsCurrentVersion
lea ecx, [ebp - 0x224]
call fcn.0040154d
mov byte [ebp - 4], 2
mov dword [ebp - 0x220], edi
mov byte [ebp - 4], 3
lea eax, [ebp - 0x21c]
push eax
push 0x20119
push edi
push dword [ebp - 0x224]
mov dword [ebp - 0x21c], edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x414cdb
lea ecx, [ebp - 0x220]
call fcn.00406962
cmp eax, edi
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x220], ecx
jne 0x414cdb
push str.ProgramFilesDir
lea eax, [ebp - 0x220]
push eax
lea esi, [ebp - 0x21c]
lea edi, [ebp - 0x218]
mov dword [ebp - 0x21c], 0x104
call fcn.004068fb
test eax, eax
jne 0x414cdb
mov eax, edi
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040154d
mov byte [ebp - 4], 4
push dword [eax]
push str._ProgramFiles_
push ebx
call fcn.0040992b
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x21c]
call fcn.00401b5d
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x220]
call fcn.00406962
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x224]
call fcn.00401b5d
xor edi, edi
mov eax, dword [ebx]
cmp dword [eax - 0xc], edi
je 0x414d0d
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x414d2f
mov esi, dword [ebp + 8]
mov eax, 0x3fff
push eax
push eax
mov ecx, ebx
call fcn.00409e2b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0xffffffffffffffff
mov ecx, ebx
call fcn.00405628
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401b5d
mov eax, ebx
call fcn.0043c06b
ret
Function at 0x415239
Capabilities:
Identify system language via api

Disassembly:
push 8
mov eax, 0x45025b
call fcn.0043bf7e
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
push str.en_us
call fcn.0041634f
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 2
lea eax, [ebp - 0x10]
push eax
push 0x45f610
push 0x17
push edi
push 0x45aa64
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
jl 0x4152a3
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
push dword [ebp + 8]
mov ebx, eax
add esi, 0x34
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
push ebx
call dword [esi]
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x4152b3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
call fcn.0043c057
ret
Function at 0x417420
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
cmp byte [eax + 0x29], 0
je 0x41743a
mov eax, 1
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push edi
xor edi, edi
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 8]
push edx
push edi
push 0x2001f
push edi
push edi
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call ebx
cmp eax, edi
jne 0x417472
mov ecx, dword [ebp - 8]
xor eax, eax
mov dword [ebp - 4], ecx
cmp eax, edi
push esi
mov esi, eax
jne 0x417592
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push str.InstallerData
push ecx
mov dword [ebp - 0xc], edi
call ebx
test eax, eax
jne 0x4174a7
mov edi, dword [ebp - 0xc]
test eax, eax
mov esi, eax
jne 0x417587
push 0xfffe
mov dword [ebp + 0xc], eax
call fcn.004373b4
add esp, 4
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x4174f6
lea edx, [ebp + 0xc]
push edx
call fcn.00412c06
test edi, edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x4174de
push edi
call esi
mov eax, dword [ebp - 4]
test eax, eax
je 0x4174e8
push eax
call esi
pop esi
pop edi
mov eax, 0x8007000e
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x28], 0
jne 0x41756c
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0x10], 0x7fff
jmp 0x417513
mov eax, dword [ebp + 0xc]
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x10]
push edx
push eax
push 0
push edi
call ebx
mov esi, eax
test esi, esi
jne 0x41756c
mov eax, dword [ebp + 0xc]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x417510
call fcn.00410c20
lea ecx, [ebp + 0xc]
push ecx
mov esi, eax
call fcn.00412c06
test edi, edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x417557
push edi
call ebx
mov eax, dword [ebp - 4]
test eax, eax
je 0x4175a9
push eax
call ebx
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
add ecx, 0x10
mov dword [ebp - 0x10], ecx
call fcn.00417ec0
test eax, eax
jne 0x4175b7
lea edx, [ebp + 0xc]
push edx
call fcn.00412c06
test edi, edi
je 0x417592
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
call fcn.00410c20
mov esi, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4175a9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
push edx
mov ebx, eax
call fcn.00418070
cmp dword [ebx + 0xc], 0
mov dword [ebp + 8], eax
je 0x4175f3
mov esi, dword [ebx + 4]
test esi, esi
mov ebx, dword [ebx]
je 0x4175fb
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
jne 0x417605
cmp dword [ebp + 8], 0
jne 0x4175b4
jmp 0x41757e
push 0x80004005
call fcn.004017ce
mov eax, esi
jmp 0x41753a
Function at 0x4188a0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 4]
push 0
push eax
push ecx
push 2
push 0
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
mov dword [esi + 8], eax
jne 0x4188da
call fcn.004033f1
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
push 0
push ecx
mov dword [esi + 0x10], 0
mov edx, dword [esi + 0x10]
push edx
mov dword [esi + 4], ecx
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x14]
push ecx
push 4
push eax
mov dword [esi + 0x18], 4
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
test eax, eax
mov dword [esi], eax
jne 0x41892e
call fcn.004033f1
mov edx, dword [esi + 8]
push edx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4192c0
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
mov ax, word [ebp + 0xc]
sub esp, 8
push esi
xor esi, esi
cmp ax, si
je 0x4192e4
cmp ax, 1
je 0x4192e4
mov eax, 0x80004001
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [0x4738e0]
mov edx, dword [eax + 0xc]
push ebx
push edi
mov ecx, 0x4738e0
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call edx
mov ebx, dword [ebp + 8]
mov edi, eax
add edi, 0x10
cmp dword [ebx + 0x44], esi
mov dword [ebp + 0x18], edi
je 0x4193c9
mov edx, dword [ebx + 0x48]
xor eax, eax
cmp edx, esi
jbe 0x41932f
mov esi, dword [ebx + 0x40]
mov ecx, esi
lea ecx, [ecx]
cmp dword [ecx], 0
jne 0x419342
add eax, 1
add ecx, 4
cmp eax, edx
jb 0x419320
xor eax, eax
test eax, eax
mov esi, eax
je 0x4193a8
test esi, esi
mov edx, esi
mov dword [ebp + 8], edx
jne 0x419347
jmp 0x41937e
mov eax, dword [esi + eax*4]
jmp 0x419331
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x41937c
mov edi, dword [ebx + 0x48]
mov eax, dword [esi + 0xc]
xor edx, edx
div edi
add edx, 1
jmp 0x419360
cmp edx, edi
jae 0x419379
mov eax, dword [ebx + 0x40]
cmp dword [eax + edx*4], 0
lea eax, [eax + edx*4]
je 0x419372
mov ecx, dword [eax]
add edx, 1
test ecx, ecx
je 0x419360
mov edx, dword [ebp + 8]
mov esi, ecx
mov eax, dword [edx]
cmp dword [eax - 0xc], 0
je 0x4193a1
mov ecx, dword [edx + 4]
cmp dword [ecx - 0xc], 0
je 0x4193a1
push ecx
push eax
push str._s:__s_r_n
lea edi, [ebp + 0x18]
call fcn.0041a540
add esp, 0xc
test esi, esi
jne 0x419337
mov edi, dword [ebp + 0x18]
mov eax, dword [edi - 0xc]
test eax, eax
je 0x4193c9
cmp dword [edi - 4], 1
mov dword [ebp - 4], eax
jle 0x4193c6
mov ecx, eax
push ecx
lea ecx, [ebp + 0x18]
call fcn.00401860
mov edi, dword [ebp + 0x18]
mov dword [ebp - 8], edi
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [ebx + 0x80]
push 0
push 0
push 0
push 0
push edx
push eax
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x4193fd
mov ecx, dword [ebx + 0x80]
push 0
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x41942b
call fcn.004033f1
mov esi, eax
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x419420
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x14
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419447
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x14