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

Disassembly:
push 0xffffffffffffffff
push 0x4633c3
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.00438350
mov ebp, dword [esp + 0x44]
mov edi, eax
add esp, 8
cmp edi, 0x10
jne 0x436548
cmp dword [esp + 0x34], ebx
jne 0x436639
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x34]
add edx, 2
push eax
mov dword [esp + 0x40], edx
call fcn.00438090
add esp, 4
test al, al
je 0x436639
push ecx
lea ecx, [esp + 0x38]
mov eax, esp
mov dword [esp + 0x14], esp
mov dword [eax], 0x477b3c
call fcn.00436840
cmp al, bl
jne 0x43664a
jmp 0x436639
cmp edi, ebx
jne 0x43658f
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x34]
add ecx, 2
push edx
mov dword [esp + 0x40], ecx
call fcn.00438090
add esp, 4
test al, al
je 0x436639
push ecx
lea ecx, [esp + 0x38]
mov eax, esp
mov dword [esp + 0x14], esp
mov dword [eax], str.head
call fcn.00436840
cmp al, bl
jne 0x4367a2
jmp 0x436639
cmp edi, 1
jne 0x436639
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x34]
inc eax
push ecx
mov dword [esp + 0x40], eax
call fcn.00438090
mov al, byte [esp + 0x88]
add esp, 4
cmp al, bl
push ecx
jne 0x4365e4
mov eax, esp
lea ecx, [esp + 0x38]
mov dword [esp + 0x88], esp
mov dword [eax], str.html
call fcn.00436840
cmp al, bl
je 0x4367a2
mov byte [esp + 0x84], 1
jmp 0x436639
mov eax, esp
lea ecx, [esp + 0x38]
mov dword [esp + 0x14], esp
mov dword [eax], str.meta
call fcn.00436840
cmp al, bl
je 0x436639
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.00439310
add esp, 0xc
test al, al
je 0x436639
push ecx
lea ecx, [esp + 0x38]
mov eax, esp
mov dword [esp + 0x14], esp
mov dword [eax], str.Content_Type
call fcn.00436840
cmp al, bl
jne 0x4366a7
cmp edi, ebx
mov dword [esp + 0x3c], ebp
jge 0x4364de
jmp 0x4367a2
push ebx
lea ecx, [esp + 0x38]
push str.encoding
push ecx
call fcn.00439310
add esp, 0xc
test al, al
je 0x4367a2
lea edx, [esp + 0x34]
lea eax, [esp + 0x24]
push edx
push eax
call fcn.00438130
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 0x4367a2
push ebx
lea eax, [esp + 0x38]
push str.content
push eax
mov dword [esp + 0x48], esi
call fcn.00439310
add esp, 0xc
test al, al
je 0x4367a2
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
cmp eax, esi
mov dword [esp + 0x3c], eax
jge 0x4367a2
lea ecx, [esp + 0x34]
push ecx
call fcn.00438090
add esp, 4
test al, al
je 0x4367a2
push ecx
lea ecx, [esp + 0x38]
mov eax, esp
mov dword [esp + 0x88], esp
mov dword [eax], str.charset
call fcn.00436840
cmp al, bl
je 0x43673a
lea edx, [esp + 0x34]
push edx
call fcn.00438090
add esp, 4
test al, al
je 0x43673a
push ecx
lea ecx, [esp + 0x38]
mov eax, esp
mov dword [esp + 0x88], esp
mov dword [eax], 0x4735a0
call fcn.00436840
cmp al, bl
jne 0x436742
cmp dword [esp + 0x3c], esi
jl 0x4366da
jmp 0x4367a2
lea eax, [esp + 0x34]
push eax
call fcn.00438090
lea ecx, [esp + 0x38]
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.00438130
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 0x4367a2
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x436799
cmp al, 0xff
je 0x436799
dec al
mov byte [ecx], al
jmp 0x4367a2
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 0x4367f4
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4367eb
cmp al, 0xff
je 0x4367eb
dec al
mov byte [ecx], al
jmp 0x4367f4
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 0x436824
mov al, byte [ecx - 1]
cmp al, bl
je 0x43681a
cmp al, 0xff
je 0x43681a
dec al
mov byte [ecx - 1], al
jmp 0x436824
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