Function at 0x44c6b0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x6fb448]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x214], 0
mov byte [ebp - 0x208], 0
push 0x1ff
push 0
lea eax, [ebp - 0x207]
push eax
call fcn.005b02a0
add esp, 0xc
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x210], 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401389
add esp, 4
test eax, eax
jne 0x44c728
mov edx, dword [ebp + 0xc]
push edx
call fcn.00401389
add esp, 4
test eax, eax
je 0x44c72f
xor eax, eax
jmp 0x44ceb8
cmp dword [ebp + 0x10], 0
jne 0x44c73c
mov dword [ebp + 0x10], 0x707bc2
push 0x200
push 0
lea eax, [ebp - 0x208]
push eax
call fcn.005b02a0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call fcn.005b4690
add esp, 4
cmp eax, 0x104
jb 0x44c957
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
mov edx, dword [ebp + 8]
push edx
call fcn.00401aaa
add esp, 4
mov dword [ebp - 0x220], eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.00402c11
add esp, 4
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x220], 0
je 0x44c7b3
cmp dword [ebp - 0x21c], 0
jne 0x44c7ee
cmp dword [ebp - 0x220], 0
je 0x44c7cd
push 1
mov ecx, dword [ebp - 0x220]
push ecx
call fcn.005b16b0
add esp, 8
cmp dword [ebp - 0x21c], 0
je 0x44c7e7
push 1
mov edx, dword [ebp - 0x21c]
push edx
call fcn.005b16b0
add esp, 8
xor eax, eax
jmp 0x44ceb8
mov eax, dword [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x220]
push ecx
call fcn.005bac80
add esp, 8
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
jne 0x44c930
mov edx, dword [ebp - 0x220]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0xffffffff
je 0x44c930
cmp dword [ebp - 0x20c], 0
jne 0x44c88a
mov eax, dword [ebp - 0x218]
and eax, 2
je 0x44c88a
mov ecx, dword [ebp - 0x218]
xor ecx, 2
mov dword [ebp - 0x218], ecx
mov edx, dword [ebp - 0x218]
push edx
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 0x220]
push edx
call fcn.005bac80
add esp, 8
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
jne 0x44c8dd
mov eax, dword [ebp - 0x218]
and eax, 4
je 0x44c8dd
mov ecx, dword [ebp - 0x218]
xor ecx, 4
mov dword [ebp - 0x218], ecx
mov edx, dword [ebp - 0x218]
push edx
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 0x220]
push edx
call fcn.005bac80
add esp, 8
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
jne 0x44c930
mov eax, dword [ebp - 0x218]
and eax, 1
je 0x44c930
mov ecx, dword [ebp - 0x218]
xor ecx, 1
mov dword [ebp - 0x218], ecx
mov edx, dword [ebp - 0x218]
push edx
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 0x220]
push edx
call fcn.005bac80
add esp, 8
mov dword [ebp - 0x20c], eax
push 1
mov eax, dword [ebp - 0x220]
push eax
call fcn.005b16b0
add esp, 8
push 1
mov ecx, dword [ebp - 0x21c]
push ecx
call fcn.005b16b0
add esp, 8
jmp 0x44ca75
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005ba9b0
add esp, 8
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
jne 0x44ca75
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0xffffffff
je 0x44ca75
cmp dword [ebp - 0x20c], 0
jne 0x44c9e1
mov edx, dword [ebp - 0x218]
and edx, 2
je 0x44c9e1
mov eax, dword [ebp - 0x218]
xor eax, 2
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x218]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005ba9b0
add esp, 8
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
jne 0x44ca2b
mov edx, dword [ebp - 0x218]
and edx, 4
je 0x44ca2b
mov eax, dword [ebp - 0x218]
xor eax, 4
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x218]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005ba9b0
add esp, 8
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
jne 0x44ca75
mov edx, dword [ebp - 0x218]
and edx, 1
je 0x44ca75
mov eax, dword [ebp - 0x218]
xor eax, 1
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x218]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005ba9b0
add esp, 8
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
jne 0x44ca85
xor eax, eax
jmp 0x44ceb8
push 0
push 4
push 0
mov edx, dword [ebp - 0x20c]
push edx
call fcn.005ba4d0
add esp, 0x10
test eax, eax
je 0x44cada
mov eax, dword [0x7090c8]
add eax, 1
mov dword [0x7090c8], eax
cmp dword [0x7090c8], 0xa
jge 0x44cada
push 0x65b54c
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.:2:fopen_wrapper___s_____s___EAP:_setvbuf__IONBF__FAILED:__s
push 0x200
lea eax, [ebp - 0x208]
push eax
call fcn.00402dc9
add esp, 0x18
mov dword [ebp - 0x214], 0
jmp 0x44caf5
mov ecx, dword [ebp - 0x214]
add ecx, 1
mov dword [ebp - 0x214], ecx
mov edx, dword [ebp - 0x214]
cmp dword [edx*4 + 0x7080c8], 0
je 0x44cc36
cmp dword [ebp - 0x214], 0xff
jl 0x44cc31
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x228], 0xffffffff
mov dword [ebp - 0x214], 0
jmp 0x44cb52
mov eax, dword [ebp - 0x214]
add eax, 1
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0x100
jge 0x44cb94
mov ecx, dword [ebp - 0x214]
mov edx, dword [ecx*4 + 0x7084c8]
cmp edx, dword [ebp - 0x228]
jae 0x44cb92
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x214]
mov edx, dword [ecx*4 + 0x7084c8]
mov dword [ebp - 0x228], edx
jmp 0x44cb43
mov eax, dword [0x7090cc]
add eax, 1
mov dword [0x7090cc], eax
cmp dword [0x7090cc], 0xa
jge 0x44cbd9
mov ecx, dword [ebp - 0x224]
mov edx, dword [ecx*4 + 0x707bc8]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.:8:fopen_wrapper___s_____s___EAP:_the_register_is_full__This_indicates_an_fopen_fclose_leak__The_oldest_entry___s__has_been_deleted.
push 0x200
lea edx, [ebp - 0x208]
push edx
call fcn.00402dc9
add esp, 0x18
mov eax, dword [ebp - 0x224]
mov dword [eax*4 + 0x7080c8], 0
mov ecx, dword [ebp - 0x224]
cmp dword [ecx*4 + 0x707bc8], 0
je 0x44cc23
push 1
mov edx, dword [ebp - 0x224]
mov eax, dword [edx*4 + 0x707bc8]
push eax
call fcn.005b16b0
add esp, 8
mov ecx, dword [ebp - 0x224]
mov dword [ecx*4 + 0x707bc8], 0
mov edx, dword [ebp - 0x224]
mov dword [ebp - 0x214], edx
jmp 0x44cc36
jmp 0x44cae6
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x20c]
mov dword [eax*4 + 0x7080c8], ecx
call fcn.0040323d
mov edx, dword [ebp - 0x214]
mov dword [edx*4 + 0x7084c8], eax
mov eax, dword [ebp + 8]
push eax
call fcn.005b4690
add esp, 4
mov dword [ebp - 0x210], eax
push 0x1aa3
push 0x65b628
push 1
push 1
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.005b4690
add esp, 4
mov edx, dword [ebp - 0x210]
lea eax, [edx + eax + 0xa]
push eax
call fcn.005b0ce0
add esp, 0x14
mov ecx, dword [ebp - 0x214]
mov dword [ecx*4 + 0x707bc8], eax
mov edx, dword [ebp - 0x214]
cmp dword [edx*4 + 0x707bc8], 0
jne 0x44ccd3
mov eax, dword [ebp - 0x214]
mov dword [eax*4 + 0x7080c8], 0
mov eax, dword [ebp - 0x20c]
jmp 0x44ceb8
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x214]
mov eax, dword [edx*4 + 0x707bc8]
push eax
call fcn.005b4720
add esp, 8
mov ecx, dword [ebp - 0x214]
mov byte [ecx + 0x707fc8], 0
push str.rwbta
mov edx, dword [ebp + 0xc]
push edx
call fcn.00401041
add esp, 8
test eax, eax
je 0x44cd2b
mov eax, dword [ebp - 0x214]
movzx ecx, byte [eax + 0x707fc8]
or ecx, 1
mov edx, dword [ebp - 0x214]
mov byte [edx + 0x707fc8], cl
push 0x65b638
mov eax, dword [ebp + 0xc]
push eax
call fcn.00401041
add esp, 8
test eax, eax
je 0x44cd5c
mov ecx, dword [ebp - 0x214]
movzx edx, byte [ecx + 0x707fc8]
or edx, 2
mov eax, dword [ebp - 0x214]
mov byte [eax + 0x707fc8], dl
push 0x65b63c
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00401041
add esp, 8
test eax, eax
je 0x44cd8d
mov edx, dword [ebp - 0x214]
movzx eax, byte [edx + 0x707fc8]
or eax, 4
mov ecx, dword [ebp - 0x214]
mov byte [ecx + 0x707fc8], al
push 0x65b640
mov edx, dword [ebp + 0xc]
push edx
call fcn.00401041
add esp, 8
test eax, eax
je 0x44cdbe
mov eax, dword [ebp - 0x214]
movzx ecx, byte [eax + 0x707fc8]
or ecx, 8
mov edx, dword [ebp - 0x214]
mov byte [edx + 0x707fc8], cl
push 0x65b644
mov eax, dword [ebp + 0xc]
push eax
call fcn.00401041
add esp, 8
test eax, eax
je 0x44cdef
mov ecx, dword [ebp - 0x214]
movzx edx, byte [ecx + 0x707fc8]
or edx, 0x10
mov eax, dword [ebp - 0x214]
mov byte [eax + 0x707fc8], dl
push 0x65b648
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00401041
add esp, 8
test eax, eax
je 0x44ce20
mov edx, dword [ebp - 0x214]
movzx eax, byte [edx + 0x707fc8]
or eax, 0x20
mov ecx, dword [ebp - 0x214]
mov byte [ecx + 0x707fc8], al
mov edx, dword [ebp - 0x214]
mov eax, dword [edx*4 + 0x707bc8]
mov ecx, dword [ebp - 0x210]
lea edx, [ecx + eax + 1]
mov eax, dword [ebp - 0x214]
mov dword [eax*4 + 0x7088c8], edx
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x214]
mov eax, dword [edx*4 + 0x7088c8]
push eax
call fcn.005b4720
add esp, 8
mov ecx, dword [ebp - 0x214]
mov edx, dword [ebp + 0x14]
mov dword [ecx*4 + 0x708cc8], edx
lea eax, [ebp - 0x208]
push eax
call fcn.00401389
add esp, 4
test eax, eax
jne 0x44ceb2
cmp dword [0x7090d0], 0
jne 0x44ceb2
mov dword [0x7090d0], 1
lea ecx, [ebp - 0x208]
push ecx
push 0x65b64c
call fcn.004018ca
add esp, 8
mov dword [0x7090d0], 0
mov eax, dword [ebp - 0x20c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b0290
mov esp, ebp
pop ebp
ret