Function at 0x449f30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb720
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x53f1e4]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x478], eax
xor eax, eax
push esi
mov ebx, edx
mov dword [ebp - 0x468], esi
mov dword [ebp - 0x474], ecx
mov dword [ebp - 0x464], eax
mov dword [ebp - 4], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x449fbb
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
jne 0x449fbb
push 0x519a3c
lea edx, [ebp - 0x480]
push edx
mov dword [ebp - 0x480], 1
call fcn.004b62f5
push 3
push edi
xor edi, edi
call fcn.0043dc70
mov esi, eax
xor ebx, ebx
add esp, 8
mov dword [ebp - 0x464], esi
cmp esi, ebx
jne 0x449ff1
push 0x519a3c
lea eax, [ebp - 0x484]
push eax
mov dword [ebp - 0x484], 2
call fcn.004b62f5
xor ecx, ecx
mov dword [ebp - 0x45c], ebx
mov word [ebp - 0x458], cx
mov dword [ebp - 0x230], ebx
cmp dword [esi], 1
je 0x44a017
mov dword [0x543078], 0x80000
jmp 0x44a030
mov ecx, dword [esi + 4]
push 0xffffffffffffffff
lea edx, [ebp - 0x45c]
call fcn.0043cc10
mov dword [0x543078], eax
cmp eax, ebx
je 0x44a04b
push 0x519a3c
lea edx, [ebp - 0x470]
push edx
mov dword [ebp - 0x470], 3
call fcn.004b62f5
cmp dword [esi], 1
je 0x44a05c
mov dword [0x543078], 0x80000
jmp 0x44a06f
mov edi, dword [esi + 4]
mov eax, dword [ebp - 0x468]
call fcn.0043cbc0
mov dword [0x543078], eax
mov eax, dword [ebp - 0x45c]
push 0x208
lea edx, [ebp - 0x22a]
xor ecx, ecx
push ebx
push edx
mov dword [ebp - 0x46c], eax
mov word [ebp - 0x22c], cx
call fcn.004b9c60
add esp, 0xc
lea esp, [esp]
cmp ebx, dword [ebp - 0x46c]
jge 0x44a201
mov eax, 0x54307c
xor edi, edi
cmp dword [eax], edi
jne 0x44a201
xor eax, eax
mov dword [ebp - 0x45c], edi
mov word [ebp - 0x458], ax
mov dword [ebp - 0x230], edi
cmp esi, edi
jne 0x44a0e1
mov dword [0x543078], 0x10000
inc ebx
jmp 0x44a0a0
cmp dword [esi], 1
je 0x44a0f3
mov dword [0x543078], 0x80000
inc ebx
jmp 0x44a0a0
mov ecx, dword [esi + 4]
push ebx
lea edx, [ebp - 0x45c]
call fcn.0043cc10
mov dword [0x543078], eax
cmp eax, edi
jne 0x44a1fb
lea eax, [ebp - 0x458]
lea edx, [eax + 2]
jmp 0x44a120
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x44a120
sub eax, edx
sar eax, 1
xor ecx, ecx
cmp ecx, eax
jge 0x44a150
cmp word [ebp + ecx*2 - 0x458], 0x2f
jne 0x44a14d
mov edx, 0x5c
mov word [ebp + ecx*2 - 0x458], dx
inc ecx
jmp 0x44a131
mov edi, 0x54307c
cmp dword [edi], 0
jne 0x44a201
push 0x20a
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.004b9c60
mov edx, dword [ebp - 0x468]
add esp, 0xc
lea ecx, [ebp - 0x458]
push ecx
push edx
push 0x506834
lea edx, [ebp - 0x22c]
call fcn.0044a2c0
add esp, 0xc
test byte [ebp - 0x250], 0x10
je 0x44a1af
lea eax, [ebp - 0x22c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
jmp 0x44a1bf
push ebx
push esi
lea ecx, [ebp - 0x22c]
call fcn.0043ded0
add esp, 8
cmp dword [edi], 0
jne 0x44a201
mov edi, dword [ebp - 0x478]
test edi, edi
je 0x44a1fb
lea ecx, [ebx + 1]
mov dword [ebp - 0x47c], ecx
fild dword [ebp - 0x47c]
fidiv dword [ebp - 0x46c]
fmul qword [0x510ee8]
call fcn.004bab70
mov edx, dword [ebp - 0x474]
push edx
push eax
call edi
add esp, 8
inc ebx
jmp 0x44a0a0
mov bl, 1
mov dword [ebp - 4], 0xffffffff
jmp 0x44a259
test esi, esi
je 0x44a293
cmp dword [esi], 1
je 0x44a26e
mov dword [0x543078], 0x80000
jmp 0x44a293
mov esi, dword [esi + 4]
call fcn.0043da30
mov dword [0x543078], eax
test esi, esi
je 0x44a284
call fcn.0043dd20
mov edx, dword [ebp - 0x464]
push edx
call fcn.004b1c22
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004b1c2d
mov esp, ebp
pop ebp
ret