Function at 0x42fe10
Capabilities:
Check for time delay via gettickcount
Delete file
Move file
Resolve function by parsing pe exports
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x61c]
sub esp, 0x61c
push 0xffffffffffffffff
push 0x47436b
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x4968d4]
xor eax, ebp
mov dword [ebp + 0x618], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov eax, dword [edi + 0xb0]
push eax
push str.DiffPatch___begins_:_Section___d_
push 0x40
mov dword [ebp - 0x68], edi
call fcn.0042b8f0
push 0x103
xor esi, esi
lea ecx, [ebp + 0x515]
push esi
push ecx
mov byte [ebp + 0x514], 0
call fcn.00455df0
push 0x103
lea edx, [ebp + 0x411]
push esi
push edx
mov byte [ebp + 0x410], 0
call fcn.00455df0
push 0x103
lea eax, [ebp + 0x30d]
push esi
push eax
mov byte [ebp + 0x30c], 0
call fcn.00455df0
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x30
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0xb0], esi
call ebx
mov dword [ebp - 0x4c], eax
call ebx
mov dword [ebp - 0x64], eax
mov eax, dword [edi + 0xbc]
cmp eax, esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x50], esi
jne 0x42fef4
mov dword [ebp - 0x6c], esi
jmp 0x42ff10
mov ecx, dword [edi + 0xc0]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0x11]
call fcn.00433ef0
mov eax, dword [edi + 0xbc]
cmp eax, esi
jne 0x42ff27
mov dword [ebp - 0x34], esi
jmp 0x42ff43
mov ecx, dword [edi + 0xc0]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x34], eax
lea esi, [edi + 0xc8]
mov ecx, esi
call fcn.0042b150
mov ecx, dword [edi + 0xb0]
mov edx, dword [edi + 0xac]
push ecx
push edx
push str.Last_Patched_progress_is_Ver___d__Section___d_
push 1
mov dword [ebp - 0x24], eax
call fcn.0042b8f0
fild dword [ebp - 0x34]
add esp, 0xc
xor eax, eax
fdivr qword [0x47aa10]
mov ecx, esp
mov dword [ebp - 0x54], esp
push 0x483884
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x38], eax
fimul dword [ebp - 0x24]
fstp dword [ebp - 0x40]
call fcn.00421160
fld dword [ebp - 0x40]
push ecx
mov ecx, edi
fstp dword [esp]
call fcn.0042f650
mov eax, dword [ebp - 0x24]
add eax, 1
cmp eax, dword [ebp - 0x6c]
mov dword [ebp - 0x24], eax
jle 0x430053
mov ecx, esi
call fcn.0042b170
call ebx
mov esi, eax
sub esi, dword [ebp - 0x4c]
push str._________________________________________
push 1
call fcn.0042b8f0
mov eax, dword [ebp - 0x58]
push esi
push eax
call fcn.0042b0e0
push eax
push str.TotalMoveTime_______s
push 1
call fcn.0042b8f0
mov ecx, dword [ebp - 0xa4]
push esi
push ecx
call fcn.0042b0e0
push eax
push str.TotalChecksumTime___s
push 1
call fcn.0042b8f0
mov edx, dword [ebp - 0x50]
push esi
push edx
call fcn.0042b0e0
push eax
push str.TotalIOTime_________s
push 1
call fcn.0042b8f0
mov eax, dword [ebp - 0xb0]
add esp, 0x44
push esi
push eax
call fcn.0042b0e0
push eax
push str.TotalPatchTime______s
push 1
call fcn.0042b8f0
push esi
push esi
call fcn.0042b0e0
push eax
push str.TotalTime___________s
push 1
call fcn.0042b8f0
add esp, 0x28
xor eax, eax
jmp 0x430cab
call ebx
lea esi, [edi + 0xb8]
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
mov dword [ebp - 0x18], eax
jbe 0x43006e
call fcn.0045520c
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
lea edx, [eax + eax*4 - 5]
lea eax, [ecx + edx*8]
cmp eax, dword [esi + 8]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
ja 0x43008e
cmp eax, dword [esi + 4]
jae 0x430093
call fcn.0045520c
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], esi
call fcn.00428400
cmp dword [eax + 0xbf4], 0
je 0x4300ba
mov eax, 2
jmp 0x430cab
fild dword [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
cmp esi, dword [ecx + 8]
fdivr qword [0x47aa10]
fadd dword [ebp - 0x40]
fstp dword [ebp - 0x40]
jb 0x4300d6
call fcn.0045520c
mov eax, dword [esi]
push ecx
mov dword [ebp - 0x18], esp
sub eax, 0x10
mov dword [ebp - 0x18], esp
push eax
call fcn.0040ab70
fld dword [ebp - 0x40]
mov edx, dword [ebp - 0x18]
fstp dword [esp]
add eax, 0x10
mov ecx, edi
mov dword [edx], eax
call fcn.0042f650
push 0x104
lea eax, [ebp + 0x514]
push 0
push eax
call fcn.00455df0
push 0x104
lea ecx, [ebp + 0x410]
push 0
push ecx
call fcn.00455df0
push 0x104
lea edx, [ebp + 0x30c]
push 0
push edx
call fcn.00455df0
mov eax, dword [ebp - 0x20]
add esp, 0x24
cmp esi, dword [eax + 8]
jb 0x430146
call fcn.0045520c
mov ecx, dword [esi]
push ecx
push str.Tried_to_diff_patch_:_File___s_
push 1
call fcn.0042b8f0
mov edx, dword [ebp - 0x20]
add esp, 0xc
cmp esi, dword [edx + 8]
jb 0x430165
call fcn.0045520c
mov eax, dword [esi]
mov ecx, dword [edi + 0x78]
push eax
push ecx
lea edx, [ebp + 0x514]
push 0x47ac30
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp - 0x20]
add esp, 0x10
cmp esi, dword [eax + 8]
jb 0x43018e
call fcn.0045520c
mov ecx, dword [esi]
mov edx, dword [edi + 0x80]
push ecx
push edx
lea eax, [ebp + 0x410]
push 0x47ac30
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [ebp - 0x24]
mov edx, dword [edi + 0x84]
push ecx
push edx
lea eax, [ebp + 0x30c]
push str._spatchtemp_d.dat
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [ebp + 0x514]
push ecx
lea edx, [ebp]
push 0x104
push edx
call fcn.00455410
add esp, 0x2c
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea ecx, [ebp]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x430224
lea edx, [ebp]
call fcn.0042af80
test eax, eax
jne 0x430224
lea edx, [ebp]
push edx
push str.Failed_to_RecCreateDirectory_:_Path___s_
call fcn.0042bb70
lea eax, [ebp]
push eax
push str.Failed_to_RecCreateDirectory_:_Path___s_
push 8
call fcn.0042b8f0
add esp, 0x14
push 0x80
lea ecx, [ebp + 0x514]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov edx, dword [ebp - 0x20]
cmp esi, dword [edx + 8]
jb 0x430243
call fcn.0045520c
cmp byte [esi + 0x10], 1
jne 0x430b0f
mov ecx, edi
call fcn.0042f1d0
mov eax, dword [ebp - 0x20]
cmp esi, dword [eax + 8]
jb 0x430261
call fcn.0045520c
mov ecx, dword [esi + 0x18]
or ecx, dword [esi + 0x1c]
je 0x430378
mov edx, dword [ebp - 0x20]
cmp esi, dword [edx + 8]
jb 0x43027a
call fcn.0045520c
mov eax, dword [esi + 0x20]
or eax, dword [esi + 0x24]
je 0x430378
push ecx
lea edx, [ebp + 0x514]
mov ecx, esp
mov dword [ebp - 0x18], esp
push edx
call fcn.00421160
call fcn.0042b260
mov ebx, eax
mov eax, dword [ebp - 0x20]
add esp, 4
cmp esi, dword [eax + 8]
mov dword [ebp - 0xa8], edx
jb 0x4302b5
call fcn.0045520c
mov eax, dword [ebp - 0x20]
cmp esi, dword [eax + 8]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x94], edx
jb 0x4302d4
call fcn.0045520c
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
mov eax, dword [ebp - 0xa8]
push ecx
push edx
push eax
push ebx
lea ecx, [ebp + 0x514]
push ecx
push str._s____Curr:_x__It:_x
push 1
call fcn.0042b8f0
add esp, 0x1c
cmp ebx, dword [ebp - 0x98]
jne 0x430310
mov edx, dword [ebp - 0x94]
cmp dword [ebp - 0xa8], edx
je 0x43034b
mov esi, dword [ebp - 0x98]
push esi
push ebx
lea eax, [ebp + 0x514]
push eax
push str.CRC1
call fcn.0042bb70
push esi
push ebx
lea ecx, [ebp + 0x514]
push ecx
push str.CRC1
push 8
call fcn.0042b8f0
add esp, 0x24
mov eax, 0x12
jmp 0x430cab
lea ecx, [ebp - 0x2c]
call fcn.0042f2e0
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0xa8]
push edx
push eax
push ecx
push ebx
push str.FileSize__
push 1
call fcn.0042b8f0
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x18
push ecx
lea edx, [ebp + 0x514]
mov ecx, esp
mov dword [ebp - 0x18], esp
push edx
call fcn.00421160
call fcn.0042b260
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x20]
add esp, 4
cmp esi, dword [eax + 8]
mov dword [ebp - 0x84], edx
jb 0x4303ab
call fcn.0045520c
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 4], 0
call ebx
lea eax, [ebp + 0x410]
lea ecx, [edi + 4]
push eax
call fcn.004338f0
call ebx
call ebx
sub eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x11]
add dword [ebp - 0x50], eax
mov dword [ebp - 0x60], eax
lea eax, [edi + 4]
push eax
call fcn.00434340
mov ebx, dword [ebp - 0x20]
cmp esi, dword [ebx + 8]
mov dword [ebp - 0x38], eax
jb 0x4303fe
call fcn.0045520c
mov ecx, dword [esi + 0x18]
or ecx, dword [esi + 0x1c]
je 0x4304fe
cmp esi, dword [ebx + 8]
jb 0x430414
call fcn.0045520c
mov edx, dword [esi + 0x20]
or edx, dword [esi + 0x24]
je 0x4304fe
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x90]
cmp eax, ecx
jne 0x4304fe
mov edx, dword [ebp - 0x8c]
cmp dword [ebp - 0x84], edx
jne 0x4304fe
cmp dword [ebp - 0x38], 0
je 0x4304fe
push ecx
push eax
lea eax, [ebp + 0x514]
push eax
push 0x47c568
push 0x40
call fcn.0042b8f0
add dword [ebp - 0x74], 1
add esp, 0x14
push 0x20
call fcn.00434537
mov ecx, eax
add esp, 4
mov dword [ebp - 0x18], ecx
test ecx, ecx
mov byte [ebp - 4], 1
je 0x430493
lea edx, [ebp + 0x514]
push edx
call fcn.004343f0
mov ebx, eax
jmp 0x430495
xor ebx, ebx
mov ecx, ebx
mov byte [ebp - 4], 0
call fcn.004343b0
test al, al
je 0x4304b3
lea eax, [edi + 4]
push eax
push ebx
lea ecx, [ebp - 0x11]
call fcn.00434260
jmp 0x4304e4
lea eax, [ebp + 0x514]
push eax
push 0x47c550
call fcn.0042bb70
add esp, 8
lea ecx, [ebp + 0x514]
push ecx
push 0x47c550
push 8
call fcn.0042b8f0
add esp, 0xc
mov dword [ebp - 0x38], 0
test ebx, ebx
je 0x430505
mov edx, dword [ebx]
mov eax, dword [edx]
push 1
mov ecx, ebx
call eax
mov dword [ebp - 4], 0xffffffff
jmp 0x4305d5
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
jmp 0x4305d5
cmp dword [ebp - 0x38], 0
jne 0x430733
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], 3
call ebx
mov dword [ebp - 0x64], eax
call ebx
lea edx, [ebp + 0x514]
push edx
lea ecx, [edi + 0x20]
call fcn.004338f0
call ebx
mov dword [ebp - 4], 0xffffffff
jmp 0x4306af
push ecx
lea edx, [ebp + 0x514]
mov ecx, esp
mov dword [ebp - 0x18], esp
push edx
call fcn.00421160
lea ebx, [edi + 0x3c]
mov ecx, ebx
call fcn.00433b10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [edi + 0x30], 0
je 0x43081c
cmp dword [edi + 0x14], 0
je 0x43081c
cmp dword [edi + 0x4c], 0
je 0x43081c
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x88]
push eax
push ecx
lea edx, [ebp + 0x514]
push edx
push 0x47c4cc
push 0x40
call fcn.0042b8f0
add esp, 0x14
lea eax, [ebp - 0xb4]
push eax
push ebx
lea ecx, [edi + 4]
push ecx
lea edx, [edi + 0x20]
push edx
lea ecx, [ebp - 0x11]
call fcn.00434010
test eax, eax
jne 0x430cab
mov ebx, dword [ebp - 0x20]
cmp esi, dword [ebx + 8]
jb 0x430740
call fcn.0045520c
mov edx, dword [esi + 0x18]
or edx, dword [esi + 0x1c]
je 0x430a41
cmp esi, dword [ebx + 8]
jb 0x430756
call fcn.0045520c
mov eax, dword [esi + 0x20]
or eax, dword [esi + 0x24]
je 0x430a41
push ecx
lea edx, [ebp + 0x514]
mov ecx, esp
mov dword [ebp - 0x18], esp
push edx
call fcn.00421160
call fcn.0042b260
mov ebx, eax
mov eax, dword [ebp - 0x20]
add esp, 4
cmp esi, dword [eax + 8]
mov dword [ebp - 0x9c], edx
jb 0x430791
call fcn.0045520c
mov eax, dword [ebp - 0x20]
cmp esi, dword [eax + 8]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], edx
jb 0x4307aa
call fcn.0045520c
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x20]
mov eax, dword [ebp - 0x9c]
push ecx
push edx
push eax
push ebx
lea ecx, [ebp + 0x514]
push ecx
push str._s____Curr:_x__It:_x
push 1
call fcn.0042b8f0
add esp, 0x1c
cmp ebx, dword [ebp - 0x80]
jne 0x4307e4
mov edx, dword [ebp - 0x7c]
cmp dword [ebp - 0x9c], edx
je 0x430a12
mov esi, dword [ebp - 0x80]
push esi
push ebx
lea eax, [ebp + 0x514]
push eax
push str.CRC2
call fcn.0042bb70
push esi
push ebx
lea ecx, [ebp + 0x514]
push ecx
push str.CRC2
push 8
call fcn.0042b8f0
add esp, 0x24
mov eax, 0x12
jmp 0x430cab
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x18], eax
push 0x47bb58
lea eax, [ebp + 0x514]
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.004572a8
push 0x47bb58
lea edx, [ebp + 0x410]
mov ebx, eax
push edx
lea eax, [ebp - 0x48]
push eax
call fcn.004572a8
push 0x47bb28
lea ecx, [ebp + 0x30c]
push ecx
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x30], eax
call fcn.004572a8
add esp, 0x24
test ebx, ebx
mov dword [ebp - 0x5c], eax
jne 0x43087e
cmp dword [ebp - 0x30], ebx
jne 0x43087e
test eax, eax
je 0x4308a9
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x30]
push eax
push ecx
push ebx
push str.File_Open_Error_:_Org___d__Pch___d__Out___d_
call fcn.0042bb70
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x30]
push edx
push eax
push ebx
push str.File_Open_Error_:_Org___d__Pch___d__Out___d_
push 8
call fcn.0042b8f0
add esp, 0x24
lea ecx, [ebp + 0x514]
push ecx
push 0x47c46c
push 0x40
call fcn.0042b8f0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
push edx
push eax
push ecx
call fcn.00433d10
mov ebx, eax
push ebx
lea edx, [ebp + 0x514]
push edx
push str.old_patch_:__s___d
call fcn.0042bb70
push ebx
lea eax, [ebp + 0x514]
push eax
push str.old_patch_:__s___d
push 8
call fcn.0042b8f0
add esp, 0x34
cmp dword [edi + 0x30], 0
jne 0x430917
push str.m_OrgStream.GetMemory____NULL
call fcn.0042bb70
push str.m_OrgStream.GetMemory____NULL
push 8
call fcn.0042b8f0
add esp, 0xc
cmp dword [edi + 0x14], 0
jne 0x430936
push str.m_PchStream.GetMemory____NULL
call fcn.0042bb70
push str.m_PchStream.GetMemory____NULL
push 8
call fcn.0042b8f0
add esp, 0xc
cmp dword [edi + 0x4c], 0
jne 0x430955
push str.m_OutStream.GetMemory____NULL
call fcn.0042bb70
push str.m_OutStream.GetMemory____NULL
push 8
call fcn.0042b8f0
add esp, 0xc
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.00456dad
mov edx, dword [ebp - 0x48]
push edx
call fcn.00456dad
mov eax, dword [ebp - 0x18]
push eax
call fcn.00456dad
add esp, 0xc
push 0x80
lea ecx, [ebp + 0x30c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 1
lea edx, [ebp + 0x514]
push edx
lea eax, [ebp + 0x30c]
push eax
call ebx
mov dword [ebp - 0x30], 3
test eax, eax
jne 0x4309c5
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
lea ecx, [ebp + 0x514]
push ecx
lea edx, [ebp + 0x30c]
push edx
call ebx
sub dword [ebp - 0x30], 1
jne 0x4309a4
jmp 0x430733
mov edx, dword [ebp - 0x20]
cmp esi, dword [edx + 8]
jb 0x430a1f
call fcn.0045520c
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
mov edx, dword [ebp - 0x9c]
push eax
push ecx
push edx
push ebx
push 0x47c3a4
push 1
call fcn.0042b8f0
mov ebx, dword [ebp - 0x20]
add esp, 0x18
lea eax, [ebp + 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp + 0x30c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, dword [ebx + 8]
jb 0x430a6f
call fcn.0045520c
cmp esi, dword [ebx + 8]
jb 0x430a6f
call fcn.0045520c
mov edx, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
mov eax, dword [edi + 0x38]
push edx
mov edx, dword [esi + 0x1c]
push ecx
mov ecx, dword [esi + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edx
mov edx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x78]
push edx
mov edx, dword [ebp - 0x60]
push ecx
mov ecx, dword [ebp - 0x70]
push edx
push ecx
push eax
lea edx, [ebp + 0x514]
push edx
call esi
sub eax, dword [ebp - 0x4c]
push eax
call esi
sub eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x34]
push eax
add ecx, 1
push ecx
push 0
push str.E_Thread:_d____03d__03d__Diff.___5dms__7dms.__s___d__tChecksumTime___dms_tIOTime_________dms_tPatchTime______dms_tMoveTime_______dms_tOrgFileSize____u_tNewFileSize____u_t
push 1
call fcn.0042b8f0
add esp, 0x44
jmp 0x430c8a
mov ecx, dword [ebp - 0x20]
cmp esi, dword [ecx + 8]
jb 0x430b1c
call fcn.0045520c
cmp byte [esi + 0x10], 2
jne 0x430ca6
xor esi, esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x78], esi
call fcn.00428400
cmp dword [eax + 0xbf4], esi
jne 0x4300b0
call ebx
lea edx, [ebp + 0x514]
push edx
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x208]
push 0x104
push eax
call fcn.00455410
lea ecx, [ebp + 0x208]
push ecx
lea edx, [ebp + 0x104]
push 0x104
push edx
call fcn.00455410
add esp, 0x18
lea eax, [ebp + 0x104]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea ecx, [ebp + 0x104]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x430bcb
lea edx, [ebp + 0x104]
call fcn.0042af80
test eax, eax
jne 0x430bcb
lea edx, [ebp + 0x104]
push edx
push str.Failed_to_RecCreateDirectory_:_Path___s_
call fcn.0042bb70
lea eax, [ebp + 0x104]
push eax
push str.Failed_to_RecCreateDirectory_:_Path___s_
push 8
call fcn.0042b8f0
add esp, 0x14
push 0x80
lea ecx, [ebp + 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 1
lea edx, [ebp + 0x208]
push edx
lea eax, [ebp + 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x430c36
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
lea ecx, [ebp + 0x208]
push ecx
lea edx, [ebp + 0x410]
push edx
push str.Move_Error____s_____s._ErrCode___d
call fcn.0042bb70
push esi
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp + 0x410]
push ecx
push str.Move_Error____s_____s._ErrCode___d
push 8
call fcn.0042b8f0
add esp, 0x24
call ebx
mov esi, eax
sub esi, dword [ebp - 0x3c]
lea edx, [ebp + 0x410]
add dword [ebp - 0x58], esi
push edx
mov dword [ebp - 0x3c], esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x60]
push esi
push 0
push eax
push 0
push 0
lea ecx, [ebp + 0x514]
push ecx
call ebx
sub eax, dword [ebp - 0x4c]
push eax
call ebx
sub eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x24]
push edx
add eax, 1
push eax
push 0
push str.E_Thread:_d____03d__03d__Move.___5dms__7dms.__s___d__tChecksumTime___dms_tIOTime_________dms_tPatchTime______dms_tMoveTime_______dms_t
push 1
call fcn.0042b8f0
add esp, 0x34
mov ecx, dword [ebp - 0x24]
lea esi, [edi + 0xc8]
push ecx
mov ecx, esi
call fcn.0042b160
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x42ffa4
mov eax, 0xd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x618]
xor ecx, ebp
call fcn.00454567
add ebp, 0x61c
mov esp, ebp
pop ebp
ret