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

Disassembly:
sub esp, 0x258
mov eax, dword [0x556694]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x28], ecx
push eax
push 0x548004
lea ecx, [esp + 0x20]
push 0x547ff0
push ecx
call fcn.0048ee40
mov ecx, dword [0x556694]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov esi, eax
add esp, 0x10
mov eax, dword [esi]
cmp ecx, eax
je 0x4496d3
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x4496a3
mov edx, dword [0x547574]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4496aa
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x4496bb
mov edx, dword [eax - 8]
push eax
push edx
mov ecx, 0x556694
call fcn.00405870
jmp 0x4496d3
mov ecx, 0x556694
call fcn.004124c0
mov esi, dword [esi]
mov dword [0x556694], esi
add esi, 0xfffffff4
push esi
call edi
mov eax, dword [esp + 0x18]
mov edx, dword [0x547574]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x449704
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x449704
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
lea eax, [esp + 0x24]
push eax
call fcn.00449480
mov ebp, dword [esp + 0x274]
add esp, 4
test ebp, ebp
jne 0x44973a
mov eax, dword [esp + 0x24]
cmp dword [eax - 8], 3
jle 0x44973a
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44973a
test al, 0x10
jne 0x449a4e
lea ecx, [esp + 0x2c]
call fcn.0052a550
mov ecx, dword [0x547570]
lea edx, [esp + 0x68]
push 0x100
push edx
push 0x80
mov dword [esp + 0x6c], 0
mov dword [esp + 0x28], ecx
call fcn.00412380
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x449785
lea edx, [esp + 0x68]
lea ecx, [esp + 0x1c]
push edx
call fcn.00405920
jmp 0x4497d3
push 0x1ff
lea ecx, [esp + 0x20]
mov esi, 0x200
call fcn.00413470
test eax, eax
je 0x4497c8
push esi
push eax
push 0x80
call fcn.00412380
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x4497c8
add esi, 0x100
lea ecx, [esp + 0x1c]
lea edx, [esi - 1]
push edx
call fcn.00413470
test eax, eax
jne 0x44979c
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
call fcn.00405bb0
mov eax, dword [0x547570]
mov ecx, 0x554e48
test ecx, ecx
mov dword [esp + 0x14], eax
je 0x44981f
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x44981f
push esi
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x44981f
mov edx, dword [esp + 0x14]
inc esi
push esi
push 0x554e48
push edx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
call fcn.00405bb0
lea eax, [esp + 0x20]
push eax
call fcn.00449480
mov ecx, dword [esp + 0x38]
mov esi, eax
add esp, 4
mov eax, dword [esi]
cmp ecx, eax
je 0x449878
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x44984c
mov edx, dword [0x547574]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x449853
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x449863
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x3c]
call fcn.00405870
jmp 0x449878
lea ecx, [esp + 0x34]
call fcn.004124c0
mov esi, dword [esi]
mov dword [esp + 0x34], esi
add esi, 0xfffffff4
push esi
call edi
mov eax, dword [esp + 0x20]
mov ecx, dword [0x547574]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4498a3
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x4498a3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
mov ecx, dword [0x547570]
lea edx, [esp + 0x20]
push 0x40
push edx
mov dword [esp + 0x18], ecx
call fcn.004bd990
mov ecx, dword [esp + 0x18]
mov esi, eax
add esp, 8
mov eax, dword [esi]
cmp ecx, eax
je 0x449908
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x4498dc
mov edx, dword [0x547574]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4498e3
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x4498f3
push eax
mov eax, dword [eax - 8]
push eax
lea ecx, [esp + 0x18]
call fcn.00405870
jmp 0x449908
lea ecx, [esp + 0x10]
call fcn.004124c0
mov eax, dword [esi]
mov dword [esp + 0x10], eax
add eax, 0xfffffff4
push eax
call edi
mov eax, dword [esp + 0x20]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x449933
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x449933
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
test ebp, ebp
jne 0x449950
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
push ebp
push 0x554e08
mov edx, dword [ecx + 4]
push eax
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [esp + 0x14]
lea edx, [esp + 0x10]
push eax
push 0
push ecx
mov ecx, esp
push edx
call fcn.00405440
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0052aa20
test eax, eax
jne 0x4499b5
lea ecx, [esp + 0x10]
call fcn.00405700
lea ecx, [esp + 0x14]
call fcn.00405700
lea ecx, [esp + 0x1c]
call fcn.00405700
lea ecx, [esp + 0x2c]
call fcn.0052a5a0
lea ecx, [esp + 0x24]
call fcn.00405700
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x258
ret 8
lea edx, [esp + 0x14]
mov ecx, 0x556694
push edx
call fcn.00412800
push 0x556694
lea ecx, [esp + 0x1c]
call fcn.00405440
lea eax, [esp + 0x18]
push eax
call fcn.004b8290
add esp, 4
test eax, eax
je 0x449a06
push 0
push 0x549c48
lea ecx, [esp + 0x20]
call fcn.00405c70
test eax, eax
jne 0x449a06
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x556694
call fcn.00412800
mov edx, dword [0x556694]
push 0
push edx
push 0x548004
push 0x547ff0
call fcn.0048ee10
add esp, 0x10
lea ecx, [esp + 0x18]
call fcn.00405700
lea ecx, [esp + 0x10]
call fcn.00405700
lea ecx, [esp + 0x14]
call fcn.00405700
lea ecx, [esp + 0x1c]
call fcn.00405700
lea ecx, [esp + 0x2c]
call fcn.0052a5a0
lea ecx, [esp + 0x24]
call fcn.00405700
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x258
ret 8