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

Disassembly:
push 0xffffffffffffffff
push 0x44b373
mov eax, dword fs:[0]
push eax
sub esp, 0x3a8
mov eax, dword [0x45e520]
xor eax, esp
mov dword [esp + 0x3a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45e520]
xor eax, esp
push eax
lea eax, [esp + 0x3bc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3cc]
mov edi, edx
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
jbe 0x40d64d
call fcn.00432c1e
mov ebp, esi
nop
mov esi, dword [edi + 8]
cmp dword [edi + 4], esi
jbe 0x40d65d
call fcn.00432c1e
cmp ebp, esi
je 0x40dbad
xor ebx, ebx
push 0x103
lea edx, [esp + 0x71]
push ebx
push edx
mov byte [esp + 0x78], bl
call fcn.00436440
add esp, 0xc
push 0x104
lea eax, [esp + 0x174]
push ebx
push eax
call fcn.00436440
add esp, 0xc
cmp ebp, dword [edi + 8]
jb 0x40d69e
call fcn.00432c1e
mov ecx, dword [esp + 0x28]
push ebp
call fcn.00402430
mov edx, eax
lea esi, [esp + 0x70]
call fcn.004034c0
test eax, eax
je 0x40db4a
mov ecx, esi
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
je 0x40db4a
cmp ebp, dword [edi + 8]
jb 0x40d6d6
call fcn.00432c1e
push ebp
lea edx, [esp + 0x70]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [esp + 0x274]
push eax
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x40d89d
mov edx, 0x104
lea eax, [esp + 0x170]
lea ebx, [ebx]
mov cl, byte [eax - 0x104]
cmp cl, bl
je 0x40d726
mov byte [eax], cl
add eax, 1
sub edx, 1
jne 0x40d710
jmp 0x40d72a
cmp edx, ebx
jne 0x40d72d
sub eax, 1
cmp ebp, dword [edi + 8]
mov byte [eax], bl
jb 0x40d739
call fcn.00432c1e
cmp dword [ebp + 0x108], ebx
jne 0x40d7d7
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
mov dword [esp + 0x3c4], ebx
lea ebx, [esp + 0x34]
call fcn.0040c580
mov eax, dword [esp + 0x38]
mov esi, 0x10
cmp dword [esp + 0x4c], esi
jae 0x40d778
lea eax, [esp + 0x38]
push eax
lea edi, [esp + 0x174]
call fcn.00402f30
mov dword [esp + 0x3c4], 0xffffffff
cmp dword [esp + 0x4c], esi
jb 0x40d7a3
mov edx, dword [esp + 0x38]
push edx
call fcn.00416c01
add esp, 4
xor ebx, ebx
lea edx, [esp + 0x170]
push edx
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
lea eax, [esp + 0x6c]
je 0x40d954
mov esi, dword [esp + 0x24]
call fcn.00410c70
mov esi, 0xf
jmp 0x40d919
push ebx
call fcn.00433fb9
mov dword [esp + 0x30], eax
add esp, 4
lea eax, [esp + 0x2c]
push eax
mov ecx, str..clientBak_Y_m_d_H_M_S
lea edi, [esp + 0x24]
mov dword [esp + 0x34], edx
call fcn.00402e40
mov dword [esp + 0x3c4], 1
mov esi, dword [eax]
mov eax, esi
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40d820
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x3c]
call fcn.004024f0
mov dword [esp + 0x3c4], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d861
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
mov esi, 0x10
cmp dword [esp + 0x4c], esi
jae 0x40d874
lea eax, [esp + 0x38]
push eax
lea edi, [esp + 0x174]
call fcn.00402f30
cmp dword [esp + 0x4c], esi
jb 0x40d7a5
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00416c01
add esp, 4
jmp 0x40d7a5
sub esp, 0x1c
mov esi, esp
lea eax, [esp + 0x88]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov dword [esp + 0x34], esp
mov byte [esi + 4], bl
lea edi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40d8c0
sub eax, edi
push eax
lea ecx, [esp + 0x8c]
push ecx
mov ecx, esi
call fcn.004024f0
sub esp, 0x1c
mov dword [esp + 0x3fc], 5
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0x2e
mov esi, 0xf
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push 0x452a84
mov byte [ecx + 4], bl
call fcn.004024f0
mov dword [esp + 0x3fc], 0xffffffff
call fcn.004041e0
mov edi, dword [esp + 0x1c]
cmp ebp, dword [edi + 8]
jb 0x40d927
call fcn.00432c1e
mov edx, dword [ebp + 0x104]
push edx
lea ecx, [esp + 0x70]
call fcn.00403670
test eax, eax
je 0x40da78
cmp ebp, dword [edi + 8]
jb 0x40d949
call fcn.00432c1e
add ebp, 0x214
jmp 0x40d650
mov esi, 0xf
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40d968
sub eax, edx
push eax
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x58]
call fcn.004024f0
push 0xc
push 0x4533dc
lea eax, [esp + 0x58]
mov dword [esp + 0x3cc], 2
call fcn.00411890
lea eax, [esp + 0x170]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40d9b3
sub eax, esi
push eax
lea ecx, [esp + 0x174]
push ecx
lea ecx, [esp + 0x3c]
call fcn.004024f0
push 8
push 0x4533ec
lea eax, [esp + 0x3c]
mov byte [esp + 0x3cc], 3
call fcn.00411890
sub esp, 0x1c
mov edi, esp
lea edx, [esp + 0x50]
mov dword [esp + 0x30], esp
push edx
lea eax, [esp + 0x70]
push eax
call fcn.00412c80
sub esp, 0x14
mov byte [esp + 0x3fc], 4
mov ecx, esp
mov dword [esp + 0x50], esp
push 0xe
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.MoveFile__
mov byte [ecx + 4], bl
call fcn.004024f0
mov byte [esp + 0x3fc], 3
call fcn.004041e0
mov ebp, 0x10
xor esi, esi
cmp dword [esp + 0x4c], ebp
jb 0x40da52
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x68], ebp
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
jb 0x40da71
mov edx, dword [esp + 0x54]
push edx
call fcn.00416c01
add esp, 4
mov eax, esi
jmp 0x40db20
lea eax, [esp + 0x6c]
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
lea edx, [eax + 1]
jmp 0x40da90
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40da90
sub eax, edx
push eax
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x58]
call fcn.004024f0
sub esp, 0x1c
mov dword [esp + 0x3e0], 6
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x10
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.UpdateFile__
mov byte [ecx + 4], bl
call fcn.004024f0
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0x3fc], 7
mov dword [esp + 0x50], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x90]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00402280
mov byte [esp + 0x3fc], 6
call fcn.004041e0
cmp dword [esp + 0x68], 0x10
jb 0x40db1e
mov eax, dword [esp + 0x54]
push eax
call fcn.00416c01
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x3bc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3a0]
xor ecx, esp
call fcn.004322f2
add esp, 0x3b4
ret 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 5
mov esi, 0xf
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.fail_
mov byte [ecx + 4], bl
call fcn.004024f0
sub esp, 0x1c
mov dword [esp + 0x3fc], 8
mov ecx, esp
mov dword [esp + 0x50], esp
push 0x24
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.BuildPath
mov byte [ecx + 4], bl
call fcn.004024f0
mov dword [esp + 0x3fc], 0xffffffff
call fcn.004041e0
xor eax, eax
jmp 0x40db20
mov eax, 1
jmp 0x40db20