Function at 0x413ee0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41cc33
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x10344
call fcn.00418ed0
push ebx
push esi
push edi
lea edi, [ebp - 0x10354]
mov ecx, 0x40d1
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10], esp
mov esi, esp
mov ecx, dword [ebp + 0xc]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
cmp esi, esp
call fcn.0041925c
push eax
call fcn.0040f706
add esp, 4
movzx eax, al
test eax, eax
jne 0x413f42
jmp 0x414669
call fcn.00409de5
mov dword [ebp - 0x24], eax
mov esi, esp
mov ecx, dword [ebp + 0xc]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
cmp esi, esp
call fcn.0041925c
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x413f71
mov dword [ebp - 0x10350], 0
jmp 0x413fc0
mov esi, esp
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp esi, esp
call fcn.0041925c
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
add eax, 3
and eax, 0xfffffffc
call fcn.00418ed0
mov dword [ebp - 0x10354], esp
mov dword [ebp - 0x10], esp
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x10354]
push edx
call fcn.00409deb
mov dword [ebp - 0x10350], eax
mov esi, esp
push 0x41fe2c
mov eax, dword [ebp - 0x10350]
push eax
call dword [sym.imp.MSVCR71.dll_fopen]
add esp, 8
cmp esi, esp
call fcn.0041925c
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x413fec
jmp 0x414669
mov dword [ebp - 0x1005c], 0
mov dword [ebp - 0x10068], 0
mov eax, dword [ebp - 0x10068]
mov ecx, dword [ebp - 0x10068]
add ecx, 1
mov dword [ebp - 0x10068], ecx
cmp eax, 0x10000
jae 0x414028
mov dword [ebp - 0x10350], 1
jmp 0x414032
mov dword [ebp - 0x10350], 0
cmp dword [ebp - 0x10350], 0
je 0x4140af
mov esi, esp
mov eax, dword [ebp - 0x48]
push eax
mov ecx, 0x10000
sub ecx, dword [ebp - 0x1005c]
push ecx
push 1
mov edx, dword [ebp - 0x1005c]
lea eax, [ebp + edx - 0x10050]
push eax
call dword [sym.imp.MSVCR71.dll_fread]
add esp, 0x10
cmp esi, esp
call fcn.0041925c
mov dword [ebp - 0x10074], eax
cmp dword [ebp - 0x10074], 0
jne 0x41407e
jmp 0x4140af
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0xc]
and ecx, 0x20
je 0x41408b
jmp 0x4140af
mov eax, dword [ebp - 0x1005c]
add eax, dword [ebp - 0x10074]
mov dword [ebp - 0x1005c], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0xc]
and ecx, 0x10
je 0x4140aa
jmp 0x4140af
jmp 0x414000
mov esi, esp
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
cmp esi, esp
call fcn.0041925c
mov dword [ebp - 4], 0
push 1
mov eax, dword [ebp - 0x1005c]
push eax
lea ecx, [ebp - 0x10050]
push ecx
lea ecx, [ebp - 0x1008c]
call fcn.00416750
lea eax, [ebp - 0x10098]
push eax
lea ecx, [ebp - 0x1008c]
call fcn.004171c0
cmp dword [ebp - 0x10098], 0x65ef0
jne 0x414658
mov dword [ebp - 0x100a4], 0
lea eax, [ebp - 0x100a4]
push eax
lea ecx, [ebp - 0x1008c]
call fcn.004171c0
mov dword [ebp - 0x100b0], 0
jmp 0x414140
mov eax, dword [ebp - 0x100b0]
add eax, 1
mov dword [ebp - 0x100b0], eax
mov eax, dword [ebp - 0x100b0]
cmp eax, dword [ebp - 0x100a4]
jae 0x414658
mov esi, esp
lea ecx, [ebp - 0x100d4]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
cmp esi, esp
call fcn.0041925c
mov byte [ebp - 4], 1
mov esi, esp
lea ecx, [ebp - 0x100f8]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
cmp esi, esp
call fcn.0041925c
mov byte [ebp - 4], 2
mov dword [ebp - 0x10104], 0
mov dword [ebp - 0x10110], 0
lea eax, [ebp - 0x100d4]
push eax
lea ecx, [ebp - 0x1008c]
call fcn.004177f0
lea eax, [ebp - 0x100d4]
push eax
lea ecx, [ebp - 0x10348]
push ecx
call fcn.00416000
add esp, 8
mov dword [ebp - 0x10350], eax
mov edx, dword [ebp - 0x10350]
mov dword [ebp - 0x10354], edx
mov byte [ebp - 4], 3
mov esi, esp
mov eax, dword [ebp - 0x10354]
push eax
lea ecx, [ebp - 0x100d4]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
cmp esi, esp
call fcn.0041925c
mov byte [ebp - 4], 2
mov esi, esp
lea ecx, [ebp - 0x10348]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp esi, esp
call fcn.0041925c
mov esi, esp
lea ecx, [ebp - 0x100d4]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
cmp esi, esp
call fcn.0041925c
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x414235
mov dword [ebp - 0x10350], 0
jmp 0x414285
mov esi, esp
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp esi, esp
call fcn.0041925c
add eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
shl eax, 1
add eax, 3
and eax, 0xfffffffc
call fcn.00418ed0
mov dword [ebp - 0x10354], esp
mov dword [ebp - 0x10], esp
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x10354]
push ecx
call fcn.00414ed0
mov dword [ebp - 0x10350], eax
mov edx, dword [ebp - 0x10350]
mov dword [ebp - 0x1011c], edx
lea eax, [ebp - 0x100f8]
push eax
lea ecx, [ebp - 0x1008c]
call fcn.004177f0
lea eax, [ebp - 0x10104]
push eax
lea ecx, [ebp - 0x1008c]
call fcn.004171c0
lea eax, [ebp - 0x10110]
push eax
lea ecx, [ebp - 0x1008c]
call fcn.004171c0
mov esi, esp
lea ecx, [ebp - 0x100f8]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
cmp esi, esp
call fcn.0041925c
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x4142f1
mov dword [ebp - 0x10350], 0
jmp 0x414341
mov esi, esp
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp esi, esp
call fcn.0041925c
add eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
shl eax, 1
add eax, 3
and eax, 0xfffffffc
call fcn.00418ed0
mov dword [ebp - 0x10354], esp
mov dword [ebp - 0x10], esp
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x10354]
push ecx
call fcn.00414ed0
mov dword [ebp - 0x10350], eax
mov edx, dword [ebp - 0x10350]
mov dword [ebp - 0x10128], edx
lea ecx, [ebp - 0x1017c]
call fcn.00407194
mov byte [ebp - 4], 4
mov esi, esp
mov eax, dword [ebp - 0x10128]
push eax
lea ecx, [ebp - 0x10324]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
cmp esi, esp
call fcn.0041925c
mov dword [ebp - 0x10350], eax
mov ecx, dword [ebp - 0x10350]
mov dword [ebp - 0x10354], ecx
mov byte [ebp - 4], 5
mov esi, esp
mov edx, dword [ebp - 0x10354]
push edx
lea ecx, [ebp - 0x10170]
call dword [0x41e204]
cmp esi, esp
call fcn.0041925c
mov byte [ebp - 4], 4
mov esi, esp
lea ecx, [ebp - 0x10324]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp esi, esp
call fcn.0041925c
mov eax, dword [ebp - 0x10104]
mov dword [ebp - 0x10154], eax
mov dword [ebp - 0x10188], 0
jmp 0x4143ea
mov eax, dword [ebp - 0x10188]
add eax, 1
mov dword [ebp - 0x10188], eax
mov eax, dword [ebp - 0x10188]
cmp eax, dword [ebp - 0x10110]
jae 0x4145a6
mov esi, esp
lea ecx, [ebp - 0x101ac]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
cmp esi, esp
call fcn.0041925c
mov byte [ebp - 4], 6
lea eax, [ebp - 0x101ac]
push eax
lea ecx, [ebp - 0x1008c]
call fcn.004177f0
lea eax, [ebp - 0x101ac]
push eax
lea ecx, [ebp - 0x10300]
push ecx
call fcn.00416000
add esp, 8
mov dword [ebp - 0x10350], eax
mov edx, dword [ebp - 0x10350]
mov dword [ebp - 0x10354], edx
mov byte [ebp - 4], 7
mov esi, esp
mov eax, dword [ebp - 0x10354]
push eax
lea ecx, [ebp - 0x101ac]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
cmp esi, esp
call fcn.0041925c
mov byte [ebp - 4], 6
mov esi, esp
lea ecx, [ebp - 0x10300]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp esi, esp
call fcn.0041925c
mov esi, esp
lea ecx, [ebp - 0x101ac]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
cmp esi, esp
call fcn.0041925c
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x4144b2
mov dword [ebp - 0x10350], 0
jmp 0x414502
mov esi, esp
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp esi, esp
call fcn.0041925c
add eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
shl eax, 1
add eax, 3
and eax, 0xfffffffc
call fcn.00418ed0
mov dword [ebp - 0x10354], esp
mov dword [ebp - 0x10], esp
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x10354]
push ecx
call fcn.00414ed0
mov dword [ebp - 0x10350], eax
mov edx, dword [ebp - 0x10350]
mov dword [ebp - 0x101b8], edx
mov eax, dword [ebp - 0x101b8]
push eax
call fcn.0040f706
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x414588
mov esi, esp
mov eax, dword [ebp - 0x101b8]
push eax
lea ecx, [ebp - 0x102dc]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
cmp esi, esp
call fcn.0041925c
mov dword [ebp - 0x10350], eax
mov ecx, dword [ebp - 0x10350]
mov dword [ebp - 0x10354], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x10354]
push edx
lea eax, [ebp - 0x102b8]
push eax
lea ecx, [ebp - 0x1017c]
call fcn.00402c7c
mov byte [ebp - 4], 6
mov esi, esp
lea ecx, [ebp - 0x102dc]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp esi, esp
call fcn.0041925c
mov byte [ebp - 4], 4
mov esi, esp
lea ecx, [ebp - 0x101ac]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp esi, esp
call fcn.0041925c
jmp 0x4143db
mov eax, dword [ebp - 0x1011c]
push eax
call fcn.0040f706
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x414612
mov esi, esp
mov eax, dword [ebp - 0x1011c]
push eax
lea ecx, [ebp - 0x102a8]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
cmp esi, esp
call fcn.0041925c
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1017c]
push ecx
lea edx, [ebp - 0x102a8]
push edx
mov ecx, dword [ebp + 8]
call fcn.00407d7c
mov ecx, eax
call fcn.00407159
mov byte [ebp - 4], 4
mov esi, esp
lea ecx, [ebp - 0x102a8]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp esi, esp
call fcn.0041925c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1017c]
call fcn.004071d7
mov byte [ebp - 4], 1
mov esi, esp
lea ecx, [ebp - 0x100f8]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp esi, esp
call fcn.0041925c
mov byte [ebp - 4], 0
mov esi, esp
lea ecx, [ebp - 0x100d4]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp esi, esp
call fcn.0041925c
jmp 0x414131
jmp 0x414662
mov dword [ebp - 4], 0xffffffff
lea esp, [ebp - 0x10360]
push edx
mov ecx, ebp
push eax
lea edx, [0x414694]
call fcn.0041927f
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret