Function at 0x617a38
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x617a41
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x617ec4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e0]
test eax, eax
je 0x617ab0
xor ecx, ecx
push ebp
push 0x617aa6
push dword fs:[ecx]
mov dword fs:[ecx], esp
call fcn.005d8884
mov eax, dword [ebp - 4]
add eax, 0x3e0
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.00405104
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x617ab0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3e8], 0
je 0x617ad1
mov eax, dword [ebp - 4]
add eax, 0x3e8
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.00405104
xor ecx, ecx
mov dl, 1
mov eax, dword [0x60fbb8]
call fcn.005b2d10
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x3e0], ebx
mov byte [ebx + 0x140], 1
mov eax, ebx
mov edx, 0x7530
call fcn.005d1984
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e0]
mov edx, dword [ebp - 4]
mov dword [eax + 0x44], edx
mov dword [eax + 0x40], 0x617120
mov edx, dword [ebp - 4]
mov dword [eax + 0x4c], edx
mov dword [eax + 0x48], 0x61730c
mov edx, dword [ebp - 4]
mov dword [eax + 0x54], edx
mov dword [eax + 0x50], 0x617388
lea edx, [ebp - 0x1c]
mov eax, dword [0x62f410]
mov eax, dword [eax]
call fcn.004e3820
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00414eb4
push dword [ebp - 0x18]
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3dc]
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push dword [ebp - 0x20]
push 0x617ee4
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004073d8
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00414eb4
mov eax, dword [ebp - 0x10]
call fcn.00414b14
push 0xff00
lea edx, [ebp - 0x2c]
mov eax, dword [0x62f410]
mov eax, dword [eax]
call fcn.004e3820
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.00414eb4
push dword [ebp - 0x28]
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3dc]
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push dword [ebp - 0x30]
push 0x617ee4
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.004073d8
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x42f140]
call fcn.0043b2f0
mov edx, dword [ebp - 4]
mov dword [edx + 0x3e8], eax
xor ecx, ecx
push ebp
push 0x617e78
push dword fs:[ecx]
mov dword fs:[ecx], esp
xor eax, eax
push ebp
push 0x617c7a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 9], 0
je 0x617c70
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3d8]
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
mov ecx, 0
call fcn.00407064
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.006149bc
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
call fcn.0040703c
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, dword [0x635d1c]
call fcn.004072f4
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3e8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e0]
call fcn.006103fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x617c88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x617e82
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e0]
test eax, eax
je 0x617cde
xor ecx, ecx
push ebp
push 0x617cd4
push dword fs:[ecx]
mov dword fs:[ecx], esp
call fcn.005d8884
mov eax, dword [ebp - 4]
add eax, 0x3e0
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.00405104
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x617cde
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3e8], 0
je 0x617cff
mov eax, dword [ebp - 4]
add eax, 0x3e8
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.00405104
cmp byte [ebp - 9], 0
je 0x617e77
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3dc]
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x48]
call fcn.004e5394
mov bl, 1
lea edx, [ebp - 0x50]
mov eax, dword [0x62f410]
mov eax, dword [eax]
call fcn.004e3820
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x4c]
call fcn.00414eb4
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x54]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3dc]
mov edx, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x54]
pop eax
call fcn.00407234
mov eax, dword [ebp - 0x4c]
call fcn.00414aa8
test al, al
je 0x617dca
lea edx, [ebp - 0x5c]
mov eax, dword [0x62f410]
mov eax, dword [eax]
call fcn.004e3820
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x58]
call fcn.00414eb4
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x60]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3dc]
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x60]
pop eax
call fcn.00407234
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x64], esi
mov eax, dword [ebp - 0x64]
call fcn.00406e9c
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xa], al
movzx ebx, byte [ebp - 0xa]
test bl, bl
jne 0x617ddf
mov eax, dword [0x62f410]
mov eax, dword [eax]
call fcn.004e2cac
jmp 0x617d09
lea edx, [ebp - 0x6c]
mov eax, dword [0x62f410]
mov eax, dword [eax]
call fcn.004e3820
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x68]
call fcn.00414eb4
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3dc]
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x70]
pop eax
call fcn.00407234
mov eax, dword [ebp - 0x68]
call fcn.00406e9c
push eax
lea edx, [ebp - 0x7c]
mov eax, dword [0x62f410]
mov eax, dword [eax]
call fcn.004e3820
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x78]
call fcn.00414eb4
push dword [ebp - 0x78]
lea ecx, [ebp - 0x80]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3dc]
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push dword [ebp - 0x80]
push 0x617ee4
lea eax, [ebp - 0x74]
mov edx, 3
call fcn.004073d8
mov eax, dword [ebp - 0x74]
call fcn.00406e9c
push eax
call sub.kernel32.dll_MoveFileW
ret