Function at 0x408d70
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ac60
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x47900c]
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 esi, ecx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x70]
mov edi, dword [ebp + 8]
push ebx
push edi
push eax
call fcn.0040a530
push ebx
push edi
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
call fcn.0040a840
xor bl, 1
mov byte [ebp - 4], 1
movzx eax, bl
push eax
push edi
lea eax, [ebp - 0x58]
push eax
call fcn.0040a840
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0043eb32
add esp, 4
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.0043eb32
add esp, 4
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x70]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x5c], 8
push ecx
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.0043eb5a
mov ebx, eax
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
add esp, 8
mov word [ebp - 0x28], ax
push eax
push edi
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 3
push eax
call fcn.0040a840
push eax
lea ecx, [ebp - 0x28]
call fcn.0040b620
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x408e8b
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408e81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409050
push edx
push ecx
call fcn.00434541
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.00407890
test al, al
jne 0x408f03
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.Error:_Sync_of_applet__s_failed.
call fcn.00402c70
mov byte [ebp - 4], 2
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x408eee
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408ee4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409055
push edx
push ecx
call fcn.00434541
add esp, 8
test ebx, ebx
je 0x408f3e
push str.rename_file_failed_n
call fcn.00402c70
add esp, 4
xor bl, bl
jmp 0x408f62
call fcn.0040ab50
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x408eee
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408ee4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409055
jmp 0x408ee4
push 0xffffffffffffffff
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
mov ecx, esi
call fcn.0040b360
mov dword [eax], 2
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov bl, 1
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x408f9c
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408f92
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40905a
push edx
push ecx
call fcn.00434541
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 8
jb 0x408fe6
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408fdc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40905a
push edx
push ecx
call fcn.00434541
add esp, 8
mov edx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x409030
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409026
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40905a
push edx
push ecx
call fcn.00434541
add esp, 8
mov al, bl
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.00434098
mov esp, ebp
pop ebp
ret 8
call fcn.0043e4ec
call fcn.0043e4ec
call fcn.0043e4ec
int3