Function at 0x483149
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dbef4
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1290
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
xor esi, esi
push esi
mov ebx, ecx
call fcn.004580ac
pop ecx
lea ecx, [ebp - 0x1248]
call fcn.004a8237
mov dword [ebp - 4], esi
call fcn.00499991
push eax
lea ecx, [ebp - 0x1228]
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 - 0x122c]
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 - 0x122c]
call fcn.004026bd
push dword [ebp - 0x122c]
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 0x483250
lea eax, [ebp - 0x1220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x483280
lea eax, [ebp - 0x1220]
push eax
lea ecx, [ebp - 0x1228]
call fcn.004026bd
push ecx
mov ecx, esp
mov dword [ebp - 0x1234], esp
push str.summary2.bin
call fcn.004024df
lea ecx, [ebp - 0x1228]
call fcn.004067db
mov byte [ebp - 4], 3
push dword [ebp - 0x1228]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4832fd
push 0
push 0x8000
push dword [ebp - 0x1228]
lea ecx, [ebp - 0x1248]
call fcn.004a86d6
test eax, eax
je 0x4832fd
xor esi, esi
push esi
call fcn.004580e2
pop ecx
push esi
push 0x1000
push 1
lea eax, [ebp - 0x1248]
push eax
lea ecx, [ebp - 0x12a0]
mov byte [ebp - 4], 4
call fcn.004a7855
lea edi, [ebx + 0x5c]
push edi
lea ecx, [ebp - 0x12a0]
mov byte [ebp - 4], 5
call fcn.004189b7
cmp dword [edi], esi
jne 0x483344
lea ecx, [ebp - 0x12a0]
mov byte [ebp - 4], 4
call fcn.004a7817
mov ecx, dword [ebp - 0x122c]
add ecx, 0xfffffff0
call fcn.004027b0
mov ecx, dword [ebp - 0x1228]
add ecx, 0xfffffff0
call fcn.004027b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1248]
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
mov eax, dword [ebx + 0x58]
cmp eax, esi
je 0x483364
push 0x481078
lea esi, [eax - 4]
push dword [esi]
push 0x28
push eax
call fcn.004ba2d3
push esi
call fcn.004985ea
pop ecx
mov esi, dword [edi]
inc esi
xor ecx, ecx
push 0x28
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.004985df
pop ecx
mov dword [ebp - 0x1234], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x4833b2
push 0x481078
push 0x481008
push esi
lea edi, [eax + 4]
push 0x28
push edi
mov dword [eax], esi
call fcn.004ba210
jmp 0x4833b4
xor edi, edi
mov byte [ebp - 4], 5
mov dword [ebx + 0x58], edi
xor edi, edi
cmp edi, dword [ebx + 0x5c]
jge 0x48348d
mov eax, dword [ebx + 0x58]
mov esi, edi
imul esi, esi, 0x28
add eax, esi
push eax
lea ecx, [ebp - 0x12a0]
call fcn.004189b7
and dword [ebp - 0x1224], 0
lea eax, [ebp - 0x1224]
push eax
lea ecx, [ebp - 0x12a0]
call fcn.004189b7
mov eax, dword [ebx + 0x58]
mov ecx, dword [ebp - 0x1224]
mov dword [esi + eax + 4], ecx
mov eax, dword [ebx + 0x58]
lea eax, [esi + eax + 8]
push eax
lea ecx, [ebp - 0x12a0]
call fcn.004189b7
mov eax, dword [ebx + 0x58]
lea eax, [esi + eax + 0xc]
push eax
lea ecx, [ebp - 0x12a0]
call fcn.004189b7
mov eax, dword [ebx + 0x58]
lea eax, [esi + eax + 0x10]
push eax
lea ecx, [ebp - 0x12a0]
call fcn.004195f0
mov eax, dword [ebx + 0x58]
lea eax, [esi + eax + 0x14]
push eax
lea ecx, [ebp - 0x12a0]
call fcn.004195f0
mov eax, dword [ebx + 0x58]
lea eax, [esi + eax + 0x18]
push eax
lea ecx, [ebp - 0x12a0]
call fcn.004195f0
mov eax, dword [ebx + 0x58]
lea eax, [esi + eax + 0x1c]
push eax
lea ecx, [ebp - 0x12a0]
call fcn.004195f0
mov eax, dword [ebx + 0x58]
lea eax, [esi + eax + 0x20]
push eax
lea ecx, [ebp - 0x12a0]
call fcn.004195f0
inc edi
jmp 0x4833bd
call fcn.00499991
push eax
lea ecx, [ebp - 0x1224]
call fcn.004727f7
lea eax, [ebp - 0x1224]
push eax
lea ecx, [ebp - 0x12a0]
mov byte [ebp - 4], 7
call fcn.004195f0
lea eax, [ebp - 0x1224]
push eax
mov ecx, 0x584a14
call fcn.0040257e
lea eax, [ebp - 0x1224]
push eax
lea ecx, [ebp - 0x12a0]
call fcn.004195f0
lea eax, [ebp - 0x1224]
push eax
mov ecx, 0x584a24
call fcn.0040257e
fldz
and dword [ebp - 0x1250], 0
fstp qword [ebp - 0x1258]
push 0x400
push 0
push dword [ebp - 0x1224]
lea ecx, [ebp - 0x1258]
call fcn.0040f756
push 0x54bfa8
lea edi, [ebp - 0x124c]
lea ecx, [ebp - 0x1258]
call fcn.0045ef85
push eax
lea ecx, [ebp - 0x1224]
mov byte [ebp - 4], 8
call fcn.0040257e
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x124c]
add ecx, 0xfffffff0
call fcn.004027b0
call fcn.00499991
push eax
lea ecx, [ebp - 0x1230]
call fcn.004727f7
mov byte [ebp - 4], 9
push dword [ebp - 0x1224]
lea eax, [ebp - 0x1230]
push str.Registry_last_optimized_on:_r_n_s
push eax
call fcn.00402967
add esp, 0xc
push str.Registry_is_optimized
lea ecx, [ebp - 0x1234]
call fcn.004024df
mov ecx, dword [ebp - 0x1234]
add ecx, 0xfffffff0
call fcn.004027b0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1230]
add ecx, 0xfffffff0
call fcn.004027b0
fldz
xor edi, edi
fstp dword [ebp - 0x1238]
xor esi, esi
mov dword [ebp - 0x1230], edi
cmp edi, dword [ebx + 0x5c]
jge 0x483600
mov eax, dword [ebx + 0x58]
cmp dword [eax], 0
je 0x4835fd
mov ecx, edi
imul ecx, ecx, 0x28
add eax, ecx
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
mov eax, edx
sub eax, ecx
cmp eax, 1
jl 0x4835df
cmp eax, edx
jl 0x4835e3
sub ecx, edx
mov eax, ecx
fld dword [ebp - 0x1238]
add esi, edx
fadd qword [0x559550]
add dword [ebp - 0x1230], eax
fstp dword [ebp - 0x1238]
inc edi
jmp 0x4835b8
mov eax, dword [ebx + 0x5c]
xor edx, edx
xor ecx, ecx
cmp ecx, eax
jge 0x48361d
mov edi, dword [ebx + 0x58]
mov esi, ecx
imul esi, esi, 0x28
cmp dword [esi + edi], 0
je 0x48361a
inc edx
inc ecx
jmp 0x483607
mov dword [0x584814], eax
call fcn.0040aefe
lea ecx, [ebp - 0x12a0]
call fcn.004a769e
mov ecx, dword [ebp - 0x1224]
add ecx, 0xfffffff0
call fcn.004027b0
lea ecx, [ebp - 0x12a0]
mov byte [ebp - 4], 4
call fcn.004a7817
lea ecx, [ebp - 0x1248]
mov dword [ebp - 4], 3
call fcn.004a81d1
mov ecx, dword [ebp - 0x122c]
add ecx, 0xfffffff0
call fcn.004027b0
mov ecx, dword [ebp - 0x1228]
add ecx, 0xfffffff0
call fcn.004027b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1248]
call fcn.004a8350
mov al, 1
jmp 0x48332a