Function at 0x4f3cb0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x4f3cb8
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 8], eax
mov esi, 0x50a32c
xor eax, eax
push ebp
push 0x4f41cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
jne 0x4f3d42
lea ecx, [ebp - 4]
mov edx, 0x4f41e8
mov eax, ebx
call fcn.004135b4
mov eax, dword [ebp - 4]
call fcn.004133bc
test al, al
jne 0x4f3d35
lea edx, [ebp - 0x14]
mov eax, dword [0x50489c]
mov eax, dword [eax]
call fcn.004bc978
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 4]
mov edx, 0x4f41e8
call fcn.004135b4
mov eax, dword [ebp - 4]
call fcn.004133bc
test al, al
je 0x4f419b
mov byte [ebp - 9], 1
mov edx, dword [ebp - 4]
mov eax, dword [0x50a34c]
mov ecx, dword [eax]
call dword [ecx + 0x68]
lea ecx, [ebp - 0x18]
mov edx, 0x4f4200
mov eax, dword [0x50a34c]
call fcn.00432ebc
mov edx, dword [ebp - 0x18]
mov eax, dword [esi]
add eax, 0x10
call fcn.00407164
lea ecx, [ebp - 0x1c]
mov edx, 0x4f4220
mov eax, dword [0x50a34c]
call fcn.00432ebc
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x64]
call fcn.0044a8e8
lea ecx, [ebp - 0x20]
mov edx, 0x4f4240
mov eax, dword [0x50a34c]
call fcn.00432ebc
mov eax, dword [ebp - 0x20]
call fcn.00412eb0
mov edx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x64]
call fcn.0044aa14
lea ecx, [ebp - 0x24]
mov edx, 0x4f4264
mov eax, dword [0x50a34c]
call fcn.00432ebc
mov eax, dword [ebp - 0x24]
call fcn.00412eb0
mov edx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x64]
call fcn.0044a5c4
lea ecx, [ebp - 0x28]
mov edx, 0x4f4284
mov eax, dword [0x50a34c]
call fcn.00432ebc
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x64]
call fcn.0044a944
mov edx, eax
pop eax
call fcn.00412eec
mov edx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x64]
call fcn.0044a960
lea ecx, [ebp - 0x2c]
mov edx, 0x4f429c
mov eax, dword [0x50a34c]
call fcn.00432ebc
mov eax, dword [ebp - 0x2c]
call fcn.00412eb0
mov edx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x64]
call fcn.0044a98c
lea ecx, [ebp - 0x30]
mov edx, 0x4f42bc
mov eax, dword [0x50a34c]
call fcn.00432ebc
mov eax, dword [ebp - 0x30]
xor edx, edx
call fcn.00412eec
mov ebx, eax
mov eax, dword [esi]
mov dword [eax + 0x48], ebx
test ebx, ebx
jle 0x4f3efa
mov dword [ebp - 0x10], ebx
mov ebx, 1
lea edx, [ebp - 0x3c]
mov eax, ebx
call fcn.00412c54
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
mov edx, 0x4f42dc
call fcn.00407638
mov edx, dword [ebp - 0x38]
lea ecx, [ebp - 0x34]
mov eax, dword [0x50a34c]
call fcn.00432ebc
mov edx, dword [ebp - 0x34]
mov eax, dword [esi]
lea eax, [eax + ebx*8 + 0x48]
call fcn.00407164
mov eax, dword [esi]
mov edx, dword [eax + ebx*8 + 0x48]
mov eax, 0x4f42fc
call fcn.00407bbc
mov edi, eax
test edi, edi
jg 0x4f3eb4
mov eax, dword [esi]
dec dword [eax + 0x48]
jmp 0x4f3efa
lea eax, [ebp - 0x40]
push eax
mov eax, dword [esi]
mov eax, dword [eax + ebx*8 + 0x48]
mov ecx, edi
dec ecx
mov edx, 1
call fcn.004078a4
mov eax, dword [ebp - 0x40]
mov edx, 1
call fcn.00412eec
mov edx, dword [esi]
mov dword [edx + ebx*8 + 0x44], eax
mov eax, dword [esi]
lea eax, [eax + ebx*8 + 0x48]
mov ecx, ebx
mov edx, 1
call fcn.00407974
inc ebx
dec dword [ebp - 0x10]
jne 0x4f3e5f
cmp byte [ebp - 9], 0
je 0x4f3f09
mov eax, dword [esi]
xor edx, edx
mov dword [eax + 0x18], edx
jmp 0x4f3f42
lea ecx, [ebp - 0x44]
mov edx, 0x4f430c
mov eax, dword [0x50a34c]
call fcn.00432ebc
mov eax, dword [ebp - 0x44]
xor edx, edx
call fcn.00412eec
mov edx, dword [esi]
mov dword [edx + 0x18], eax
mov eax, dword [esi]
cmp dword [eax + 0x18], 0
jge 0x4f3f42
cmp dword [0x50a350], 0
jne 0x4f3f42
mov eax, dword [esi]
xor edx, edx
mov dword [eax + 0x18], edx
lea ecx, [ebp - 0x48]
mov edx, 0x4f4324
mov eax, dword [0x50a34c]
call fcn.00432ebc
mov eax, dword [ebp - 0x48]
mov edx, 0x4f4344
call fcn.0040783c
sete al
mov edx, dword [esi]
mov byte [edx + 0x44], al
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x4f4022
mov dl, 1
mov eax, dword [0x429c74]
call fcn.00405498
mov ebx, eax
mov edx, ebx
mov eax, 0x4f4354
call fcn.004f1120
test al, al
jne 0x4f3f9f
mov eax, ebx
call fcn.004054c8
jmp 0x4f419b
cmp byte [0x50a33e], 0
je 0x4f3fc4
mov eax, dword [esi]
mov edi, dword [eax + 0x40]
mov dword [ebp - 0x4c], edi
mov eax, dword [ebp - 0x4c]
call fcn.004071f0
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
lea ecx, [ebp - 0x58]
mov edx, 0x4f436c
mov eax, dword [0x50a34c]
call fcn.00432ebc
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.004136c8
mov eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x5c]
call fcn.004f183c
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x50]
pop edx
call fcn.004135b4
mov edx, dword [ebp - 0x50]
mov eax, dword [esi]
add eax, 0x40
call fcn.00407164
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
mov eax, ebx
call fcn.00434af4
mov byte [0x50a33e], 1
mov eax, ebx
call fcn.004054c8
jmp 0x4f4041
lea ecx, [ebp - 0x60]
mov edx, 0x4f436c
mov eax, dword [0x50a34c]
call fcn.00432ebc
mov edx, dword [ebp - 0x60]
mov eax, dword [esi]
add eax, 0x40
call fcn.00407164
mov eax, dword [esi]
cmp byte [eax + 0x44], 0
je 0x4f4051
mov eax, dword [ebp - 8]
call fcn.004f3c24
mov eax, dword [esi]
movzx edx, byte [eax + 0x44]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x40c]
call fcn.0047c8cc
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
jne 0x4f419b
lea ecx, [ebp - 0x64]
mov edx, 0x4f438c
mov eax, dword [0x50a34c]
call fcn.00432ebc
mov edx, dword [ebp - 0x64]
mov eax, dword [esi]
add eax, 0x34
call fcn.00407164
mov eax, dword [esi]
cmp dword [eax + 0x34], 0
je 0x4f40bf
mov eax, dword [esi]
mov eax, dword [eax + 0x34]
call fcn.004133bc
test al, al
je 0x4f40bf
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x38c]
mov eax, dword [eax + 0x1b0]
call fcn.0044ebec
lea ecx, [ebp - 0x68]
mov edx, 0x4f43a4
mov eax, dword [0x50a34c]
call fcn.00432ebc
mov edx, dword [ebp - 0x68]
mov eax, dword [esi]
add eax, 0x38
call fcn.00407164
mov eax, dword [esi]
cmp dword [eax + 0x38], 0
je 0x4f410d
mov eax, dword [esi]
mov eax, dword [eax + 0x38]
call fcn.004133bc
test al, al
je 0x4f410d
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x388]
mov eax, dword [eax + 0x1b0]
call fcn.0044ebec
lea ecx, [ebp - 0x6c]
mov edx, 0x4f43c4
mov eax, dword [0x50a34c]
call fcn.00432ebc
mov edx, dword [ebp - 0x6c]
mov eax, dword [esi]
add eax, 0x3c
call fcn.00407164
mov eax, dword [esi]
cmp dword [eax + 0x3c], 0
je 0x4f419b
mov eax, dword [esi]
mov eax, dword [eax + 0x3c]
call fcn.004133bc
test al, al
je 0x4f419b
mov eax, dword [0x50a350]
mov dword [0x50a354], eax
xor eax, eax
push ebp
push 0x4f4194
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi]
mov eax, dword [eax + 0x3c]
call fcn.004f18a8
mov dword [0x50a350], eax
cmp dword [0x50a354], 0
je 0x4f417c
mov eax, dword [0x50a354]
call fcn.004054c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f419b
mov eax, 0x4f43dc
call fcn.004f1880
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f41d2
lea eax, [ebp - 0x6c]
mov edx, 8
call fcn.0040715c
lea eax, [ebp - 0x48]
mov edx, 0xe
call fcn.0040715c
lea eax, [ebp - 4]
call fcn.00407154
ret