Function at 0x449e30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ef910
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x5441b4]
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 0x449ebb
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
jne 0x449ebb
push 0x51e884
lea edx, [ebp - 0x480]
push edx
mov dword [ebp - 0x480], 1
call fcn.004ba7b9
push 3
push edi
xor edi, edi
call fcn.0043ce70
mov esi, eax
xor ebx, ebx
add esp, 8
mov dword [ebp - 0x464], esi
cmp esi, ebx
jne 0x449ef1
push 0x51e884
lea eax, [ebp - 0x484]
push eax
mov dword [ebp - 0x484], 2
call fcn.004ba7b9
xor ecx, ecx
mov dword [ebp - 0x45c], ebx
mov word [ebp - 0x458], cx
mov dword [ebp - 0x230], ebx
cmp dword [esi], 1
je 0x449f17
mov dword [0x547dec], 0x80000
jmp 0x449f30
mov ecx, dword [esi + 4]
push 0xffffffffffffffff
lea edx, [ebp - 0x45c]
call fcn.0043be10
mov dword [0x547dec], eax
cmp eax, ebx
je 0x449f4b
push 0x51e884
lea edx, [ebp - 0x470]
push edx
mov dword [ebp - 0x470], 3
call fcn.004ba7b9
cmp dword [esi], 1
je 0x449f5c
mov dword [0x547dec], 0x80000
jmp 0x449f6f
mov edi, dword [esi + 4]
mov eax, dword [ebp - 0x468]
call fcn.0043bdc0
mov dword [0x547dec], 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.004be120
add esp, 0xc
lea esp, [esp]
cmp ebx, dword [ebp - 0x46c]
jge 0x44a101
mov eax, 0x547df0
xor edi, edi
cmp dword [eax], edi
jne 0x44a101
xor eax, eax
mov dword [ebp - 0x45c], edi
mov word [ebp - 0x458], ax
mov dword [ebp - 0x230], edi
cmp esi, edi
jne 0x449fe1
mov dword [0x547dec], 0x10000
inc ebx
jmp 0x449fa0
cmp dword [esi], 1
je 0x449ff3
mov dword [0x547dec], 0x80000
inc ebx
jmp 0x449fa0
mov ecx, dword [esi + 4]
push ebx
lea edx, [ebp - 0x45c]
call fcn.0043be10
mov dword [0x547dec], eax
cmp eax, edi
jne 0x44a0fb
lea eax, [ebp - 0x458]
lea edx, [eax + 2]
jmp 0x44a020
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x44a020
sub eax, edx
sar eax, 1
xor ecx, ecx
cmp ecx, eax
jge 0x44a050
cmp word [ebp + ecx*2 - 0x458], 0x2f
jne 0x44a04d
mov edx, 0x5c
mov word [ebp + ecx*2 - 0x458], dx
inc ecx
jmp 0x44a031
mov edi, 0x547df0
cmp dword [edi], 0
jne 0x44a101
push 0x20a
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.004be120
mov edx, dword [ebp - 0x468]
add esp, 0xc
lea ecx, [ebp - 0x458]
push ecx
push edx
push 0x50b250
lea edx, [ebp - 0x22c]
call fcn.0044a1c0
add esp, 0xc
test byte [ebp - 0x250], 0x10
je 0x44a0af
lea eax, [ebp - 0x22c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
jmp 0x44a0bf
push ebx
push esi
lea ecx, [ebp - 0x22c]
call fcn.0043d0d0
add esp, 8
cmp dword [edi], 0
jne 0x44a101
mov edi, dword [ebp - 0x478]
test edi, edi
je 0x44a0fb
lea ecx, [ebx + 1]
mov dword [ebp - 0x47c], ecx
fild dword [ebp - 0x47c]
fidiv dword [ebp - 0x46c]
fmul qword [0x516208]
call fcn.004bf050
mov edx, dword [ebp - 0x474]
push edx
push eax
call edi
add esp, 8
inc ebx
jmp 0x449fa0
mov bl, 1
mov dword [ebp - 4], 0xffffffff
jmp 0x44a159
test esi, esi
je 0x44a193
cmp dword [esi], 1
je 0x44a16e
mov dword [0x547dec], 0x80000
jmp 0x44a193
mov esi, dword [esi + 4]
call fcn.0043cc30
mov dword [0x547dec], eax
test esi, esi
je 0x44a184
call fcn.0043cf20
mov edx, dword [ebp - 0x464]
push edx
call fcn.004b6106
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.004b6111
mov esp, ebp
pop ebp
ret