Function at 0x401dd0
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x40f102
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x419050]
xor eax, esp
mov dword [esp + 0xa4], eax
push ebp
push esi
push edi
mov eax, dword [0x419050]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
push str.component.wow_
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov ecx, dword [esp + 0xc8]
mov edx, dword [ecx*4 + 0x410458]
mov esi, dword [sym.imp.MSVCP90.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
push edx
push eax
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0xcc], 0
call esi
push str..txt
push eax
lea ecx, [esp + 0x74]
push ecx
mov byte [esp + 0xd8], 1
call esi
add esp, 0x18
lea ecx, [esp + 0x44]
mov byte [esp + 0xc0], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x28]
mov byte [esp + 0xc0], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [esp + 0x64]
mov ebp, 0x10
cmp dword [esp + 0x78], ebp
jae 0x401e90
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x14]
call fcn.00401970
cmp byte [esp + 0x10], 0
mov byte [esp + 0xc0], 5
je 0x401ece
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x78], ebp
jae 0x401eb7
lea eax, [esp + 0x64]
push eax
push str.Fatal_error:_Not_found__s_file__n
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 8
push 1
call dword [sym.imp.MSVCR90.dll_exit]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add eax, edx
push eax
lea ecx, [esp + 0x9c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x10]
mov byte [esp + 0xc0], 6
call fcn.004016e0
push 9
push 0
push str.version_
lea ecx, [esp + 0xa4]
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
mov esi, eax
push 1
lea edi, [esi + 9]
push edi
push 0x4105a0
lea ecx, [esp + 0xa4]
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [ecx]
cmp esi, ecx
je 0x40201a
cmp eax, ecx
je 0x40201a
cmp edi, eax
jae 0x40201a
sub eax, edi
push eax
push edi
lea edx, [esp + 0x84]
push edx
lea ecx, [esp + 0xa4]
call dword [sym.imp.MSVCP90.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__::substr_unsigned_int__unsigned_int_]
mov eax, dword [esp + 0x80]
cmp dword [esp + 0x94], ebp
jae 0x401f77
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
mov esi, eax
add esp, 4
test esi, esi
jg 0x401fac
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x78], ebp
jae 0x401f95
lea eax, [esp + 0x64]
push eax
push str.Fatal_error:_Invalid___s_file_format__n
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 8
push 1
call dword [sym.imp.MSVCR90.dll_exit]
lea ecx, [esp + 0x7c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x98]
mov byte [esp + 0xc0], 5
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x10]
mov byte [esp + 0xc0], 4
call fcn.004016e0
lea ecx, [esp + 0x60]
mov dword [esp + 0xc0], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.0040e540
add esp, 0xb4
ret
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x78], ebp
jae 0x401f95
lea eax, [esp + 0x64]
jmp 0x401f95