Function at 0x4129e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x433c04
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x445018]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x445018]
xor eax, esp
push eax
lea eax, [esp + 0x16c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x17c]
mov ebx, ecx
mov esi, edx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x48], ebx
mov dword [esp + 0x60], esi
call fcn.0041a590
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x20]
call eax
add eax, 0x7c
push eax
lea ecx, [esp + 0x114]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push str.ts_ip_config.ini
lea ecx, [esp + 0x114]
mov dword [esp + 0x178], 0
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
mov edi, 8
cmp dword [esp + 0x128], edi
jb 0x412b11
mov eax, dword [esp + 0x114]
test eax, eax
je 0x412af2
push 0
push eax
call dword [sym.imp.MSVCR80.dll__waccess]
add esp, 8
cmp eax, 0xffffffff
je 0x412af2
push 1
lea ecx, [esp + 0x68]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_fstream_char__struct_std::char_traits_char__::constructor_void_]
mov byte [esp + 0x174], 1
cmp dword [esp + 0x128], edi
mov eax, dword [esp + 0x114]
jae 0x412ac7
lea eax, [esp + 0x114]
push 0x40
push 3
push eax
lea ecx, [esp + 0x70]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_fstream_char__struct_std::char_traits_char__::open_wchar_t_const___int__int_]
cmp dword [esp + 0xbc], 0
jne 0x412b1d
lea ecx, [esp + 0x64]
mov byte [esp + 0x174], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_fstream_char__struct_std::char_traits_char__::vbase_dtor_void_]
lea ecx, [esp + 0x110]
mov dword [esp + 0x174], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor al, al
jmp 0x41354b
lea eax, [esp + 0x114]
jmp 0x412a8b
mov edi, dword [ebp + 8]
cmp dword [ebp + 4], edi
jbe 0x412b2b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebp + 4]
cmp eax, dword [ebp + 8]
mov dword [esp + 0x44], eax
jbe 0x412b41
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x44]
push edi
push ebp
push eax
push ebp
lea ecx, [esp + 0x38]
push ecx
mov edi, ebp
call fcn.00414aa0
mov edi, dword [ebx + 8]
cmp dword [ebx + 4], edi
jbe 0x412b5f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebp, dword [ebx + 4]
cmp ebp, dword [ebx + 8]
jbe 0x412b6d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push edi
push ebx
push ebp
push ebx
lea edx, [esp + 0x38]
push edx
mov edi, ebx
call fcn.00414aa0
mov edi, dword [esi + 8]
cmp dword [esi + 4], edi
jbe 0x412b8b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [esi + 4]
cmp ebx, dword [esi + 8]
jbe 0x412b99
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push edi
push esi
push ebx
push esi
lea eax, [esp + 0x38]
push eax
mov edi, esi
call fcn.00414aa0
lea ecx, [esp + 0x12c]
push ecx
call fcn.004029b0
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
push 0x438598
lea ecx, [esp + 0xf8]
mov byte [esp + 0x178], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [esp + 0x174], 4
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
mov esi, eax
jbe 0x412c02
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
lea edi, [esp + 0x18]
mov ebx, ecx
jbe 0x412c12
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push esi
push edi
push ebx
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x38]
push edx
push eax
call fcn.00404850
push 0x438598
lea ecx, [esp + 0xf8]
call dword [sym.imp.MSVCP80.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_char_const__]
lea ecx, [esp + 0xf4]
push ecx
lea edx, [esp + 0x68]
push edx
call dword [sym.imp.MSVCP80.dll_class_std::basic_istream_char__struct_std::char_traits_char______cdecl_std::getline_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_istream_char__struct_std::char_traits_char_____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____]
add esp, 8
cmp dword [esp + 0x108], ebp
mov ebp, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jbe 0x412e3a
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x78], esp
push 0x438444
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
sub esp, 0x1c
mov byte [esp + 0x1ac], 5
lea eax, [esp + 0x12c]
mov ecx, esp
mov dword [esp + 0x60], esp
push eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x84]
mov byte [esp + 0x1ac], 4
call fcn.00413580
add esp, 0x38
mov byte [esp + 0x174], 6
mov esi, dword [esp + 0x50]
test esi, esi
je 0x412db9
mov ecx, dword [esp + 0x54]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x412db9
test eax, eax
ja 0x412ce7
call ebp
mov esi, dword [esp + 0x50]
push esi
lea ecx, [esp + 0x130]
call dword [sym.imp.MSVCP80.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__]
mov edi, 1
lea ebx, [edi + 0x1b]
lea ecx, [ecx]
mov esi, dword [esp + 0x50]
test esi, esi
je 0x412d4e
mov ecx, dword [esp + 0x54]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x412d4e
add esi, ebx
push esi
lea ecx, [esp + 0x14c]
call dword [sym.imp.MSVCP80.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__]
lea ecx, [esp + 0x12c]
push ecx
lea esi, [esp + 0x1c]
call fcn.00403750
add edi, 1
add ebx, 0x1c
jmp 0x412d00
mov esi, dword [esp + 0x40]
lea ebx, [esp + 0x18]
call fcn.00403690
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, ebx
mov edi, ebx
jbe 0x412d7d
call ebp
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, ebx
jbe 0x412d7d
call ebp
mov ebx, dword [esp + 0x20]
cmp esi, edi
je 0x412db9
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x44], 0
mov edx, dword [esp + 0x44]
push edx
push eax
push ecx
mov eax, esi
mov ecx, edi
call fcn.00404ac0
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x2c]
add esp, 0xc
mov esi, eax
push edx
push esi
call fcn.00410ae0
add esp, 8
mov dword [esp + 0x20], esi
push 0x438598
lea ecx, [esp + 0xf8]
call dword [sym.imp.MSVCP80.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_char_const__]
lea eax, [esp + 0xf4]
push eax
lea ecx, [esp + 0x68]
push ecx
call dword [sym.imp.MSVCP80.dll_class_std::basic_istream_char__struct_std::char_traits_char______cdecl_std::getline_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_istream_char__struct_std::char_traits_char_____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____]
mov byte [esp + 0x17c], 4
mov esi, dword [esp + 0x58]
xor ebx, ebx
add esp, 8
cmp esi, ebx
je 0x412e21
mov edi, dword [esp + 0x54]
cmp esi, edi
je 0x412e13
jmp 0x412e00
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
add esi, 0x1c
cmp esi, edi
jne 0x412e00
mov esi, dword [esp + 0x50]
cmp esi, ebx
je 0x412e21
push esi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
cmp dword [esp + 0x108], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
ja 0x412c60
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
cmp edi, eax
mov ebx, eax
jbe 0x412e52
call ebp
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
cmp edi, eax
lea esi, [esp + 0x18]
jbe 0x412e5c
call ebp
push ebx
push esi
push edi
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x38]
push edx
push eax
call fcn.00404850
push 0x438598
lea ecx, [esp + 0xf8]
call dword [sym.imp.MSVCP80.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_char_const__]
lea ecx, [esp + 0xf4]
push ecx
lea edx, [esp + 0x68]
push edx
call dword [sym.imp.MSVCP80.dll_class_std::basic_istream_char__struct_std::char_traits_char______cdecl_std::getline_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_istream_char__struct_std::char_traits_char_____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____]
add esp, 8
cmp dword [esp + 0x108], 0
jbe 0x413120
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x438444
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
sub esp, 0x1c
mov byte [esp + 0x1ac], 7
lea eax, [esp + 0x12c]
mov ecx, esp
mov dword [esp + 0x94], esp
push eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x68]
mov byte [esp + 0x1ac], 4
call fcn.00413580
add esp, 0x38
mov byte [esp + 0x174], 8
mov esi, dword [esp + 0x34]
test esi, esi
je 0x41309c
mov ecx, dword [esp + 0x38]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x41309c
test eax, eax
mov ebp, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
ja 0x412f32
call ebp
mov esi, dword [esp + 0x34]
push esi
lea ecx, [esp + 0x130]
call dword [sym.imp.MSVCP80.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__]
mov edi, 1
lea ebx, [edi + 0x1b]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x412f96
mov ecx, dword [esp + 0x38]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x412f96
add esi, ebx
push esi
lea ecx, [esp + 0x14c]
call dword [sym.imp.MSVCP80.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__]
lea ecx, [esp + 0x12c]
push ecx
lea esi, [esp + 0x1c]
call fcn.00403750
add edi, 1
add ebx, 0x1c
jmp 0x412f48
mov esi, dword [esp + 0x48]
mov edx, dword [esi + 4]
test edx, edx
jne 0x412fa5
xor ecx, ecx
jmp 0x412fad
mov ecx, dword [esi + 8]
sub ecx, edx
sar ecx, 4
test edx, edx
je 0x412fea
mov eax, dword [esi + 0xc]
sub eax, edx
sar eax, 4
cmp ecx, eax
jae 0x412fea
mov eax, dword [esp + 0x28]
mov edi, dword [esi + 8]
mov byte [esp + 0x40], 0
mov edx, dword [esp + 0x40]
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
push edi
mov ecx, 1
call fcn.004044e0
add esp, 0x10
add edi, 0x10
mov dword [esi + 8], edi
jmp 0x413006
mov edi, dword [esi + 8]
cmp edx, edi
jbe 0x412ff3
call ebp
push edi
push esi
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x58]
push eax
mov eax, esi
call fcn.004038e0
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov esi, edi
jbe 0x41301e
call ebp
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov ebp, eax
jbe 0x41302e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x20]
cmp ebp, esi
je 0x41309c
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
cmp esi, edi
lea edx, [ebp + ecx*8]
mov ebx, edi
mov dword [esp + 0x44], edx
je 0x413086
mov edi, ebp
sub edi, esi
push esi
lea ecx, [esi + edi]
call dword [sym.imp.MSVCP80.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__]
lea eax, [esi + 0x1c]
push eax
lea ecx, [eax + edi]
call dword [sym.imp.MSVCP80.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__]
add esi, 0x38
cmp esi, ebx
jne 0x413064
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x44]
push eax
push esi
call fcn.00410ae0
add esp, 8
mov dword [esp + 0x20], esi
push 0x438598
lea ecx, [esp + 0xf8]
call dword [sym.imp.MSVCP80.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_char_const__]
lea ecx, [esp + 0xf4]
push ecx
lea edx, [esp + 0x68]
push edx
call dword [sym.imp.MSVCP80.dll_class_std::basic_istream_char__struct_std::char_traits_char______cdecl_std::getline_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_istream_char__struct_std::char_traits_char_____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____]
mov byte [esp + 0x17c], 4
mov esi, dword [esp + 0x3c]
xor ebx, ebx
add esp, 8
cmp esi, ebx
je 0x413101
mov edi, dword [esp + 0x38]
cmp esi, edi
je 0x4130f3
mov edi, edi
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
add esi, 0x1c
cmp esi, edi
jne 0x4130e0
mov esi, dword [esp + 0x34]
cmp esi, ebx
je 0x413101
push esi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
cmp dword [esp + 0x108], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
ja 0x412ea5
mov ebp, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
cmp ebx, edi
mov esi, edi
jbe 0x413142
call ebp
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
cmp ebx, edi
jbe 0x413142
call ebp
mov edi, dword [esp + 0x20]
cmp ebx, esi
je 0x4131a4
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
cmp esi, edi
lea ebp, [ebx + ecx*8]
je 0x413192
sub ebx, esi
nop
push esi
lea ecx, [esi + ebx]
call dword [sym.imp.MSVCP80.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__]
lea eax, [esi + 0x1c]
push eax
lea ecx, [eax + ebx]
call dword [sym.imp.MSVCP80.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__]
add esi, 0x38
cmp esi, edi
jne 0x413170
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
push edx
push ebp
call fcn.00410ae0
add esp, 8
mov dword [esp + 0x20], ebp
push 0x438598
lea ecx, [esp + 0xf8]
call dword [sym.imp.MSVCP80.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_char_const__]
lea eax, [esp + 0xf4]
push eax
lea ecx, [esp + 0x68]
push ecx
call dword [sym.imp.MSVCP80.dll_class_std::basic_istream_char__struct_std::char_traits_char______cdecl_std::getline_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_istream_char__struct_std::char_traits_char_____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____]
add esp, 8
cmp dword [esp + 0x108], 0
jbe 0x41345a
lea ebx, [ebx]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x438444
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
sub esp, 0x1c
mov byte [esp + 0x1ac], 9
lea edx, [esp + 0x12c]
mov ecx, esp
mov dword [esp + 0x94], esp
push edx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x68]
mov byte [esp + 0x1ac], 4
call fcn.00413580
add esp, 0x38
mov byte [esp + 0x174], 0xa
mov esi, dword [esp + 0x34]
test esi, esi
je 0x4133d8
mov ecx, dword [esp + 0x38]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4133d8
test eax, eax
mov ebp, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
ja 0x41326d
call ebp
mov esi, dword [esp + 0x34]
push esi
lea ecx, [esp + 0x130]
call dword [sym.imp.MSVCP80.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__]
mov edi, 1
lea ebx, [edi + 0x1b]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x4132d1
mov ecx, dword [esp + 0x38]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x4132d1
add esi, ebx
push esi
lea ecx, [esp + 0x14c]
call dword [sym.imp.MSVCP80.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__]
lea eax, [esp + 0x12c]
push eax
lea esi, [esp + 0x1c]
call fcn.00403750
add edi, 1
add ebx, 0x1c
jmp 0x413283
mov esi, dword [esp + 0x60]
mov edx, dword [esi + 4]
test edx, edx
jne 0x4132e0
xor ecx, ecx
jmp 0x4132e8
mov ecx, dword [esi + 8]
sub ecx, edx
sar ecx, 4
test edx, edx
je 0x413325
mov eax, dword [esi + 0xc]
sub eax, edx
sar eax, 4
cmp ecx, eax
jae 0x413325
mov edx, dword [esp + 0x28]
mov edi, dword [esi + 8]
mov byte [esp + 0x48], 0
mov ecx, dword [esp + 0x48]
push ecx
push edx
lea eax, [esp + 0x20]
push eax
push edi
mov ecx, 1
call fcn.004044e0
add esp, 0x10
add edi, 0x10
mov dword [esi + 8], edi
jmp 0x413341
mov edi, dword [esi + 8]
cmp edx, edi
jbe 0x41332e
call ebp
push edi
push esi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x58]
push edx
mov eax, esi
call fcn.004038e0
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov esi, edi
jbe 0x413359
call ebp
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov ebp, eax
jbe 0x413369
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x20]
cmp ebp, esi
je 0x4133d8
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
cmp esi, edi
lea edx, [ebp + ecx*8]
mov ebx, edi
mov dword [esp + 0x40], edx
je 0x4133c2
mov edi, ebp
sub edi, esi
nop
push esi
lea ecx, [esi + edi]
call dword [sym.imp.MSVCP80.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__]
lea eax, [esi + 0x1c]
push eax
lea ecx, [eax + edi]
call dword [sym.imp.MSVCP80.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__]
add esi, 0x38
cmp esi, ebx
jne 0x4133a0
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x40]
push eax
push esi
call fcn.00410ae0
add esp, 8
mov dword [esp + 0x20], esi
push 0x438598
lea ecx, [esp + 0xf8]
call dword [sym.imp.MSVCP80.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_char_const__]
lea ecx, [esp + 0xf4]
push ecx
lea edx, [esp + 0x68]
push edx
call dword [sym.imp.MSVCP80.dll_class_std::basic_istream_char__struct_std::char_traits_char______cdecl_std::getline_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_istream_char__struct_std::char_traits_char_____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____]
mov byte [esp + 0x17c], 4
mov esi, dword [esp + 0x3c]
xor ebx, ebx
add esp, 8
cmp esi, ebx
je 0x413441
mov edi, dword [esp + 0x38]
cmp esi, edi
je 0x413433
lea ebx, [ebx]
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
add esi, 0x1c
cmp esi, edi
jne 0x413420
mov esi, dword [esp + 0x34]
cmp esi, ebx
je 0x413441
push esi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
cmp dword [esp + 0x108], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
ja 0x4131e0
push 0x438598
lea ecx, [esp + 0xf8]
call dword [sym.imp.MSVCP80.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_char_const__]
lea eax, [esp + 0xf4]
push eax
lea ecx, [esp + 0x68]
push ecx
call dword [sym.imp.MSVCP80.dll_class_std::basic_istream_char__struct_std::char_traits_char______cdecl_std::getline_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_istream_char__struct_std::char_traits_char_____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____]
add esp, 8
push 0x4399a4
lea ecx, [esp + 0xf8]
call dword [sym.imp.MSVCP80.dll_public:_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::compare_char_const__const]
lea ecx, [esp + 0x64]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_fstream_char__struct_std::char_traits_char__::close_void_]
lea ecx, [esp + 0xf4]
mov byte [esp + 0x174], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [esp + 0x174], 2
mov eax, dword [esp + 0x1c]
xor esi, esi
cmp eax, esi
je 0x4134e9
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
push edx
push eax
call fcn.00410ae0
mov eax, dword [esp + 0x24]
add esp, 8
cmp eax, esi
je 0x4134e9
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
lea ecx, [esp + 0x148]
mov byte [esp + 0x174], 0xb
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x12c]
mov byte [esp + 0x174], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x64]
mov byte [esp + 0x174], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_fstream_char__struct_std::char_traits_char__::vbase_dtor_void_]
lea ecx, [esp + 0x110]
mov dword [esp + 0x174], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x16c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x150]
xor ecx, esp
call fcn.00431147
add esp, 0x164
ret