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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e61a8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x677000]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x677000]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, ecx
push 7
xor eax, eax
push str.MESSAGE
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
call fcn.00406400
lea eax, [esp + 0x10]
mov dword [esp + 0x78], 0
mov ecx, dword [0x74e2f4]
push eax
lea eax, [esp + 0x54]
push eax
lea ecx, [ecx + 0x1c]
call fcn.00409910
mov byte [esp + 0x78], 2
cmp dword [esp + 0x24], 8
jb 0x433738
push dword [esp + 0x10]
call fcn.0049500b
add esp, 4
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [esp + 0x18], ax
mov dword [esp + 0x50], eax
mov word [esp + 0x40], ax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov dword [esp + 0x58], 7
call fcn.00405f70
push ecx
push 0xffffffffffffffff
lea eax, [esp + 0x3c]
mov byte [esp + 0x80], 3
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x40], 0x5c
call fcn.0041fd20
mov ecx, eax
cmp ecx, 0xffffffff
je 0x4337c1
cmp dword [esp + 0x48], ecx
jae 0x4337a9
push str.invalid_string_position
call fcn.005d32eb
cmp dword [esp + 0x4c], 8
lea eax, [esp + 0x38]
cmovae eax, dword [esp + 0x38]
xor edx, edx
mov dword [esp + 0x48], ecx
mov word [eax + ecx*2], dx
push 0x15
push str.OSHIRASELicense.txt
lea ecx, [esp + 0x40]
call fcn.004062d0
cmp dword [esp + 0x4c], 8
lea eax, [esp + 0x38]
cmovae eax, dword [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
lea eax, [esp + 0x38]
jne 0x433801
cmp dword [esp + 0x4c], 8
cmovae eax, dword [esp + 0x38]
push eax
push str.CDlgEULA_OSHIRASE::SetEulaString__GetFileAttributes___Failed___fpath:_s
jmp 0x433837
cmp dword [esp + 0x4c], 8
push 0
cmovae eax, dword [esp + 0x3c]
push 0x80
push 3
push 0
push 0
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x433859
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CDlgEULA_OSHIRASE::SetEulaString__CreateFile___Failed___0x_08x
push 0xffffffffffffffff
push 0x1000
push 0x74e818
call fcn.005b8769
add esp, 0x14
push 0x74e818
call fcn.00418730
xor esi, esi
jmp 0x4338d2
lea edx, [esp + 0x34]
mov ecx, edi
mov dword [esp + 0x34], 1
call fcn.0041cb50
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x38]
xorps xmm0, xmm0
push 0x449
push dword [ebx + 0x470]
movq qword [esp + 0x3c], xmm0
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0x433930
call esi
push 0
push 0
push 0xce
push dword [ebx + 0x470]
call esi
push 0
neg eax
push eax
lea ecx, [ebx + 0x450]
call fcn.004a2c66
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 1
cmp dword [esp + 0x4c], 8
jb 0x4338e5
push dword [esp + 0x38]
call fcn.0049500b
add esp, 4
xor eax, eax
cmp dword [esp + 0x64], 8
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
jb 0x43390f
push dword [esp + 0x50]
call fcn.0049500b
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret