Function at 0x40a3a0
Capabilities:
Check if file exists
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x496191
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x4ba110]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x4ba110]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esi, [eax + 0x100]
push str.play.url
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push esi
push eax
mov dword [esp + 0x1c], esi
call fcn.0040cb20
mov edi, 8
add esp, 0xc
cmp dword [eax + 0x14], edi
jb 0x40a410
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete bl
cmp dword [esp + 0x2c], edi
jb 0x40a430
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00473515
add esp, 4
test bl, bl
je 0x40a6e8
push str.play.url
lea edx, [esp + 0x38]
push esi
push edx
call fcn.0040cb20
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
mov dword [esp + 0xd4], 0
call fcn.004115e0
add esp, 4
cmp dword [esp + 0x48], edi
jb 0x40a478
mov edx, dword [esp + 0x34]
push edx
call fcn.00473515
add esp, 4
xor eax, eax
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], ax
mov byte [esp + 0xd0], 3
cmp dword [esp + 0x28], eax
je 0x40a65e
push 0
push 0xa
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x5c]
push edx
call fcn.00412960
add esp, 0x10
mov byte [esp + 0xd0], 4
mov edx, dword [esp + 0x60]
mov esi, 3
cmp edx, esi
jae 0x40a4d3
mov esi, edx
jmp 0x40a4d5
mov edx, esi
mov ecx, dword [esp + 0x50]
cmp dword [esp + 0x64], edi
jae 0x40a4e3
lea ecx, [esp + 0x50]
mov eax, 0x4a7ab4
test edx, edx
je 0x40a511
lea esp, [esp]
mov bx, word [ecx]
cmp bx, word [eax]
jne 0x40a503
add ecx, 2
add eax, 2
dec edx
jne 0x40a4f0
jmp 0x40a511
mov cx, word [ecx]
cmp cx, word [eax]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jne 0x40a522
cmp esi, 3
jb 0x40a7cb
xor eax, eax
cmp esi, 3
setne al
test eax, eax
jne 0x40a7cb
push edi
xor edx, edx
push str.play_url
lea ecx, [esp + 0x90]
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], eax
mov word [esp + 0x90], dx
call fcn.0040b930
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x88]
push eax
add ecx, 0x120
mov byte [esp + 0xd4], 5
call fcn.0040b010
lea ecx, [esp + 0x34]
push 0x4a7ac0
push ecx
mov ebx, eax
call fcn.0040cd60
push 0x4a7abc
push eax
lea edx, [esp + 0xb4]
push edx
mov byte [esp + 0xe4], 6
call fcn.0040ce40
add esp, 0x14
push 0xffffffffffffffff
xor edi, edi
push edi
mov ebx, 7
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xdc], bl
call fcn.0040b700
mov esi, 8
cmp dword [esp + 0xb8], esi
jb 0x40a5df
mov eax, dword [esp + 0xa4]
push eax
call fcn.00473515
add esp, 4
xor ecx, ecx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xb4], edi
mov word [esp + 0xa4], cx
cmp dword [esp + 0x48], esi
jb 0x40a60a
mov edx, dword [esp + 0x34]
push edx
call fcn.00473515
add esp, 4
xor eax, eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], edi
mov word [esp + 0x34], ax
cmp dword [esp + 0x9c], esi
jb 0x40a632
mov ecx, dword [esp + 0x88]
push ecx
call fcn.00473515
add esp, 4
mov edi, esi
mov byte [esp + 0xd0], 3
cmp dword [esp + 0x64], edi
jb 0x40a64f
mov edx, dword [esp + 0x50]
push edx
call fcn.00473515
add esp, 4
cmp dword [esp + 0x28], 0
jne 0x40a4a4
mov esi, dword [esp + 0x10]
push str.play.url
lea eax, [esp + 0x38]
push esi
push eax
call fcn.0040cb20
add esp, 0xc
lea ecx, [esp + 0x6c]
push ecx
push eax
mov byte [esp + 0xd8], 9
call fcn.00411850
add esp, 8
cmp dword [esp + 0x48], edi
jb 0x40a69a
mov edx, dword [esp + 0x34]
push edx
call fcn.00473515
add esp, 4
cmp dword [esp + 0x80], edi
jb 0x40a6b0
mov eax, dword [esp + 0x6c]
push eax
call fcn.00473515
add esp, 4
xor ecx, ecx
mov dword [esp + 0xd0], 0xffffffff
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], cx
cmp dword [esp + 0x2c], edi
jb 0x40a6e8
mov edx, dword [esp + 0x18]
push edx
call fcn.00473515
add esp, 4
push str.website.url
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.0040cb20
add esp, 0xc
cmp dword [eax + 0x14], edi
jb 0x40a702
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete bl
cmp dword [esp + 0x2c], edi
jb 0x40a722
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00473515
add esp, 4
test bl, bl
je 0x40aa16
push str.website.url
lea edx, [esp + 0x1c]
push esi
push edx
call fcn.0040cb20
add esp, 0xc
lea ecx, [esp + 0xa4]
push ecx
mov ecx, eax
mov dword [esp + 0xd4], 0xa
call fcn.004115e0
add esp, 4
cmp dword [esp + 0x2c], edi
jb 0x40a76d
mov edx, dword [esp + 0x18]
push edx
call fcn.00473515
add esp, 4
xor eax, eax
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
mov byte [esp + 0xd0], 0xd
cmp dword [esp + 0xb4], eax
je 0x40a98e
push 0
push 0xa
lea ecx, [esp + 0xac]
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.00412960
add esp, 0x10
mov byte [esp + 0xd0], 0xe
mov edx, dword [esp + 0x7c]
mov esi, 3
cmp edx, esi
jae 0x40a814
mov esi, edx
jmp 0x40a816
push 0x4a7abc
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.0040cb20
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xdc], 8
call fcn.0040b700
cmp dword [esp + 0x48], edi
jb 0x40a634
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00473515
add esp, 4
jmp 0x40a634
mov edx, esi
mov ecx, dword [esp + 0x6c]
cmp dword [esp + 0x80], edi
jae 0x40a827
lea ecx, [esp + 0x6c]
mov eax, 0x4a7ab4
test edx, edx
je 0x40a84b
mov bx, word [ecx]
cmp bx, word [eax]
jne 0x40a843
add ecx, 2
add eax, 2
dec edx
jne 0x40a830
jmp 0x40a84b
sbb eax, eax
and eax, 0xfffffffe
inc eax
jne 0x40a85c
cmp esi, 3
jb 0x40aa3c
xor eax, eax
cmp esi, 3
setne al
test eax, eax
jne 0x40aa3c
push 0xb
xor edx, edx
push str.website_url
lea ecx, [esp + 0x90]
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], eax
mov word [esp + 0x90], dx
call fcn.0040b930
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x88]
push eax
add ecx, 0x120
mov byte [esp + 0xd4], 0xf
call fcn.0040b010
lea ecx, [esp + 0x34]
push 0x4a7ac0
push ecx
mov ebx, eax
call fcn.0040cd60
push 0x4a7abc
push eax
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0xe4], 0x10
call fcn.0040ce40
add esp, 0x14
push 0xffffffffffffffff
xor edi, edi
push edi
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xdc], 0x11
call fcn.0040b700
mov esi, 8
cmp dword [esp + 0x2c], esi
jb 0x40a90d
mov eax, dword [esp + 0x18]
push eax
call fcn.00473515
add esp, 4
xor ecx, ecx
mov ebx, 7
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edi
mov word [esp + 0x18], cx
cmp dword [esp + 0x48], esi
jb 0x40a934
mov edx, dword [esp + 0x34]
push edx
call fcn.00473515
add esp, 4
xor eax, eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], edi
mov word [esp + 0x34], ax
cmp dword [esp + 0x9c], esi
jb 0x40a95c
mov ecx, dword [esp + 0x88]
push ecx
call fcn.00473515
add esp, 4
mov edi, esi
mov byte [esp + 0xd0], 0xd
cmp dword [esp + 0x80], edi
jb 0x40a97c
mov edx, dword [esp + 0x6c]
push edx
call fcn.00473515
add esp, 4
cmp dword [esp + 0xb4], 0
jne 0x40a799
mov esi, dword [esp + 0x10]
push str.website.url
lea eax, [esp + 0x8c]
push esi
push eax
call fcn.0040cb20
add esp, 0xc
lea ecx, [esp + 0x50]
push ecx
push eax
mov byte [esp + 0xd8], 0x13
call fcn.00411850
add esp, 8
cmp dword [esp + 0x9c], edi
jb 0x40a9d3
mov edx, dword [esp + 0x88]
push edx
call fcn.00473515
add esp, 4
cmp dword [esp + 0x64], edi
jb 0x40a9e6
mov eax, dword [esp + 0x50]
push eax
call fcn.00473515
add esp, 4
xor ecx, ecx
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], cx
cmp dword [esp + 0xb8], edi
jb 0x40aa16
mov edx, dword [esp + 0xa4]
push edx
call fcn.00473515
add esp, 4
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.0047421a
mov esp, ebp
pop ebp
ret 4
push 0x4a7abc
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.0040cb20
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xdc], 0x12
call fcn.0040b700
cmp dword [esp + 0x2c], edi
jb 0x40a95e
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00473515
add esp, 4
jmp 0x40a95e