Function at 0x452ea0
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4d581b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
mov ebx, dword [esp + 0x12c]
push ebp
push esi
mov al, byte [ebx]
mov ebp, ecx
push edi
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3c], 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_]
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 edx, dword [ecx]
lea ecx, [esp + 0x38]
push edx
push 0
push ebx
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_]
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 edx, dword [esp + 0x13c]
mov dword [esp + 0x130], 0
mov ecx, dword [eax]
push ecx
push 0
push edx
lea ecx, [esp + 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__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov edi, 0x4fd63c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4fd63c
lea ecx, [esp + 0x40]
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 [esp + 0x3c]
test eax, eax
jne 0x452f43
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 0x4fde98
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x452f77
push 1
lea ecx, [esp + 0x3c]
mov dword [esp + 0x134], 0xffffffff
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 eax, 0xffffffff
jmp 0x453b40
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, dword [eax]
push ecx
push 0
push ebx
lea ecx, [ebp + 0x60]
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_]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [esp + 0x13c]
mov eax, dword [edx]
push eax
push 0
push ecx
lea ecx, [ebp + 0x50]
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_]
mov ecx, ebp
call fcn.00454b90
push fcn.004011f0
push 0x471f70
push 6
lea edx, [esp + 0xbc]
push 0x10
push edx
call fcn.004ce784
push 0
push 0x10
push esi
call dword [sym.imp.MSVCRT.dll_fseek]
push esi
push 6
lea eax, [esp + 0xc4]
push 0x10
push eax
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x1c
mov dword [esp + 0x2c], 0x49742400
mov dword [esp + 0x30], 0x49742400
mov dword [esp + 0x34], 0x49742400
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x80]
push ecx
push edx
mov ecx, ebp
mov byte [esp + 0x138], 2
call fcn.004051b0
lea eax, [esp + 0x28]
lea ecx, [esp + 0x80]
push eax
mov byte [esp + 0x134], 1
mov dword [esp + 0x2c], 0xc9742400
call fcn.00417d40
lea edx, [esp + 0x4c]
push eax
lea ecx, [ebp + 0xc]
push edx
mov byte [esp + 0x138], 3
call fcn.004051b0
fld dword [esp + 0x100]
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x104]
mov edi, eax
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x108]
mov ebx, eax
mov dword [esp + 0x48], ebx
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x24], eax
mov eax, 0x2710
mov word [esp + 0x10], ax
mov word [esp + 0x12], ax
mov eax, 0xffffd8f0
mov word [esp + 0x14], ax
mov word [esp + 0x16], ax
movsx ecx, bx
mov eax, ecx
cdq
mov ebx, dword [esp + 0x140]
idiv dword [ebx]
mov word [ebp + 0x84], ax
movsx eax, word [esp + 0x24]
cdq
idiv dword [ebx]
mov word [ebp + 0x86], ax
mov eax, ecx
cdq
idiv dword [ebx]
test edx, edx
jle 0x4530d8
inc word [ebp + 0x84]
movsx eax, word [esp + 0x24]
mov ecx, dword [esp + 0x140]
cdq
idiv dword [ecx]
test edx, edx
jle 0x4530f2
inc word [ebp + 0x86]
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
lea edx, [esp + 0x2c]
lea eax, [esp + 0x80]
push edx
push eax
lea ecx, [ebp + 0x1c]
mov byte [esp + 0x138], 6
call fcn.004051b0
fld dword [esp + 0x10c]
fsub qword [0x4e4518]
fabs
fcomp qword [0x4e00d0]
fnstsw ax
test ah, 1
je 0x453152
mov byte [ebp + 0x74], 1
jmp 0x453156
mov byte [ebp + 0x74], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov al, byte [ebp + 0x74]
mov byte [esp + 0x130], 7
test al, al
je 0x453523
lea ecx, [edi + edi*2]
lea edx, [ecx*8 + 4]
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x130], 8
je 0x4531da
push fcn.004011f0
push 0x471fe0
lea ebx, [eax + 4]
push edi
push 0x18
push ebx
mov dword [eax], edi
call fcn.004ce784
mov dword [esp + 0x1c], ebx
jmp 0x4531e0
xor ebx, ebx
mov dword [esp + 0x1c], ebx
push esi
push edi
push 0x18
push ebx
mov byte [esp + 0x140], 7
call dword [sym.imp.MSVCRT.dll_fread]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
movsx esi, word [ebp + 0x86]
movsx eax, word [ebp + 0x84]
imul esi, eax
lea ecx, [esi + esi*2]
lea edx, [ecx*8 + 4]
push edx
call sub.MFC42.DLL_operatornew
add esp, 0x18
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x130], 9
je 0x453248
push fcn.004011f0
push 0x471c40
lea edi, [eax + 4]
push esi
push 0x18
push edi
mov dword [eax], esi
call fcn.004ce784
jmp 0x45324a
xor edi, edi
cmp word [ebp + 0x84], 0
mov byte [esp + 0x130], 7
mov dword [ebp + 0x80], edi
mov dword [esp + 0x18], 0
jle 0x453508
mov eax, dword [esp + 0x140]
mov ecx, dword [esp + 0x48]
mov ax, word [eax]
imul ax, word [esp + 0x18]
cmp ax, cx
jl 0x45328a
lea eax, [ecx - 1]
xor ebx, ebx
cmp word [ebp + 0x86], bx
jle 0x4534ee
mov ecx, dword [esp + 0x24]
movsx edx, ax
movsx eax, cx
imul edx, eax
mov dword [esp + 0x28], edx
jmp 0x4532b0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x140]
mov ax, word [edx]
imul ax, bx
cmp ax, cx
jl 0x4532c6
lea eax, [ecx - 1]
mov ecx, dword [esp + 0x28]
movsx eax, ax
add eax, ecx
mov ecx, dword [esp + 0x1c]
lea eax, [eax + eax*2]
mov edx, dword [ecx + eax*8]
lea esi, [ecx + eax*8]
mov dword [esp + 0x4c], edx
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
lea edx, [esp + 0x4c]
lea eax, [esp + 0x98]
push edx
push eax
mov ecx, edi
mov byte [esp + 0x138], 0xa
call fcn.00471e90
mov ecx, dword [esi + 0xc]
test esi, esi
mov dword [esp + 0x20], ecx
je 0x45331a
add esi, 0x10
jmp 0x45331c
xor esi, esi
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x80]
push ecx
push edx
mov ecx, edi
mov byte [esp + 0x138], 0xb
call fcn.00471e30
fld dword [esp + 0x20]
fsub qword [0x4e1438]
mov byte [esp + 0x130], 7
fabs
fcomp qword [0x4e00d0]
fnstsw ax
test ah, 1
je 0x45336c
mov byte [edi + 0xc], 0xa
jmp 0x453370
mov byte [edi + 0xc], 0
fld dword [edi]
fabs
fcomp qword [0x4e1e50]
fnstsw ax
test ah, 0x41
je 0x4533a5
fld dword [edi + 4]
fabs
fcomp qword [0x4e1e50]
fnstsw ax
test ah, 0x41
je 0x4533a5
fld dword [edi + 8]
fabs
fcomp qword [0x4e1e50]
fnstsw ax
test ah, 0x41
jne 0x4533e6
mov byte [esp + 0x7c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [esp + 0x70]
lea ecx, [esp + 0x110]
push eax
push ecx
mov ecx, edi
mov byte [esp + 0x138], 0xc
call fcn.00471dd0
mov byte [esp + 0x130], 7
cmp byte [edi + 0xc], 0xa
jne 0x4534dd
fld dword [edi]
fadd qword [esp + 0x58]
fstp qword [esp + 0x58]
fld dword [edi + 4]
fadd qword [esp + 0x60]
fstp qword [esp + 0x60]
fld dword [edi + 8]
fadd qword [esp + 0x68]
fstp qword [esp + 0x68]
fld dword [ebp]
fcomp dword [edi]
fnstsw ax
test ah, 1
je 0x453421
fld dword [ebp]
jmp 0x453423
fld dword [edi]
fstp dword [ebp]
fld dword [ebp + 4]
fcomp dword [edi + 4]
fnstsw ax
test ah, 1
je 0x453438
fld dword [ebp + 4]
jmp 0x45343b
fld dword [edi + 4]
fstp dword [ebp + 4]
fld dword [ebp + 8]
fcomp dword [edi + 8]
fnstsw ax
test ah, 1
je 0x453450
fld dword [ebp + 8]
jmp 0x453453
fld dword [edi + 8]
fstp dword [ebp + 8]
fld dword [ebp + 0xc]
fcomp dword [edi]
fnstsw ax
test ah, 0x41
jne 0x453467
fld dword [ebp + 0xc]
jmp 0x453469
fld dword [edi]
fstp dword [ebp + 0xc]
fld dword [ebp + 0x10]
fcomp dword [edi + 4]
fnstsw ax
test ah, 0x41
jne 0x45347e
fld dword [ebp + 0x10]
jmp 0x453481
fld dword [edi + 4]
fstp dword [ebp + 0x10]
fld dword [ebp + 0x14]
fcomp dword [edi + 8]
fnstsw ax
test ah, 0x41
jne 0x453496
fld dword [ebp + 0x14]
jmp 0x453499
fld dword [edi + 8]
mov edx, dword [ebp + 0x88]
mov eax, dword [esp + 0x18]
fstp dword [ebp + 0x14]
inc edx
cmp ax, word [esp + 0x10]
mov dword [ebp + 0x88], edx
jge 0x4534b9
mov word [esp + 0x10], ax
cmp bx, word [esp + 0x12]
jge 0x4534c5
mov word [esp + 0x12], bx
cmp ax, word [esp + 0x14]
jle 0x4534d1
mov word [esp + 0x14], ax
cmp bx, word [esp + 0x16]
jle 0x4534dd
mov word [esp + 0x16], bx
add edi, 0x18
inc ebx
cmp bx, word [ebp + 0x86]
jl 0x4532ac
mov eax, dword [esp + 0x18]
inc eax
cmp ax, word [ebp + 0x84]
mov dword [esp + 0x18], eax
jl 0x45326e
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x453873
mov edx, dword [ebx - 4]
lea esi, [ebx - 4]
push fcn.004011f0
push edx
push 0x18
jmp 0x453864
mov eax, edi
shl eax, 4
add eax, 4
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x130], 0xd
je 0x453562
push fcn.004011f0
push 0x471f70
lea ebx, [eax + 4]
push edi
push 0x10
push ebx
mov dword [eax], edi
call fcn.004ce784
mov dword [esp + 0x1c], ebx
jmp 0x453568
xor ebx, ebx
mov dword [esp + 0x1c], ebx
push esi
push edi
push 0x10
push ebx
mov byte [esp + 0x140], 7
call dword [sym.imp.MSVCRT.dll_fread]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
movsx esi, word [ebp + 0x86]
movsx ecx, word [ebp + 0x84]
imul esi, ecx
mov edx, esi
shl edx, 4
add edx, 4
push edx
call sub.MFC42.DLL_operatornew
add esp, 0x18
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x130], 0xe
je 0x4535ce
push fcn.004011f0
push fcn.00427d20
lea edi, [eax + 4]
push esi
push 0x10
push edi
mov dword [eax], esi
call fcn.004ce784
jmp 0x4535d0
xor edi, edi
cmp word [ebp + 0x84], 0
mov byte [esp + 0x130], 7
mov dword [ebp + 0x80], edi
mov dword [esp + 0x18], 0
jle 0x453852
mov eax, dword [esp + 0x140]
mov ecx, dword [esp + 0x48]
mov ax, word [eax]
imul ax, word [esp + 0x18]
cmp ax, cx
jl 0x453610
lea eax, [ecx - 1]
xor ebx, ebx
cmp word [ebp + 0x86], bx
jle 0x453838
mov ecx, dword [esp + 0x24]
movsx edx, ax
movsx eax, cx
imul edx, eax
mov dword [esp + 0x28], edx
jmp 0x453636
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x140]
mov ax, word [edx]
imul ax, bx
cmp ax, cx
jl 0x45364c
lea eax, [ecx - 1]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
movsx eax, ax
add eax, edx
shl eax, 4
mov edx, dword [eax + ecx]
lea esi, [eax + ecx]
mov dword [esp + 0x4c], edx
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
lea edx, [esp + 0x4c]
lea eax, [esp + 0x98]
push edx
push eax
mov ecx, edi
mov byte [esp + 0x138], 0xf
call fcn.00471f20
fld dword [esi + 0xc]
fsub qword [0x4e1438]
mov byte [esp + 0x130], 7
fabs
fcomp qword [0x4e1470]
fnstsw ax
test ah, 1
je 0x4536b6
mov byte [edi + 0xc], 0xa
jmp 0x4536ba
mov byte [edi + 0xc], 0
fld dword [edi]
fabs
fcomp qword [0x4e1e50]
fnstsw ax
test ah, 0x41
je 0x4536ef
fld dword [edi + 4]
fabs
fcomp qword [0x4e1e50]
fnstsw ax
test ah, 0x41
je 0x4536ef
fld dword [edi + 8]
fabs
fcomp qword [0x4e1e50]
fnstsw ax
test ah, 0x41
jne 0x453730
mov byte [esp + 0x7c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea ecx, [esp + 0x70]
lea edx, [esp + 0x80]
push ecx
push edx
mov ecx, edi
mov byte [esp + 0x138], 0x10
call fcn.00429700
mov byte [esp + 0x130], 7
cmp byte [edi + 0xc], 0xa
jne 0x453827
fld dword [edi]
fadd qword [esp + 0x58]
fstp qword [esp + 0x58]
fld dword [edi + 4]
fadd qword [esp + 0x60]
fstp qword [esp + 0x60]
fld dword [edi + 8]
fadd qword [esp + 0x68]
fstp qword [esp + 0x68]
fld dword [ebp]
fcomp dword [edi]
fnstsw ax
test ah, 1
je 0x45376b
fld dword [ebp]
jmp 0x45376d
fld dword [edi]
fstp dword [ebp]
fld dword [ebp + 4]
fcomp dword [edi + 4]
fnstsw ax
test ah, 1
je 0x453782
fld dword [ebp + 4]
jmp 0x453785
fld dword [edi + 4]
fstp dword [ebp + 4]
fld dword [ebp + 8]
fcomp dword [edi + 8]
fnstsw ax
test ah, 1
je 0x45379a
fld dword [ebp + 8]
jmp 0x45379d
fld dword [edi + 8]
fstp dword [ebp + 8]
fld dword [ebp + 0xc]
fcomp dword [edi]
fnstsw ax
test ah, 0x41
jne 0x4537b1
fld dword [ebp + 0xc]
jmp 0x4537b3
fld dword [edi]
fstp dword [ebp + 0xc]
fld dword [ebp + 0x10]
fcomp dword [edi + 4]
fnstsw ax
test ah, 0x41
jne 0x4537c8
fld dword [ebp + 0x10]
jmp 0x4537cb
fld dword [edi + 4]
fstp dword [ebp + 0x10]
fld dword [ebp + 0x14]
fcomp dword [edi + 8]
fnstsw ax
test ah, 0x41
jne 0x4537e0
fld dword [ebp + 0x14]
jmp 0x4537e3
fld dword [edi + 8]
mov edx, dword [ebp + 0x88]
mov eax, dword [esp + 0x18]
fstp dword [ebp + 0x14]
inc edx
cmp ax, word [esp + 0x10]
mov dword [ebp + 0x88], edx
jge 0x453803
mov word [esp + 0x10], ax
cmp bx, word [esp + 0x12]
jge 0x45380f
mov word [esp + 0x12], bx
cmp ax, word [esp + 0x14]
jle 0x45381b
mov word [esp + 0x14], ax
cmp bx, word [esp + 0x16]
jle 0x453827
mov word [esp + 0x16], bx
add edi, 0x10
inc ebx
cmp bx, word [ebp + 0x86]
jl 0x453632
mov eax, dword [esp + 0x18]
inc eax
cmp ax, word [ebp + 0x84]
mov dword [esp + 0x18], eax
jl 0x4535f4
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x453873
mov eax, dword [ebx - 4]
lea esi, [ebx - 4]
push fcn.004011f0
push eax
push 0x10
push ebx
call fcn.004ce690
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, ebp
call fcn.00463070
lea ecx, [ebp + 0x88]
lea edx, [esp + 0x58]
push ecx
lea eax, [esp + 0x114]
push edx
push eax
call fcn.00429a10
fld qword [esp + 0x64]
add esp, 0xc
lea esi, [ebp + 0xc]
fstp dword [ebp + 0x40]
fld qword [esp + 0x60]
lea ecx, [esp + 0x4c]
push esi
fstp dword [ebp + 0x44]
fld qword [esp + 0x6c]
push ecx
mov ecx, ebp
fstp dword [ebp + 0x48]
call fcn.004051f0
lea edx, [esp + 0x80]
push ebp
push edx
mov ecx, esi
mov byte [esp + 0x138], 0x11
call fcn.00405230
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x4c]
push eax
lea edx, [esp + 0x9c]
mov bl, 0x12
push ecx
push edx
mov byte [esp + 0x13c], bl
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0x40000000
call fcn.0041a080
add esp, 0xc
push eax
lea eax, [esp + 0x74]
push eax
mov ecx, ebp
mov byte [esp + 0x138], 0x13
call fcn.004051b0
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x80]
push ecx
lea eax, [esp + 0x74]
push edx
push eax
mov byte [esp + 0x13c], bl
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0x40000000
call fcn.0041a080
add esp, 0xc
lea ecx, [esp + 0x98]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x138], 0x14
call fcn.004051b0
mov ecx, esi
mov byte [esp + 0x130], bl
call fcn.00426bc0
fld dword [ebp + 0x14]
fadd dword [ebp + 0x10]
movsx edx, word [esp + 0x16]
fadd dword [esi]
movsx eax, word [esp + 0x12]
movsx ecx, word [esp + 0x10]
sub edx, eax
mov byte [esp + 0x130], 7
fadd st(0), st(0)
sub edx, ecx
movsx eax, word [esp + 0x14]
add edx, eax
mov edi, 0x4fde94
mov dword [esp + 0x20], edx
xor eax, eax
fild dword [esp + 0x20]
fdivp st(1)
fstp dword [ebp + 0x7c]
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 edx, dword [ecx]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
je 0x453a17
mov eax, dword [esp + 0x40]
test eax, eax
jbe 0x453a17
cmp edx, eax
mov esi, edx
jb 0x4539d7
lea esi, [eax - 1]
mov edx, dword [esp + 0x3c]
mov ebx, dword [sym.imp.MSVCRT.dll_memchr]
add esi, edx
push edi
movsx eax, byte [esi]
push eax
push 0x4fde94
call ebx
add esp, 0xc
test eax, eax
jne 0x453a11
cmp esi, dword [esp + 0x3c]
je 0x453a17
movsx ecx, byte [esi - 1]
dec esi
push edi
push ecx
push 0x4fde94
call ebx
add esp, 0xc
test eax, eax
je 0x4539f6
sub esi, dword [esp + 0x3c]
jmp 0x453a1f
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov esi, dword [edx]
inc esi
lea eax, [esp + 0x70]
push esi
push 0
push eax
lea ecx, [esp + 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 [esp + 0x130], 0x15
mov edx, dword [ecx]
lea ecx, [esp + 0x38]
push edx
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_]
mov eax, dword [esp + 0x74]
mov byte [esp + 0x130], 7
test eax, eax
je 0x453a7d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x453a74
cmp al, 0xff
je 0x453a74
dec al
mov byte [ecx], al
jmp 0x453a7d
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov edi, 0x4fde90
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x40]
repne scasb al, byte es:[edi]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [eax]
sub ecx, edx
cmp ecx, esi
ja 0x453aa5
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
test esi, esi
jbe 0x453aed
mov edx, dword [esp + 0x40]
push 0
lea ecx, [esp + 0x3c]
lea ebx, [edx + esi]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x453aed
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
lea edi, [ecx + eax]
mov ecx, esi
mov edx, ecx
mov esi, 0x4fde90
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x40], ebx
mov byte [eax + ebx], 0
lea ecx, [esp + 0x38]
push ecx
mov ecx, ebp
call fcn.00455780
push fcn.004011f0
push 6
lea edx, [esp + 0xb8]
push 0x10
push edx
mov byte [esp + 0x140], 0
call fcn.004ce690
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x453b3b
mov al, byte [ecx - 1]
test al, al
je 0x453b31
cmp al, 0xff
je 0x453b31
dec al
mov byte [ecx - 1], al
jmp 0x453b3b
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x124
ret 0xc