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

Disassembly:
push 0xffffffffffffffff
push 0x5fbf64
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd54
mov eax, dword [0x6cce08]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
push edi
mov dword [esp + 0x18], ecx
jne 0x4a3342
mov eax, 0x6cce0c
push ebp
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov word [esp + 0x18], bx
call fcn.00401f50
mov eax, dword [0x6ccd5c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor edi, edi
cmp eax, ebx
mov dword [esp + 0xd6c], ebx
je 0x4a3515
mov eax, dword [0x6ccd3c]
cmp eax, ebx
je 0x4a3515
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x4a3515
mov eax, dword [0x6ccd3c]
push eax
call ebp
cmp eax, 0xffffffff
je 0x4a33b4
mov ecx, dword [0x6ccd3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00401f50
jmp 0x4a35ac
mov edx, dword [0x6ccd3c]
push 0x5c
push edx
call fcn.005c2b92
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4a3515
push ebx
lea ecx, [esp + 0x30]
add esi, 2
call fcn.0043e5e0
push str._languages_
lea ecx, [esp + 0xac]
mov byte [esp + 0xd70], 1
call fcn.005df3ef
push esi
lea ecx, [esp + 0xa8]
call fcn.005df416
mov eax, dword [0x6ccd3c]
lea ecx, [esp + 0x90]
push eax
call fcn.00401f50
mov ecx, dword [esp + 0x1c]
push 0x6cd670
mov byte [esp + 0xa0], 1
mov edx, dword [ecx + 4]
lea ecx, [esp + 0x90]
mov dword [esp + 0x8c], edx
call fcn.005df39f
lea ecx, [esp + 0x2c]
call fcn.005db266
cmp eax, 1
jne 0x4a345d
mov eax, dword [0x6ccd3c]
lea ecx, [esp + 0x10]
push eax
call fcn.00401f50
mov edi, 1
lea ecx, [esp + 0xec]
mov byte [esp + 0xd6c], 9
call fcn.00588850
lea ecx, [esp + 0xb0]
mov byte [esp + 0xd6c], 8
call fcn.005e6d75
lea ecx, [esp + 0xac]
mov byte [esp + 0xd6c], 7
call fcn.005df266
lea ecx, [esp + 0xa8]
mov byte [esp + 0xd6c], 6
call fcn.005df266
lea ecx, [esp + 0xa4]
mov byte [esp + 0xd6c], 5
call fcn.005df266
lea ecx, [esp + 0xa0]
mov byte [esp + 0xd6c], 4
call fcn.005df266
lea ecx, [esp + 0x90]
mov byte [esp + 0xd6c], 3
call fcn.00401070
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd6c], 2
call fcn.005df266
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd6c], bl
call fcn.005daea7
cmp edi, ebx
jne 0x4a35ac
mov ecx, str.scheduler.chm
test ecx, ecx
je 0x4a35ac
push ecx
call fcn.005c2c42
add esp, 4
test eax, eax
je 0x4a35ac
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4a3544
push eax
call fcn.005c2c42
add esp, 4
mov esi, eax
jmp 0x4a3546
xor esi, esi
push str.scheduler.chm
call fcn.005c2c42
add eax, esi
lea edx, [eax + eax + 2]
push edx
call fcn.005db66d
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4a35ac
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4a3584
push eax
push esi
call fcn.005c2dda
push str.scheduler.chm
push esi
call fcn.005c2db0
add esp, 0x10
jmp 0x4a3592
push str.scheduler.chm
push esi
call fcn.005c2dda
add esp, 8
lea ecx, [esp + 0x10]
call fcn.00401070
push esi
mov dword [esp + 0x14], esi
call fcn.005c2c42
add esp, 4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x4a35b8
lea eax, [esp + 0x14]
push eax
call ebp
cmp eax, 0xffffffff
pop ebp
jne 0x4a37bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x4a37bf
push ebx
lea ecx, [esp + 0x2c]
call fcn.0043e5e0
push str._data_v4_
lea ecx, [esp + 0xa8]
mov byte [esp + 0xd6c], 0xa
call fcn.005df3ef
push 0x6a62d0
lea ecx, [esp + 0xa4]
call fcn.005df3ef
mov eax, dword [esp + 0xc]
cmp eax, ebx
jne 0x4a3614
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x90]
call fcn.00401f50
mov eax, dword [esp + 0x18]
push 0x6cd670
mov byte [esp + 0x9c], 1
mov ecx, dword [eax + 4]
mov dword [esp + 0x88], ecx
lea ecx, [esp + 0x8c]
call fcn.005df39f
lea ecx, [esp + 0x28]
call fcn.005db266
cmp eax, 1
je 0x4a370f
lea ecx, [esp + 0xe8]
mov byte [esp + 0xd68], 0x12
call fcn.00588850
lea ecx, [esp + 0xac]
mov byte [esp + 0xd68], 0x11
call fcn.005e6d75
lea ecx, [esp + 0xa8]
mov byte [esp + 0xd68], 0x10
call fcn.005df266
lea ecx, [esp + 0xa4]
mov byte [esp + 0xd68], 0xf
call fcn.005df266
lea ecx, [esp + 0xa0]
mov byte [esp + 0xd68], 0xe
call fcn.005df266
lea ecx, [esp + 0x9c]
mov byte [esp + 0xd68], 0xd
call fcn.005df266
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd68], 0xc
call fcn.00401070
lea ecx, [esp + 0x88]
mov byte [esp + 0xd68], 0xb
call fcn.005df266
lea ecx, [esp + 0x28]
mov byte [esp + 0xd68], bl
call fcn.005daea7
jmp 0x4a38d7
lea ecx, [esp + 0xe8]
mov byte [esp + 0xd68], 0x1a
call fcn.00588850
lea ecx, [esp + 0xac]
mov byte [esp + 0xd68], 0x19
call fcn.005e6d75
lea ecx, [esp + 0xa8]
mov byte [esp + 0xd68], 0x18
call fcn.005df266
lea ecx, [esp + 0xa4]
mov byte [esp + 0xd68], 0x17
call fcn.005df266
lea ecx, [esp + 0xa0]
mov byte [esp + 0xd68], 0x16
call fcn.005df266
lea ecx, [esp + 0x9c]
mov byte [esp + 0xd68], 0x15
call fcn.005df266
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd68], 0x14
call fcn.00401070
lea ecx, [esp + 0x88]
mov byte [esp + 0xd68], 0x13
call fcn.005df266
lea ecx, [esp + 0x28]
mov byte [esp + 0xd68], bl
call fcn.005daea7
mov edi, dword [esp + 0xd70]
cmp edi, ebx
je 0x4a38ab
mov edx, 0x6a6264
test edx, edx
je 0x4a3865
push edx
call fcn.005c2c42
add esp, 4
test eax, eax
je 0x4a3865
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x4a37fd
push eax
call fcn.005c2c42
add esp, 4
mov esi, eax
jmp 0x4a37ff
xor esi, esi
push 0x6a6264
call fcn.005c2c42
add eax, esi
lea eax, [eax + eax + 2]
push eax
call fcn.005db66d
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4a3865
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x4a383d
push eax
push esi
call fcn.005c2dda
push 0x6a6264
push esi
call fcn.005c2db0
add esp, 0x10
jmp 0x4a384b
push 0x6a6264
push esi
call fcn.005c2dda
add esp, 8
lea ecx, [esp + 0xc]
call fcn.00401070
push esi
mov dword [esp + 0x10], esi
call fcn.005c2c42
add esp, 4
mov dword [esp + 0x14], eax
push ebx
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov word [esp + 0x28], bx
call fcn.00402880
mov eax, dword [esp + 0x1c]
mov byte [esp + 0xd68], 0x1b
cmp eax, ebx
jne 0x4a3891
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x10]
call fcn.00457a70
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd68], bl
call fcn.00401070
cmp dword [0x6cd258], ebx
je 0x4a38d7
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.005dbbd0
push ebx
push ebx
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.00401f40
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x6cd258]
lea ecx, [esp + 0xc]
mov dword [esp + 0xd68], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0xd60]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xd60
ret 4