Function at 0x40f1d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42f187
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov al, byte [esp + 0x24]
push ebx
push ebp
mov ebx, ecx
push esi
push edi
xor ebp, ebp
lea edi, [ebx + 8]
mov dword [ebx], ebp
mov dword [ebx + 4], ebp
mov dword [esp + 0x10], ebx
mov byte [edi], al
mov dword [edi + 4], ebp
mov dword [edi + 8], ebp
mov dword [edi + 0xc], ebp
mov dl, byte [esp + 0x34]
lea ecx, [ebx + 0x20]
push ebp
mov dword [esp + 0x30], ebp
mov byte [ecx], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov al, byte [esp + 0x34]
lea ecx, [ebx + 0x30]
push ebp
mov byte [esp + 0x30], 1
mov byte [ecx], 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 cl, byte [esp + 0x34]
lea esi, [ebx + 0x48]
mov byte [esi], cl
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov ecx, dword [esp + 0x34]
xor eax, eax
mov byte [esp + 0x2c], 3
mov ax, word [ecx + 0x54]
cmp eax, 0x4bc
mov dword [ebx + 4], eax
jne 0x40f3d3
lea ebp, [ecx + 0x124]
cmp esi, ebp
je 0x40f39c
mov ecx, dword [ebp + 4]
test ecx, ecx
jne 0x40f27c
xor ebx, ebx
jmp 0x40f281
mov ebx, dword [ebp + 8]
sub ebx, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x40f28c
xor edx, edx
jmp 0x40f291
mov edx, dword [esi + 8]
sub edx, eax
cmp ebx, edx
ja 0x40f2da
mov edx, dword [ebp + 8]
cmp ecx, edx
je 0x40f2a6
mov bl, byte [ecx]
mov byte [eax], bl
inc eax
inc ecx
cmp ecx, edx
jne 0x40f29c
mov edx, dword [esi + 8]
mov ecx, esi
push edx
push eax
call fcn.00414d40
mov eax, dword [ebp + 4]
test eax, eax
jne 0x40f2c8
mov eax, dword [esi + 4]
xor ebp, ebp
add eax, ebp
mov dword [esi + 8], eax
jmp 0x40f394
mov ebp, dword [ebp + 8]
sub ebp, eax
mov eax, dword [esi + 4]
add eax, ebp
mov dword [esi + 8], eax
jmp 0x40f394
test ecx, ecx
jne 0x40f2e2
xor ebx, ebx
jmp 0x40f2e7
mov ebx, dword [ebp + 8]
sub ebx, ecx
test eax, eax
jne 0x40f2ef
xor edx, edx
jmp 0x40f2f4
mov edx, dword [esi + 0xc]
sub edx, eax
cmp ebx, edx
ja 0x40f344
test eax, eax
jne 0x40f300
xor ebx, ebx
jmp 0x40f305
mov ebx, dword [esi + 8]
sub ebx, eax
add ebx, ecx
push eax
push ebx
push ecx
call fcn.00418bc0
mov ecx, dword [esi + 8]
mov eax, dword [ebp + 8]
add esp, 0xc
push ecx
push eax
push ebx
mov ecx, esi
call fcn.004124a0
mov eax, dword [ebp + 4]
test eax, eax
jne 0x40f335
mov edx, dword [esi + 4]
xor ebp, ebp
add edx, ebp
mov dword [esi + 8], edx
jmp 0x40f394
mov ebp, dword [ebp + 8]
mov edx, dword [esi + 4]
sub ebp, eax
add edx, ebp
mov dword [esi + 8], edx
jmp 0x40f394
mov ecx, dword [esi + 8]
push ecx
push eax
mov ecx, esi
call fcn.00414d40
mov eax, dword [esi + 4]
push eax
call sub.MFC42u.DLL_operatordelete
mov ecx, dword [ebp + 4]
add esp, 4
test ecx, ecx
jne 0x40f367
xor eax, eax
jmp 0x40f36c
mov eax, dword [ebp + 8]
sub eax, ecx
test eax, eax
jge 0x40f372
xor eax, eax
push eax
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [ebp + 8]
mov ebp, dword [ebp + 4]
push eax
push ecx
push ebp
mov ecx, esi
call fcn.004124a0
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
mov dx, word [ecx + 0x11c]
xor ebp, ebp
mov word [ebx + 0x40], dx
mov ax, word [ecx + 0x11e]
mov word [ebx + 0x42], ax
mov dl, byte [ecx + 0x120]
mov byte [ebx + 0x44], dl
mov al, byte [ecx + 0x121]
mov byte [ebx + 0x45], al
mov dx, word [ecx + 0x122]
mov word [ebx + 0x46], dx
jmp 0x40f3e7
mov word [ebx + 0x40], bp
mov word [ebx + 0x42], bp
mov byte [ebx + 0x44], 0
mov byte [ebx + 0x45], 0
mov word [ebx + 0x46], bp
lea esi, [ecx + 0x44]
cmp edi, esi
je 0x40f522
mov ecx, dword [esi + 4]
cmp ecx, ebp
jne 0x40f3fd
xor edx, edx
jmp 0x40f402
mov edx, dword [esi + 8]
sub edx, ecx
mov eax, dword [edi + 4]
cmp eax, ebp
je 0x40f40e
mov ebp, dword [edi + 8]
sub ebp, eax
cmp edx, ebp
ja 0x40f456
mov edx, dword [esi + 8]
push eax
push edx
push ecx
call fcn.00418bc0
mov ecx, dword [edi + 8]
add esp, 0xc
push ecx
push eax
mov ecx, edi
call fcn.00414d40
mov eax, dword [esi + 4]
xor ebp, ebp
cmp eax, ebp
jne 0x40f444
mov edx, dword [edi + 4]
xor esi, esi
add edx, esi
mov dword [edi + 8], edx
jmp 0x40f51e
mov esi, dword [esi + 8]
mov edx, dword [edi + 4]
sub esi, eax
add edx, esi
mov dword [edi + 8], edx
jmp 0x40f51e
test ecx, ecx
jne 0x40f45e
xor ebp, ebp
jmp 0x40f463
mov ebp, dword [esi + 8]
sub ebp, ecx
test eax, eax
jne 0x40f46b
xor edx, edx
jmp 0x40f470
mov edx, dword [edi + 0xc]
sub edx, eax
cmp ebp, edx
ja 0x40f4cc
test eax, eax
jne 0x40f47c
xor ebp, ebp
jmp 0x40f481
mov ebp, dword [edi + 8]
sub ebp, eax
add ebp, ecx
push eax
push ebp
push ecx
call fcn.00418bc0
mov ecx, dword [edi + 8]
mov eax, dword [esi + 8]
add esp, 0xc
push ecx
push eax
push ebp
mov ecx, edi
call fcn.004124a0
mov eax, dword [esi + 4]
test eax, eax
jne 0x40f4b7
mov edx, dword [edi + 4]
mov ecx, dword [esp + 0x34]
xor esi, esi
add edx, esi
xor ebp, ebp
mov dword [edi + 8], edx
jmp 0x40f522
mov esi, dword [esi + 8]
mov edx, dword [edi + 4]
mov ecx, dword [esp + 0x34]
sub esi, eax
add edx, esi
xor ebp, ebp
mov dword [edi + 8], edx
jmp 0x40f522
mov ecx, dword [edi + 8]
push ecx
push eax
mov ecx, edi
call fcn.00414d40
mov eax, dword [edi + 4]
push eax
call sub.MFC42u.DLL_operatordelete
mov ecx, dword [esi + 4]
xor ebp, ebp
add esp, 4
cmp ecx, ebp
jne 0x40f4f1
xor eax, eax
jmp 0x40f4f6
mov eax, dword [esi + 8]
sub eax, ecx
cmp eax, ebp
jge 0x40f4fc
xor eax, eax
push eax
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [edi + 4], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
mov ecx, edi
call fcn.004124a0
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 0x36]
mov dword [ebx + 0x18], edx
mov eax, dword [ecx + 0x3a]
mov dword [ebx + 0x1c], eax
mov esi, dword [ecx + 0x1a8]
cmp esi, ebp
je 0x40f587
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
push eax
push esi
lea esi, [ebx + 0x20]
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
lea ecx, [esp + 0x14]
push esi
push ecx
call fcn.004127d0
add esp, 8
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 byte [esp + 0x2c], 4
mov ecx, dword [edx]
push ecx
push ebp
push eax
lea ecx, [ebx + 0x30]
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, [esp + 0x18]
mov byte [esp + 0x30], 3
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 [esp + 0x24]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4