Function at 0x411ab0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x30
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov esi, ecx
cmp eax, ebx
jne 0x411acc
call dword [sym.imp.MSVCR90.dll___iob_func]
add eax, 0x40
mov edi, dword [esp + 0x4c]
mov dword [esi + 0x18], eax
cmp dword [edi + 4], ebx
je 0x411b40
add edi, 0xc
jmp 0x411ae0
push 0x34
call sub.mfc90.dll_Ordinal_798
add esp, 4
cmp eax, ebx
je 0x411bc8
mov ecx, dword [edi - 0xc]
mov dword [eax], ecx
mov edx, dword [edi - 8]
mov dword [eax + 4], edx
mov ecx, dword [edi - 4]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov edx, dword [edi]
mov dword [eax + 0x14], edx
mov ecx, dword [edi + 4]
mov dword [eax + 0x18], ecx
mov edx, dword [edi + 8]
mov dword [eax + 0x1c], edx
mov ecx, dword [edi + 0xc]
mov dword [eax + 0x20], ecx
mov edx, dword [edi + 0x10]
push eax
lea ebp, [esi + 0x1c]
push ebp
mov ecx, esi
mov dword [eax + 0x24], edx
call fcn.00411810
cmp dword [ebp], ebx
je 0x411bf6
add edi, 0x20
cmp dword [edi - 8], ebx
jne 0x411ae0
mov edi, dword [esp + 0x50]
cmp dword [edi], ebx
je 0x411b83
push 0x34
call sub.mfc90.dll_Ordinal_798
add esp, 4
cmp eax, ebx
je 0x411c24
mov ecx, dword [edi]
mov dword [eax], ecx
mov edx, dword [edi + 4]
push eax
lea ebp, [esi + 0x20]
push ebp
mov ecx, esi
mov dword [eax + 4], edx
mov dword [eax + 0xc], ebx
call fcn.00411810
cmp dword [ebp], ebx
je 0x411c52
add edi, 8
cmp dword [edi], ebx
jne 0x411b48
push 0x1000
call fcn.00415c39
add esp, 4
mov dword [esi], eax
cmp eax, ebx
jne 0x411c80
mov ecx, dword [esi + 0x18]
mov edi, dword [sym.imp.MSVCR90.dll_fprintf]
push str._nError:_on_allocating_memory_for_token_scanner._n
push ecx
call edi
mov edx, dword [esi + 0x18]
push 0x423190
push edx
call edi
add esp, 0x10
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
add esp, 0x30
ret 0x18
mov eax, dword [esi + 0x18]
mov edi, dword [sym.imp.MSVCR90.dll_fprintf]
push str._nError:_while_initializing_the_keyword_lookup_tree_for_the_HKP_KEYWORD_DEF_table._n
push eax
call edi
mov ecx, dword [esi + 0x18]
push 0x422fb4
push ecx
call edi
add esp, 0x10
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
add esp, 0x30
ret 0x18
mov edx, dword [esi + 0x18]
mov edi, dword [sym.imp.MSVCR90.dll_fprintf]
push str._nError:_on_inserting_keyword_into_the_HKP_KEYWORD_DEF_table._n
push edx
call edi
mov eax, dword [esi + 0x18]
push 0x423020
push eax
call edi
add esp, 0x10
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x30
ret 0x18
mov eax, dword [esi + 0x18]
mov edi, dword [sym.imp.MSVCR90.dll_fprintf]
push str._nError:_while_initializing_the_keyword_lookup_tree_for_the_HKP_CONST_DEF_table._n
push eax
call edi
mov ecx, dword [esi + 0x18]
push 0x4230b4
push ecx
call edi
add esp, 0x10
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
add esp, 0x30
ret 0x18
mov edx, dword [esi + 0x18]
mov edi, dword [sym.imp.MSVCR90.dll_fprintf]
push str._nError:_on_inserting_keyword_into_the_HKP_CONST_DEF_table._n
push edx
call edi
mov eax, dword [esi + 0x18]
push str._check_for_problem_with_the_include_file_created_by_HKPcc__n_n
push eax
call edi
add esp, 0x10
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x30
ret 0x18
mov ebp, dword [esp + 0x44]
mov byte [eax], bl
mov dword [esi + 4], ebx
cmp byte [esp + 0x58], bl
je 0x411cc5
mov edi, ebp
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x411c94
sub edi, ecx
lea eax, [edi + 1]
push eax
call fcn.00415c39
add esp, 4
mov dword [esi + 0x2c], eax
mov ecx, ebp
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x411cb0
mov ecx, dword [esi + 0x2c]
mov byte [edi + ecx], bl
jmp 0x411f87
push 0x4231bc
push ebp
call dword [sym.imp.MSVCR90.dll_fopen]
add esp, 8
mov dword [esi + 0x14], eax
cmp eax, ebx
jne 0x411d0a
mov edx, dword [esi + 0x18]
mov edi, dword [sym.imp.MSVCR90.dll_fprintf]
push ebp
push str._nError:_on_opening_parser_input_file___s__for_reading._n
push edx
call edi
mov eax, dword [esi + 0x18]
push str._check_for_a_file_or_directory_permission_problem__n_n
push eax
call edi
add esp, 0x14
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x30
ret 0x18
lea ecx, [esp + 0x1c]
push ecx
push ebp
call dword [sym.imp.MSVCR90.dll__stat32]
add esp, 8
test eax, eax
je 0x411d4c
mov edx, dword [esi + 0x18]
mov edi, dword [sym.imp.MSVCR90.dll_fprintf]
push ebp
push str._nError:_while_trying_to_get_size_of_parser_input_file___s_._n
push edx
call edi
mov eax, dword [esi + 0x18]
push 0x423270
push eax
call edi
add esp, 0x14
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x30
ret 0x18
mov edi, dword [esp + 0x30]
push edi
call fcn.00415c39
add esp, 4
mov dword [esi + 0x2c], eax
cmp eax, ebx
jne 0x411da2
push ebx
call sub.mfc90.dll_Ordinal_266
mov ecx, dword [esi + 0x14]
push ecx
mov dword [esi + 0x2c], ebx
call dword [sym.imp.MSVCR90.dll_fclose]
mov edx, dword [esi + 0x18]
mov edi, dword [sym.imp.MSVCR90.dll_fprintf]
push ebp
push 0x423294
push edx
call edi
mov eax, dword [esi + 0x18]
push 0x4232d0
push eax
call edi
add esp, 0x1c
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
add esp, 0x30
ret 0x18
mov ecx, dword [esi + 0x14]
mov ebx, dword [sym.imp.MSVCR90.dll_fread]
push ecx
push edi
push 1
push eax
call ebx
mov edx, dword [esi + 0x14]
push edx
call dword [sym.imp.MSVCR90.dll_ferror]
add esp, 0x14
test eax, eax
je 0x411e0c
mov eax, dword [esi + 0x2c]
push eax
call sub.mfc90.dll_Ordinal_266
mov ecx, dword [esi + 0x14]
push ecx
mov dword [esi + 0x2c], 0
call dword [sym.imp.MSVCR90.dll_fclose]
mov edx, dword [esi + 0x18]
mov edi, dword [sym.imp.MSVCR90.dll_fprintf]
push ebp
push str._nError:_while_trying_to_read_parser_input_file___s_._n
push edx
call edi
mov eax, dword [esi + 0x18]
push 0x423334
push eax
call edi
add esp, 0x1c
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x30
ret 0x18
mov ecx, dword [esi + 0x14]
push ecx
push 1
lea edx, [esp + 0x60]
push 1
push edx
call ebx
mov eax, dword [esi + 0x14]
push eax
call dword [sym.imp.MSVCR90.dll_feof]
add esp, 0x14
test eax, eax
jne 0x411e75
mov ecx, dword [esi + 0x2c]
push ecx
call sub.mfc90.dll_Ordinal_266
mov edx, dword [esi + 0x14]
push edx
mov dword [esi + 0x2c], 0
call dword [sym.imp.MSVCR90.dll_fclose]
mov eax, dword [esi + 0x18]
mov edi, dword [sym.imp.MSVCR90.dll_fprintf]
push ebp
push str._nError:_while_trying_to_read_last_byte_in_parser_input_file___s_._n
push eax
call edi
mov ecx, dword [esi + 0x18]
push str._check_for_bad_or_corrupted_file__n_n
push ecx
call edi
add esp, 0x1c
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x30
ret 0x18
mov edx, dword [esi + 0x2c]
xor eax, eax
push edx
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
call fcn.00413800
cmp byte [esp + 0x54], 0
mov ebx, eax
jne 0x411eea
test ebx, ebx
jne 0x411eec
mov eax, dword [esi + 0x2c]
push eax
call sub.mfc90.dll_Ordinal_266
mov ecx, dword [esi + 0x14]
push ecx
mov dword [esi + 0x2c], ebx
call dword [sym.imp.MSVCR90.dll_fclose]
mov edx, dword [esi + 0x18]
mov edi, dword [sym.imp.MSVCR90.dll_fprintf]
push str._nError:_Unencrypted_data_can_not_be_imported._n
push edx
call edi
mov eax, dword [esi + 0x18]
push str._______Please_encrypt_the_data_and_try_again._n_n
push eax
call edi
mov ecx, dword [esp + 0x28]
push ecx
call sub.mfc90.dll_Ordinal_800
add esp, 0x1c
pop edi
pop esi
pop ebp
lea eax, [ebx + 3]
pop ebx
add esp, 0x30
ret 0x18
test ebx, ebx
jle 0x411f78
sub edi, ebx
push edi
call fcn.00415c39
mov edx, dword [esi + 0x2c]
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x411f54
push edx
call sub.mfc90.dll_Ordinal_266
mov eax, dword [esi + 0x14]
push eax
mov dword [esi + 0x2c], ebp
call dword [sym.imp.MSVCR90.dll_fclose]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esi + 0x18]
mov edi, dword [sym.imp.MSVCR90.dll_fprintf]
push ecx
push str._nError:_on_allocating_memory_for_parser_input_file___s_._n
push edx
call edi
mov eax, dword [esi + 0x18]
push str._check_for_sufficient_memory_on_system__n_n
push eax
call edi
mov ecx, dword [esp + 0x2c]
push ecx
call sub.mfc90.dll_Ordinal_800
add esp, 0x20
pop edi
pop esi
lea eax, [ebp + 5]
pop ebp
pop ebx
add esp, 0x30
ret 0x18
push edi
add edx, ebx
push edx
push ebp
call sub.MSVCR90.dll_memcpy
mov eax, dword [esi + 0x2c]
push eax
call sub.mfc90.dll_Ordinal_266
add esp, 0x10
push ebp
push edi
lea ecx, [esp + 0x18]
mov dword [esi + 0x2c], ebp
call fcn.004138c0
mov ecx, dword [esp + 0x10]
push ecx
call sub.mfc90.dll_Ordinal_800
add esp, 4
xor ebx, ebx
mov eax, dword [esi + 0x2c]
mov ecx, dword [esp + 0x50]
lea edx, [eax + edi]
mov dword [esi + 0x34], eax
mov eax, 1
mov dword [esi + 8], eax
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x4c]
pop edi
mov dword [esi + 0xc], ebx
mov dword [esi + 0x24], eax
mov dword [esi + 0x30], edx
mov dword [esi + 0x28], ecx
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x30
ret 0x18