Function at 0x449bd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e69c0
mov eax, dword fs:[0]
push eax
sub esp, 0x8a0
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 ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 4], esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ebx
mov dword [ebp - 0x88c], ebx
mov dword [ebp - 0x87c], eax
mov dword [ebp - 0x890], ecx
mov dword [ebp - 0x898], edx
mov byte [ebp - 0x875], 0
mov dword [ebp - 0x880], esi
call edi
test eax, eax
jne 0x449c55
push 0x5198fc
lea eax, [ebp - 0x8a0]
push eax
mov dword [ebp - 0x8a0], esi
call fcn.004b5d45
mov ecx, dword [ebp - 0x87c]
push ecx
call edi
test eax, eax
jne 0x449c8f
mov edx, dword [ebp - 0x87c]
push edx
push esi
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
jne 0x449c8f
push 0x5198fc
lea eax, [ebp - 0x89c]
push eax
mov dword [ebp - 0x89c], 1
call fcn.004b5d45
push 2
push esi
xor edi, edi
call fcn.0043dc70
mov edi, eax
add esp, 8
mov dword [ebp - 0x880], edi
test edi, edi
jne 0x449cc3
push 0x5198fc
lea ecx, [ebp - 0x8a4]
push ecx
mov dword [ebp - 0x8a4], 2
call fcn.004b5d45
push 0xffffffffffffffff
lea edx, [ebp - 0x874]
mov eax, edi
call fcn.0043ddb0
add esp, 4
test eax, eax
je 0x449cf4
push 0x5198fc
lea edx, [ebp - 0x888]
push edx
mov dword [ebp - 0x888], 3
call fcn.004b5d45
mov eax, dword [ebp - 0x87c]
push eax
mov eax, edi
call fcn.0043e270
mov ecx, dword [ebp - 0x874]
add esp, 4
xor edx, edx
push 0x208
push edx
lea eax, [ebp - 0x22a]
push eax
mov dword [ebp - 0x884], ecx
mov word [ebp - 0x22c], dx
call fcn.004b96b0
add esp, 0xc
xor ebx, ebx
cmp ebx, dword [ebp - 0x884]
jge 0x449e4c
mov esi, dword [ebp + 0x10]
cmp dword [esi], 0
jne 0x449e4c
push ebx
lea edx, [ebp - 0x874]
mov eax, edi
call fcn.0043ddb0
add esp, 4
test eax, eax
jne 0x449e46
lea eax, [ebp - 0x870]
lea edx, [eax + 2]
jmp 0x449d70
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x449d70
sub eax, edx
sar eax, 1
xor ecx, ecx
cmp ecx, eax
jge 0x449da0
cmp word [ebp + ecx*2 - 0x870], 0x2f
jne 0x449d9d
mov edx, 0x5c
mov word [ebp + ecx*2 - 0x870], dx
inc ecx
jmp 0x449d81
cmp dword [esi], 0
jne 0x449e4c
push 0x20a
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.004b96b0
mov edx, dword [ebp - 0x87c]
add esp, 0xc
lea ecx, [ebp - 0x870]
push ecx
push edx
push 0x506834
lea edx, [ebp - 0x22c]
call fcn.0044a2c0
add esp, 0xc
test byte [ebp - 0x668], 0x10
je 0x449dfa
lea eax, [ebp - 0x22c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
jmp 0x449e0a
push ebx
push edi
lea ecx, [ebp - 0x22c]
call fcn.0043ded0
add esp, 8
cmp dword [esi], 0
jne 0x449e4c
mov esi, dword [ebp - 0x890]
test esi, esi
je 0x449e46
lea ecx, [ebx + 1]
mov dword [ebp - 0x894], ecx
fild dword [ebp - 0x894]
fidiv dword [ebp - 0x884]
fmul qword [0x510db0]
call fcn.004ba5c0
mov edx, dword [ebp - 0x898]
push edx
push eax
call esi
add esp, 8
inc ebx
jmp 0x449d31
mov bl, 1
mov dword [ebp - 4], 0xffffffff
jmp 0x449ecc
test edi, edi
je 0x449f00
cmp dword [edi], 1
je 0x449ee1
mov dword [0x543078], 0x80000
jmp 0x449f00
mov esi, dword [edi + 4]
call fcn.0043da30
mov dword [0x543078], eax
test esi, esi
je 0x449ef7
call fcn.0043dd20
push edi
call fcn.004b1676
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.004b1681
mov esp, ebp
pop ebp
ret