Function at 0x44d240
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1280
mov eax, dword fs:[0]
push eax
sub esp, 0x8a0
mov eax, dword [0x54c1b4]
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 0x44d2c5
push 0x52585c
lea eax, [ebp - 0x8a0]
push eax
mov dword [ebp - 0x8a0], esi
call fcn.004bfca7
mov ecx, dword [ebp - 0x87c]
push ecx
call edi
test eax, eax
jne 0x44d2ff
mov edx, dword [ebp - 0x87c]
push edx
push esi
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
jne 0x44d2ff
push 0x52585c
lea eax, [ebp - 0x89c]
push eax
mov dword [ebp - 0x89c], 1
call fcn.004bfca7
push 2
push esi
xor edi, edi
call fcn.0043f3d0
mov edi, eax
add esp, 8
mov dword [ebp - 0x880], edi
test edi, edi
jne 0x44d333
push 0x52585c
lea ecx, [ebp - 0x8a4]
push ecx
mov dword [ebp - 0x8a4], 2
call fcn.004bfca7
push 0xffffffffffffffff
lea edx, [ebp - 0x874]
mov eax, edi
call fcn.0043f510
add esp, 4
test eax, eax
je 0x44d364
push 0x52585c
lea edx, [ebp - 0x888]
push edx
mov dword [ebp - 0x888], 3
call fcn.004bfca7
mov eax, dword [ebp - 0x87c]
push eax
mov eax, edi
call fcn.0043f9d0
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.004c3610
add esp, 0xc
xor ebx, ebx
cmp ebx, dword [ebp - 0x884]
jge 0x44d4bc
mov esi, dword [ebp + 0x10]
cmp dword [esi], 0
jne 0x44d4bc
push ebx
lea edx, [ebp - 0x874]
mov eax, edi
call fcn.0043f510
add esp, 4
test eax, eax
jne 0x44d4b6
lea eax, [ebp - 0x870]
lea edx, [eax + 2]
jmp 0x44d3e0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44d3e0
sub eax, edx
sar eax, 1
xor ecx, ecx
cmp ecx, eax
jge 0x44d410
cmp word [ebp + ecx*2 - 0x870], 0x2f
jne 0x44d40d
mov edx, 0x5c
mov word [ebp + ecx*2 - 0x870], dx
inc ecx
jmp 0x44d3f1
cmp dword [esi], 0
jne 0x44d4bc
push 0x20a
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.004c3610
mov edx, dword [ebp - 0x87c]
add esp, 0xc
lea ecx, [ebp - 0x870]
push ecx
push edx
push 0x5112b0
lea edx, [ebp - 0x22c]
call fcn.0044d920
add esp, 0xc
test byte [ebp - 0x668], 0x10
je 0x44d46a
lea eax, [ebp - 0x22c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
jmp 0x44d47a
push ebx
push edi
lea ecx, [ebp - 0x22c]
call fcn.0043f630
add esp, 8
cmp dword [esi], 0
jne 0x44d4bc
mov esi, dword [ebp - 0x890]
test esi, esi
je 0x44d4b6
lea ecx, [ebx + 1]
mov dword [ebp - 0x894], ecx
fild dword [ebp - 0x894]
fidiv dword [ebp - 0x884]
fmul qword [0x51d120]
call fcn.004c4540
mov edx, dword [ebp - 0x898]
push edx
push eax
call esi
add esp, 8
inc ebx
jmp 0x44d3a1
mov bl, 1
mov dword [ebp - 4], 0xffffffff
jmp 0x44d53c
test edi, edi
je 0x44d570
cmp dword [edi], 1
je 0x44d551
mov dword [0x54fe74], 0x80000
jmp 0x44d570
mov esi, dword [edi + 4]
call fcn.0043f190
mov dword [0x54fe74], eax
test esi, esi
je 0x44d567
call fcn.0043f480
push edi
call fcn.004bb4d8
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.004bb4e3
mov esp, ebp
pop ebp
ret