joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ee6d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [eax], ebx
mov eax, dword [ebp + 0xc]
push edi
push 0x103
mov dword [eax], ebx
lea eax, [ebp - 0x133]
push ebx
push eax
mov byte [ebp - 0x134], bl
call fcn.0043afd0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x134]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebx
push ebx
push 3
push ebx
push 5
push SysReAllocStringLen
lea eax, [ebp - 0x134]
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 4], edi
cmp edi, 0xffffffff
jne 0x45eee2
xor eax, eax
jmp 0x45f031
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
push ebx
push 0x3c
push edi
call esi
push ebx
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
call edi
push ebx
push ebx
push dword [ebp - 0x14]
push dword [ebp - 4]
call esi
push ebx
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 4]
call edi
cmp dword [ebp - 0x20], 0x4550
jne 0x45f01d
mov eax, dword [ebp - 0x14]
push ebx
add eax, 0x18
push ebx
push eax
push dword [ebp - 4]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], ebx
call esi
push ebx
lea eax, [ebp - 0xc]
push eax
push 2
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
call edi
mov eax, 0x10b
cmp word [ebp - 0x10], ax
jne 0x45ef60
sub dword [ebp - 8], 0xffffff80
jmp 0x45ef77
mov eax, 0x20b
cmp word [ebp - 0x10], ax
jne 0x45ef74
add dword [ebp - 8], 0x90
jmp 0x45ef77
mov dword [ebp - 8], ebx
cmp dword [ebp - 8], ebx
je 0x45f01d
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call esi
push ebx
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 4]
call edi
xor eax, eax
mov dword [ebp - 0x30], ebx
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], ebx
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x45f01d
push ebx
push ebx
add eax, 0xfffffff0
push eax
push dword [ebp - 4]
call esi
push ebx
lea eax, [ebp - 8]
push eax
push 0x10
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x30], ebx
jne 0x45f01d
cmp dword [ebp - 0x2c], ebx
jne 0x45f01d
cmp dword [ebp - 0x28], ebx
jne 0x45f01d
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x45f01d
mov edi, dword [ebp + 0xc]
push eax
mov dword [edi], eax
call fcn.00436ae5
pop ecx
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [edi]
push ebx
push ebx
sub eax, 0x10
push eax
push dword [ebp - 4]
call esi
push ebx
lea eax, [ebp - 8]
push eax
push dword [edi]
mov eax, dword [ebp + 8]
push dword [eax]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
xor eax, eax
cmp dword [ecx], ebx
pop esi
setne al
pop edi
pop ebx
leave
ret
Function at 0x45f16f
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.kernel32
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x46fad8
push eax
mov dword [0x490f38], eax
call esi
push str.user32
mov dword [0x490f3c], eax
call edi
push str.SetWindowTextW
push eax
mov dword [0x490f40], eax
call esi
push str.GetWindowTextW
push dword [0x490f40]
mov dword [0x490f44], eax
call esi
mov dword [0x490f48], eax
xor eax, eax
pop edi
pop esi
cmp dword [0x490f3c], eax
je 0x45f1e5
mov byte [0x490f2b], 1
cmp dword [0x490f44], eax
jne 0x45f1ea
mov byte [0x490f2b], al
push 0x90
push eax
lea eax, [ebp - 0x90]
push eax
mov dword [ebp - 0x94], 0x94
call fcn.0043afd0
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 5
sbb al, al
inc al
mov byte [0x490f2b], al
leave
ret

Function at 0x45f905
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
lea ecx, [eax + 0x208]
push ecx
add eax, 0x30c
call fcn.004017fd
pop ecx
push eax
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov eax, dword [ebp + 8]
call fcn.0044edf4
pop ecx
pop ebp
ret 4
Function at 0x460e4a
Capabilities:
Check http status code
Create http request
Reference http user-agent string

Disassembly:
mov eax, 0x46927e
call fcn.0046897c
sub esp, 0x418
push ebx
push esi
push edi
mov esi, 0x104
push esi
call fcn.00436ae5
pop ecx
push esi
xor ebx, ebx
push ebx
push eax
mov dword [ebp - 0x18], eax
call fcn.0043afd0
mov eax, dword [0x490f2c]
add esp, 0xc
cmp byte [eax + 0xca8e], bl
je 0x46104a
lea esi, [eax + 0xca8f]
cmp esi, ebx
je 0x46104a
lea edx, [esi + 1]
mov cl, byte [esi]
inc esi
cmp cl, bl
jne 0x460e9b
sub esi, edx
je 0x46104a
add eax, 0xd393
cmp eax, ebx
je 0x46104a
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x460eba
sub eax, edx
je 0x46104a
push ebx
push ebx
push ebx
push ebx
push str.Mozilla_5.0__Windows__U__Windows_NT_5.1__en_GB__rv:1.9.0.5__Gecko_2008120122_Firefox_3.0.5
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, dword [0x490f2c]
push ebx
push 0x40300
push ebx
push ebx
add ecx, 0xca8f
push ecx
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
push 0x3ff
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x423]
push ebx
push eax
mov byte [ebp - 0x424], bl
call fcn.0043afd0
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
add esp, 0xc
push ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x424]
push eax
push 0x13
push dword [ebp - 0x1c]
mov edi, 0x400
mov dword [ebp - 0x20], edi
call esi
lea eax, [ebp - 0x424]
push eax
call fcn.00436201
pop ecx
mov byte [ebp - 0x424], bl
mov dword [ebp - 0x20], edi
cmp eax, 0xc8
jne 0x460fb9
push ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x424]
push eax
push 0x2f
push dword [ebp - 0x1c]
call esi
test eax, eax
jne 0x460f70
mov byte [ebp - 0x424], bl
lea eax, [ebp - 0x424]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x460f79
sub eax, edx
cmp eax, ebx
je 0x460fb9
lea eax, [ebp - 0x424]
push str.filename
push eax
call fcn.00436af0
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
je 0x460fb9
add edi, 9
push 0x470820
push edi
call fcn.00436af0
pop ecx
pop ecx
cmp eax, ebx
je 0x460fb5
mov byte [eax], bl
cmp edi, ebx
jne 0x460fd4
mov eax, dword [0x490f2c]
add eax, 0xca8f
push 0x2f
push eax
call fcn.00436070
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
je 0x460fd4
inc edi
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x14]
call esi
mov eax, dword [0x490f2c]
call fcn.0045e9ae
push 0x1414
mov esi, eax
call fcn.0043609d
pop ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x461017
push esi
push dword [0x490f2c]
mov esi, eax
call fcn.004608d9
mov esi, eax
jmp 0x461019
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xef2]
push eax
push 0x46fb88
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
cmp esi, ebx
je 0x46104a
push esi
call fcn.00436059
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x4628e4
Capabilities:
Create process on windows
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2044
call fcn.0043b1f0
push ebx
push edi
mov edi, dword [0x490f2c]
lea eax, [edi + 0x2b58]
mov dword [ebp - 4], eax
lea edx, [eax + 1]
xor ebx, ebx
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x462907
sub eax, edx
je 0x462a7a
cmp dword [edi + 0xad6e], ebx
je 0x462a7a
push esi
mov esi, 0x3ff
push esi
lea eax, [ebp - 0x1843]
push ebx
push eax
mov byte [ebp - 0x1844], bl
call fcn.0043afd0
push esi
lea eax, [ebp - 0x443]
push ebx
push eax
mov byte [ebp - 0x444], bl
call fcn.0043afd0
push esi
lea eax, [ebp - 0x1043]
push ebx
push eax
mov byte [ebp - 0x1044], bl
call fcn.0043afd0
push esi
lea eax, [ebp - 0x843]
push ebx
push eax
mov byte [ebp - 0x844], bl
call fcn.0043afd0
push esi
lea eax, [ebp - 0xc43]
push ebx
push eax
mov byte [ebp - 0xc44], bl
call fcn.0043afd0
push esi
lea eax, [ebp - 0x1443]
push ebx
push eax
mov byte [ebp - 0x1444], bl
call fcn.0043afd0
lea eax, [ebp - 0x1844]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x444]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x1044]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x844]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0xc44]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1444]
add esp, 0x48
mov dword [ebp - 0x28], eax
lea eax, [esi + 1]
push 0x7ff
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2043]
push ebx
push eax
mov dword [ebp - 0x44], 0x3c
mov byte [ebp - 0x2044], bl
call fcn.0043afd0
mov ecx, dword [ebp - 4]
push edi
push fcn.00462330
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x103
lea eax, [ebp - 0x2044]
call fcn.0045e9e7
lea eax, [ebp - 0x2044]
add esp, 0x20
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x462a3a
lea ecx, [ebp - 0x44]
push ecx
sub eax, esi
push ebx
push eax
lea eax, [ebp - 0x2044]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
cmp dword [ebp - 0x38], 3
pop esi
je 0x462a63
cmp dword [ebp - 0x38], 4
jne 0x462a7a
push 1
push ebx
push ebx
lea eax, [ebp - 0x2044]
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop ebx
leave
ret
Function at 0x462fbf
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x469541
call fcn.0046897c
mov eax, 0x1524
call fcn.0043b1f0
push ebx
push esi
push edi
xor ebx, ebx
push ebx
mov edi, SysReAllocStringLen
push edi
mov ecx, 0x46eaf4
lea eax, [ebp - 0x1530]
call fcn.00457d9a
mov dword [ebp - 4], ebx
mov eax, dword [0x490f2c]
cmp byte [eax + 0xca8e], bl
je 0x4630f8
lea ecx, [eax + 0xca8f]
cmp ecx, ebx
je 0x4630f8
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x463014
sub ecx, esi
je 0x4630f8
lea ecx, [eax + 0xd393]
cmp ecx, ebx
je 0x4630f8
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x463034
sub ecx, esi
je 0x4630f8
add eax, 0xd497
push eax
push edi
call fcn.00457c1a
test eax, eax
jne 0x4630f8
mov eax, dword [0x490f2c]
add eax, 0xd497
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00457c1a
test eax, eax
jne 0x4630f8
call fcn.00460e4a
push 0x103
mov esi, eax
lea eax, [ebp - 0x11f]
push ebx
push eax
mov byte [ebp - 0x120], bl
call fcn.0043afd0
mov eax, dword [0x490f2c]
add esp, 0xc
push eax
push fcn.00462330
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [eax + 0xd28f]
push 0x104
lea eax, [ebp - 0x120]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
call fcn.0045e9e7
add esp, 0x14
cmp esi, ebx
je 0x4630f1
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4630d1
sub eax, edx
je 0x4630f1
push 5
push ebx
lea eax, [ebp - 0x120]
push eax
push esi
push ebx
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push esi
call fcn.00436c4e
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x463107
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
xor ebx, ebx
push edi
mov esi, eax
cmp dword [ebp + 0xc], ebx
je 0x463296
cmp dword [ebp + 0x10], ebx
je 0x463296
cmp esi, ebx
je 0x463132
cmp dword [esi + 4], ebx
jne 0x463137
cmp dword [esi + 0xc], ebx
je 0x463179
xor eax, eax
cmp dword [esi + 4], ebx
je 0x463157
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004622e6
add esp, 0xc
cmp eax, ebx
jne 0x463298
cmp dword [esi + 0xc], ebx
je 0x463298
push dword [ebp + 0x10]
add esi, 8
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004622e6
add esp, 0xc
jmp 0x463298
push 0x103
lea eax, [ebp - 0x107]
push ebx
push eax
mov byte [ebp - 0x108], bl
call fcn.0043afd0
add esp, 0xc
push str.theme_
mov eax, 0x104
lea edi, [ebp - 0x108]
call fcn.00467585
mov eax, dword [ebp + 8]
mov esi, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4631ae
lea edi, [ebp - 0x108]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x4631be
mov ecx, eax
shr ecx, 2
push ebx
rep movsd dword es:[edi], dword [esi]
push ebx
push 3
push ebx
push 1
mov ecx, eax
push SysReAllocStringLen
lea eax, [ebp - 0x108]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x463254
push str.data_
mov eax, 0x104
lea edi, [ebp - 0x108]
call fcn.00467585
mov eax, dword [ebp + 8]
mov esi, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46320e
lea edi, [ebp - 0x108]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x46321e
mov ecx, eax
shr ecx, 2
push ebx
rep movsd dword es:[edi], dword [esi]
push ebx
push 3
push ebx
push 1
mov ecx, eax
push SysReAllocStringLen
lea eax, [ebp - 0x108]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x463296
push ebx
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [ebp + 0x10]
mov dword [esi], eax
inc eax
push eax
call fcn.00436ae5
pop ecx
mov ecx, dword [ebp + 0xc]
push ebx
mov dword [ecx], eax
lea ecx, [ebp - 4]
push ecx
push dword [esi]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [esi]
push edi
mov byte [eax + ecx], bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x463298
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4657fc
Capabilities:
Copy file
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x564
push ebx
push esi
push edi
mov edi, 0x104
push edi
lea eax, [ebp - 0x260]
push eax
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x364]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, dword [0x490f2c]
test byte [eax + 0xad66], 1
mov edi, dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
je 0x46585c
lea ecx, [ebp - 0x15c]
push ecx
push esi
add eax, 0xae75
push eax
lea eax, [ebp - 0x364]
push eax
call edi
mov eax, dword [0x490f2c]
test byte [eax + 0xad66], 2
je 0x46587c
lea ecx, [ebp - 0x15c]
push ecx
push esi
add eax, 0xa6dc
push eax
lea eax, [ebp - 0x364]
push eax
call edi
push esi
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push esi
push 0x4000000
push 3
push esi
push 1
push esi
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 1
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
lea eax, [ebp - 0x260]
push eax
push ebx
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x564]
push str._s__cleanup__d___s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x44
pop edi
push edi
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.0043afd0
add esp, 0x20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push esi
push esi
push esi
push 1
push esi
push esi
lea eax, [ebp - 0x564]
push eax
push esi
mov dword [ebp - 0x58], edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push ebx
call esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x46594e
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x5c
push dword [ebp + 0xc]
call fcn.00436070
pop ecx
pop ecx
test eax, eax
je 0x465981
mov byte [eax], 0
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop ebp
ret
Function at 0x4659a2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x167c
call fcn.0043b1f0
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.0043afd0
xor eax, eax
mov dword [esp + 0x1c], ebx
lea edi, [esp + 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [0x490f2c]
add esp, 0xc
mov dword [esp + 0x20], 0x44
test byte [eax + 0xad66], 1
mov edi, 0x206
je 0x465a67
push 1
push eax
lea esi, [esp + 0x278]
call fcn.004608d9
xor eax, eax
push edi
mov word [esp + 0x6c], ax
lea eax, [esp + 0x6e]
push ebx
push eax
call fcn.0043afd0
add esp, 0xc
xor eax, eax
movzx ecx, word [esp + eax + 0x1162]
mov word [esp + eax + 0x68], cx
add eax, 2
cmp cx, bx
jne 0x465a16
push 0x46f91c
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x116a]
push eax
push ebx
push 0x20
push ebx
push ebx
push ebx
lea eax, [esp + 0x88]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [0x490f2c]
test byte [eax + 0xad66], 2
je 0x465ae3
push 2
push eax
lea esi, [esp + 0x278]
call fcn.004608d9
xor eax, eax
push edi
mov word [esp + 0x6c], ax
lea eax, [esp + 0x6e]
push ebx
push eax
call fcn.0043afd0
add esp, 0xc
xor eax, eax
movzx ecx, word [esp + eax + 0x1162]
mov word [esp + eax + 0x68], cx
add eax, 2
cmp cx, bx
jne 0x465a97
push 0x46f93c
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x116a]
push eax
push ebx
push 0x20
push ebx
push ebx
push ebx
lea eax, [esp + 0x88]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x465aee
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x190
call fcn.00465505
test eax, eax
jne 0x465b1a
push 0x30
push str.Cannot_start_install
push str.There_is_a_problem_with_the_install_program.
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x465b4a
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
call fcn.0045f16f
lea eax, [esp]
push eax
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
mov eax, dword [0x490f2c]
add eax, 0xd5c3
push eax
call fcn.00453f63
xor eax, eax
pop ecx
inc eax
mov esp, ebp
pop ebp
ret
Function at 0x46754c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x467561
xor eax, eax
pop ebp
ret
shr eax, 4
not eax
and eax, 1
pop ebp
ret

Function at 0x46756b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x467580
xor eax, eax
pop ebp
ret
and eax, 0x10
pop ebp
ret
Function at 0x4682b9
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.advapi32.dll
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.GetSecurityInfo
push esi
mov dword [ebp - 0x20], esi
call edi
push str.SetSecurityInfo
push esi
mov dword [ebp - 0xc], eax
call edi
push 0x46eb58
push esi
mov dword [ebp - 0x14], eax
call edi
push str.AllocateAndInitializeSid
push esi
mov dword [ebp - 0x1c], eax
call edi
mov edi, eax
cmp dword [ebp - 0xc], ebx
je 0x468431
cmp dword [ebp - 0x14], ebx
je 0x468431
cmp dword [ebp - 0x1c], ebx
je 0x468431
cmp edi, ebx
je 0x468431
push ebx
push 0x2000000
push 3
push ebx
push ebx
push 0x60000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
je 0x468431
lea ecx, [ebp - 0x18]
push ecx
push ebx
lea ecx, [ebp - 0x10]
push ecx
push ebx
push ebx
push 4
xor esi, esi
inc esi
push esi
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
call dword [ebp - 0xc]
cmp dword [ebp - 8], ebx
jne 0x468382
cmp dword [ebp - 0x10], ebx
jne 0x468412
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x221
push 0x20
push 2
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x24], 0x500
call edi
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x48]
push eax
push esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], 0x10000000
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x30], 2
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
cmp dword [ebp - 0xc], ebx
je 0x4683fb
push ebx
push dword [ebp - 0xc]
push ebx
push ebx
push 4
push esi
push dword [ebp - 0x1c]
call dword [ebp - 0x14]
cmp dword [ebp - 8], ebx
je 0x468409
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
jmp 0x46843b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401b12
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, dword [ebp + 8]
mov dword [esi], eax
test eax, eax
jne 0x401b30
xor al, al
jmp 0x401b49
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401b47
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x401b2c
mov al, 1
pop esi
pop ebp
ret