Function at 0x403160
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42a118
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
call fcn.00422dd4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [0x43c14c]
push 0x2000
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0041f7e1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0041f2ae
mov dword [ebp - 0x30], eax
add eax, 0xfffffede
mov dword [ebp - 0x2c], edx
cdq
push 0
push edx
push eax
lea ecx, [ebp - 0x40]
call fcn.0041f154
lea ecx, [ebp - 0x40]
push ecx
mov ecx, esi
call fcn.00402c10
lea edx, [ebp - 0x40]
push edx
mov ecx, esi
mov ebx, eax
call fcn.00402c10
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
call fcn.00402c10
lea ecx, [ebp - 0x40]
push ecx
mov ecx, esi
mov dword [ebp - 0x20], eax
call fcn.00402c10
lea edx, [ebp - 0x40]
mov edi, eax
push edx
mov ecx, esi
mov dword [ebp - 0x24], edi
call fcn.00402c10
mov dword [ebp - 0x18], eax
lea eax, [esi + 0x17c]
push eax
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
call fcn.00402cf0
lea eax, [esi + 0x180]
push eax
lea ecx, [ebp - 0x40]
push ecx
mov ecx, esi
call fcn.00402cf0
lea eax, [esi + 0x184]
push eax
lea edx, [ebp - 0x40]
push edx
mov ecx, esi
call fcn.00402cf0
lea eax, [esi + 0x18c]
push eax
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
call fcn.00402cf0
push 0x19
push str.setup_iesuper_0010130.exe
lea ecx, [esi + 0x18c]
call fcn.00401d80
mov ecx, dword [esi + 0x17c]
mov edx, dword [esi + 0x174]
push ecx
push edx
lea eax, [ebp - 0x14]
push str._s_s
push eax
call fcn.00402570
mov ecx, dword [ebp - 0x14]
add esp, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [ebp - 0x14]
push 4
push edx
call fcn.0040fe9d
add esp, 8
test eax, eax
je 0x403364
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x20]
sub eax, edx
mov edx, dword [ebp - 0x28]
sub eax, edi
sub eax, esi
sub eax, edx
sub eax, ebx
sub eax, 0x122
cdq
push 0
push edx
push eax
lea ecx, [ebp - 0x40]
call fcn.0041f154
mov eax, dword [ebp - 0x14]
push 0x3001
push eax
lea ecx, [ebp - 0x50]
call fcn.0041f7e1
push ebx
mov byte [ebp - 4], 3
call fcn.0041dea6
mov esi, eax
mov ecx, ebx
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
add esp, 4
mov ecx, edx
and ecx, 3
push ebx
rep stosb byte es:[edi], al
push esi
lea ecx, [ebp - 0x40]
call fcn.0041f0c9
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.0041f109
lea ecx, [ebp - 0x50]
call fcn.0041f354
push esi
call fcn.0041deab
mov eax, dword [ebp - 0x14]
add esp, 4
push 0
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.0041f3f5
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x1c]
mov ecx, dword [esi + 0x180]
mov edx, dword [esi + 0x174]
push ecx
push edx
lea eax, [ebp - 0x14]
push str._s_s
push eax
call fcn.00402570
mov ebx, dword [ebp - 0x14]
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 4
push ebx
call fcn.0040fe9d
add esp, 8
test eax, eax
je 0x40344a
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x20]
sub eax, edx
sub eax, edi
mov edi, dword [ebp - 0x28]
sub eax, esi
sub eax, edi
sub eax, 0x122
cdq
push 0
push edx
push eax
lea ecx, [ebp - 0x40]
call fcn.0041f154
push 0x3001
push ebx
lea ecx, [ebp - 0x50]
call fcn.0041f7e1
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call fcn.0041dea6
mov ecx, edi
mov edx, ecx
mov esi, eax
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
add esp, 4
mov edi, edx
push edi
push esi
lea ecx, [ebp - 0x40]
call fcn.0041f0c9
push edi
push esi
lea ecx, [ebp - 0x50]
call fcn.0041f109
lea ecx, [ebp - 0x50]
call fcn.0041f354
push esi
call fcn.0041deab
add esp, 4
push 0
push 0
push 0
push ebx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.0041f3f5
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x1c]
mov eax, dword [esi + 0x184]
mov ecx, dword [esi + 0x174]
push eax
push ecx
lea edx, [ebp - 0x14]
push str._s_s
push edx
call fcn.00402570
mov ebx, dword [ebp - 0x14]
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 4
push ebx
call fcn.0040fe9d
add esp, 8
test eax, eax
je 0x40351a
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x30]
sub eax, ecx
sub eax, edi
mov edi, dword [ebp - 0x20]
sub eax, edi
sub eax, 0x122
cdq
push 0
push edx
push eax
lea ecx, [ebp - 0x40]
call fcn.0041f154
push 0x3001
push ebx
lea ecx, [ebp - 0x50]
call fcn.0041f7e1
push edi
mov byte [ebp - 4], 5
call fcn.0041dea6
mov ecx, edi
mov edx, ecx
mov esi, eax
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
add esp, 4
mov edi, edx
push edi
push esi
lea ecx, [ebp - 0x40]
call fcn.0041f0c9
push edi
push esi
lea ecx, [ebp - 0x50]
call fcn.0041f109
lea ecx, [ebp - 0x50]
call fcn.0041f354
push esi
call fcn.0041deab
mov ecx, dword [ebp - 0x1c]
add esp, 4
push ebx
call fcn.00401400
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.0041f3f5
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x1c]
mov eax, dword [esi + 0x188]
mov ecx, dword [esi + 0x178]
push eax
push ecx
lea edx, [ebp - 0x14]
push 0x42c834
push edx
call fcn.00402570
mov ebx, dword [ebp - 0x14]
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 4
push ebx
call fcn.0040fe9d
add esp, 8
test eax, eax
je 0x4035d8
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x18]
sub eax, edi
sub eax, 0x122
cdq
push 0
push edx
push eax
lea ecx, [ebp - 0x40]
call fcn.0041f154
push 0x3001
push ebx
lea ecx, [ebp - 0x50]
call fcn.0041f7e1
push edi
mov byte [ebp - 4], 6
call fcn.0041dea6
mov ecx, edi
mov edx, ecx
mov esi, eax
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [ebp - 0x24]
add esp, 4
push edi
push esi
lea ecx, [ebp - 0x40]
call fcn.0041f0c9
push edi
push esi
lea ecx, [ebp - 0x50]
call fcn.0041f109
lea ecx, [ebp - 0x50]
call fcn.0041f354
push esi
call fcn.0041deab
add esp, 4
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.0041f3f5
mov esi, dword [ebp - 0x1c]
mov eax, dword [esi + 0x18c]
mov ecx, dword [esi + 0x174]
push eax
push ecx
lea edx, [ebp - 0x14]
push str._s_s
push edx
call fcn.00402570
mov ebx, dword [ebp - 0x14]
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 4
push ebx
call fcn.0040fe9d
add esp, 8
test eax, eax
je 0x4036a6
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x18]
sub eax, edi
sub eax, 0x122
cdq
push 0
push edx
push eax
lea ecx, [ebp - 0x40]
call fcn.0041f154
push 0x3001
push ebx
lea ecx, [ebp - 0x50]
call fcn.0041f7e1
push edi
mov byte [ebp - 4], 7
call fcn.0041dea6
mov ecx, edi
mov edx, ecx
mov esi, eax
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
add esp, 4
mov edi, edx
push edi
push esi
lea ecx, [ebp - 0x40]
call fcn.0041f0c9
push edi
push esi
lea ecx, [ebp - 0x50]
call fcn.0041f109
lea ecx, [ebp - 0x50]
call fcn.0041f354
push esi
call fcn.0041deab
add esp, 4
push 1
push 0
push 0
push ebx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.0041f3f5
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0041f3f5
add ebx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4036d0
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret