Function at 0x44f92e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x4963dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4999d8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x24c], ecx
push esi
mov dword [ebp - 0x240], ebx
push edi
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x238]
push ebx
push eax
mov dword [ebp - 0x244], edx
mov dword [0x4999d8], eax
call sub.VCRUNTIME140.dll__setjmp3
pop ecx
pop ecx
test eax, eax
jne 0x44f9dc
mov ecx, dword [ebp - 0x24c]
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x44f98c
mov eax, 0x100
sub esi, edx
lea edx, [ebp - 0x110]
lea edi, [eax + 1]
cmp esi, edi
cmovae esi, eax
push esi
call fcn.0048810e
cmp esi, edi
jae 0x44fbff
mov byte [ebp + esi - 0x110], bl
cmp dword [ebp - 0x244], ebx
jne 0x44fa95
call fcn.0044e01d
test eax, eax
jne 0x44fa47
mov ecx, 0x90016
call fcn.0040be1c
mov eax, dword [0x49b03c]
mov esi, dword [ebp - 0x23c]
cmp dword [ebp - 0x240], 0
je 0x44fa25
cmp dword [ebp - 0x244], 0
je 0x44fa0e
mov ecx, dword [eax + 0x41e5]
cmp ecx, 0xffffffff
je 0x44fa0e
call fcn.0045d979
mov eax, dword [0x49b03c]
and dword [eax + 0x4221], 0
mov dword [eax + 0x41e5], esi
mov dword [eax + 0x41e9], 2
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [0x4999d8], eax
xor ecx, ebp
mov eax, dword [ebp - 0x240]
pop ebx
call fcn.0048dc69
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x49b03c]
mov ecx, dword [ecx + 0x41e5]
call fcn.0045d979
cmp eax, 0xffffffff
je 0x44fa73
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x44fa73
test al, 0x10
je 0x44fa95
mov ecx, 0x9001a
call fcn.0040be1c
mov eax, dword [0x49b03c]
or dword [eax + 0x41e5], 0xffffffff
mov byte [eax + 0x85], 1
jmp 0x44f9e1
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
lea eax, [ebp - 0x110]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0xc0000000
push eax
call edi
mov esi, eax
mov dword [ebp - 0x23c], esi
cmp esi, 0xffffffff
jne 0x44fae5
push ebx
push ebx
push 3
push ebx
push ebx
push 0xc0000000
lea eax, [ebp - 0x110]
push eax
call edi
mov esi, eax
mov dword [ebp - 0x23c], esi
cmp esi, 0xffffffff
je 0x44fbba
mov edx, 0x49b140
mov dword [0x49aef8], esi
mov edi, edx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x44faf5
sub edi, ecx
mov ecx, esi
push edi
call fcn.0045da12
cmp eax, edi
jne 0x44fbba
push 0xe8
lea eax, [ebp - 0x1f8]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
xor edi, edi
lea ecx, [ebp - 0x1f8]
add esp, 0xc
inc edi
mov edx, edi
mov dword [ebp - 0x1a0], edi
call fcn.004865fb
test eax, eax
jne 0x44fbba
push 2
lea eax, [ebp - 0x250]
mov dword [ebp - 0x250], edi
push eax
push 0xe
pop edx
lea ecx, [ebp - 0x1f8]
call fcn.0044ea4e
mov ecx, dword [0x49b03c]
mov eax, dword [ecx + 0x4219]
test eax, eax
jne 0x44fb6e
mov edi, ebx
jmp 0x44fb7d
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [0x49b03c]
mov edi, eax
push ecx
mov ecx, dword [ecx]
push edi
call fcn.004587b3
mov edx, eax
lea ecx, [ebp - 0x1f8]
call fcn.0044f2fc
mov ebx, eax
test edi, edi
je 0x44fbab
mov ecx, dword [0x49b03c]
push dword [ecx + 0x4219]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [ebp - 0x1f8]
test ebx, ebx
jne 0x44fbce
call fcn.00487677
mov ecx, 0x90018
call fcn.0040be1c
mov eax, dword [0x49b03c]
jmp 0x44f9e7
call fcn.0044f039
lea ecx, [ebp - 0x1f8]
call fcn.00487677
test eax, eax
jne 0x44fbba
mov edx, esi
lea ecx, [ebp - 0x1f8]
call fcn.0044e9f2
test eax, eax
je 0x44fbba
mov dword [ebp - 0x240], 1
jmp 0x44fbc4
call fcn.0048e054
int3