Function at 0x42ead0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490708
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x410
push ebx
push esi
push edi
mov ecx, 8
mov esi, str._04d__02d__02d__02d._02d._02d.bak
lea edi, [ebp - 0x228]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x10], esp
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x28]
movzx edx, word [ebp - 0x2a]
movzx eax, word [ebp - 0x2c]
push ecx
movzx ecx, word [ebp - 0x2e]
push edx
movzx edx, word [ebp - 0x32]
push eax
movzx eax, word [ebp - 0x34]
push ecx
push edx
push eax
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x41c]
push edx
call fcn.004616ad
mov eax, dword [0x4c0de0]
add esp, 0x20
test eax, eax
je 0x42efbe
xor esi, esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
call fcn.00431040
mov ecx, dword [0x4c0de0]
mov dword [ebp - 4], esi
call fcn.0042ceb0
mov ebx, eax
cmp ebx, esi
je 0x42ecc7
jmp 0x42eb80
cmp byte [ebx + 0x28], 0
je 0x42eb90
lea eax, [ebx + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x1c], ebx
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.0042db40
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
mov dword [edx + 0x4c], ecx
mov eax, dword [ebp - 0x1c]
add eax, 0x50
push 0x49e2b4
push eax
mov byte [ebp - 0x20], 1
call fcn.00404a70
add esp, 8
cmp byte [ebp - 0x20], 0
mov byte [ebp - 4], 0
je 0x42ec45
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 0x20], 0
xor edi, edi
mov dword [ecx + 0x4c], edi
mov eax, dword [ebp - 0x1c]
lea esi, [eax + 0x50]
push 0xa
mov ecx, esi
mov dword [ebp - 0x24], eax
call fcn.0040c6b0
mov edx, dword [esi]
mov eax, dword [edx + 4]
add eax, esi
test byte [eax + 8], 6
jne 0x42ec0c
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x2c]
cmp eax, 0xffffffff
jne 0x42ec0c
mov edi, 4
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
test edi, edi
je 0x42ec2c
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], 0
jne 0x42ec24
or al, 4
push 0
push eax
call fcn.0045fbe7
mov eax, dword [ebp - 0x24]
mov byte [eax + 0x48], 0
cmp byte [eax + 0x28], 0
je 0x42ec45
mov ecx, eax
add ecx, 0x30
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea edi, [ebx + 0x50]
cmp dword [edi + 0x5c], 0
lea esi, [edi + 4]
je 0x42ec95
mov ecx, esi
call fcn.0042deb0
test al, al
je 0x42ec95
mov edx, dword [esi + 0x58]
push edx
call fcn.00462d4e
add esp, 4
test eax, eax
jne 0x42ec95
mov ecx, esi
mov byte [esi + 0x54], al
mov byte [esi + 0x4c], al
call fcn.0042aca0
xor eax, eax
mov dword [esi + 0x58], eax
mov ecx, dword [0x4c0ecc]
mov dword [esi + 0x50], ecx
mov edx, dword [0x4c0ecc]
mov dword [esi + 0x40], edx
mov dword [esi + 0x3c], eax
jmp 0x42ecb2
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edi + 8]
add ecx, edi
or al, 2
cmp dword [ecx + 0x28], 0
jne 0x42ecaa
or al, 4
push 0
push eax
call fcn.0045fbe7
mov ecx, dword [0x4c0de0]
call fcn.0042ceb0
mov ebx, eax
test ebx, ebx
jne 0x42eb80
lea ecx, [ebp - 0x18]
call fcn.00430d80
cmp dword [ebp - 0x18], 0
je 0x42ed2e
mov esi, dword [ebp - 0x14]
sub dword [ebp - 0x18], 1
jne 0x42ed18
cmp byte [esi + 4], 0
je 0x42ecee
lea ecx, [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x50]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, 1
sub edx, edi
test edi, edi
mov dword [esi + 0x50], edx
je 0x42ed18
sub edi, 1
cmp byte [esi + 4], 0
je 0x42ed14
lea eax, [esi + 0xc]
push eax
call ebx
test edi, edi
jne 0x42ed05
cmp byte [esi + 0x24], 0
je 0x42ed28
lea ecx, [esi + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x18], 0
jne 0x42ecd8
mov edx, dword [0x4c0de0]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 2
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], edx
call fcn.00431040
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileA]
mov byte [ebp - 4], 3
jmp 0x42ed60
mov ecx, dword [0x4c0de0]
call fcn.0042ceb0
test eax, eax
je 0x42edc9
lea esi, [eax + 0x20]
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x20]
push esi
push ecx
call fcn.0042e000
add esp, 0xc
cmp dword [eax], 0
jne 0x42ed92
mov ecx, 0x494380
jmp 0x42ed97
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
cmp dword [esi], 0
jne 0x42eda3
mov eax, 0x494380
jmp 0x42eda8
mov esi, dword [esi]
mov eax, dword [esi + 0x10]
push ecx
push eax
call edi
cmp dword [ebp - 0x20], 0
je 0x42ed60
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
call dword [edx + 4]
mov dword [ebp - 0x20], 0
jmp 0x42ed60
lea ecx, [ebp - 0x18]
call fcn.00430d80
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0
je 0x42ee2e
sub dword [ebp - 0x18], 1
jne 0x42ee1c
cmp byte [esi + 4], 0
je 0x42edf4
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 0x50]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, 1
sub ecx, edi
mov dword [esi + 0x50], ecx
test edi, edi
je 0x42ee1c
sub edi, 1
cmp byte [esi + 4], 0
je 0x42ee07
lea edx, [esi + 0xc]
push edx
call ebx
jmp 0x42ee07
cmp byte [esi + 0x24], 0
je 0x42edd8
lea eax, [esi + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x42edd8
mov ecx, dword [0x4c0de0]
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
call fcn.00431040
mov ecx, dword [0x4c0de0]
mov dword [ebp - 4], 5
call fcn.0042ceb0
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x42ef57
push 1
mov ecx, ebx
call fcn.0042e0a0
cmp dword [ebx + 0xac], 0
je 0x42efcf
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x14], ebx
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.0042db40
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
mov dword [eax + 0x4c], edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x50
push 0x49e29c
push ecx
mov byte [ebp - 0x18], 1
call fcn.00404a70
add esp, 8
cmp byte [ebp - 0x18], 0
mov byte [ebp - 4], 5
je 0x42ef2f
mov edx, dword [ebp - 0x14]
mov byte [ebp - 0x18], 0
xor edi, edi
mov dword [edx + 0x4c], edi
mov eax, dword [ebp - 0x14]
lea esi, [eax + 0x50]
push 0xa
mov ecx, esi
mov ebx, eax
call fcn.0040c6b0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
test byte [ecx + esi + 8], 6
lea eax, [ecx + esi]
jne 0x42eef8
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x2c]
cmp eax, 0xffffffff
jne 0x42eef8
mov edi, 4
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
test edi, edi
je 0x42ef18
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], 0
jne 0x42ef10
or al, 4
push 0
push eax
call fcn.0045fbe7
mov byte [ebx + 0x48], 0
cmp byte [ebx + 0x28], 0
je 0x42ef2c
add ebx, 0x30
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [ebp - 0x24]
cmp byte [ebx + 0x28], 0
je 0x42ef3f
add ebx, 0x30
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x4c0de0]
call fcn.0042ceb0
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
jne 0x42ee65
lea ecx, [ebp - 0x20]
call fcn.00430d80
cmp dword [ebp - 0x20], 0
je 0x42efbe
mov esi, dword [ebp - 0x1c]
sub dword [ebp - 0x20], 1
jne 0x42efa8
cmp byte [esi + 4], 0
je 0x42ef7e
lea ecx, [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x50]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, 1
sub edx, edi
test edi, edi
mov dword [esi + 0x50], edx
je 0x42efa8
sub edi, 1
cmp byte [esi + 4], 0
je 0x42efa4
lea eax, [esi + 0xc]
push eax
call ebx
test edi, edi
jne 0x42ef95
cmp byte [esi + 0x24], 0
je 0x42efb8
lea ecx, [esi + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x20], 0
jne 0x42ef68
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x10], 0
jne 0x42efdc
mov eax, 0x494380
jmp 0x42efe2
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x10]
push 0x49e28c
push eax
push 0x49e268
push 0x4c1fd8
call fcn.00404a70
add esp, 8
push eax
call fcn.00404a70
add esp, 8
push eax
call fcn.00404a70
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.0040c6b0
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
lea eax, [edx + esi]
xor edi, edi
test byte [eax + 8], 6
jne 0x42f03b
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x2c]
cmp eax, 0xffffffff
jne 0x42f03b
mov edi, 4
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
test edi, edi
je 0x42ef2f
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], 0
jne 0x42f057
or al, 4
push 0
push eax
call fcn.0045fbe7
jmp 0x42ef2f