Function at 0x4c9e30
Capabilities:
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x36
push 0
push 0
dec ecx
jne 0x4c9e38
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4cb4d7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x2c], 0
je 0x4c9e6f
mov eax, dword [ebp - 0x2c]
mov edx, dword [0x438a08]
call fcn.00404180
test al, al
jne 0x4c9e73
xor eax, eax
jmp 0x4c9e75
mov al, 1
mov byte [ebp - 0x7d], al
cmp byte [ebp - 0x7d], 0
je 0x4c9e9b
mov eax, dword [ebp - 0x2c]
mov edx, dword [0x438a08]
call fcn.004041a4
xor edx, edx
call fcn.00439e6c
lea eax, [ebp - 0x2c]
call fcn.004134a0
mov eax, dword [ebp - 4]
call fcn.004c9208
test al, al
jne 0x4cb44e
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004c91ec
mov eax, dword [ebp - 4]
call fcn.004c91b4
test al, al
je 0x4c9ee2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
mov edx, 0x4cb4f0
call fcn.00449798
push ebp
mov al, 1
call fcn.004c9cbc
pop ecx
jmp 0x4cb44e
mov eax, dword [ebp - 4]
call fcn.004c9b74
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
xor edx, edx
call fcn.00449798
mov eax, dword [0x4d5070]
mov eax, dword [eax]
call fcn.00468310
lea eax, [ebp - 0x74]
call fcn.00404ed4
mov dl, 1
mov eax, dword [0x41ede4]
call fcn.00403fc4
mov dword [ebp - 8], eax
call fcn.00478d70
mov eax, dword [eax + 0xc]
call fcn.0046ac1c
test al, al
je 0x4ca060
jmp 0x4ca04a
call fcn.00478d70
mov edx, dword [eax + 0xc]
lea eax, [ebp - 0x74]
call fcn.00404f6c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
mov edx, 0x4cb510
call fcn.00449798
mov eax, dword [ebp - 8]
push eax
push 0
push 0
call fcn.00478d70
mov ecx, dword [eax + 0xc]
mov dl, 1
mov eax, dword [0x4c4598]
call fcn.004c47ec
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov edx, dword [ebp - 4]
mov dword [eax + 0x94], edx
mov dword [eax + 0x90], 0x4c9a94
mov eax, dword [ebp - 0x84]
call fcn.004b736c
mov eax, dword [ebp - 0x84]
mov al, byte [eax + 0x98]
mov byte [ebp - 0x2d], al
mov eax, dword [ebp - 0x84]
call fcn.00403ff4
cmp byte [ebp - 0x2d], 0
je 0x4c9fe1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
mov edx, 0x4cb530
call fcn.00449798
push ebp
mov al, 1
call fcn.004c9cbc
pop ecx
jmp 0x4cb44e
xor eax, eax
push ebp
push 0x4ca012
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00422b84
call fcn.00478d70
mov edx, dword [ebp - 8]
call fcn.00477a24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ca042
mov eax, dword [ebp - 8]
call fcn.00423294
call fcn.00478d70
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x74]
call fcn.004052fc
jne 0x4c9f37
cmp byte [ebp - 0x7d], 0
je 0x4ca2a0
call fcn.00478d70
mov eax, dword [eax + 0x18]
call fcn.0046ac1c
test al, al
je 0x4ca2a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
mov edx, 0x4cb578
call fcn.00449798
lea edx, [ebp - 0xac]
mov eax, dword [0x4d5070]
mov eax, dword [eax]
call fcn.00468ce4
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0x48]
mov edx, 0x4cb59c
call fcn.0040c650
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x4d4d24]
push dword [eax + 4]
push dword [eax]
call fcn.00478d70
mov ecx, dword [eax + 0x18]
mov dl, 1
mov eax, dword [0x4c4598]
call fcn.004c47ec
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 4]
call fcn.004c91d0
mov edx, dword [ebp - 0x88]
mov dword [edx + 0x84], eax
mov eax, dword [ebp - 0x88]
mov edx, dword [ebp - 4]
mov dword [eax + 0x94], edx
mov dword [eax + 0x90], 0x4c9a94
mov eax, dword [ebp - 0x88]
call fcn.004b736c
mov eax, dword [ebp - 0x88]
mov al, byte [eax + 0x98]
mov byte [ebp - 0x2d], al
cmp byte [ebp - 0x2d], 0
jne 0x4ca142
mov eax, dword [0x4d4d24]
mov edx, dword [ebp - 0x88]
mov ecx, dword [edx + 0x60]
mov dword [eax], ecx
mov ecx, dword [edx + 0x64]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x88]
call fcn.00403ff4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
xor edx, edx
call fcn.00449798
mov eax, dword [0x4d5070]
mov eax, dword [eax]
call fcn.00468310
cmp byte [ebp - 0x2d], 0
jne 0x4ca28a
xor eax, eax
push ebp
push 0x4ca283
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffff
push 0x20
mov ecx, dword [ebp - 0x48]
mov dl, 1
mov eax, dword [0x41ecb0]
call fcn.0042305c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4ca263
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00422e00
lea eax, [ebp - 0xc]
call fcn.004134a0
mov eax, dword [0x4d4d24]
push dword [eax + 4]
push dword [eax]
mov eax, dword [ebp - 0x48]
call fcn.00415260
lea edx, [ebp - 0xb0]
mov eax, dword [ebp - 0x48]
call fcn.0040c718
mov eax, dword [ebp - 0xb0]
push eax
push 0x4cb5b0
lea edx, [ebp - 0xb8]
mov eax, dword [0x4d5070]
mov eax, dword [eax]
call fcn.00468ce4
push dword [ebp - 0xb8]
push 0x4cb5c4
lea eax, [ebp - 0xb4]
mov edx, 3
call fcn.00405268
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x48]
pop ecx
call fcn.00414ff4
push ebp
mov al, 1
call fcn.004c9cbc
pop ecx
mov eax, dword [ebp - 4]
call fcn.00464564
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00404914
jmp 0x4cb44e
mov eax, dword [ebp - 8]
call fcn.00423294
mov eax, dword [ebp - 0x48]
call fcn.00405364
push eax
call sub.kernel32.dll_DeleteFileA
call fcn.00478d70
mov eax, dword [eax + 0x10]
call fcn.0046ac1c
test al, al
je 0x4ca30b
lea ecx, [ebp - 0xbc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38c]
mov edx, 0xcb
call fcn.0049047c
cmp dword [ebp - 0xbc], 0
jne 0x4ca30b
call fcn.00478d70
mov eax, dword [eax + 0x10]
lea edx, [ebp - 0xc4]
call fcn.004b19b8
mov edx, dword [ebp - 0xc4]
lea eax, [ebp - 0xc0]
call fcn.004057e4
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38c]
call fcn.004943e0
push 0xa
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4b6b8c]
call fcn.004b6fb8
mov dword [ebp - 0x10], eax
call fcn.00478d70
call fcn.00478690
fstp qword [ebp - 0x38]
wait
mov eax, dword [ebp - 4]
call fcn.004c91b4
test al, al
je 0x4ca359
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
mov edx, 0x4cb4f0
call fcn.00449798
push ebp
mov al, 1
call fcn.004c9cbc
pop ecx
jmp 0x4cb44e
mov byte [ebp - 0x39], 0
call fcn.00478d70
mov eax, dword [eax + 0x14]
call fcn.0046ac1c
test al, al
je 0x4ca543
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
mov edx, 0x4cb5d0
call fcn.00449798
call fcn.00478d70
call fcn.0047879c
test al, al
jne 0x4ca39f
mov eax, dword [ebp - 4]
call fcn.004c9268
test al, al
je 0x4ca3b5
call fcn.00478d70
call fcn.00477984
test al, al
je 0x4ca3b5
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.00478d70
mov ecx, dword [eax + 0x14]
mov dl, 1
mov eax, dword [0x4c4598]
call fcn.004c47ec
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 4]
call fcn.004c91d0
mov edx, dword [ebp - 0x8c]
mov dword [edx + 0x84], eax
mov eax, dword [ebp - 0x8c]
mov edx, dword [ebp - 4]
mov dword [eax + 0x94], edx
mov dword [eax + 0x90], 0x4c9a94
mov eax, dword [ebp - 0x8c]
call fcn.004b736c
mov eax, dword [ebp - 0x8c]
mov al, byte [eax + 0x98]
mov byte [ebp - 0x2d], al
mov eax, dword [ebp - 0x8c]
mov edx, dword [eax + 0x60]
mov dword [ebp - 0x38], edx
mov edx, dword [eax + 0x64]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x8c]
call fcn.00403ff4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
xor edx, edx
call fcn.00449798
mov eax, dword [0x4d5070]
mov eax, dword [eax]
call fcn.00468310
cmp byte [ebp - 0x2d], 1
jne 0x4ca490
mov eax, dword [ebp - 4]
call fcn.004c91b4
test al, al
jne 0x4ca53b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
mov edx, 0x4cb5f4
call fcn.00449798
push ebp
mov al, 1
call fcn.004c9cbc
pop ecx
jmp 0x4cb44e
cmp byte [ebp - 0x2d], 0
jne 0x4ca503
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00422b84
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x20]
xor eax, eax
push ebp
push 0x4ca4cd
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.004c875c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ca4fd
mov byte [ebp - 0x39], 1
jmp 0x4ca53b
call fcn.00478d70
lea edx, [ebp - 0xc8]
call fcn.004786b0
lea eax, [ebp - 0xc8]
mov edx, 0x4cb644
call fcn.004051a0
mov eax, dword [ebp - 0xc8]
push eax
call fcn.00478d70
mov eax, dword [eax + 0x34]
lea ecx, [ebp - 0x10]
pop edx
call fcn.004c8ba4
lea eax, [ebp - 8]
call fcn.004134a0
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x1c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x3a], 0
lea eax, [ebp - 0x6c]
push eax
call fcn.00478d70
mov edx, dword [eax + 0x14]
mov al, 0x2f
call fcn.0046a390
push eax
call fcn.00478d70
mov eax, dword [eax + 0x14]
mov edx, 1
pop ecx
call fcn.004053cc
call fcn.00478d70
lea edx, [ebp - 0xcc]
call fcn.00478650
mov eax, dword [ebp - 0xcc]
push eax
call fcn.00478d70
mov ecx, dword [eax + 0x2c]
lea eax, [ebp - 0x78]
pop edx
call fcn.004051ec
call fcn.00478d70
lea edx, [ebp - 0x40]
call fcn.00478650
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x40]
call fcn.00404f6c
call fcn.00478d70
call fcn.00477a04
test al, al
je 0x4ca803
lea eax, [ebp - 0xd0]
mov ecx, 0x4cb658
mov edx, dword [ebp - 0x40]
call fcn.004051ec
mov eax, dword [ebp - 0xd0]
lea edx, [ebp - 0x44]
call fcn.004120ec
mov eax, dword [ebp - 0x44]
call fcn.0040c36c
push 0x12
mov eax, dword [ebp - 0x44]
call fcn.00405364
push eax
call sub.kernel32.dll_SetFileAttributesA
call fcn.00478d70
mov ecx, dword [eax + 4]
lea eax, [ebp - 0xd8]
mov edx, dword [ebp - 0x44]
call fcn.004051ec
mov eax, dword [ebp - 0xd8]
lea edx, [ebp - 0xd4]
call fcn.004120ec
mov edx, dword [ebp - 0xd4]
lea eax, [ebp - 0x44]
call fcn.00404f6c
mov eax, dword [ebp - 0x44]
call fcn.0040c36c
push 0x12
mov eax, dword [ebp - 0x44]
call fcn.00405364
push eax
call sub.kernel32.dll_SetFileAttributesA
cmp byte [ebp - 0x39], 0
je 0x4ca803
push 0xa
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4b6b8c]
call fcn.004b6fb8
mov dword [ebp - 0x14], eax
mov ecx, dword [0x4d4d58]
mov ecx, dword [ecx]
lea eax, [ebp - 0xdc]
mov edx, 0x4cb674
call fcn.004051ec
mov eax, dword [ebp - 0xdc]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x44]
mov dl, 1
mov eax, dword [0x4c827c]
call fcn.004c8300
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
call fcn.004b736c
mov eax, dword [ebp - 0x90]
call fcn.00403ff4
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 4]
mov dword [ebp - 0x18], eax
jmp 0x4ca7db
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x10]
mov edx, dword [0x4c8154]
call fcn.004041a4
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
xor edx, edx
call fcn.0040c650
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov edx, dword [0x4c85c0]
call fcn.004041a4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4ca7d4
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
lea eax, [ebp - 0xe0]
mov edx, dword [ebp - 0x44]
call fcn.004051ec
mov eax, dword [ebp - 0xe0]
call fcn.00405364
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
lea eax, [ebp - 0xe8]
mov edx, dword [ebp - 0x44]
call fcn.004051ec
mov eax, dword [ebp - 0xe8]
lea edx, [ebp - 0xe4]
call fcn.0040c718
mov eax, dword [ebp - 0xe4]
lea edx, [ebp - 0x48]
call fcn.004120ec
jmp 0x4ca7c5
mov eax, dword [ebp - 0x48]
call fcn.0040cbd4
test al, al
je 0x4ca7d4
lea eax, [ebp - 0xf4]
mov ecx, 0x4cb680
mov edx, dword [ebp - 0x48]
call fcn.004051ec
mov eax, dword [ebp - 0xf4]
lea edx, [ebp - 0xf0]
call fcn.0040c8a4
mov eax, dword [ebp - 0xf0]
lea edx, [ebp - 0xec]
call fcn.004120ec
mov edx, dword [ebp - 0xec]
lea eax, [ebp - 0x48]
call fcn.00404f6c
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
call fcn.0040bb78
test eax, eax
jne 0x4ca776
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
jne 0x4ca6d3
lea eax, [ebp - 0x18]
call fcn.004134a0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x24]
lea eax, [ebp - 0x14]
call fcn.004134a0
push ebp
call fcn.004c9c90
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
mov edx, 0x4cb68c
call fcn.00449798
mov eax, dword [0x4d5070]
mov eax, dword [eax]
call fcn.00468310
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 4]
mov dword [ebp - 0x18], eax
jmp 0x4cb28f
mov eax, dword [ebp - 4]
call fcn.004c91b4
test al, al
jne 0x4cb29f
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x10]
mov edx, dword [0x4c85c0]
call fcn.004041a4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx + 4]
call fcn.00404f6c
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
je 0x4ca899
mov eax, dword [ebp - 0xa4]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0x28
jle 0x4ca8f7
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
je 0x4ca8c5
mov eax, dword [ebp - 0xa8]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xf8]
push eax
mov edx, dword [ebp - 0xa8]
sub edx, 0x28
mov ecx, 0x29
mov eax, dword [ebp - 0x48]
call fcn.004053cc
mov ecx, dword [ebp - 0xf8]
lea eax, [ebp - 0x60]
mov edx, 0x4cb6a8
call fcn.004051ec
jmp 0x4ca902
lea eax, [ebp - 0x60]
mov edx, dword [ebp - 0x48]
call fcn.00404f6c
xor eax, eax
mov dword [ebp - 0x54], eax
xor eax, eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 4]
call fcn.004c9268
test al, al
jne 0x4ca93a
call fcn.00478d70
call fcn.0047879c
test al, al
jne 0x4ca93a
call fcn.00478d70
mov edx, dword [ebp - 0x20]
mov edx, dword [edx + 4]
call fcn.004786d4
test al, al
je 0x4ca942
mov eax, dword [ebp - 0x20]
xor edx, edx
mov dword [eax + 0x18], edx
lea eax, [ebp - 0xfc]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x40]
call fcn.004051ec
mov eax, dword [ebp - 0xfc]
call fcn.0040c300
test al, al
je 0x4cab70
lea eax, [ebp - 0x100]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x40]
call fcn.004051ec
mov eax, dword [ebp - 0x100]
call fcn.00414e90
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
lea eax, [ebp - 0x104]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x40]
call fcn.004051ec
mov eax, dword [ebp - 0x104]
call fcn.00414f4c
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
cmp edx, dword [ebp - 0x4c]
jne 0x4ca9c5
cmp eax, dword [ebp - 0x50]
jne 0x4ca9c5
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x18]
cmp eax, dword [ebp - 0x54]
je 0x4ca9d6
call fcn.00478d70
mov edx, dword [ebp - 0x48]
call fcn.00478738
test al, al
je 0x4ca9e4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
mov dword [ebp - 0x58], eax
jmp 0x4cab70
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x110], eax
mov byte [ebp - 0x10c], 0xb
lea edx, [ebp - 0x110]
xor ecx, ecx
mov eax, 0x4cb6b4
call fcn.0040d344
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
call fcn.00449798
lea eax, [ebp - 0x114]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x40]
call fcn.004051ec
mov ecx, dword [ebp - 0x114]
mov dl, 1
mov eax, dword [0x4c41c8]
call fcn.004c4244
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 4]
call fcn.004c91d0
mov edx, dword [ebp - 0x94]
mov dword [edx + 0x58], eax
mov eax, dword [ebp - 0x94]
mov edx, dword [ebp - 4]
mov dword [eax + 0x64], edx
mov dword [eax + 0x60], 0x4c9a94
mov eax, dword [ebp - 0x94]
call fcn.004b736c
mov eax, dword [ebp - 0x94]
cmp dword [eax + 0x48], 0
setne byte [ebp - 0x3b]
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 0x54]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x94]
call fcn.00403ff4
mov eax, dword [ebp - 4]
call fcn.004c91b4
test al, al
jne 0x4cb29f
cmp byte [ebp - 0x3b], 0
je 0x4cab60
push 0x15
lea edx, [ebp - 0x118]
mov eax, dword [0x4d5070]
mov eax, dword [eax]
call fcn.00467e5c
mov eax, dword [ebp - 0x118]
call fcn.00405364
push eax
lea eax, [ebp - 0x11c]
push eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x124], eax
mov byte [ebp - 0x120], 0
lea edx, [ebp - 0x12c]
mov ecx, 1
mov eax, 0x4cb6c8
call fcn.0040d344
mov eax, dword [ebp - 0x11c]
call fcn.00405364
push eax
mov eax, dword [0x4d5070]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_MessageBoxA_1
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 4
je 0x4cb28f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
mov edx, 0x4cb6f8
call fcn.00449798
push ebp
mov al, 1
call fcn.004c9cbc
pop ecx
jmp 0x4cb44e
mov eax, dword [ebp - 4]
call fcn.004c91b4
test al, al
jne 0x4cb29f
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 0x58]
jne 0x4cabaa
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x18]
cmp eax, dword [ebp - 0x54]
je 0x4cabaa
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x54]
mov dword [eax + 0x18], edx
cmp byte [ebp - 0x3a], 0
jne 0x4cabaa
call fcn.00478d70
mov edx, dword [ebp - 0x48]
call fcn.004786d4
test al, al
jne 0x4cabaa
mov byte [ebp - 0x3a], 1
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 0x58]
je 0x4cb281
lea eax, [ebp - 0x130]
push eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x110], eax
mov byte [ebp - 0x10c], 0xb
lea edx, [ebp - 0x110]
xor ecx, ecx
mov eax, 0x4cb720
call fcn.0040d344
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
call fcn.00449798
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
not eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x134]
mov edx, dword [ebp - 0x44]
call fcn.004051ec
mov eax, dword [ebp - 0x134]
call fcn.0040c300
test al, al
je 0x4cacc7
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x138]
mov edx, dword [ebp - 0x44]
call fcn.004051ec
mov ecx, dword [ebp - 0x138]
mov dl, 1
mov eax, dword [0x4c41c8]
call fcn.004c4244
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 4]
call fcn.004c91d0
mov edx, dword [ebp - 0x98]
mov dword [edx + 0x58], eax
mov eax, dword [ebp - 0x98]
call fcn.004b736c
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x98]
call fcn.00403ff4
mov eax, dword [ebp - 4]
call fcn.004c91b4
test al, al
jne 0x4cb29f
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 0x5c]
je 0x4cacc7
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x13c]
mov edx, dword [ebp - 0x44]
call fcn.004051ec
mov eax, dword [ebp - 0x13c]
call fcn.00405364
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 0x5c]
je 0x4cae7e
lea eax, [ebp - 0x144]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
call fcn.004051ec
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.0040c718
mov eax, dword [ebp - 0x140]
call fcn.0040c36c
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
call fcn.0046ac90
mov ecx, dword [ebp - 0x148]
lea eax, [ebp - 0x70]
mov edx, dword [ebp - 0x6c]
call fcn.004051ec
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x14c]
mov edx, dword [ebp - 0x44]
call fcn.004051ec
mov eax, dword [ebp - 0x14c]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x70]
mov dl, 1
mov eax, dword [0x4c4598]
call fcn.004c461c
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 4]
call fcn.004c91d0
mov edx, dword [ebp - 0x9c]
mov dword [edx + 0x84], eax
mov eax, dword [ebp - 0x9c]
mov edx, dword [ebp - 4]
mov dword [eax + 0x94], edx
mov dword [eax + 0x90], 0x4c9a94
mov eax, dword [ebp - 0x9c]
call fcn.004b736c
mov eax, dword [ebp - 0x9c]
mov al, byte [eax + 0x98]
mov byte [ebp - 0x2d], al
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax + 0x88]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x9c]
call fcn.00403ff4
mov eax, dword [ebp - 4]
call fcn.004c91b4
test al, al
jne 0x4cb29f
cmp byte [ebp - 0x2d], 0
je 0x4cae7e
push 0x7530
push 0
push 0x15
lea edx, [ebp - 0x150]
mov eax, dword [0x4d5070]
mov eax, dword [eax]
call fcn.00467e5c
mov eax, dword [ebp - 0x150]
call fcn.00405364
push eax
lea eax, [ebp - 0x154]
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
mov dword [ebp - 0x110], eax
mov byte [ebp - 0x10c], 0xb
lea edx, [ebp - 0x110]
xor ecx, ecx
mov eax, 0x4cb738
call fcn.0040d344
mov eax, dword [ebp - 0x154]
call fcn.00405364
push eax
mov eax, dword [0x4d5070]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_MessageBoxTimeoutA
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 4
je 0x4cb28f
cmp dword [ebp - 0x7c], 0x7d00
je 0x4cb28f
mov edx, 0x4cb6f8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
call fcn.00449798
push ebp
mov al, 1
call fcn.004c9cbc
pop ecx
jmp 0x4cb44e
lea eax, [ebp - 0x158]
push eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x110], eax
mov byte [ebp - 0x10c], 0xb
lea edx, [ebp - 0x110]
xor ecx, ecx
mov eax, 0x4cb768
call fcn.0040d344
mov edx, dword [ebp - 0x158]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
call fcn.00449798
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 0x5c]
je 0x4cafd9
lea eax, [ebp - 0x15c]
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
mov dword [ebp - 0x110], eax
mov byte [ebp - 0x10c], 0xb
lea edx, [ebp - 0x110]
xor ecx, ecx
mov eax, 0x4cb780
call fcn.0040d344
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
call fcn.00449798
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x160]
mov edx, dword [ebp - 0x44]
call fcn.004051ec
mov eax, dword [ebp - 0x160]
call fcn.00405364
push eax
call sub.kernel32.dll_DeleteFileA
push ebp
mov al, 1
call fcn.004c9cbc
pop ecx
jmp 0x4cb44e
push 0x15
lea edx, [ebp - 0x164]
mov eax, dword [0x4d5070]
mov eax, dword [eax]
call fcn.00467e5c
mov eax, dword [ebp - 0x164]
call fcn.00405364
push eax
lea eax, [ebp - 0x168]
push eax
lea edx, [ebp - 0x16c]
mov eax, dword [ebp - 0x78]
call fcn.0040c824
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x110], eax
mov byte [ebp - 0x10c], 0xb
lea edx, [ebp - 0x110]
xor ecx, ecx
mov eax, 0x4cb7ac
call fcn.0040d344
mov eax, dword [ebp - 0x168]
call fcn.00405364
push eax
mov eax, dword [0x4d5070]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_MessageBoxA_1
cmp eax, 2
jne 0x4cafd9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
mov edx, 0x4cb7dc
call fcn.00449798
push ebp
mov al, 1
call fcn.004c9cbc
pop ecx
jmp 0x4cb44e
mov eax, dword [ebp - 0x78]
call fcn.00414d74
test eax, eax
ja 0x4caf3d
lea ecx, [ebp - 0x64]
mov edx, 0x4cb828
mov eax, dword [ebp - 0x48]
call fcn.0040c650
lea ecx, [ebp - 0x68]
mov edx, 0x4cb83c
mov eax, dword [ebp - 0x48]
call fcn.0040c650
lea eax, [ebp - 0x174]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x40]
call fcn.004051ec
mov eax, dword [ebp - 0x174]
lea edx, [ebp - 0x170]
call fcn.0040c718
mov eax, dword [ebp - 0x170]
call fcn.0040c36c
lea eax, [ebp - 0x178]
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x40]
call fcn.004051ec
mov eax, dword [ebp - 0x178]
call fcn.00405364
push eax
lea eax, [ebp - 0x17c]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x40]
call fcn.004051ec
mov eax, dword [ebp - 0x17c]
call fcn.00405364
push eax
call sub.kernel32.dll_MoveFileA
lea eax, [ebp - 0x180]
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x40]
call fcn.004051ec
mov eax, dword [ebp - 0x180]
call fcn.00405364
push eax
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x184]
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x40]
call fcn.004051ec
mov eax, dword [ebp - 0x184]
push eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x188]
mov edx, dword [ebp - 0x44]
call fcn.004051ec
mov ecx, dword [ebp - 0x188]
mov dl, 1
mov eax, dword [0x4c6f88]
call fcn.004c700c
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov edx, dword [ebp - 4]
mov dword [eax + 0x5c], edx
mov dword [eax + 0x58], 0x4c9a94
mov eax, dword [ebp - 0xa0]
call fcn.004b736c
mov eax, dword [ebp - 0xa0]
cmp dword [eax + 0x48], 0
setne byte [ebp - 0x3b]
mov eax, dword [ebp - 0xa0]
call fcn.00403ff4
cmp byte [ebp - 0x3b], 0
je 0x4cb1a6
lea eax, [ebp - 0x18c]
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x40]
call fcn.004051ec
mov eax, dword [ebp - 0x18c]
call fcn.00405364
push eax
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x190]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x40]
call fcn.004051ec
mov eax, dword [ebp - 0x190]
call fcn.00405364
push eax
push dword [ebp - 0x40]
push dword [ebp - 0x40]
push dword [ebp - 0x64]
lea eax, [ebp - 0x194]
mov edx, 3
call fcn.00405268
mov eax, dword [ebp - 0x194]
call fcn.00405364
push eax
call sub.kernel32.dll_MoveFileA
mov edx, 0x4cb6f8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
call fcn.00449798
push ebp
mov al, 1
call fcn.004c9cbc
pop ecx
jmp 0x4cb44e
lea eax, [ebp - 0x198]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x40]
call fcn.004051ec
mov eax, dword [ebp - 0x198]
call fcn.00405364
push eax
lea eax, [ebp - 0x19c]
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x40]
call fcn.004051ec
mov eax, dword [ebp - 0x19c]
call fcn.00405364
push eax
call sub.kernel32.dll_MoveFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x4cb244
call fcn.00478d70
call fcn.00477a04
test al, al
jne 0x4cb222
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x1a0]
mov edx, dword [ebp - 0x44]
call fcn.004051ec
mov eax, dword [ebp - 0x1a0]
call fcn.00405364
push eax
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x1a4]
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x40]
call fcn.004051ec
mov eax, dword [ebp - 0x1a4]
call fcn.00405364
push eax
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x1a8]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x40]
call fcn.004051ec
mov eax, dword [ebp - 0x1a8]
call fcn.00414f4c
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x18], eax
cmp byte [ebp - 0x3a], 0
jne 0x4cb281
call fcn.00478d70
mov edx, dword [ebp - 0x48]
call fcn.004786d4
test al, al
jne 0x4cb281
mov byte [ebp - 0x3a], 1
push ebp
call fcn.004c9d98
pop ecx
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
jne 0x4ca839
lea eax, [ebp - 0x18]
call fcn.004134a0
mov eax, dword [ebp - 4]
call fcn.004c91b4
test al, al
je 0x4cb2d4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
mov edx, 0x4cb4f0
call fcn.00449798
push ebp
mov al, 1
call fcn.004c9cbc
pop ecx
jmp 0x4cb44e
mov al, byte [ebp - 0x39]
or al, byte [ebp - 0x3a]
je 0x4cb359
call fcn.00478d70
lea edx, [ebp - 0x1ac]
call fcn.004786b0
lea eax, [ebp - 0x1ac]
mov edx, 0x4cb644
call fcn.004051a0
mov eax, dword [ebp - 0x1ac]
push eax
call fcn.00478d70
mov eax, dword [eax + 0x34]
pop edx
call fcn.0046a824
call fcn.00478d70
lea edx, [ebp - 0x1b0]
call fcn.004786b0
lea eax, [ebp - 0x1b0]
mov edx, 0x4cb644
call fcn.004051a0
mov eax, dword [ebp - 0x1b0]
push eax
call fcn.00478d70
mov eax, dword [eax + 0x34]
lea ecx, [ebp - 0x10]
pop edx
call fcn.004c8a24
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.00478d70
call fcn.00478b34
call fcn.00478d70
mov eax, dword [eax + 0x14]
call fcn.0046ac1c
test al, al
je 0x4cb39a
call fcn.00478d70
call fcn.0047879c
test al, al
jne 0x4cb384
mov eax, dword [ebp - 4]
call fcn.004c9268
test al, al
je 0x4cb39a
call fcn.0040e0b0
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.00478d70
call fcn.00478a60
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x384]
mov edx, dword [eax + 0x1b4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x384]
call fcn.004b3854
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x388]
mov edx, dword [eax + 0x1b4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x388]
call fcn.004b3854
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
mov edx, 0x4cb850
call fcn.00449798
mov eax, dword [ebp - 4]
cmp byte [eax + 0x57], 0
jne 0x4cb439
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3bc]
mov edx, 0x4cb874
call fcn.0043af48
lea edx, [ebp - 0x1b4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
call fcn.00449768
mov edx, dword [ebp - 0x1b4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3bc]
call fcn.0043ae88
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3bc]
mov edx, dword [eax]
call dword [edx + 0x40]
push ebp
xor eax, eax
call fcn.004c9cbc
pop ecx
mov eax, dword [0x4d5070]
mov eax, dword [eax]
call fcn.00468310
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cb4e1
lea eax, [ebp - 0x1b4]
call fcn.00404ed4
lea eax, [ebp - 0x1b0]
mov edx, 0x21
call fcn.00404ef8
lea eax, [ebp - 0x11c]
mov edx, 3
call fcn.00404ef8
lea eax, [ebp - 0x108]
mov edx, 0x12
call fcn.00404ef8
lea eax, [ebp - 0xc0]
call fcn.00405688
lea eax, [ebp - 0xbc]
call fcn.00406bd8
lea eax, [ebp - 0xb8]
mov edx, 4
call fcn.00404ef8
lea eax, [ebp - 0x78]
mov edx, 7
call fcn.00404ef8
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.00404ef8
ret