Function at 0x415af0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473b0b
mov eax, dword fs:[0]
push eax
mov eax, 0x2088
call fcn.00438c40
mov eax, dword [0x493018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
test edx, edx
je 0x415d5f
mov dword [ebp - 0x2084], 0
lea esi, [ecx + 1]
mov dword [ebp - 0x2080], 0xf
mov byte [ebp - 0x2094], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x415b50
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2094]
call fcn.00401ed0
push 0x50
lea eax, [ebp - 0x207c]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0044f430
add esp, 0xc
lea ecx, [ebp - 0x207c]
call fcn.004178c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2094]
cmp dword [ebp - 0x2080], 0x10
mov eax, dword [ebp - 0x2084]
cmovae ecx, dword [ebp - 0x2094]
add eax, ecx
push eax
push ecx
lea eax, [ebp - 0x202c]
push eax
lea ecx, [ebp - 0x207c]
call fcn.00419d90
lea ecx, [ebp - 0x207c]
call fcn.00417800
mov edx, dword [ebp - 0x2080]
cmp edx, 0x10
jb 0x415c04
mov ecx, dword [ebp - 0x2094]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x415bfa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415e06
push edx
push ecx
call fcn.00437a20
add esp, 8
cmp dword [ebp - 0x2018], 8
lea eax, [ebp - 0x202c]
push 0x487d64
cmovae eax, dword [ebp - 0x202c]
push eax
call fcn.00456d10
mov esi, eax
add esp, 8
test esi, esi
jne 0x415c40
push str.load_note:File_open_error_n
call fcn.00402270
add esp, 4
xor bl, bl
jmp 0x415d18
push 2
push 0
push esi
call fcn.00456755
push esi
call fcn.00452e77
mov edi, eax
add esp, 0x10
cmp edi, 0x2000
jle 0x415c77
push str.load_note:note_length_is_too_long.___8KB__n
call fcn.00402270
push esi
call fcn.004530f8
add esp, 8
xor bl, bl
jmp 0x415d18
push 0x2001
lea eax, [ebp - 0x2014]
push 0
push eax
call fcn.0044f430
push 0
push 0
push esi
call fcn.00456755
mov eax, 0x2000
cmp edi, eax
push esi
cmovl eax, edi
push eax
lea eax, [ebp - 0x2014]
push 1
push eax
call fcn.004570e5
push esi
call fcn.004530f8
add esp, 0x2c
xor ecx, ecx
nop dword [eax]
mov al, byte [ebp + ecx - 0x2014]
lea ecx, [ecx + 1]
mov byte [ecx + 0x4970ef], al
test al, al
jne 0x415cc0
cmp dword [0x4939ec], 0x10
mov edx, 0x4939d8
cmovae edx, dword [0x4939d8]
mov esi, edx
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x415cf0
mov edi, 0x4970f0
sub edx, esi
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x415d00
mov ecx, edx
mov bl, 1
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 0x2018]
cmp edx, 8
jb 0x415d58
mov ecx, dword [ebp - 0x202c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415d4e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415e0b
push edx
push ecx
call fcn.00437a20
add esp, 8
mov al, bl
jmp 0x415dea
mov ecx, dword [0x49e290]
mov edx, ecx
lea esi, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x415d70
sub edx, esi
cmp edx, 0x2000
ja 0x415ddb
mov edx, 0x4970f0
sub edx, ecx
nop dword [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x415d90
cmp dword [0x4939ec], 0x10
mov edx, 0x4939d8
cmovae edx, dword [0x4939d8]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x415db2
mov edi, 0x4970f0
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x415dc1
mov ecx, edx
mov al, 1
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x415dea
push str.load_note:default_note_length_is_too_long.___8KB__n
call fcn.00402270
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004379df
mov esp, ebp
pop ebp
ret
call fcn.0045279a
call fcn.0045279a
int3