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

Disassembly:
sub esp, 0x258
mov eax, dword [0x55561c]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x28], ecx
push eax
push 0x546ff4
lea ecx, [esp + 0x20]
push 0x546fe0
push ecx
call fcn.0048def0
mov ecx, dword [0x55561c]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov esi, eax
add esp, 0x10
mov eax, dword [esi]
cmp ecx, eax
je 0x449583
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x449553
mov edx, dword [0x546564]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x44955a
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x44956b
mov edx, dword [eax - 8]
push eax
push edx
mov ecx, 0x55561c
call fcn.00405870
jmp 0x449583
mov ecx, 0x55561c
call fcn.00412670
mov esi, dword [esi]
mov dword [0x55561c], esi
add esi, 0xfffffff4
push esi
call edi
mov eax, dword [esp + 0x18]
mov edx, dword [0x546564]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4495b4
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x4495b4
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
lea eax, [esp + 0x24]
push eax
call fcn.00449330
mov ebp, dword [esp + 0x274]
add esp, 4
test ebp, ebp
jne 0x4495ea
mov eax, dword [esp + 0x24]
cmp dword [eax - 8], 3
jle 0x4495ea
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4495ea
test al, 0x10
jne 0x4498fe
lea ecx, [esp + 0x2c]
call fcn.00529a80
mov ecx, dword [0x546560]
lea edx, [esp + 0x68]
push 0x100
push edx
push 0x80
mov dword [esp + 0x6c], 0
mov dword [esp + 0x28], ecx
call fcn.00412530
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x449635
lea edx, [esp + 0x68]
lea ecx, [esp + 0x1c]
push edx
call fcn.00405920
jmp 0x449683
push 0x1ff
lea ecx, [esp + 0x20]
mov esi, 0x200
call fcn.00413620
test eax, eax
je 0x449678
push esi
push eax
push 0x80
call fcn.00412530
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x449678
add esi, 0x100
lea ecx, [esp + 0x1c]
lea edx, [esi - 1]
push edx
call fcn.00413620
test eax, eax
jne 0x44964c
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
call fcn.00405bb0
mov eax, dword [0x546560]
mov ecx, 0x553dd8
test ecx, ecx
mov dword [esp + 0x14], eax
je 0x4496cf
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x4496cf
push esi
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x4496cf
mov edx, dword [esp + 0x14]
inc esi
push esi
push 0x553dd8
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.00449330
mov ecx, dword [esp + 0x38]
mov esi, eax
add esp, 4
mov eax, dword [esi]
cmp ecx, eax
je 0x449728
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x4496fc
mov edx, dword [0x546564]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x449703
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x449713
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x3c]
call fcn.00405870
jmp 0x449728
lea ecx, [esp + 0x34]
call fcn.00412670
mov esi, dword [esi]
mov dword [esp + 0x34], esi
add esi, 0xfffffff4
push esi
call edi
mov eax, dword [esp + 0x20]
mov ecx, dword [0x546564]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x449753
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x449753
mov eax, dword [esp + 0x20]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
mov ecx, dword [0x546560]
lea edx, [esp + 0x20]
push 0x40
push edx
mov dword [esp + 0x18], ecx
call fcn.004bc8d0
mov ecx, dword [esp + 0x18]
mov esi, eax
add esp, 8
mov eax, dword [esi]
cmp ecx, eax
je 0x4497b8
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x44978c
mov edx, dword [0x546564]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x449793
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x4497a3
push eax
mov eax, dword [eax - 8]
push eax
lea ecx, [esp + 0x18]
call fcn.00405870
jmp 0x4497b8
lea ecx, [esp + 0x10]
call fcn.00412670
mov eax, dword [esi]
mov dword [esp + 0x10], eax
add eax, 0xfffffff4
push eax
call edi
mov eax, dword [esp + 0x20]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4497e3
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x4497e3
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
test ebp, ebp
jne 0x449800
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
push ebp
push 0x553d98
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.00529f50
test eax, eax
jne 0x449865
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.00529ad0
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, 0x55561c
push edx
call fcn.004129b0
push 0x55561c
lea ecx, [esp + 0x1c]
call fcn.00405440
lea eax, [esp + 0x18]
push eax
call fcn.004b7340
add esp, 4
test eax, eax
je 0x4498b6
push 0
push 0x548c28
lea ecx, [esp + 0x20]
call fcn.00405c70
test eax, eax
jne 0x4498b6
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x55561c
call fcn.004129b0
mov edx, dword [0x55561c]
push 0
push edx
push 0x546ff4
push 0x546fe0
call fcn.0048dec0
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.00529ad0
lea ecx, [esp + 0x24]
call fcn.00405700
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x258
ret 8