Function at 0x418a1a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x4d8300]
xor eax, ebp
mov dword [ebp - 4], eax
or dword [ebp - 0x414], 0xffffffff
mov eax, ecx
push ebx
or ecx, 0xffffffff
mov dword [ebp - 0x41c], eax
push esi
xor ebx, ebx
mov dword [ebp - 0x418], ecx
push edi
mov ecx, eax
mov dword [ebp - 0x40c], ebx
mov esi, ebx
call fcn.0041896a
mov edi, eax
mov dword [ebp - 0x408], edi
test edi, edi
je 0x418e3e
push edi
push 0x400
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.0048afe7
add esp, 0x10
cmp eax, 0x400
jae 0x418a96
push str.Invalid_loc_file:_the_file_is_too_small_
call fcn.0042ed57
jmp 0x418e36
cmp byte [ebp - 0x404], 0x80
jbe 0x418aa6
push str.Invalid_loc_file:_the_file_should_not_have_a_BOM__Byte_Order_Mark_
jmp 0x418a8c
mov eax, ebx
lea edx, [ebp - 0x404]
mov ecx, 0x3ff
cmp byte [edx + eax], 0xd
jne 0x418ac3
cmp byte [ebp + eax - 0x403], 0xa
je 0x418ac8
inc eax
cmp eax, ecx
jb 0x418ab3
cmp eax, ecx
jb 0x418ad3
push str.Invalid_loc_file:_the_file_MUST_be_saved_in_DOS_mode__CR_LF_
jmp 0x418a8c
push ebx
push ebx
push edi
call fcn.0048bb89
mov dword [0x522470], ebx
mov byte [ebp - 0x404], bl
call fcn.0041436e
push edi
call fcn.0048b6c6
push edi
mov dword [ebp - 0x410], eax
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.0048bef3
add esp, 0x1c
test eax, eax
je 0x418e13
inc dword [0x522470]
lea eax, [ebp - 0x404]
push 0x4b086c
push eax
call fcn.0048c270
pop ecx
pop ecx
mov cl, byte [ebp + eax - 0x404]
cmp cl, 0x6c
je 0x418b48
cmp cl, 0x76
je 0x418b48
cmp cl, 0x61
jne 0x418da9
lea edx, [ebp - 0x403]
add edx, eax
call fcn.00418588
mov edi, eax
test edi, edi
je 0x418d9c
mov al, byte [edi]
cmp al, 3
je 0x418b71
cmp al, 2
je 0x418b71
cmp al, 6
jne 0x418d9c
movzx eax, al
dec eax
sub eax, 1
je 0x418cd1
sub eax, 1
je 0x418c25
sub eax, 3
jne 0x418da3
test esi, esi
jne 0x418bb2
push dword [0x522470]
push dword [0x4dc9fc]
push str._s__d_:__a_ttributes_cannot_precede__l_ocale_n
call fcn.0042ed57
add esp, 0xc
jmp 0x418d9c
mov eax, dword [edi + 0x14]
mov edx, ebx
mov dword [ebp - 0x410], ebx
cmp byte [eax], dl
je 0x418d9c
mov al, byte [eax + edx]
mov ecx, ebx
cmp byte [ecx*8 + 0x4b18d8], al
je 0x418bdb
inc ecx
cmp ecx, 1
jb 0x418bca
jmp 0x418bea
mov eax, dword [ecx*8 + 0x4b18dc]
or dword [esi + 4], eax
cmp ecx, 1
jb 0x418c11
mov eax, dword [edi + 0x14]
movsx eax, byte [edx + eax]
push eax
push dword [0x522470]
push dword [0x4dc9fc]
push str._s__d_:_unknown_attribute__c___ignored_n
call fcn.0042ed57
mov edx, dword [ebp - 0x410]
add esp, 0x10
mov eax, dword [edi + 0x14]
inc edx
mov dword [ebp - 0x410], edx
cmp byte [eax + edx], bl
jne 0x418bc5
jmp 0x418d9c
test esi, esi
je 0x418c87
cmp dword [ebp - 0x40c], ebx
jne 0x418c7e
push str.localization:_no_compatible_version_was_found___this_locale_will_be_ignored_n
call fcn.0042ed57
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
mov dword [ecx], eax
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
mov dword [ecx + 4], eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
push dword [esi + 0x14]
call fcn.004812c6
push dword [esi + 0x18]
mov dword [esi + 0x14], ebx
call fcn.004812c6
push dword [esi + 0x10]
mov dword [esi + 0x18], ebx
call fcn.004812c6
push esi
mov dword [esi + 0x10], ebx
call fcn.004812c6
add esp, 0x14
jmp 0x418c87
mov eax, dword [ebp - 0x410]
mov dword [esi + 0xc], eax
push dword [ebp - 0x408]
call fcn.0048b6c6
lea ecx, [edi + 0x1c]
mov dword [edi + 8], eax
mov dword [ecx + 4], 0x4dc5f0
mov eax, dword [0x4dc5f0]
mov dword [ecx], eax
mov eax, dword [0x4dc5f0]
mov dword [eax + 4], ecx
mov dword [0x4dc5f0], ecx
push dword [edi + 0x14]
push str.localization:_found_locale__s_n
call fcn.0042ed57
add esp, 0xc
mov dword [ebp - 0x40c], ebx
mov esi, edi
jmp 0x418da3
mov eax, dword [ebp - 0x40c]
test eax, eax
je 0x418cfa
push eax
push dword [0x522470]
push dword [0x4dc9fc]
push str._s__d_:__v_ersion_was_already_provided_at_line__d_n
call fcn.0042ed57
add esp, 0x10
jmp 0x418d9c
cmp byte [edi + 1], 2
je 0x418d16
push dword [0x522470]
push dword [0x4dc9fc]
push str._s__d_:__v_ersion_format_is_invalid_n
jmp 0x418ba5
test esi, esi
jne 0x418d30
push dword [0x522470]
push dword [0x4dc9fc]
push str._s__d_:__v_ersion_cannot_precede__l_ocale_n
jmp 0x418ba5
mov ecx, dword [ebp - 0x418]
mov eax, dword [edi + 0x10]
cmp ecx, 0xffffffff
jne 0x418d51
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x414], eax
jmp 0x418d91
cmp dword [eax], ecx
jb 0x418d64
jne 0x418d91
mov edx, dword [ebp - 0x414]
cmp dword [eax + 4], edx
jae 0x418d91
jmp 0x418d6a
mov edx, dword [ebp - 0x414]
or dword [esi + 4], 2
mov eax, dword [edi + 0x10]
push edx
push ecx
push dword [eax + 4]
push dword [eax]
push dword [0x522470]
push dword [0x4dc9fc]
push str._s__d_:_the_version_of_this_translation_is_older_than_the_base_one_and_may_result_in_some_messages_not_being_properly_translated._nIf_you_are_the_translator__please_update_your_translation_with_the_changes_that_intervened_between_v_d._d_and_v_d._d._nSee_https:__github.com_pbatard_rufus_blob_master_res_loc_ChangeLog.txt_n
call fcn.0042ed57
add esp, 0x1c
mov eax, dword [0x522470]
mov dword [ebp - 0x40c], eax
mov ecx, edi
call fcn.004142e4
mov edi, dword [ebp - 0x408]
push edi
call fcn.0048b6c6
push edi
mov dword [ebp - 0x410], eax
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.0048bef3
add esp, 0x10
test eax, eax
jne 0x418b15
test esi, esi
je 0x418e13
cmp dword [ebp - 0x40c], ebx
jne 0x418e09
push str.localization:_no_compatible_version_was_found___this_locale_will_be_ignored_n
call fcn.0042ed57
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
pop ecx
mov ecx, esi
mov dword [edx], eax
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
mov dword [edx + 4], eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
call fcn.004142e4
jmp 0x418e13
push edi
call fcn.0048b6c6
pop ecx
mov dword [esi + 0xc], eax
xor ebx, ebx
mov esi, 0x4dc5f0
cmp dword [0x4dc5f4], esi
setne bl
jne 0x418e37
push dword [ebp - 0x41c]
push str.localization:__s_contains_no_valid_locale_sections_n
call fcn.0042ed57
pop ecx
pop ecx
push edi
call fcn.00481623
pop ecx
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00475c80
leave
ret