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

Disassembly:
mov eax, 0x4c89de
call fcn.004c2540
sub esp, 0x40
push ebx
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
push esi
push edi
je 0x463d98
push dword [ebp + 0x10]
lea edi, [ebp - 0x10]
call fcn.00402e10
mov dword [ebp - 4], ebx
push dword [ebp + 0x10]
call sub.ole32.dll_CoTaskMemFree
mov dword [ebp + 0x10], ebx
mov byte [ebp - 4], 1
push dword [0x4eb768]
mov esi, 0x4ead88
push esi
call fcn.0045861f
cmp eax, 0xffffffff
jne 0x463b96
push ebx
push dword [0x4eb768]
lea ebx, [ebp - 0x14]
push esi
call fcn.0045851a
mov edi, eax
lea ebx, [ebp + 0x10]
call fcn.00447bbb
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x463bb9
call fcn.00437aa5
jmp 0x463bb9
cmp eax, dword [0x4ead8c]
jb 0x463ba8
push 0x80070057
call fcn.004010ca
mov ecx, dword [0x4ead88]
lea edi, [ecx + eax*4]
lea ebx, [ebp + 0x10]
call fcn.00447bbb
mov esi, dword [ebp + 0x10]
xor ebx, ebx
cmp esi, ebx
je 0x463d84
push ebx
lea eax, [ebp - 0x4c]
call fcn.004044c6
mov eax, dword [ebp + 0xc]
dec eax
mov byte [ebp - 4], 2
je 0x463c43
dec eax
je 0x463bf2
dec eax
je 0x463c43
dec eax
je 0x463bf2
dec eax
je 0x463c43
lea eax, [ebp - 0x4c]
call fcn.00404501
jmp 0x463d7f
push dword [ebp - 0x10]
mov eax, 0x4ebc90
call fcn.004a51b5
test eax, eax
je 0x463c10
push 2
push dword [ebp - 0x10]
lea ecx, [ebp - 0x4c]
call fcn.00453bfa
mov edi, dword [ebp + 8]
cmp dword [0x4eb9f0], ebx
je 0x463cb9
add edi, 0x498
lea esi, [ebp - 0x18]
call fcn.0046aae4
mov ebx, dword [eax]
lea esi, [ebp - 0x20]
call fcn.0046aab2
cmp ebx, dword [eax]
mov edi, dword [ebp + 8]
jne 0x463cb9
xor ebx, ebx
inc ebx
jmp 0x463cbb
mov edi, dword [ebp - 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x463c91
test al, 0x10
je 0x463c63
push 1
push edi
lea ecx, [ebp - 0x4c]
call fcn.00453d53
jmp 0x463c8c
test ah, 1
jne 0x463c8c
mov eax, edi
call fcn.00407c27
test eax, eax
jne 0x463c8c
push edi
mov eax, 0x4ebc90
call fcn.004a51b5
test eax, eax
je 0x463c8c
push ebx
push edi
lea ecx, [ebp - 0x4c]
call fcn.00453bfa
cmp dword [ebp - 0x48], ebx
jne 0x463ca6
lea eax, [ebp - 0x4c]
call fcn.00404501
call fcn.00437aa5
lea eax, [edi - 0xc]
jmp 0x463d8a
mov edi, dword [ebp + 8]
push 1
push edi
lea ecx, [ebp - 0x4c]
call fcn.004609be
jmp 0x463c13
xor ebx, ebx
mov eax, dword [ebp + 0xc]
xor esi, esi
inc esi
cmp eax, esi
je 0x463d13
cmp eax, 5
je 0x463d13
cmp eax, 2
je 0x463cd4
cmp eax, 4
jne 0x463d39
xor eax, eax
cmp dword [0x4eba9c], eax
je 0x463ce6
cmp dword [0x4eb9f0], eax
jne 0x463cfd
xor esi, esi
cmp dword [0x4eb9f0], eax
jne 0x463cfd
push esi
lea eax, [ebp - 0x4c]
push eax
push dword [ebp + 0x10]
call fcn.004538b4
test ebx, ebx
je 0x463d4e
push esi
lea eax, [ebp - 0x4c]
push eax
push dword [edi + 0xf0]
call fcn.004538b4
jmp 0x463d39
cmp dword [0x4eb9f0], 0
jne 0x463d27
push dword [ebp + 0x10]
lea esi, [ebp - 0x4c]
call fcn.00458907
test ebx, ebx
je 0x463d4e
push dword [edi + 0xf0]
lea esi, [ebp - 0x4c]
call fcn.00458907
test ebx, ebx
je 0x463d4e
add edi, 0xf0
lea ebx, [ebp + 0x10]
call fcn.00447bbb
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
cmp esi, dword [edi + 0xf0]
jne 0x463d73
push dword [esi + 4]
lea eax, [edi + 0x4f8]
call fcn.0046a852
push 0
or eax, 0xffffffff
mov ecx, edi
call fcn.00460563
lea eax, [ebp - 0x4c]
call fcn.00404501
test esi, esi
je 0x463d84
call fcn.00437aa5
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff4
cmp eax, dword [0x4e9154]
je 0x463d98
push eax
call fcn.004013aa
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc