Function at 0x44fb00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b454d
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
push ebx
push esi
push edi
mov eax, dword [0x4ed4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0044ff60
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44fc40
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x20]
push edx
mov ebx, str._sres.daw
call fcn.00406680
add esp, 8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0xd8]
push ecx
call fcn.00450f70
lea edx, [ebp - 0x30]
push edx
mov byte [ebp - 4], 2
call fcn.0044f130
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
mov dword [ebp - 0x10], ebx
cmp ebx, eax
jne 0x44fc83
lea eax, [ebp - 0xd4]
call fcn.00452350
test eax, eax
jne 0x44fbdc
mov ecx, dword [ebp - 0xd8]
mov ecx, dword [ecx + 4]
mov eax, dword [ebp + ecx - 0xcc]
lea ecx, [ebp + ecx - 0xd8]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x44fbd5
or eax, 4
push 0
call fcn.004163e0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [ebp - 0x1c]
lea esi, [ebp - 0x30]
call fcn.00439eb0
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00485527
add esp, 4
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.00451060
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x78], vtable.std::ios_base.0
call fcn.004849e9
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44fc40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44fc66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebx + 0xc]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x44fcac
cmp eax, dword [esi - 0x10]
jne 0x44fcac
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x44fce4
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x44fea8
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.004855a6
add esp, 0x10
add edi, 0x10
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 4
mov esi, dword [ebx + 0x10]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi - 4], 0
lea edx, [esi - 4]
jl 0x44fd17
cmp eax, dword [esi - 0x10]
jne 0x44fd17
lea edi, [esi - 0x10]
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x44fd4f
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x44fea8
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.004855a6
add esp, 0x10
lea ebx, [edi + 0x10]
mov dword [ebp - 0x1c], ebx
mov esi, 1
mov byte [ebp - 4], 5
cmp dword [ebx - 4], esi
jle 0x44fd72
mov ecx, dword [ebx - 0xc]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004018f0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
cmp dword [eax - 4], esi
jle 0x44fd89
mov edx, dword [eax - 0xc]
push edx
lea ecx, [ebp - 0x18]
call fcn.004018f0
mov eax, dword [ebp - 0x18]
push ebx
push ecx
push 0x4cce18
push ecx
push eax
lea eax, [ebp - 0xd8]
push eax
call fcn.00430640
add esp, 0xc
push eax
call fcn.00430640
add esp, 0xc
push eax
call fcn.00430640
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00453680
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
xor edi, edi
test byte [eax + esi + 0xc], 6
jne 0x44fde3
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x44fde3
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x44fe03
mov eax, dword [ecx + 0xc]
or eax, edi
cmp dword [ecx + 0x38], 0
jne 0x44fdfc
or eax, 4
push 0
call fcn.004163e0
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44fe23
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44fe46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp - 0x10]
cmp byte [edx + 0x15], 0
jne 0x44fe9a
mov ecx, dword [edx + 8]
cmp byte [ecx + 0x15], 0
jne 0x44fe6f
mov eax, dword [ecx]
cmp byte [eax + 0x15], 0
jne 0x44fe6a
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x15], 0
je 0x44fe60
mov dword [ebp - 0x10], ecx
jmp 0x44fe97
mov eax, dword [edx + 4]
cmp byte [eax + 0x15], 0
jne 0x44fe94
jmp 0x44fe83
mov edx, dword [ebp - 0x10]
cmp edx, dword [eax + 8]
jne 0x44fe94
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x15], 0
je 0x44fe80
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x2c]
jne 0x44fc80
jmp 0x44fba3
call fcn.0040ca60
int3