Function at 0x4031d0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ba20
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x424018]
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 [0x424c0c], al
jne 0x40324f
or dword [0x424c0c], eax
mov byte [ebp - 4], al
call fcn.0040dbc0
push 0x41cdb0
call fcn.00419b1d
add esp, 4
mov byte [ebp - 4], bl
cmp dword [0x424c44], ebx
je 0x40350f
mov edx, dword [0x424c10]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push 0x424c34
or eax, 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00401cc0
mov eax, dword [0x424c10]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea edx, [ebp - 0x64]
push esi
push edx
call fcn.00404c20
add esp, 8
mov ecx, eax
mov eax, 0x424098
lea ebx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.00404ce0
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 3
call fcn.00401840
mov edi, 0x10
cmp dword [ebp - 0x88], edi
jb 0x4032d6
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 0x403305
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, 0x41e534
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.00401f80
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.00404d60
mov ecx, eax
mov eax, dword [ebp - 0x110]
lea ebx, [ebp - 0xb8]
mov byte [ebp - 4], 9
call fcn.00404ce0
mov ecx, eax
mov eax, 0x424098
lea ebx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.00404ce0
mov esi, 0x10
cmp dword [ebp - 0xa4], esi
jb 0x403395
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 0x4033c6
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 0x4033f0
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 0x403418
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 0x40342c
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.00404dc0
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 0x40346d
lea ecx, [ebp - 0x2c]
cmp dword [eax + 0x14], edi
jb 0x403474
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 0x403493
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 0x4034bf
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 0x403526
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
cmp dword [ebp - 0x18], edi
jb 0x4034d7
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 0x4034f9
mov edx, dword [ebp - 0x10c]
push edx
call esi
add esp, 4
cmp dword [ebp - 0x34], 8
jb 0x403522
mov eax, dword [ebp - 0x48]
push eax
call esi
add esp, 4
xor al, al
jmp 0x40359f
cmp dword [ebp - 0x34], 8
jb 0x403522
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 0x40359f
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.00403e60
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 0x403569
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 0x40358f
mov ecx, dword [ebp - 0x10c]
push ecx
call esi
add esp, 4
cmp dword [ebp - 0x34], edi
jb 0x40359d
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.004199f6
mov esp, ebp
pop ebp
ret 4