Function at 0x49ed30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x53e060]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x57700c], 0
push ebx
push esi
push edi
jne 0x49f042
push 0x533ff8
push str..svnwc.db
call fcn.004ca5ae
mov edi, eax
add esp, 8
test edi, edi
jne 0x49ed87
push 0x533ff8
push str....svnwc.db
call fcn.004ca5ae
mov edi, eax
add esp, 8
test edi, edi
je 0x49eeea
push 2
push 0
push edi
call fcn.004caa2f
add esp, 0xc
push edi
call fcn.004ca478
mov esi, eax
mov edx, str.D:game_2023RO_2023_rathena_master_srccommoncore.cpp
push 0xc2
lea ecx, [esi + 1]
call fcn.0049e7d0
push 0
mov ebx, eax
push 0
push edi
mov dword [ebp - 0x410], ebx
call fcn.004caa2f
add esp, 0x14
push edi
push esi
push 1
push ebx
call fcn.004cb0be
push edi
mov dword [ebp - 0x40c], eax
mov byte [ebx + eax], 0
call fcn.004ca6ea
add esp, 0x14
mov ebx, 0xa
cmp dword [ebp - 0x40c], 0x11
jb 0x49eec0
mov edx, dword [ebp - 0x410]
mov ecx, 7
mov esi, dword [ebp - 0x40c]
sub ecx, edx
mov dword [ebp - 0x414], ecx
lea edi, [edx + 0xa]
mov dword [ebp - 0x418], edi
cmp byte [edi], 0x2f
jne 0x49ee8a
cmp dword [edi], 0x7572742f
jne 0x49ee8a
cmp word [edi + 4], 0x6b6e
jne 0x49ee8a
cmp byte [edi + 6], 0x29
jne 0x49ee8a
mov esi, ebx
test ebx, ebx
je 0x49ee69
mov edi, dword [ebp - 0x410]
nop dword [eax + eax]
movzx eax, byte [edi + esi - 1]
push eax
call fcn.004d2bc0
add esp, 4
test eax, eax
je 0x49ee57
sub esi, 1
jne 0x49ee40
mov edi, dword [ebp - 0x418]
mov edx, dword [ebp - 0x410]
mov ecx, dword [ebp - 0x414]
cmp dword [esi + edx - 9], 0x6e767321
jne 0x49ee84
cmp dword [esi + edx - 5], 0x7265762f
jne 0x49ee84
cmp byte [esi + edx - 1], 0x2f
je 0x49ee9f
mov esi, dword [ebp - 0x40c]
inc edi
inc ebx
mov dword [ebp - 0x418], edi
lea eax, [ecx + edi]
cmp eax, esi
jbe 0x49ee14
jmp 0x49eec0
lea eax, [esi + edx]
push eax
call fcn.004d2910
add esp, 4
push eax
push 0x534068
push 0x10
push 0x57700c
call fcn.0049ed10
add esp, 0x10
mov ecx, dword [ebp - 0x410]
mov edx, str.D:game_2023RO_2023_rathena_master_srccommoncore.cpp
push str.get_svn_revision
push 0xd6
call fcn.0049eb10
add esp, 8
cmp byte [0x57700c], 0
jne 0x49f042
push 0x502c00
push str..svn_entries
call fcn.004ca5ae
mov esi, eax
add esp, 8
test esi, esi
je 0x49f03b
push esi
lea eax, [ebp - 0x408]
push 0x400
push eax
call fcn.004d20e6
add esp, 0xc
test eax, eax
je 0x49f029
movzx eax, byte [ebp - 0x408]
push eax
call fcn.004d2bc0
add esp, 4
test eax, eax
lea eax, [ebp - 0x408]
push esi
push 0x400
push eax
jne 0x49efad
call fcn.004d20e6
add esp, 0xc
test eax, eax
je 0x49ef81
lea eax, [ebp - 0x408]
push str.revision
push eax
call fcn.004bfcf0
add esp, 8
test eax, eax
jne 0x49ef81
push esi
lea eax, [ebp - 0x408]
push 0x400
push eax
call fcn.004d20e6
add esp, 0xc
test eax, eax
jne 0x49ef50
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x408]
push str._______11d___n_
push eax
call fcn.004062c0
add esp, 0xc
cmp eax, 1
jne 0x49f029
push dword [ebp - 0x414]
jmp 0x49f015
call fcn.004d20e6
add esp, 0xc
test eax, eax
jne 0x49efc6
push str.Cant_get_bin_name_n
call fcn.0049ecd0
add esp, 4
push esi
lea eax, [ebp - 0x408]
push 0x400
push eax
call fcn.004d20e6
add esp, 0xc
test eax, eax
jne 0x49efec
push str.Cant_get_entries_kind_n
call fcn.0049ecd0
add esp, 4
push esi
lea eax, [ebp - 0x408]
push 0x400
push eax
call fcn.004d20e6
add esp, 0xc
test eax, eax
je 0x49f029
lea eax, [ebp - 0x408]
push eax
call fcn.004d2910
add esp, 4
push eax
push 0x534068
push 0x10
push 0x57700c
call fcn.0049ed10
add esp, 0x10
push esi
call fcn.004ca6ea
add esp, 4
cmp byte [0x57700c], 0
jne 0x49f042
mov byte [0x57700c], 2
mov ecx, dword [ebp - 4]
mov eax, 0x57700c
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004be4ac
mov esp, ebp
pop ebp
ret