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

Disassembly:
push 0xffffffffffffffff
push 0x43a753
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov al, byte [esp + 0x74]
push ebx
push ebp
push esi
xor ebx, ebx
push edi
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], ebx
mov byte [esp + 0x18], 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 [esp + 0x84]
mov dl, byte [esp + 0x84]
mov dword [esp + 0x40], ecx
push ebx
lea ecx, [esp + 0x64]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], 8
mov byte [esp + 0x64], dl
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 byte [esp + 0x78], 1
mov byte [esp + 0x84], bl
lea eax, [esp + 0x50]
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.00417d20
mov ebp, dword [esp + 0x44]
mov edi, eax
add esp, 8
cmp edi, 0x10
jne 0x415f08
cmp dword [esp + 0x34], ebx
jne 0x415ff9
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x34]
add edx, 2
push eax
mov dword [esp + 0x40], edx
call fcn.00417a60
add esp, 4
test al, al
je 0x415ff9
push ecx
lea ecx, [esp + 0x38]
mov eax, esp
mov dword [esp + 0x14], esp
mov dword [eax], 0x449d5c
call fcn.00416200
cmp al, bl
jne 0x41600a
jmp 0x415ff9
cmp edi, ebx
jne 0x415f4f
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x34]
add ecx, 2
push edx
mov dword [esp + 0x40], ecx
call fcn.00417a60
add esp, 4
test al, al
je 0x415ff9
push ecx
lea ecx, [esp + 0x38]
mov eax, esp
mov dword [esp + 0x14], esp
mov dword [eax], str.head
call fcn.00416200
cmp al, bl
jne 0x416162
jmp 0x415ff9
cmp edi, 1
jne 0x415ff9
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x34]
inc eax
push ecx
mov dword [esp + 0x40], eax
call fcn.00417a60
mov al, byte [esp + 0x88]
add esp, 4
cmp al, bl
push ecx
jne 0x415fa4
mov eax, esp
lea ecx, [esp + 0x38]
mov dword [esp + 0x88], esp
mov dword [eax], str.html
call fcn.00416200
cmp al, bl
je 0x416162
mov byte [esp + 0x84], 1
jmp 0x415ff9
mov eax, esp
lea ecx, [esp + 0x38]
mov dword [esp + 0x14], esp
mov dword [eax], str.meta
call fcn.00416200
cmp al, bl
je 0x415ff9
mov edx, dword [esp + 0x54]
push ebx
lea eax, [esp + 0x38]
push str.http_equiv
lea esi, [edx + 1]
push eax
mov dword [esp + 0x48], esi
call fcn.00418ce0
add esp, 0xc
test al, al
je 0x415ff9
push ecx
lea ecx, [esp + 0x38]
mov eax, esp
mov dword [esp + 0x14], esp
mov dword [eax], str.Content_Type
call fcn.00416200
cmp al, bl
jne 0x416067
cmp edi, ebx
mov dword [esp + 0x3c], ebp
jge 0x415e9e
jmp 0x416162
push ebx
lea ecx, [esp + 0x38]
push str.encoding
push ecx
call fcn.00418ce0
add esp, 0xc
test al, al
je 0x416162
lea edx, [esp + 0x34]
lea eax, [esp + 0x24]
push edx
push eax
call fcn.00417b00
add esp, 8
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 + 0x78], 2
mov edx, dword [ecx]
lea ecx, [esp + 0x14]
push edx
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
lea ecx, [esp + 0x28]
mov byte [esp + 0x7c], 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 0x416162
push ebx
lea eax, [esp + 0x38]
push str.content
push eax
mov dword [esp + 0x48], esi
call fcn.00418ce0
add esp, 0xc
test al, al
je 0x416162
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
cmp eax, esi
mov dword [esp + 0x3c], eax
jge 0x416162
lea ecx, [esp + 0x34]
push ecx
call fcn.00417a60
add esp, 4
test al, al
je 0x416162
push ecx
lea ecx, [esp + 0x38]
mov eax, esp
mov dword [esp + 0x88], esp
mov dword [eax], str.charset
call fcn.00416200
cmp al, bl
je 0x4160fa
lea edx, [esp + 0x34]
push edx
call fcn.00417a60
add esp, 4
test al, al
je 0x4160fa
push ecx
lea ecx, [esp + 0x38]
mov eax, esp
mov dword [esp + 0x88], esp
mov dword [eax], 0x446718
call fcn.00416200
cmp al, bl
jne 0x416102
cmp dword [esp + 0x3c], esi
jl 0x41609a
jmp 0x416162
lea eax, [esp + 0x34]
push eax
call fcn.00417a60
lea ecx, [esp + 0x38]
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.00417b00
add esp, 0xc
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 + 0x78], 3
mov edx, dword [ecx]
lea ecx, [esp + 0x14]
push edx
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_]
mov eax, dword [esp + 0x28]
mov byte [esp + 0x78], 1
cmp eax, ebx
je 0x416162
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x416159
cmp al, 0xff
je 0x416159
dec al
mov byte [ecx], al
jmp 0x416162
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov esi, dword [esp + 0x80]
mov al, byte [esp + 0x14]
mov byte [esi], al
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
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, [esp + 0x14]
mov edx, dword [ecx]
mov ecx, esi
push edx
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_]
mov eax, dword [esp + 0x64]
cmp eax, ebx
je 0x4161b4
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4161ab
cmp al, 0xff
je 0x4161ab
dec al
mov byte [ecx], al
jmp 0x4161b4
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x64], ebx
cmp ecx, ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
je 0x4161e4
mov al, byte [ecx - 1]
cmp al, bl
je 0x4161da
cmp al, 0xff
je 0x4161da
dec al
mov byte [ecx - 1], al
jmp 0x4161e4
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x70]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x6c
ret