joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42672d
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x4b42dc]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push ebx
mov dword [ebp - 0x80], eax
mov eax, dword [0x4b5980]
xor ebx, ebx
mov dword [ebp - 0x78], ebx
cmp dword [eax - 0xc], ebx
jne 0x426885
push esi
push edi
push 0x100
lea eax, [ebp - 0x6c]
push eax
push ebx
mov dword [ebp - 0x7c], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
mov esi, 0x4b5990
cmp edi, ebx
je 0x426878
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
push edi
push dword [ebp - 0x7c]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x6c]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.VarFileInfoTranslation
lea eax, [ebp + 0x94]
push eax
call edi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x94]
push eax
push dword [ebp - 0x78]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x426811
cmp dword [ebp - 0x74], ebx
je 0x426811
mov eax, dword [ebp - 0x70]
cmp eax, ebx
je 0x426811
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
push str._04x_04x
push esi
call fcn.00464c12
add esp, 0x10
jmp 0x426819
push str.041904b0
push esi
call edi
push esi
lea eax, [ebp + 0x94]
push str.StringFileInfo_s_
push eax
call fcn.00464c12
add esp, 0xc
push 0x494d30
lea eax, [ebp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x94]
push eax
push dword [ebp - 0x78]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x426870
cmp dword [ebp - 0x74], ebx
je 0x426870
cmp dword [ebp - 0x70], ebx
je 0x426870
push dword [ebp - 0x70]
jmp 0x426875
push str.bootstrapper
push esi
call edi
push esi
mov ecx, 0x4b5980
call fcn.00403a25
pop edi
pop esi
mov ecx, dword [ebp - 0x80]
push 0x4b5980
call fcn.004036d1
mov ecx, dword [ebp + 0x194]
mov eax, dword [ebp - 0x80]
xor ecx, ebp
pop ebx
call fcn.00462267
add ebp, 0x198
leave
ret
Function at 0x4269f6
Capabilities:
Check os version

Disassembly:
push ebp
sub esp, 0x94
lea ebp, [esp - 4]
mov eax, dword [0x4b42dc]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 8
mov eax, 0x48373a
call fcn.00462276
mov ebx, dword [ebp + 0xa0]
xor edi, edi
push str.Unknown
mov ecx, ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], edi
call fcn.00404253
push 0x94
lea eax, [ebp]
push edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], 1
call fcn.00461bc0
add esp, 0xc
lea eax, [ebp]
push eax
mov dword [ebp], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp + 4], 5
jne 0x426a84
cmp dword [ebp + 8], 1
jne 0x426a77
push str.WinXP
jmp 0x426aae
cmp dword [ebp + 8], 2
jne 0x426ab5
push str.WinXP_64
jmp 0x426aae
cmp dword [ebp + 4], 6
jne 0x426ab5
cmp dword [ebp + 8], edi
jne 0x426a96
push str.WinVista
jmp 0x426aae
cmp dword [ebp + 8], 1
jne 0x426aa3
push str.Win7
jmp 0x426aae
cmp dword [ebp + 8], 2
jne 0x426ab5
push str.Win8
mov ecx, ebx
call fcn.00403a25
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.00462267
add ebp, 0x98
leave
ret
Function at 0x429264
Capabilities:
Print debug messages

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x4b42dc]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x94
mov eax, 0x483ef7
call fcn.00462276
lea eax, [ebp + 0x810]
push eax
push dword [ebp + 0x80c]
mov esi, 0x800
lea eax, [ebp]
push esi
push eax
call fcn.004651e1
add esp, 0x10
call fcn.0043fe5b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4292c4
push 0x80004005
call fcn.0040303e
mov edx, dword [eax]
push 1
push esi
mov ecx, eax
call dword [edx]
test eax, eax
jne 0x4292d6
call fcn.004031e2
lea edi, [eax + 0x10]
push esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], edi
call fcn.00403170
push esi
lea eax, [ebp]
push eax
push esi
push edi
call fcn.00461ae6
add esp, 0x10
and dword [ebp - 4], 0
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp byte [0x4b5963], 0
je 0x429379
lea eax, [ebp - 0x10]
push eax
call fcn.0042e5f5
mov dword [esp], str._log_file.txt
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.00403aac
add esp, 0xc
mov eax, dword [eax]
push 1
push 0x40
push 0xa
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 2
call fcn.00402d9e
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401264
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.00401264
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0041286f
pop ecx
pop ecx
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0
call fcn.00402c52
lea ecx, [edi - 0x10]
call fcn.00401264
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.00462267
add ebp, 0x804
leave
ret
Function at 0x42d8d0
Capabilities:
Create directory
Download url
Receive data

Disassembly:
push 0xc
mov eax, 0x484a3e
call fcn.00462276
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [esi + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x20], eax
call fcn.0043fe5b
push eax
lea ecx, [ebp + 8]
call fcn.00403560
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0xc]
xor ebx, ebx
cmp dword [ecx - 0xc], ebx
mov dword [ebp - 4], ebx
jg 0x42d94d
push dword [eax + 4]
lea eax, [ebp - 0x14]
push eax
call fcn.0042e6da
mov eax, dword [eax]
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + 8]
push 0x5c
push eax
push ecx
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.0042e855
add esp, 0x18
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.004039d8
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401264
jmp 0x42d96d
mov eax, dword [eax + 8]
push 0x5c
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0042e855
add esp, 0x10
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.004039d8
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00401264
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push ebx
push eax
call edi
mov eax, dword [esi + 8]
add eax, 8
push eax
lea ecx, [ebp - 0x10]
call fcn.004036d1
mov ecx, dword [esi + 8]
push ebx
push 0x494d1c
add ecx, 0xc
mov byte [ebp - 4], 4
call fcn.00403627
cmp eax, 0xffffffff
jle 0x42d9eb
mov ecx, dword [esi + 8]
push eax
lea eax, [ebp - 0x14]
push eax
add ecx, 0xc
call fcn.00407f5a
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
push eax
mov byte [ebp - 4], 5
call fcn.004038d8
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.00401264
push ebx
push dword [ebp - 0x10]
call edi
mov eax, dword [esi + 8]
add eax, 4
push eax
lea ecx, [ebp - 0x14]
call fcn.004036d1
mov edi, dword [ebp - 0x14]
push edi
mov byte [ebp - 4], 6
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
push esi
mov esi, dword [ebp + 8]
push ebx
push esi
push edi
push ebx
call sub.urlmon.dll_URLDownloadToFileA
cmp eax, ebx
jge 0x42da2a
mov dword [ebp - 0x18], eax
push 0x4a8594
lea eax, [ebp - 0x18]
push eax
call fcn.00461da7
lea ecx, [edi - 0x10]
call fcn.00401264
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401264
lea ecx, [esi - 0x10]
call fcn.00401264
call fcn.0046234e
ret 4

Function at 0x42dc76
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 2
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42dcb3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 1
push eax
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x42dcb3
xor eax, eax
leave
ret
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
neg eax
sbb eax, eax
inc eax
leave
ret
Function at 0x42dcc3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0xa4
mov eax, dword [0x4b42dc]
xor eax, ebp
mov dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x70]
mov edx, dword [ebp + 0x74]
push edi
mov edi, dword [ebp + 0x78]
test eax, eax
jne 0x42dcfb
lea eax, [ebp - 0x38]
push eax
push 1
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
jmp 0x42dd0f
push ebx
lea ebx, [ebp - 0x38]
push ebx
or eax, 1
push eax
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop ebx
test eax, eax
je 0x42dd17
xor eax, eax
jmp 0x42dd4a
test edi, edi
je 0x42dd3c
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0
push edi
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0x96
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42dd13
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp + 0x64]
xor ecx, ebp
pop edi
call fcn.00462267
add ebp, 0x68
leave
ret

Function at 0x42dd7c
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xbc]
sub esp, 0x13c
mov eax, dword [0x4b42dc]
xor eax, ebp
mov dword [ebp + 0xb8], eax
mov eax, dword [ebp + 0xcc]
push ebx
push esi
mov esi, dword [ebp + 0xc4]
push edi
mov edi, dword [ebp + 0xc8]
mov dword [ebp - 0x54], eax
call fcn.0043fe5b
push eax
lea ecx, [ebp - 0x58]
call fcn.00403560
mov eax, dword [ebp + 0xd0]
xor ebx, ebx
cmp eax, ebx
jne 0x42ddd4
lea eax, [ebp - 0x4c]
push eax
push 0x20019
jmp 0x42ddde
lea ecx, [ebp - 0x4c]
push ecx
or eax, 0x20019
push eax
push ebx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x42de65
push 0xfe
lea eax, [ebp - 0x47]
push ebx
push eax
mov byte [ebp - 0x48], bl
call fcn.00461bc0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
push ebx
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x4c]
mov dword [ebp - 0x60], 0xff
mov dword [ebp - 0x5c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
lea eax, [ebp - 0x50]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x54]
mov dword [ebp - 0x50], 4
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42de5c
mov bl, 1
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x58]
add ecx, 0xfffffff0
call fcn.00401264
mov ecx, dword [ebp + 0xb8]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00462267
add ebp, 0xbc
leave
ret
Function at 0x42e1b1
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
sub esp, 0x204
lea ebp, [esp - 4]
mov eax, dword [0x4b42dc]
xor eax, ebp
mov dword [ebp + 0x204], eax
push 0x38
mov eax, 0x484b90
call fcn.00462276
mov eax, dword [ebp + 0x210]
mov esi, dword [ebp + 0x214]
mov edi, dword [ebp + 0x218]
xor ebx, ebx
push 0x103
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x101]
push ebx
mov dword [ebp - 0x1c], ebx
push eax
mov byte [ebp + 0x100], bl
call fcn.00461bc0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x20], 0x104
mov dword [ebp - 0x10], ebx
call fcn.004036bd
mov eax, dword [ebp + 0x21c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], 1
cmp eax, ebx
jne 0x42e237
mov eax, 0x20019
jmp 0x42e23c
or eax, 0x20019
lea ecx, [ebp - 0x18]
push ecx
push eax
push ebx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42e2de
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 0x100]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0x10], ebx
je 0x42e2de
xor edi, edi
cmp dword [ebp - 0x10], ebx
jbe 0x42e2de
lea eax, [ebp - 0x34]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp]
push eax
push edi
push dword [ebp - 0x18]
mov dword [ebp - 0x24], 0xff
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, ebx
jne 0x42e2d8
mov esi, dword [ebp - 0x14]
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
je 0x42e2cd
push 0x48bed4
mov ecx, esi
call fcn.00403b5d
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.00403b5d
inc edi
cmp edi, dword [ebp - 0x10]
jb 0x42e293
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x204]
xor ecx, ebp
call fcn.00462267
add ebp, 0x208
leave
ret
Function at 0x42e304
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x100
lea ebp, [esp - 4]
mov eax, dword [0x4b42dc]
xor eax, ebp
mov dword [ebp + 0x100], eax
push 0x44
mov eax, 0x484bd1
call fcn.004622a9
mov ecx, dword [ebp + 0x10c]
mov eax, dword [ebp + 0x118]
mov esi, dword [ebp + 0x110]
mov edi, dword [ebp + 0x114]
xor ebx, ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], ebx
call fcn.004036bd
xor eax, eax
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x11c]
cmp eax, ebx
jne 0x42e36e
lea eax, [ebp - 0x14]
push eax
push 0x20019
jmp 0x42e378
lea ecx, [ebp - 0x14]
push ecx
or eax, 0x20019
push eax
push ebx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x42e43a
push 0xfe
lea eax, [ebp + 1]
push ebx
push eax
mov byte [ebp], bl
call fcn.00461bc0
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2c]
push eax
push ebx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x30], 0xff
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x18], 4
push dword [ebp - 0x14]
call esi
test eax, eax
jne 0x42e431
push dword [ebp - 0x18]
call fcn.0046594d
pop ecx
mov edi, eax
lea eax, [ebp - 0x18]
push eax
push edi
lea eax, [ebp - 0x24]
push eax
push ebx
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call esi
test eax, eax
jne 0x42e42a
cmp dword [ebp - 0x24], 1
jne 0x42e42a
mov ecx, dword [ebp - 0x20]
push edi
call fcn.00403b5d
push edi
call fcn.00461df3
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x100]
xor ecx, ebp
call fcn.00462267
add ebp, 0x104
leave
ret

Function at 0x42e5f5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4b42dc]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x110], 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x10c]
push 0
push eax
call fcn.00461bc0
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x10c]
push eax
mov ecx, edi
call fcn.00404253
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00462267
leave
ret
Function at 0x42e657
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x4b42dc]
xor eax, ebp
mov dword [ebp + 0x8c], eax
and dword [ebp - 0x80], 0
push esi
mov esi, dword [ebp + 0x98]
push 0x105
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.00461bc0
lea eax, [ebp - 0x80]
push eax
call fcn.0042e5f5
add esp, 0x10
lea ecx, [ebp - 0x7c]
push ecx
push 0
push 0x496038
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov ecx, dword [ebp - 0x80]
add ecx, 0xfffffff0
call fcn.00401264
lea eax, [ebp - 0x7c]
push eax
mov ecx, esi
call fcn.00404253
mov ecx, dword [ebp + 0x8c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00462267
add ebp, 0x90
leave
ret

Function at 0x42e95d
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x318
lea ebp, [esp - 4]
mov eax, dword [0x4b42dc]
xor eax, ebp
mov dword [ebp + 0x318], eax
push 0x10
mov eax, 0x484cc4
call fcn.00462276
mov eax, dword [ebp + 0x328]
and dword [ebp - 4], 0
mov edi, dword [ebp + 0x324]
and dword [ebp - 0x14], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x1c], edi
call fcn.0042e91f
mov esi, 0x105
push esi
xor ebx, ebx
lea eax, [ebp + 0x108]
push 0
inc ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00461bc0
add esp, 0x10
push esi
lea eax, [ebp + 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push esi
lea eax, [ebp]
push 0
push eax
call fcn.00461bc0
add esp, 0xc
push esi
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
lea eax, [ebp + 0x210]
push 0
push eax
call fcn.00461bc0
add esp, 0xc
lea eax, [ebp + 0x210]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push dword [ebp - 0x18]
mov ecx, edi
call fcn.00404253
push dword [ebp - 0x10]
mov ecx, edi
push str.APPPATH
mov dword [ebp - 0x14], ebx
call fcn.00407db6
lea eax, [ebp + 0x108]
push eax
push str.SYSTEMPATH
mov ecx, edi
call fcn.00407db6
lea eax, [ebp]
push eax
push str.WINDOWSPATH
mov ecx, edi
call fcn.00407db6
lea eax, [ebp + 0x210]
push eax
push str.TEMPPATH
mov ecx, edi
call fcn.00407db6
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401264
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x318]
xor ecx, ebp
call fcn.00462267
add ebp, 0x31c
leave
ret
Function at 0x42ebe5
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x100
lea ebp, [esp - 4]
mov eax, dword [0x4b42dc]
xor eax, ebp
mov dword [ebp + 0x100], eax
push 0x44
mov eax, 0x484d38
call fcn.00462276
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0xd], 0
call fcn.00404253
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
mov ebx, 0x20019
push ebx
push 0
push dword [ebp - 0x1c]
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
call esi
test eax, eax
jne 0x42ed0b
push 0xfe
push eax
mov byte [ebp], al
lea eax, [ebp + 1]
push eax
call fcn.00461bc0
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x30], 0xff
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0x20], 1
jbe 0x42eca2
mov byte [ebp - 0xd], 0
jmp 0x42ed02
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v1.1.4322
lea ecx, [ebp - 0x14]
call fcn.00404253
lea eax, [ebp - 0x24]
push eax
push ebx
xor ebx, ebx
push ebx
push dword [ebp - 0x14]
push edi
call esi
test eax, eax
jne 0x42ecf7
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
push ebx
push 0x4960c8
push dword [ebp - 0x24]
mov dword [ebp - 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42ecee
cmp dword [ebp - 0x28], 1
je 0x42ecee
mov byte [ebp - 0xd], 1
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401264
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401264
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x100]
xor ecx, ebp
call fcn.00462267
add ebp, 0x104
leave
ret

Function at 0x42ee41
Capabilities:
Delete directory

Disassembly:
push 8
mov eax, 0x484db3
call fcn.00462276
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.004036d1
push str..
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00403b5d
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.004036d1
call fcn.0042ed3c
pop ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401264
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401264
call fcn.0046234e
ret
Function at 0x42f6cc
Capabilities:
Delete file

Disassembly:
push 0x38
mov eax, 0x484e72
call fcn.00462276
xor ebx, ebx
push 8
mov dword [ebp - 4], ebx
call fcn.0043dd3a
pop ecx
cmp eax, ebx
je 0x42f6f4
mov dword [eax + 4], ebx
mov dword [eax], vtable.CBitmap.0
jmp 0x42f6f6
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [0x4b2aa0]
mov esi, 0x4b5af8
cmp eax, 0xfffffffe
jne 0x42f71a
push esi
push 0x4961b8
call fcn.0042f363
pop ecx
pop ecx
mov dword [0x4b2aa0], eax
cmp eax, 0xffffffff
je 0x42f886
lea ecx, [ebp + 8]
call fcn.00405d8b
push eax
lea ecx, [ebp - 0x18]
call fcn.0042f688
push ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0042f524
push eax
call fcn.0042f2a3
pop ecx
pop ecx
mov edi, eax
lea eax, [ebp - 0x10]
push eax
push 1
push ebx
mov dword [ebp - 0x24], edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
cmp edi, ebx
je 0x42f863
push ebx
push esi
push dword [ebp - 0x10]
mov ecx, edi
call fcn.0042f2c1
cmp eax, 0xffffffff
je 0x42f863
push ebx
call dword [sym.imp.USER32.dll_GetDC]
push 0x10
mov dword [ebp - 0x14], eax
call fcn.0043dd3a
pop ecx
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x42f7a0
mov ecx, eax
call fcn.004449c9
mov esi, eax
jmp 0x42f7a2
xor esi, esi
push dword [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00444e3b
lea ecx, [ebp - 0x34]
call fcn.004449c9
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.004449c9
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.00404b3d
push esi
lea ecx, [ebp - 0x44]
call fcn.00404b3d
push 8
call fcn.0043dd3a
pop ecx
cmp eax, ebx
je 0x42f7f1
mov dword [eax + 4], ebx
mov dword [eax], vtable.CBitmap.0
mov edi, eax
jmp 0x42f7f3
xor edi, edi
push ebx
push dword [ebp - 0x10]
call fcn.0042f321
pop ecx
pop ecx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
mov dword [ebp - 0x1c], ebx
call fcn.0042f33f
push dword [ebp - 0x20]
mov ecx, edi
call fcn.0044510b
cmp edi, ebx
jne 0x42f822
xor eax, eax
jmp 0x42f825
mov eax, dword [edi + 4]
push eax
push dword [ebp - 0x30]
call fcn.004451ea
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp esi, ebx
je 0x42f845
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 3
call fcn.00444eb8
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00444eb8
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, ebx
je 0x42f878
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00401264
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
call fcn.004036d1
call fcn.0042de8a
pop ecx
cmp al, bl
je 0x42f8a8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x42f8b2
mov ebx, dword [eax + 4]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401264
mov eax, ebx
call fcn.0046234e
ret