Function at 0x403290
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41bbc0
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x425018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
mov eax, 1
mov dword [ebp - 4], ebx
test byte [0x425c0c], al
jne 0x40330f
or dword [0x425c0c], eax
mov byte [ebp - 4], al
call fcn.0040d580
push 0x41cf70
call fcn.00419c3d
add esp, 4
mov byte [ebp - 4], bl
cmp dword [0x425c44], ebx
je 0x4035cf
mov edx, dword [0x425c10]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push 0x425c34
or eax, 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00401d50
mov eax, dword [0x425c10]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea edx, [ebp - 0x64]
push esi
push edx
call fcn.00404bf0
add esp, 8
mov ecx, eax
mov eax, 0x425098
lea ebx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.00404cb0
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 3
call fcn.00401840
mov edi, 0x10
cmp dword [ebp - 0x88], edi
jb 0x403396
mov eax, dword [ebp - 0x9c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ebx, ebx
mov esi, 0xf
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
mov byte [ebp - 4], 6
cmp dword [ebp - 0x50], edi
jb 0x4033c5
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x6c], esi
mov edi, 1
mov eax, 0x41e564
lea esi, [ebp - 0x80]
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
call fcn.00402000
lea ebx, [ebp - 0x48]
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 7
call fcn.004018b0
mov ecx, eax
mov eax, esi
lea ebx, [ebp - 0xd4]
mov byte [ebp - 4], 8
call fcn.00404d30
mov ecx, eax
mov eax, dword [ebp - 0x110]
lea ebx, [ebp - 0xb8]
mov byte [ebp - 4], 9
call fcn.00404cb0
mov ecx, eax
mov eax, 0x425098
lea ebx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.00404cb0
mov esi, 0x10
cmp dword [ebp - 0xa4], esi
jb 0x403455
mov edx, dword [ebp - 0xb8]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ebx, ebx
mov edi, 0xf
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xb8], bl
cmp dword [ebp - 0xc0], esi
jb 0x403486
mov eax, dword [ebp - 0xd4]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xc4], ebx
mov byte [ebp - 0xd4], bl
cmp dword [ebp - 0xdc], esi
jb 0x4034b0
mov ecx, dword [ebp - 0xf0]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xe0], ebx
mov byte [ebp - 0xf0], bl
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x6c], esi
jb 0x4034d8
mov edx, dword [ebp - 0x80]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
cmp dword [ebp - 0x18], esi
jae 0x4034ec
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_remove]
add esp, 4
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x9c]
push ecx
lea ebx, [ebp - 0x10c]
call fcn.00404d90
add esp, 8
mov ebx, eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x10
call fcn.004018b0
mov ecx, dword [ebp - 0x2c]
mov edi, 0x10
cmp dword [ebp - 0x18], edi
jae 0x40352d
lea ecx, [ebp - 0x2c]
cmp dword [eax + 0x14], edi
jb 0x403534
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.MSVCR100.dll_rename]
add esp, 8
mov esi, eax
cmp dword [ebp - 0x50], edi
jb 0x403553
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ebx, ebx
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x88], 8
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
jb 0x40357f
mov eax, dword [ebp - 0x9c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp esi, ebx
je 0x4035e6
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
cmp dword [ebp - 0x18], edi
jb 0x403597
mov ecx, dword [ebp - 0x2c]
push ecx
call esi
add esp, 4
cmp dword [ebp - 0xf8], 8
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
jb 0x4035b9
mov edx, dword [ebp - 0x10c]
push edx
call esi
add esp, 4
cmp dword [ebp - 0x34], 8
jb 0x4035e2
mov eax, dword [ebp - 0x48]
push eax
call esi
add esp, 4
xor al, al
jmp 0x40365f
cmp dword [ebp - 0x34], 8
jb 0x4035e2
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor al, al
jmp 0x40365f
mov esi, dword [ebp - 0x114]
mov ecx, dword [esi + 0x18]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x110]
mov ecx, esi
call fcn.00403eb0
mov dword [eax], 2
mov edx, dword [esi + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
cmp dword [ebp - 0x18], edi
jb 0x403629
mov eax, dword [ebp - 0x2c]
push eax
call esi
add esp, 4
mov edi, 8
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0xf8], edi
jb 0x40364f
mov ecx, dword [ebp - 0x10c]
push ecx
call esi
add esp, 4
cmp dword [ebp - 0x34], edi
jb 0x40365d
mov edx, dword [ebp - 0x48]
push edx
call esi
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419b16
mov esp, ebp
pop ebp
ret 4