Function at 0x40ec5d
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4127d7
call fcn.004111a0
sub esp, 0x5fc
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xc8]
test eax, eax
jne 0x40ec81
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea eax, [ebp - 0x208]
push 0x104
mov ebx, 0x419de8
push eax
push ebx
push str.version
push 0x419ab8
call edi
lea eax, [ebp - 0x208]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x208]
push eax
lea ecx, [esi + 0x84]
call dword [sym.imp.MSVCP60.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__::assign_char_const___unsigned_int_]
mov eax, dword [esi + 0xc8]
test eax, eax
jne 0x40ecd6
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
lea eax, [ebp - 0x208]
push 0x104
push eax
push ebx
push 0x41957c
push 0x419ab8
call edi
lea eax, [ebp - 0x208]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x208]
push eax
lea ecx, [esi + 0x64]
call dword [sym.imp.MSVCP60.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__::assign_char_const___unsigned_int_]
mov eax, dword [esi + 0xc8]
test eax, eax
jne 0x40ed1d
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
lea eax, [ebp - 0x208]
push 0x104
push eax
push ebx
push 0x41957c
push str.download
call edi
lea eax, [ebp - 0x208]
lea edi, [esi + 0x34]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x208]
push eax
mov ecx, edi
call dword [sym.imp.MSVCP60.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__::assign_char_const___unsigned_int_]
xor ebx, ebx
lea ecx, [ebp - 0xa4]
push ebx
mov dword [ebp - 0x10], ebx
call fcn.00401b1b
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], ebx
call fcn.00402433
mov ebx, eax
mov al, byte [ebp + 0xb]
push 0
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP60.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__::assign_char_const___unsigned_int_]
mov eax, dword [esi + 0x3c]
mov byte [ebp - 4], 1
test eax, eax
je 0x40eddb
mov ebx, 0x419020
push ebx
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP60.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__::append_char_const___unsigned_int_]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea eax, [esi + 0x14]
push dword [ecx]
lea ecx, [ebp - 0x20]
push 0
push eax
call dword [sym.imp.MSVCP60.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__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov ebx, str..exe
jmp 0x40ee0e
mov ebx, str.update_
push ebx
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP60.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__::append_char_const___unsigned_int_]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea eax, [esi + 0x14]
push dword [ecx]
lea ecx, [ebp - 0x20]
push 0
push eax
call dword [sym.imp.MSVCP60.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__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov ebx, str..dat
push ebx
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP60.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__::append_char_const___unsigned_int_]
mov edx, dword [esi + 0x3c]
mov ecx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
xor ebx, ebx
cmp edx, ebx
je 0x40ee3a
mov edi, dword [edi + 4]
cmp edi, ebx
jne 0x40ee4c
mov edi, ecx
jmp 0x40ee3d
mov edi, dword [ebp + 8]
cmp edi, ebx
jne 0x40ee4c
mov eax, dword [esi + 0x68]
mov edi, ecx
cmp eax, ebx
je 0x40ee4c
mov edi, eax
mov ecx, dword [esi + 0xf0]
cmp edx, ebx
mov eax, dword [ecx]
je 0x40ee6b
push 0x419b9c
call dword [eax + 0x10]
test eax, eax
jne 0x40ee72
xor esi, esi
jmp 0x40f4f3
push 0x419b88
jmp 0x40ee5d
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x40ee7e
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push edi
push dword [ebp + 0xc]
push dword [esi + 8]
push dword [esi + 0xc]
push dword [esi + 4]
call fcn.0040e6d3
add esp, 0x18
test eax, eax
jne 0x40f4aa
cmp dword [esi + 0x3c], ebx
je 0x40eebe
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [esi + 0x44]
push dword [eax]
lea eax, [ebp - 0x20]
push ebx
push eax
call dword [sym.imp.MSVCP60.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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
pop esi
jmp 0x40f4f3
mov ecx, dword [esi + 0xf0]
push 0x419b74
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
je 0x40ee64
mov ecx, dword [esi + 0xf0]
push 0x419b60
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
je 0x40ee64
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x40eef6
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push ebx
push eax
lea ecx, [ebp - 0xa4]
call fcn.00401d63
test eax, eax
je 0x40f4f0
push ebx
push ebx
lea ecx, [ebp - 0xa4]
call fcn.00402399
mov edi, eax
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP60.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__::assign_char_const___unsigned_int_]
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 2
call fcn.00402418
push ebx
lea ecx, [ebp - 0xa4]
call fcn.00401ef4
mov eax, dword [ebp - 0x30]
cmp eax, ebx
jne 0x40ef63
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
xor edi, edi
lea ebx, [esi + 0x24]
push edi
push eax
mov ecx, ebx
call fcn.00403658
test al, al
je 0x40f3b2
mov ecx, dword [ebx]
cmp ecx, edi
je 0x40f3b2
mov eax, dword [esi + 0x18]
mov edx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
cmp eax, edi
jne 0x40ef92
mov eax, edx
mov ecx, dword [ecx + 0x14]
cmp ecx, edi
jne 0x40ef9b
mov ecx, edx
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x40f3b2
mov ecx, dword [ebx]
lea eax, [ebp - 0x54]
push str.version
push eax
call fcn.0040518c
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea edi, [esi + 0x94]
mov byte [ebp - 4], 3
push dword [ecx]
mov ecx, edi
push 0
push eax
call dword [sym.imp.MSVCP60.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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [esi + 0x84]
push edi
push eax
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
pop ecx
test al, al
pop ecx
je 0x40f02d
mov edi, dword [edi + 4]
test edi, edi
jne 0x40f00a
mov edi, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov ecx, dword [esi + 0xf0]
push edi
mov eax, dword [ecx]
call dword [eax]
test eax, eax
jne 0x40f039
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x40f468
mov ecx, dword [esi + 0xf0]
push 0
mov eax, dword [ecx]
jmp 0x40f013
mov ecx, dword [ebx]
lea eax, [ebp - 0x54]
push str.autorunid
push eax
call fcn.0040518c
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [ebp - 4], 4
push dword [ecx]
lea ecx, [esi + 0xa4]
push 0
push eax
call dword [sym.imp.MSVCP60.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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [ebx]
lea eax, [ebp - 0x64]
push str.downloaddirectory
push eax
call fcn.0040518c
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 5
call fcn.00402433
mov ebx, eax
lea edi, [esi + 0xb4]
push ebx
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push ebx
mov ecx, edi
call dword [sym.imp.MSVCP60.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__::assign_char_const___unsigned_int_]
cmp dword [ebp - 0x5c], 0
je 0x40f104
mov ebx, 0x419020
lea eax, [ebp - 0x64]
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x40f104
push ebx
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push ebx
mov ecx, edi
call dword [sym.imp.MSVCP60.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__::append_char_const___unsigned_int_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, edi
push dword [eax]
lea eax, [ebp - 0x64]
push 0
push eax
call dword [sym.imp.MSVCP60.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__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov edi, dword [edi + 4]
test edi, edi
jne 0x40f0fa
mov edi, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push 0
push edi
call fcn.0040f524
pop ecx
pop ecx
mov eax, dword [esi + 0x24]
push 1
pop ebx
mov ecx, dword [eax + 0x44]
mov ecx, dword [ecx]
cmp ecx, dword [eax + 0x44]
mov dword [ebp - 0x24], ecx
je 0x40f39d
mov edi, dword [ecx + 8]
cmp dword [edi + 4], 5
jne 0x40f389
test edi, edi
je 0x40f389
mov al, byte [ebp + 0xb]
push 0
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x44], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [ebp - 0x54]
push str.sha1
push eax
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.0040518c
lea eax, [ebp - 0xd4]
push str.info
push eax
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.0040518c
lea eax, [ebp - 0x74]
push 0x41957c
push eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.0040518c
lea eax, [ebp - 0xe4]
push str.encoding
push eax
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.0040518c
lea eax, [ebp - 0xc4]
push str.size
push eax
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.0040518c
lea eax, [ebp - 0xb4]
push 0x419b30
push eax
mov ecx, edi
mov byte [ebp - 4], 0xb
call fcn.0040518c
mov eax, dword [ebp - 0xc0]
mov byte [ebp - 4], 0xc
test eax, eax
jne 0x40f1d8
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0xe4]
mov dword [esp], str.gzip
push eax
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
movzx edi, al
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
pop ecx
pop ecx
mov byte [ebp + 0xb], 0x2f
mov eax, dword [eax]
push ebx
push eax
lea eax, [ebp + 0xb]
push eax
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::rfind_char_const___unsigned_int__unsigned_int_const]
test eax, eax
jl 0x40f25c
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
inc eax
push dword [ecx]
lea ecx, [ebp - 0x74]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.MSVCP60.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 ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [ebp - 4], 0xd
push dword [ecx]
lea ecx, [ebp - 0x44]
push 0
push eax
call dword [sym.imp.MSVCP60.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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push ebx
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0xc
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
test edi, edi
je 0x40f2b6
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
push ebx
lea ecx, [ebp - 0x44]
mov byte [ebp + 0xb], 0x2e
mov eax, dword [eax]
push eax
lea eax, [ebp + 0xb]
push eax
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::rfind_char_const___unsigned_int__unsigned_int_const]
push eax
lea eax, [ebp - 0xf4]
push 0
push eax
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVCP60.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 ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [ebp - 4], 0xe
push dword [ecx]
lea ecx, [ebp - 0x44]
push 0
push eax
call dword [sym.imp.MSVCP60.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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push ebx
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0xc
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
cmp dword [ebp + 0xc], 0
jle 0x40f318
cmp dword [ebp - 0x4c], 0
je 0x40f318
cmp dword [ebp - 0x3c], 0
je 0x40f318
mov edx, dword [ebp - 0xd0]
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
test edx, edx
jne 0x40f2d9
mov edx, eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp + 8], eax
test ecx, ecx
je 0x40f2e6
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x10], eax
test ecx, ecx
je 0x40f2f3
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0xb0], 0
je 0x40f302
mov eax, dword [ebp - 0xb0]
mov ecx, dword [esi + 0xf0]
push edx
push dword [ebp + 0xc]
mov edi, dword [ecx]
push dword [ebp + 8]
push dword [ebp - 0x10]
push eax
call dword [edi + 8]
push ebx
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0xb
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0xa
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 9
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 8
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 6
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [ebp - 0x24]
mov eax, dword [esi + 0x24]
mov ecx, dword [ecx]
add eax, 0x40
mov dword [ebp - 0x24], ecx
cmp ecx, dword [eax + 4]
jne 0x40f11b
push ebx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
xor edi, edi
pop ebx
jmp 0x40f3c8
mov ecx, dword [esi + 0xf0]
push edi
mov eax, dword [ecx]
call dword [eax]
test eax, eax
je 0x40f019
push 1
pop ebx
push ebx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
cmp dword [esi + 0x9c], edi
jne 0x40f403
mov esi, dword [esi + 0xf0]
push 0x419b14
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x10]
test eax, eax
je 0x40ee64
mov dword [ebp - 0x10], edi
jmp 0x40f4f0
lea edi, [esi + 0x94]
lea eax, [esi + 0x84]
push edi
push eax
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
pop ecx
test al, al
pop ecx
je 0x40f48d
mov edi, dword [edi + 4]
mov ecx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
test edi, edi
jne 0x40f42c
mov edi, ecx
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x40f435
mov eax, ecx
push edi
push eax
lea eax, [ebp - 0x608]
push 0x419afc
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov esi, dword [esi + 0xf0]
add esp, 0x10
lea ecx, [ebp - 0x608]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x10]
test eax, eax
jne 0x40f4f0
and byte [ebp - 4], 0
push 1
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.00401c10
xor eax, eax
jmp 0x40f513
mov ecx, dword [esi + 0xf0]
push 0x419ae4
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
je 0x40ee64
mov dword [esi + 0x10], ebx
jmp 0x40f4f0
cmp dword [esi + 0x3c], ebx
je 0x40f4c3
mov esi, dword [esi + 0xf0]
push 0x419ad4
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x10]
jmp 0x40f4e8
mov ecx, dword [esi + 0xf0]
push 0x419ac0
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
je 0x40ee64
mov esi, dword [esi + 0xf0]
push ebx
mov ecx, esi
mov eax, dword [esi]
call dword [eax]
test eax, eax
je 0x40ee64
mov esi, dword [ebp - 0x10]
and byte [ebp - 4], 0
push 1
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.00401c10
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8