Function at 0x482d67
Capabilities:
Check if file exists
Create directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dbf69
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1288
call fcn.004c0a30
mov eax, dword [0x57b750]
xor eax, ebp
mov dword [ebp - 0x14], 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, dword [0x5848e8]
lea ecx, [ebp - 0x1240]
call fcn.004a8237
xor esi, esi
mov dword [ebp - 4], esi
call fcn.00499991
push eax
lea ecx, [ebp - 0x1224]
call fcn.004727f7
xor eax, eax
mov byte [ebp - 4], 1
push 0xffe
mov word [ebp - 0x1220], ax
lea eax, [ebp - 0x121e]
push esi
push eax
call fcn.004be850
add esp, 0xc
call fcn.00499991
push eax
lea ecx, [ebp - 0x1228]
call fcn.004727f7
push 0x208
lea eax, [ebp - 0x220]
push esi
push eax
mov byte [ebp - 4], 2
call fcn.004be850
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
call fcn.00473873
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x1228]
call fcn.004026bd
push dword [ebp - 0x1228]
lea eax, [ebp - 0x1220]
push 0x800
push eax
call fcn.004bb5c4
add esp, 0xc
push esi
lea eax, [ebp - 0x1220]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x482e6b
lea eax, [ebp - 0x1220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x482eb8
lea eax, [ebp - 0x1220]
push eax
lea ecx, [ebp - 0x1224]
call fcn.004026bd
push ecx
mov ecx, esp
mov dword [ebp - 0x1230], esp
push str.summary2.bin
call fcn.004024df
lea ecx, [ebp - 0x1224]
call fcn.004067db
push 0x80
push dword [ebp - 0x1224]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp - 0x1224]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push 0x9001
mov byte [ebp - 4], 3
push dword [ebp - 0x1224]
lea ecx, [ebp - 0x1240]
call fcn.004a86d6
cmp eax, esi
je 0x483102
push esi
push 0x1000
push esi
lea eax, [ebp - 0x1240]
push eax
lea ecx, [ebp - 0x1298]
mov byte [ebp - 4], 4
call fcn.004a7855
mov byte [ebp - 4], 5
push dword [edi + 0x5c]
lea ecx, [ebp - 0x1298]
call fcn.004836c7
xor ebx, ebx
cmp ebx, dword [edi + 0x5c]
jge 0x482fc8
mov eax, dword [edi + 0x58]
mov esi, ebx
imul esi, esi, 0x28
push dword [esi + eax]
lea ecx, [ebp - 0x1298]
call fcn.004836c7
mov eax, dword [edi + 0x58]
push dword [eax + esi + 4]
lea ecx, [ebp - 0x1298]
call fcn.004836c7
mov eax, dword [edi + 0x58]
push dword [eax + esi + 8]
lea ecx, [ebp - 0x1298]
call fcn.004836c7
mov eax, dword [edi + 0x58]
push dword [eax + esi + 0xc]
lea ecx, [ebp - 0x1298]
call fcn.004836c7
mov eax, dword [edi + 0x58]
lea eax, [eax + esi + 0x10]
push eax
lea ecx, [ebp - 0x1298]
call fcn.004195c4
mov eax, dword [edi + 0x58]
lea eax, [eax + esi + 0x14]
push eax
lea ecx, [ebp - 0x1298]
call fcn.004195c4
mov eax, dword [edi + 0x58]
lea eax, [eax + esi + 0x18]
push eax
lea ecx, [ebp - 0x1298]
call fcn.004195c4
mov eax, dword [edi + 0x58]
lea eax, [eax + esi + 0x1c]
push eax
lea ecx, [ebp - 0x1298]
call fcn.004195c4
mov eax, dword [edi + 0x58]
lea eax, [eax + esi + 0x20]
push eax
lea ecx, [ebp - 0x1298]
call fcn.004195c4
inc ebx
xor esi, esi
jmp 0x482f0c
lea eax, [ebp - 0x124c]
call fcn.0040fbce
call fcn.00499991
push eax
lea ecx, [ebp - 0x122c]
call fcn.004727f7
push 0x54bfa8
lea edi, [ebp - 0x1230]
lea ecx, [ebp - 0x124c]
mov byte [ebp - 4], 6
call fcn.0045ef85
push eax
lea ecx, [ebp - 0x122c]
mov byte [ebp - 4], 7
call fcn.0040257e
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1230]
add ecx, 0xfffffff0
call fcn.004027b0
lea eax, [ebp - 0x122c]
push eax
lea ecx, [ebp - 0x1298]
call fcn.004195c4
push 0x400
push esi
lea eax, [ebp - 0x1230]
push eax
lea ecx, [ebp - 0x124c]
call fcn.0040f7c5
push eax
lea ecx, [ebp - 0x122c]
mov byte [ebp - 4], 8
call fcn.0040257e
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1230]
add ecx, 0xfffffff0
call fcn.004027b0
lea eax, [ebp - 0x122c]
push eax
lea ecx, [ebp - 0x1298]
call fcn.004195c4
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x122c]
add ecx, 0xfffffff0
call fcn.004027b0
lea ecx, [ebp - 0x1298]
call fcn.004a769e
lea ecx, [ebp - 0x1298]
mov byte [ebp - 4], 4
call fcn.004a7817
lea ecx, [ebp - 0x1240]
mov dword [ebp - 4], 3
call fcn.004a81d1
mov ecx, dword [ebp - 0x1228]
add ecx, 0xfffffff0
call fcn.004027b0
mov ecx, dword [ebp - 0x1224]
add ecx, 0xfffffff0
call fcn.004027b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1240]
call fcn.004a8350
mov al, 1
jmp 0x48312f
mov ecx, dword [ebp - 0x1228]
add ecx, 0xfffffff0
call fcn.004027b0
mov ecx, dword [ebp - 0x1224]
add ecx, 0xfffffff0
call fcn.004027b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1240]
call fcn.004a8350
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b96ff
leave
ret