Function at 0x403230
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41b2b0
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x423018]
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 [0x423c0c], al
jne 0x4032af
or dword [0x423c0c], eax
mov byte [ebp - 4], al
call fcn.0040db20
push 0x41c620
call fcn.0041946d
add esp, 4
mov byte [ebp - 4], bl
cmp dword [0x423c44], ebx
je 0x40356f
mov edx, dword [0x423c10]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push 0x423c34
or eax, 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00401cf0
mov eax, dword [0x423c10]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea edx, [ebp - 0x64]
push esi
push edx
call fcn.00404c90
add esp, 8
mov ecx, eax
mov eax, 0x423098
lea ebx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.00404d50
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 3
call fcn.00401840
mov edi, 0x10
cmp dword [ebp - 0x88], edi
jb 0x403336
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 0x403365
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, 0x41d534
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.00401fb0
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.00404dd0
mov ecx, eax
mov eax, dword [ebp - 0x110]
lea ebx, [ebp - 0xb8]
mov byte [ebp - 4], 9
call fcn.00404d50
mov ecx, eax
mov eax, 0x423098
lea ebx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.00404d50
mov esi, 0x10
cmp dword [ebp - 0xa4], esi
jb 0x4033f5
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 0x403426
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 0x403450
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 0x403478
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 0x40348c
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.00404e30
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 0x4034cd
lea ecx, [ebp - 0x2c]
cmp dword [eax + 0x14], edi
jb 0x4034d4
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 0x4034f3
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 0x40351f
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 0x403586
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
cmp dword [ebp - 0x18], edi
jb 0x403537
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 0x403559
mov edx, dword [ebp - 0x10c]
push edx
call esi
add esp, 4
cmp dword [ebp - 0x34], 8
jb 0x403582
mov eax, dword [ebp - 0x48]
push eax
call esi
add esp, 4
xor al, al
jmp 0x4035ff
cmp dword [ebp - 0x34], 8
jb 0x403582
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 0x4035ff
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.00403ed0
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 0x4035c9
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 0x4035ef
mov ecx, dword [ebp - 0x10c]
push ecx
call esi
add esp, 4
cmp dword [ebp - 0x34], edi
jb 0x4035fd
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.00419346
mov esp, ebp
pop ebp
ret 4