Function at 0x44c6a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f46a0
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x54b1b4]
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 0x44c72b
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
jne 0x44c72b
push 0x524584
lea edx, [ebp - 0x480]
push edx
mov dword [ebp - 0x480], 1
call fcn.004beb77
push 3
push edi
xor edi, edi
call fcn.0043e920
mov esi, eax
xor ebx, ebx
add esp, 8
mov dword [ebp - 0x464], esi
cmp esi, ebx
jne 0x44c761
push 0x524584
lea eax, [ebp - 0x484]
push eax
mov dword [ebp - 0x484], 2
call fcn.004beb77
xor ecx, ecx
mov dword [ebp - 0x45c], ebx
mov word [ebp - 0x458], cx
mov dword [ebp - 0x230], ebx
cmp dword [esi], 1
je 0x44c787
mov dword [0x54ee74], 0x80000
jmp 0x44c7a0
mov ecx, dword [esi + 4]
push 0xffffffffffffffff
lea edx, [ebp - 0x45c]
call fcn.0043d8c0
mov dword [0x54ee74], eax
cmp eax, ebx
je 0x44c7bb
push 0x524584
lea edx, [ebp - 0x470]
push edx
mov dword [ebp - 0x470], 3
call fcn.004beb77
cmp dword [esi], 1
je 0x44c7cc
mov dword [0x54ee74], 0x80000
jmp 0x44c7df
mov edi, dword [esi + 4]
mov eax, dword [ebp - 0x468]
call fcn.0043d870
mov dword [0x54ee74], 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.004c24e0
add esp, 0xc
lea esp, [esp]
cmp ebx, dword [ebp - 0x46c]
jge 0x44c971
mov eax, 0x54ee78
xor edi, edi
cmp dword [eax], edi
jne 0x44c971
xor eax, eax
mov dword [ebp - 0x45c], edi
mov word [ebp - 0x458], ax
mov dword [ebp - 0x230], edi
cmp esi, edi
jne 0x44c851
mov dword [0x54ee74], 0x10000
inc ebx
jmp 0x44c810
cmp dword [esi], 1
je 0x44c863
mov dword [0x54ee74], 0x80000
inc ebx
jmp 0x44c810
mov ecx, dword [esi + 4]
push ebx
lea edx, [ebp - 0x45c]
call fcn.0043d8c0
mov dword [0x54ee74], eax
cmp eax, edi
jne 0x44c96b
lea eax, [ebp - 0x458]
lea edx, [eax + 2]
jmp 0x44c890
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x44c890
sub eax, edx
sar eax, 1
xor ecx, ecx
cmp ecx, eax
jge 0x44c8c0
cmp word [ebp + ecx*2 - 0x458], 0x2f
jne 0x44c8bd
mov edx, 0x5c
mov word [ebp + ecx*2 - 0x458], dx
inc ecx
jmp 0x44c8a1
mov edi, 0x54ee78
cmp dword [edi], 0
jne 0x44c971
push 0x20a
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.004c24e0
mov edx, dword [ebp - 0x468]
add esp, 0xc
lea ecx, [ebp - 0x458]
push ecx
push edx
push 0x5102a0
lea edx, [ebp - 0x22c]
call fcn.0044ca30
add esp, 0xc
test byte [ebp - 0x250], 0x10
je 0x44c91f
lea eax, [ebp - 0x22c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
jmp 0x44c92f
push ebx
push esi
lea ecx, [ebp - 0x22c]
call fcn.0043eb80
add esp, 8
cmp dword [edi], 0
jne 0x44c971
mov edi, dword [ebp - 0x478]
test edi, edi
je 0x44c96b
lea ecx, [ebx + 1]
mov dword [ebp - 0x47c], ecx
fild dword [ebp - 0x47c]
fidiv dword [ebp - 0x46c]
fmul qword [0x51be60]
call fcn.004c3410
mov edx, dword [ebp - 0x474]
push edx
push eax
call edi
add esp, 8
inc ebx
jmp 0x44c810
mov bl, 1
mov dword [ebp - 4], 0xffffffff
jmp 0x44c9c9
test esi, esi
je 0x44ca03
cmp dword [esi], 1
je 0x44c9de
mov dword [0x54ee74], 0x80000
jmp 0x44ca03
mov esi, dword [esi + 4]
call fcn.0043e6e0
mov dword [0x54ee74], eax
test esi, esi
je 0x44c9f4
call fcn.0043e9d0
mov edx, dword [ebp - 0x464]
push edx
call fcn.004ba3a4
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.004ba3af
mov esp, ebp
pop ebp
ret