Function at 0x10028260
Capabilities:
Create process on windows
Delete file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f2fb
mov eax, dword fs:[0]
push eax
sub esp, 0x500
mov eax, dword [0x10088020]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x46c], edx
mov dword [ebp - 0x468], ecx
mov eax, dword [ebp + 8]
xor esi, esi
push esi
mov dword [ebp - 0x470], eax
lea eax, [ebp - 0x50c]
push 0x44
push eax
mov dword [ebp - 0x460], esi
call fcn.100262e0
push esi
lea eax, [ebp - 0x4c8]
mov dword [ebp - 0x50c], 0x44
push 0x44
push eax
call fcn.100262e0
push esi
lea eax, [ebp - 0x484]
mov dword [ebp - 0x4c8], 0x44
push 0x10
push eax
call fcn.100262e0
add esp, 0x20
lea ecx, [ebp - 0x440]
mov edx, 0x100742b0
push esi
call fcn.10013c20
add esp, 8
mov dword [ebp - 4], esi
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x440]
call fcn.10018180
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x10028323
mov eax, dword [eax]
push 0
push 0x80
push 2
push 0
push 3
push 0x10000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x45c], edi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x428]
call fcn.100055a0
cmp edi, 0xffffffff
je 0x100283ac
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x49c], 0x100
call esi
mov edi, eax
call esi
push 0
push 1
push 2
lea ecx, [ebp - 0x48c]
push ecx
push edi
mov edi, dword [ebp - 0x45c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, dword [ebp - 0x460]
mov dword [ebp - 0x490], eax
mov eax, dword [ebp - 0x48c]
mov dword [ebp - 0x488], eax
jmp 0x100283b2
mov eax, dword [ebp - 0x48c]
mov dword [ebp - 0x45c], eax
lea eax, [ebp - 0x484]
push eax
lea eax, [ebp - 0x4c8]
push eax
push dword [ebp - 0x470]
push 0
push 0x8000020
push 1
push 0
push 0
push dword [ebp - 0x46c]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x10028424
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x440]
call fcn.10018180
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x10028409
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x428]
call fcn.100055a0
jmp 0x10028702
push 0xffffffffffffffff
push dword [ebp - 0x484]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x45c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x474]
push eax
push dword [ebp - 0x484]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dword [ebp - 0x46c], eax
lea ecx, [ebp - 0x440]
lea eax, [ebp - 0x458]
push eax
call fcn.10018180
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x1002847c
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x45c], edi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x458]
call fcn.100055a0
push 0
lea eax, [ebp - 0x464]
mov dword [ebp - 0x464], 0
push eax
push 0x3ff
lea eax, [ebp - 0x410]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x464]
test eax, eax
je 0x10028699
mov edi, dword [ebp - 0x468]
nop word [eax + eax]
cmp eax, 0x400
jae 0x10028739
mov byte [ebp + eax - 0x410], 0
test edi, edi
je 0x10028664
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10028514
sub ecx, edx
mov byte [ebp - 4], 6
lea eax, [ebp - 0x410]
add eax, ecx
mov dword [ebp - 0x418], 0
lea edx, [ebp - 0x410]
mov dword [ebp - 0x414], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x428], xmm0
cmp edx, eax
jne 0x10028571
mov eax, 7
mov dword [ebp - 0x418], 0
xor ecx, ecx
mov dword [ebp - 0x414], eax
mov word [ebp - 0x428], cx
jmp 0x1002858b
push ecx
push eax
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x428]
call fcn.10019b60
mov eax, dword [ebp - 0x414]
or esi, 0x10
cmp eax, 8
mov dword [ebp - 0x460], esi
lea esi, [ebp - 0x428]
cmovae esi, dword [ebp - 0x428]
push 2
call dword [sym.imp.msi.dll_MsiDatabaseExportA]
mov edi, eax
mov dword [ebp - 0x470], edi
mov byte [ebp - 4], 7
push 0x10072e78
push 0
push edi
call dword [sym.imp.msi.dll_MsiReinstallFeatureW]
push esi
push 1
push edi
call dword [sym.imp.msi.dll_MsiReinstallFeatureW]
push edi
push 0x4000000
push dword [ebp - 0x468]
call dword [sym.imp.msi.dll_MsiProvideComponentW]
mov byte [ebp - 4], 6
test edi, edi
je 0x100285f1
push edi
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov esi, dword [ebp - 0x460]
and esi, 0xffffffef
mov dword [ebp - 0x460], esi
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x414]
cmp eax, 8
jb 0x10028641
mov ecx, dword [ebp - 0x428]
lea eax, [eax*2 + 2]
mov edx, ecx
cmp eax, 0x1000
jb 0x10028636
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x10028734
test ecx, ecx
je 0x10028641
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edi, dword [ebp - 0x468]
xor eax, eax
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 7
mov word [ebp - 0x428], ax
push 0
lea eax, [ebp - 0x464]
push eax
push 0x3ff
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x45c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x464]
test eax, eax
jne 0x100284f0
mov edi, dword [ebp - 0x45c]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x458]
push eax
lea ecx, [ebp - 0x440]
call fcn.10018180
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 8
jb 0x100286be
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x458]
call fcn.100055a0
push 0
call esi
cmp dword [ebp - 0x46c], 0
je 0x10028702
cmp dword [ebp - 0x474], 0
jne 0x10028702
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.100055a0
xor eax, eax
jmp 0x10028719
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.100055a0
mov eax, 0x643
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10044a98
mov esp, ebp
pop ebp
ret
call fcn.1004872f
call fcn.1004522c
int3